genetics mod template
This commit is contained in:
parent
a1e14ac41b
commit
101c2d2939
|
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
},
|
||||
Loading…
Reference in New Issue