Update CoCpu.js

Changelog
-Add CO detector
-Remove Conductivity at CPU and Computer until found the problem
This commit is contained in:
CarbonMonoxida 2024-03-28 17:39:44 +07:00 committed by GitHub
parent 1697733dfa
commit eefec5adea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 2 deletions

View File

@ -67,10 +67,24 @@ elements.computer = {
density: 8908,
tempHigh: 1414,
stateHigh: "explosion",
conduct: 1,
reactions: {
"virus": { elem1 : null , elem2:"malware", chance:0.9 },
"water": { elem1: null , elem2: "electric" },
}
};
elements.carbon_monoxide_detector = {
behavior: behaviors.WALL,
desc: "give red light and electric when found Carbon Monoxide touch",
color: "#ffffff",
reactions: {
"carbon_monoxide": {"charge1":1},
},
conduct: 1,
tempHigh: 1550,
stateHigh: ["molten_metal_scrap","electric","molten_plastic"],
colorOn: "#ff0000",
movable: false,
category:"machines",
darkText: true,
hardness: 1,
};