mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[MIRROR] Makes canister leaking and blowing up use a component and element respectively (#5958)
* Makes canister leaking and blowing up use a component and element respectively (#59075) I want to use this behavior on some other things so into a component and element it goes. Gas leaking is handled by a component so it can process whereas the object breaking and causing an explosion is handled by an element. Some minor changes were made so canisters were more consistent in leaking. * Makes canister leaking and blowing up use a component and element respectively Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
co-authored by
Emmett Gaines
parent
88a38e3b44
commit
54f74233aa
@@ -99,6 +99,7 @@
|
||||
update_appearance()
|
||||
|
||||
/obj/structure/fireaxecabinet/obj_break(damage_flag)
|
||||
. = ..()
|
||||
if(!broken && !(flags_1 & NODECONSTRUCT_1))
|
||||
update_appearance()
|
||||
broken = TRUE
|
||||
|
||||
Reference in New Issue
Block a user