Examine Code Refactor

This commit is contained in:
Dip
2020-10-06 23:36:21 -03:00
parent c433514622
commit aa7d47a23b
334 changed files with 1337 additions and 1365 deletions
+4 -4
View File
@@ -292,13 +292,13 @@ LINEN BINS
var/obj/item/hidden = null
/obj/structure/bedsheetbin/examine(mob/user)
..()
. = ..()
if(amount < 1)
to_chat(user, "There are no bed sheets in the bin.")
. += "There are no sheets in the bin."
else if(amount == 1)
to_chat(user, "There is one bed sheet in the bin.")
. += "There is one sheet in the bin."
else
to_chat(user, "There are [amount] bed sheets in the bin.")
. += "There are [amount] sheets in the bin."
/obj/structure/bedsheetbin/update_icon()