/datum/component/dejavu
A component to reset the parent to its previous state after some time passes
Vars | |
brain_loss | The starting value of brain loss at the beginning of the effect |
---|---|
brute_loss | The starting value of brute loss at the beginning of the effect This only applies to simple animals |
clone_loss | The starting value of clone loss at the beginning of the effect |
integrity | The starting value of integrity at the beginning of the effect This only applies to objects |
oxy_loss | The starting value of oxygen loss at the beginning of the effect |
rewind_interval | How long to wait between each rewind |
rewind_type | Determined by the type of the parent so different behaviours can happen per type |
rewinds_remaining | How many rewinds will happen before the effect ends |
saved_bodyparts | A list of body parts saved at the beginning of the effect |
starting_turf | The turf the parent was on when this components was applied, they get moved back here after the duration |
tox_loss | The starting value of toxin loss at the beginning of the effect |
Var Details
brain_loss
The starting value of brain loss at the beginning of the effect
brute_loss
The starting value of brute loss at the beginning of the effect This only applies to simple animals
clone_loss
The starting value of clone loss at the beginning of the effect
integrity
The starting value of integrity at the beginning of the effect This only applies to objects
oxy_loss
The starting value of oxygen loss at the beginning of the effect
rewind_interval
How long to wait between each rewind
rewind_type
Determined by the type of the parent so different behaviours can happen per type
rewinds_remaining
How many rewinds will happen before the effect ends
saved_bodyparts
A list of body parts saved at the beginning of the effect
starting_turf
The turf the parent was on when this components was applied, they get moved back here after the duration
tox_loss
The starting value of toxin loss at the beginning of the effect