powerup
Vars | |
lifetime | How long the powerup stays on the ground, if no value it will stay forever |
---|---|
pickup_message | Message given when powerup is picked up |
pickup_sound | Sound played when powerup is picked up |
respawn_cooldown | Cooldown for the powerup to respawn after it's been used |
respawn_time | How long in deciseconds it will take for the powerup to respawn, if no value it won't respawn |
Procs | |
trigger | Triggers the effect of the powerup on the target, returns FALSE if the target is not /mob/living, is dead or the cooldown hasn't finished, returns TRUE otherwise |
Var Details
lifetime
How long the powerup stays on the ground, if no value it will stay forever
pickup_message
Message given when powerup is picked up
pickup_sound
Sound played when powerup is picked up
respawn_cooldown
Cooldown for the powerup to respawn after it's been used
respawn_time
How long in deciseconds it will take for the powerup to respawn, if no value it won't respawn
Proc Details
trigger
Triggers the effect of the powerup on the target, returns FALSE if the target is not /mob/living, is dead or the cooldown hasn't finished, returns TRUE otherwise