Hallucination - Bolts

Visually bolts a random number of airlocks around the target.
Vars | |
bolt_amount | The maximum amount of airlocks to fake bolt. |
---|---|
bolt_duration | The duration of fake bolt in deciseconds. |
bolted | Lazy list of fake bolted airlocks. Key is airlock, value is bolt overlay. |
Procs | |
do_bolt | Called in a timer to fake bolt the given airlock. |
do_unbolt | Called in a timer to fake unbolt the given airlock. |
Var Details
bolt_amount

The maximum amount of airlocks to fake bolt.
bolt_duration

The duration of fake bolt in deciseconds.
bolted

Lazy list of fake bolted airlocks. Key is airlock, value is bolt overlay.
Proc Details
do_bolt
Called in a timer to fake bolt the given airlock.
Arguments:
- A - The airlock to fake bolt.
do_unbolt
Called in a timer to fake unbolt the given airlock.
Arguments:
- A - The airlock to fake unbolt.
- bolt_overlay - The bolt overlay image currently displayed on A.