mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Revert "Purifies code, fix collapsible TGUI component"
This reverts commit 1f38f22a58.
This commit is contained in:
@@ -1229,9 +1229,9 @@
|
||||
if(obj_integrity < max_integrity)
|
||||
if(!W.tool_start_check(user, amount=0))
|
||||
return
|
||||
user.visible_message("[user] is welding the airlock.", \
|
||||
"<span class='notice'>You begin reparing the airlock...</span>", \
|
||||
"<span class='italics'>You hear welding.</span>")
|
||||
user.visible_message("[user] чинит шлюз сваркой.", \
|
||||
"<span class='notice'>Вы начинаете чинить шлюз...</span>", \
|
||||
"<span class='italics'>Вы слышите звук сварки.</span>")
|
||||
if(W.use_tool(src, user, 40, volume=50, extra_checks = CALLBACK(src, PROC_REF(weld_checks), W, user)))
|
||||
obj_integrity = max_integrity
|
||||
machine_stat &= ~BROKEN
|
||||
|
||||
@@ -174,8 +174,12 @@
|
||||
var/exposed = 0 // can you currently put an item inside
|
||||
var/obj/item/hiddenitem = null // what's in the urinal
|
||||
|
||||
/obj/structure/urinal/Initialize()
|
||||
/obj/structure/urinal/Initialize(no_shit = FALSE)
|
||||
. = ..()
|
||||
if(!no_shit && prob(1))
|
||||
new /obj/structure/urinal/shit(loc, dir)
|
||||
qdel(src)
|
||||
return
|
||||
hiddenitem = new /obj/item/reagent_containers/food/urinalcake
|
||||
|
||||
/obj/structure/urinal/Destroy()
|
||||
|
||||
Reference in New Issue
Block a user