Merge pull request #508 from JustAGenericUsername/main
fixes to my mods
This commit is contained in:
commit
aecb968cf2
|
|
@ -263,6 +263,7 @@
|
|||
<tr><td>volcanic_expansion.js</td><td>Adds Obsidian, Pumice, and Andesite rocks</td><td>Jayd</td></tr>
|
||||
|
||||
<!----><tr><td class="modCat" colspan="3">Fun & Games</td></tr><!---->
|
||||
<tr><td>10kelements.js</td><td>Inserts a customizable amount of randomly generated elements into the game</td><td>nousernamefound</td></tr>
|
||||
<tr><td>all_around_fillers.js</td><td>Adds directional Filler variants</td><td>idk73248</td></tr>
|
||||
<tr><td>allliquids.js</td><td>Made all elements liquids</td><td>Adora</td></tr>
|
||||
<tr><td>amogus.js</td><td>Adds a small amogus structure</td><td>Alice</td></tr>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ elements.change_count = {
|
|||
},
|
||||
category: "random"
|
||||
}
|
||||
var choosebehaviors = behaviors
|
||||
delete choosebehaviors.KILLPIXEL2
|
||||
delete choosebehaviors.KILLPIXEL1
|
||||
if (!settings.randomcount){settings.randomcount = 10000; saveSettings()}
|
||||
var color = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e","f"]
|
||||
var states = ["solid", "liquid", "gas"]
|
||||
|
|
@ -37,7 +40,7 @@ if (Math.abs(settings.randomcount) == settings.randomcount){
|
|||
elements["element_"+i] = {
|
||||
color: "#" + color[Math.floor(Math.random()*color.length)] + color[Math.floor(Math.random()*color.length)] + color[Math.floor(Math.random()*color.length)] + color[Math.floor(Math.random()*color.length)] + color[Math.floor(Math.random()*color.length)] + color[Math.floor(Math.random()*color.length)],
|
||||
category: "random",
|
||||
behavior: randomProperty(behaviors),
|
||||
behavior: randomProperty(choosebehaviors),
|
||||
state: states[Math.floor(Math.random()*states.length)],
|
||||
reactions: {},
|
||||
density: randomIntFromInterval(1, 10000)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ elements.molten_caesium = {
|
|||
stateLow: "caesium",
|
||||
tempHigh: 671,
|
||||
stateHigh: "caesium_vapor",
|
||||
density: 1843,
|
||||
density: 1842,
|
||||
temp: 29,
|
||||
conduct: 0.90,
|
||||
reactions: {
|
||||
|
|
@ -2489,4 +2489,4 @@ elements.grid_brush = {
|
|||
deletePixel(pixel.x, pixel.y)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue