mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
modularization
This commit is contained in:
@@ -67,7 +67,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( \
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You need one rod and one sheet of glass to make reinforced glass!</span>")
|
||||
return
|
||||
else if(istype(W, /obj/item/lightreplacer/cyborg))
|
||||
else if(istype(W, /obj/item/lightreplacer/cyborg)) //yogs start janiborgs can refill lightreplacers with glass now
|
||||
var/obj/item/lightreplacer/cyborg/G = W
|
||||
if(G.uses >= G.max_uses)
|
||||
to_chat(user, "<span class='warning'>[W.name] is full.</span>")
|
||||
@@ -77,7 +77,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( \
|
||||
to_chat(user, "<span class='notice'>You insert a piece of glass into \the [G.name]. You have [G.uses] light\s remaining.</span>")
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You need one sheet of glass to replace lights!</span>")
|
||||
to_chat(user, "<span class='warning'>You need one sheet of glass to replace lights!</span>") //yogs end
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user