genetics mod template

This commit is contained in:
Nekonico 2024-10-03 09:24:41 -07:00 committed by GitHub
parent a1e14ac41b
commit 101c2d2939
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 0 deletions

21
mods/genetics.js Normal file
View File

@ -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
},