sandboxels/mods/genetics.js

22 lines
389 B
JavaScript

elements.organism = {}
color: ["#a19348","#b5a85e"],
properties: {
"geneticCode": "00000"
},
tick: function(pixel) {
if ((pixel.geneticCode & 0b101) = 0) {
}
else if ((pixel.geneticCode & 0b101) = 1) {
}
},
tempHigh: 150,
stateHigh: "meat",
tempLow: -50,
stateLow: "frozen_meat",
category: "life",
state: "solid",
density: 1050
},