mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] Fixes crowbars hitting toilets when opening the cistern (#7939)
* Fixes crowbars hitting toilets (#61171) fixes #61125 It returns an attack chain cancel now * Fixes crowbars hitting toilets when opening the cistern Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com>
This commit is contained in:
co-authored by
ArcaneDefence
parent
0d9df1a8fa
commit
514ac1f90b
@@ -103,6 +103,7 @@
|
||||
user.visible_message(span_notice("[user] [cistern ? "replaces the lid on the cistern" : "lifts the lid off the cistern"]!"), span_notice("You [cistern ? "replace the lid on the cistern" : "lift the lid off the cistern"]!"), span_hear("You hear grinding porcelain."))
|
||||
cistern = !cistern
|
||||
update_appearance()
|
||||
return COMPONENT_CANCEL_ATTACK_CHAIN
|
||||
else if(I.tool_behaviour == TOOL_WRENCH && !(flags_1&NODECONSTRUCT_1))
|
||||
I.play_tool_sound(src)
|
||||
deconstruct()
|
||||
|
||||
Reference in New Issue
Block a user