Stationeers Farming with the improved LArRE
Автор: Cows are evil
Загружено: 2024-09-28
Просмотров: 12829
The new improved LArRE is good. And for the third attempt at scripting some farming, I think it is somthing that is good enough to replace Harvie. Coding warning. A quick review of how it works and then the coding for the script.
Workshop link:https://steamcommunity.com/sharedfile...
#LArRe farming script CowsAreEvil
alias larre d0 #Must be the hydroponics LArRE
alias bin d1 #The input chute where things get dropped off
alias counter r10
define DUMP 12 #Change this number to the station where you have the input chute
reset:
move counter 0
start:
ls r0 bin 0 Occupied
seqz r0 r0
s bin Open r0
ls r0 larre 0 Occupied
beqz r0 check
s larre Setting DUMP
jal waitlarre
s larre Activate 1
jal waitlarre
j start
check:
add counter counter 1
s larre Setting counter
jal waitlarre
l r0 larre Setting
bne r0 counter reset
s db Setting r0
ls r0 larre 255 Class
bne r0 11 start
ls r0 larre 255 Seeding
beq r0 -1 start
harvest:
s larre Activate 1
jal waitlarre
ls r0 larre 255 Occupied
seqz r0 r0
ls r1 larre 255 Seeding
seq r1 r1 -1
or r0 r0 r1
beqz r0 harvest
s larre Setting DUMP
jal waitlarre
s larre Activate 1
jal waitlarre
s larre Setting counter
jal waitlarre
ls r0 larre 255 Occupied
bnez r0 start
s larre Activate 1
jal waitlarre
j start
waitlarre:
yield
l r0 larre Idle
breqz r0 -2
j ra
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: