Merge pull request #3 from R74nCom/main

s
This commit is contained in:
guzzo86 2024-05-05 19:33:58 -04:00 committed by GitHub
commit e25e4c62a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 59 additions and 1 deletions

View File

@ -157,7 +157,7 @@
<!----><tr><td class="modCat" colspan="3">Science & Chemistry</td></tr><!---->
<tr><td>alcohol.js</td><td>Adds methanol, (iso-)propanol, and butanol</td><td>Alice</td></tr>
<tr><td>alkahest.js</td><td>Adds the alkahest, a liquid which dissolves anything</td><td>Alice</td></tr>
<tr><td>aScientistsWish.js</td><td>Adds things that related to science, especially radiation</td><td>Carbon Monoxide, CPU</td></tr>
<tr><td>aScientistsWish.js</td><td>Adds things that related to science, especially radiation</td><td>Carbon Monoxide, salmonfishy</td></tr>
<tr><td>bettermetalscrap.js</td><td>Allows metal scrap to be melted back into its original material</td><td>nousernamefound</td></tr>
<tr><td>bigger_star_spawners.js</td><td>Adds spawners for larger stars</td><td>Alice</td></tr>
<tr><td>bioooze_and_pyrogens.js</td><td>Adds Bio-Ooze from <a herf="https://frackinuniverse.miraheze.org/wiki/Main_Page">Frackin Universe</a> and several heat-producing materials from various games mods</td><td>Alice</td></tr>

58
mods/cash_n_more.js Normal file
View File

@ -0,0 +1,58 @@
elements.cash = {
color: "#00e600",
behavior: behaviors.POWDER,
category: "powders",
};
delete elements.paper;
delete elements.sponge;
elements.sponge = {
color: "#ffff1a",
behavior: behaviors.SOLID,
category: "solids",
tool: function(pixel) {
if (pixel.element == "water") {
pixel.element = "wet_sponge"
}
},
};
elements.wet_sponge = {
color: "#cccc00",
behavior: behaviors.SOLID,
category: "solids",
};
elements.paper = {
color: "#ffffff",
behavior: behaviors.SOLID,
category: "solids",
};
elements.shredded_paper = {
color: "#ffffff",
behavior: behaviors.POWDER,
category: "powders",
};
elements.shredded_cash = {
color: "#004d00",
behavior: behaviors.POWDER,
category: "powders",
};
elements.shredder = {
color: "#08b508",
behavior: behaviors.SOLID,
tool: function(pixel) {
if (pixel.element == "cash") {
pixel.element = "shredded_cash"
},
if (pixel.element == "paper") {
pixel.element = "shredded_money"
}
},
category: "tools",
};