modularization

This commit is contained in:
fluffe9911
2019-06-06 15:57:51 -04:00
committed by GitHub
parent bf9c6a30fd
commit 99162bd13e

View File

@@ -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 ..()