caltrop ![code/datums/components/caltrop.dm 6](git.png)
Caltrop element; for hurting people when they walk over this.
Used for broken glass, cactuses and four sided dice.
Vars | |
crossed_connections | given to connect_loc to listen for something moving over target |
---|---|
dupe_mode | So we can update ant damage |
flags | Miscelanous caltrop flags; shoe bypassing, walking interaction, silence |
max_damage | Maximum damage done when crossed |
min_damage | Minimum damage done when crossed |
paralyze_duration | Amount of time the spike will paralyze |
probability | Probability of actually "firing", stunning and doing damage |
soundfile | The sound that plays when a caltrop is triggered. |
Var Details
crossed_connections ![code/datums/components/caltrop.dm 26](git.png)
given to connect_loc to listen for something moving over target
dupe_mode ![code/datums/components/caltrop.dm 31](git.png)
So we can update ant damage
flags ![code/datums/components/caltrop.dm 20](git.png)
Miscelanous caltrop flags; shoe bypassing, walking interaction, silence
max_damage ![code/datums/components/caltrop.dm 11](git.png)
Maximum damage done when crossed
min_damage ![code/datums/components/caltrop.dm 8](git.png)
Minimum damage done when crossed
paralyze_duration ![code/datums/components/caltrop.dm 17](git.png)
Amount of time the spike will paralyze
probability ![code/datums/components/caltrop.dm 14](git.png)
Probability of actually "firing", stunning and doing damage
soundfile ![code/datums/components/caltrop.dm 23](git.png)
The sound that plays when a caltrop is triggered.