Open JohnDog3112 opened 1 week ago
Example: Transporter "forklift" moves between three stations "A", "B", and "C" with crate entities. Crates queue up in queue "A_Queue" before station A and then get moved by the forklift to station B where it moves to station C before disappearing.
Push Entity Crate 0 onto A_Queue at tick 0//Spawns crate in A_Queue
Push Entity Crate 1 onto A_Queue at tick 0
Push Entity Crate 2 onto A_Queue at tick 0
Push Entity Crate 3 onto A_Queue at tick 0
Push Entity Crate 4 onto A_Queue at tick 0
Pop Entity Crate 0 from A_Queue at tick 0
Move Entity Crate 0 to A at tick 0 //Removes from Queue and moves from Queue pos to station A
Move forklift to A in 5 ticks at tick 0 //take 5 ticks for forklift to reach station A
Pickup Entity Crate 0 onto forklift at tick 5//have forklift pickup Crate 0
Pop Entity Crate 1 from A_Queue at tick 5
Move Entity Crate 1 to A at tick 5
Move forklift to B in 10 ticks at tick 5
Dropoff Entity Crate 0 from forklift at tick 10
Move forklift to A in 10 ticks at tick 10
Move Entity Crate 0 to C in 5 ticks at tick 10
Despawn Entity Crate 0 at tick 15
//repeat
Pickup Entity Crate 1 onto forklift at tick 20
Pop Entity Crate 2 from A_Queue at tick 20
Move Entity Crate 2 to A at tick 20
Move forklift to B in 10 ticks at tick 20
Format outputted by KSL to animate Specifying \:
Time format:
Variable:
Queue/Stack:
Station:
Transporter:
Entity: