# manage a set of up to 3 harvies over hydroponics DEVICES define wantseeds 1 define tooCold 280 define tooHot 320 start: alias harvie d0 alias hydro d3 jal harvize alias harvie d1 alias hydro d4 jal harvize alias harvie d2 alias hydro d5 jal harvize yield j start harvize: bdns hydro ra bdns harvie ra alias seeding r15 alias mature r14 alias occupied r13 alias ratiowater r12 alias temperature r11 alias pressure r10 move seeding 0 blez wantseeds skipseeds ls seeding hydro 0 Seeding sgez seeding seeding skipseeds: ls mature hydro 0 Mature sgtz mature mature #or r0 mature seeding move r0 seeding blez r0 skipharvest s harvie Harvest 1 sleep 3 skipharvest: ls occupied hydro 0 Occupied bgtz occupied skipplant #we can plant. Should we? l ratiowater hydro RatioWater blt ratiowater 0.95 skipplant #not pure water l temperature hydro Temperature blt temperature tooCold skipplant bgt temperature tooHot skipplant l pressure hydro Pressure blt pressure 10 skipplant s harvie Plant 1 sleep 3 skipplant: j ra |
MIPS is the programming language used by IC (integrated circuits) in the game Stationeers. Stationeering web site has a MIPS emulator with syntax highlighting and error detection.