thermite ![code/datums/components/thermite.dm 1](git.png)
Vars | |
amount | Amount of thermite on parent |
---|---|
blacklist | Blacklist of turfs that cannot have thermite on it |
burn_callback | Callback related to burning, stored so the timer can be easily reset without losing the user |
burn_require | Amount of thermite required to burn through parent |
burn_timer | The timer for burning parent, calls burn_callback when done |
default_thermite_overlay | Default thermite overlay, do not touch |
fakefire | The thermite fire overlay |
immunelist | List of turfs that are immune to thermite |
resistlist | List of turfs that take extra thermite to burn through |
thermite_overlay | The thermite overlay |
Procs | |
attackby_react | attackby reaction, ignites the thermite if its a flame creating object |
burn_parent | Used to actually melt parent |
clean_react | Wash reaction, used to clean off thermite from parent |
on_attack_hand | Handles searing the hand of anyone who tries to touch parent without protection, while burning |
on_examine | Alerts the user that this turf is, in fact, covered with thermite. |
on_fire_act | fire_act reaction, has to be the correct temperature |
on_update_overlays | Used to maintain the thermite overlay on the parent /turf. |
parent_qdeleting | Signal handler for COMSIG_QDELETING, necessary because turfs can be weird with qdel() |
thermite_melt | Used to begin the thermite burning process |
Var Details
amount ![code/datums/components/thermite.dm 4](git.png)
Amount of thermite on parent
blacklist ![code/datums/components/thermite.dm 19](git.png)
Blacklist of turfs that cannot have thermite on it
burn_callback ![code/datums/components/thermite.dm 12](git.png)
Callback related to burning, stored so the timer can be easily reset without losing the user
burn_require ![code/datums/components/thermite.dm 6](git.png)
Amount of thermite required to burn through parent
burn_timer ![code/datums/components/thermite.dm 14](git.png)
The timer for burning parent, calls burn_callback when done
default_thermite_overlay ![code/datums/components/thermite.dm 10](git.png)
Default thermite overlay, do not touch
fakefire ![code/datums/components/thermite.dm 16](git.png)
The thermite fire overlay
immunelist ![code/datums/components/thermite.dm 26](git.png)
List of turfs that are immune to thermite
resistlist ![code/datums/components/thermite.dm 32](git.png)
List of turfs that take extra thermite to burn through
thermite_overlay ![code/datums/components/thermite.dm 8](git.png)
The thermite overlay
Proc Details
attackby_react
attackby reaction, ignites the thermite if its a flame creating object
Arguments:
- datum/source - The source of the attack
- obj/item/thing - Item being attacked by
- mob/user - The user behind the attack
- params - params
burn_parent
Used to actually melt parent
Arguments:
- mob/user - The user that ignited the thermite
clean_react
Wash reaction, used to clean off thermite from parent
on_attack_hand
Handles searing the hand of anyone who tries to touch parent without protection, while burning
on_examine
Alerts the user that this turf is, in fact, covered with thermite.
on_fire_act
fire_act reaction, has to be the correct temperature
Arguments:
- datum/source - The source of the flame
- exposed_temperature - The temperature of the flame hitting the thermite
- exposed_volume - The volume of the flame
on_update_overlays
Used to maintain the thermite overlay on the parent /turf.
parent_qdeleting
Signal handler for COMSIG_QDELETING, necessary because turfs can be weird with qdel()
thermite_melt
Used to begin the thermite burning process
Arguments:
- mob/user - The user igniting the thermite