spin2win ![code/datums/components/spin2win.dm 6](git.png)
Spin 2 Win component!
Component that attaches to items, making their attack_self begin a spin 2 win
Vars | |
spin_cooldown | the cooldown for spinning to winning |
---|---|
spin_cooldown_time | how long a spin2win takes to recharge. |
spin_duration | How long you spin for |
spinning | whether we are currently spin2winning or not. |
stop_spinning_timer_id | Timer id for when we should stop spinning. |
Procs | |
on_examine | signal called on parent being examined |
Var Details
spin_cooldown ![code/datums/components/spin2win.dm 10](git.png)
the cooldown for spinning to winning
spin_cooldown_time ![code/datums/components/spin2win.dm 12](git.png)
how long a spin2win takes to recharge.
spin_duration ![code/datums/components/spin2win.dm 8](git.png)
How long you spin for
spinning ![code/datums/components/spin2win.dm 14](git.png)
whether we are currently spin2winning or not.
stop_spinning_timer_id ![code/datums/components/spin2win.dm 16](git.png)
Timer id for when we should stop spinning.
Proc Details
on_examine
signal called on parent being examined