furnace
advanced-furnace.mips
arc-furnace-room-control.mips
furnace-calc-pre.mips
furnace-ingot-recipe.mips
furnace-operate.mips
furnace-room-vacuum-pump.mips
hot-cold-waste-tank-manager.mips
hot-tank-filler.mips
pressurize-furnace.mips
waste-tank-to-cold-tank-with-chiller.mips
furnace-waste-chiller.mips

manufacturing
vend-ingots-to-printer.mips
vending-ore-counter-omni-fast.mips
vending-ore-counter-omni-slow.mips
vending-ore-counter-single.mipsr
vending-ore-counter-triple.mips

greenhouse
greenhouse-ac.mips
greenhouse-o2-pressure-display.mips
greenhouse-oxygen-harvest.mips
greenhouse-temperature.mips
harvie-triple.mips
seed-distributer.mips
seed-sorter-old.mips
seed-sorter.mips
stacker-vending-button.mips

atmospherics
base-atmosphere-control.mips
battery-room-atmosphere.mips
battery-room-vent-setter.mips
harvest-cold-atmosphere.mips
harvest-liquid-from-atmosphere.mips
refrigeration-room.mips

mining rocket
rocket-driving.mips
rocket-miner-readout.mips

ore warehousing
ore-sorter-multi.mips
ore-sorter2-multi.mips
gas-rock-sorter.mips
centrifuge-ore.mips

gas handling
gas-filter-chain.mips
co2-tank-pressure-management.mips
fuel-mixer.mips
gas-harvester.mips
gas-mixer-nitrous.mips
n2o-heater.mips
pump-feed-nitrolyzer.mips
show-gas-pressure-triple.mips
manage-coolant-from-atmosphere.mips

doors
weather-gate.mips
door-switch-logic.mips

solar
solar-old.mips
1-axis-solar-panel-control.mips
2-axis-solar-panel-control.mips

biomass fuel
biomass-generator-pipeline.mips
biomass-generator-silo.mips
biomass-recycler.mips
charcoal-stockpile-display.mips

AIMeE
aimee-old.mips
aimee-position-display.mips
aimee.mips


airlock-tank-accelerator-mgmt.mips
batch-solar-control.mips
centrifuge-miner-manager.mips
chamber-liquification-mgr.mips
cooling-gas-buffer-room.mips
cooling-gas-buffer.mips
display-avionics.mips
exhaust-gas-cooler-control.mips
fuel-mixer-n2o.mips
fuel-mixer-o2.mips
larre-config-1.mips
larre-farming-hardcoded.mips
larre-farming-stack.mips
light-console.manager.mips
light-manager.mips
loulan-airlock.mips
loulan-arc-furnace-room.mips
loulan-greenhouse.mips
measure-condensation-rate.mips
nitrolyzer-battery-threshold.mips
nitrous-warmer.mips
power-consumption-triple.mips
radiator-control.mips
simpler-gate.mips
sorter-feeding-autooven.mips
trader-scanner.mips
vend-ingots-to-printer-2.mips

alias rocket d0
alias miner d1
alias minebutton d2
alias dispfuel d3
alias dispstate d4
alias dispmode d5

alias fuel r15
alias color r14
alias shine r13

define HASHOREMINER -2027419821
define HASHICEMINER 74521920

start:
l r2 rocket Mode
s dispmode Color 6
s dispmode Setting r2

l r0 minebutton Setting
beqz r0 overmine
bdns miner batchmine
s miner Activate 1
j overmine
batchmine:
sb HASHOREMINER Activate 1
sb HASHICEMINER Activate 1
overmine:

l fuel rocket Fuel
s dispfuel Color 3
s dispfuel Setting fuel

l r0 rocket ReturnFuelCost

move shine 1
move color 4
mul r1 1.2 r0
blt fuel r1 setcolor
move color 3
mul r1 1.5 r0
blt fuel r1 setcolor

l r0 rocket Mode
move shine 1
move color 0.1
beq r0 1 setcolor
beq r0 2 setcolor
beq r0 3 setcolor
move color 10
beq r0 5 setcolor
move color 4
beq r0 7 setcolor

l r0 rocket CollectableGoods
bdns miner nominer2
l shine miner Activate
j minecheck
nominer2:
lb r0 HASHOREMINER Activate Maximum
lb r1 HASHOREMINER Activate Maximum
max shine r0 r1
minecheck:
move color 2
bnez r0 setcolor


move color 1
move shine 1


setcolor:
s dispstate On shine
s dispstate Color color

yield
j start

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.