Icaria Scripts
Building a ramp for conveyor belts
Robot: Drone
Role: Hauler
Script: BuildRampNorth
Purpose: Building a ramp for conveyors to the North between two reference points
Screenshot: DroneScriptBuildRampNorth
Setup
- Set a 1x1 Beacon on a tile referencing the lower level and call it “LevelBuildRampLower”. This will be the start point.
- Set a 1x1 Beacon on a tile referencing the upper level and call it “LevelBuildRampUpper”. This will be the upper level reference, not necessarily the finish point.
- Set the drone and beacon on the same team.
- Define the following script:
Go To Beacon `LevelBuildRampUpper` of same team and store in @
Go To Beacon `LevelBuildRampLower` of same team and store in #
While forever:
Go To <storage containing Mudrock>
Take Mudrock
Go To #
Go To Relative position 1 North 0 East
If above level #
Remember 0 North 0 East in #
End
On Fail
Deposit
End
If at level @
Break
End
If above level @
Break
End
End