Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias Vending d0
- alias CoalGenerator d1
- alias LedQuantCoal d2
- alias LedQuantVending d3
- alias Indication d4
- alias Min r6
- alias Max r7
- #define Battery -400115994 #small
- define Battery -1388288459 #large
- move Min 0.2
- move Max 0.9
- main:
- ls r0 CoalGenerator 0 Occupied
- beqz r0 output
- ls r1 CoalGenerator 0 Quantity
- ls r2 CoalGenerator 0 OccupantHash
- l r3 Vending Quantity
- s LedQuantCoal Setting r1
- s db Setting r2
- s LedQuantVending Setting r3
- lb r15 Battery Ratio Average
- slt r10 r15 r9
- select r9 r10 Max Min
- s CoalGenerator On r10
- s Indication On r10
- j main
- output:
- s Vending RequestHash 1724793494
- sleep 3
- j main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement