dejavu ![code/datums/components/dejavu.dm 4](git.png)
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 |
integrity | The starting value of integrity at the beginning of the effect This only applies to objects |
no_rewinds_message | message sent when dejavu is out of rewinds |
oxy_loss | The starting value of oxygen loss at the beginning of the effect |
repeating_component | Do we add a new component before teleporting the target to they teleport to the place where we teleported them from? |
rewind_interval | How long to wait between each rewind |
rewind_message | message sent when dejavu rewinds |
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 |
stamina_loss | The starting value of stamina loss 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 ![code/datums/components/dejavu.dm 30](git.png)
The starting value of brain loss at the beginning of the effect
brute_loss ![code/datums/components/dejavu.dm 33](git.png)
The starting value of brute loss at the beginning of the effect This only applies to simple animals
integrity ![code/datums/components/dejavu.dm 36](git.png)
The starting value of integrity at the beginning of the effect This only applies to objects
no_rewinds_message ![code/datums/components/dejavu.dm 10](git.png)
message sent when dejavu is out of rewinds
oxy_loss ![code/datums/components/dejavu.dm 26](git.png)
The starting value of oxygen loss at the beginning of the effect
repeating_component ![code/datums/components/dejavu.dm 21](git.png)
Do we add a new component before teleporting the target to they teleport to the place where we teleported them from?
rewind_interval ![code/datums/components/dejavu.dm 19](git.png)
How long to wait between each rewind
rewind_message ![code/datums/components/dejavu.dm 8](git.png)
message sent when dejavu rewinds
rewind_type ![code/datums/components/dejavu.dm 15](git.png)
Determined by the type of the parent so different behaviours can happen per type
rewinds_remaining ![code/datums/components/dejavu.dm 17](git.png)
How many rewinds will happen before the effect ends
saved_bodyparts ![code/datums/components/dejavu.dm 40](git.png)
A list of body parts saved at the beginning of the effect
stamina_loss ![code/datums/components/dejavu.dm 28](git.png)
The starting value of stamina loss at the beginning of the effect
starting_turf ![code/datums/components/dejavu.dm 13](git.png)
The turf the parent was on when this components was applied, they get moved back here after the duration
tox_loss ![code/datums/components/dejavu.dm 24](git.png)
The starting value of toxin loss at the beginning of the effect