2022-09-02 09:23:04 -04:00
|
|
|
killerArray = ["radiation", "alcohol", "soap", "acid", "ammonia", "acid_gas", "bleach", "poison", "ice_nine"];
|
|
|
|
|
plantArray = ["plant", "frozen_plant", "grass", "algae", "sapling", "seeds", "grass_seed", "wheat_seed", "wheat", "flower_seed", "pistil", "petal", "vine", "bamboo", "bamboo_plant", "corn_seed", "potato_seed", "root", "berry_seed", "old_berry_leaf", "berry_leaf", "berry"];
|
2022-03-03 09:56:15 -05:00
|
|
|
if(enabledMods.includes("mods/alcohol.js")) {
|
2022-09-02 09:23:04 -04:00
|
|
|
killerArray.push("methanol");
|
|
|
|
|
killerArray.push("propanol");
|
|
|
|
|
killerArray.push("isopropanol");
|
|
|
|
|
killerArray.push("butanol");
|
2022-03-03 09:56:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
runAfterLoad(function() {
|
2022-09-02 09:23:04 -04:00
|
|
|
for(i = 0; i < killerArray.length; i++) {
|
|
|
|
|
if(!elements[killerArray[i]].reactions) {
|
|
|
|
|
elements[killerArray[i]].reactions = {}
|
2022-02-05 23:29:06 -05:00
|
|
|
}
|
2022-09-02 09:23:04 -04:00
|
|
|
for(j = 0; j < plantArray.length; j++) {
|
|
|
|
|
elements[killerArray[i]].reactions[plantArray[j]] = { "elem1":null, "elem2":"dead_plant" }
|
2022-02-05 23:29:06 -05:00
|
|
|
};
|
2022-03-03 09:56:15 -05:00
|
|
|
};
|
|
|
|
|
});
|