Ports "examine-code refactor"... part 1...
This commit is contained in:
@@ -294,13 +294,13 @@ LINEN BINS
|
||||
var/obj/item/hidden = null
|
||||
|
||||
/obj/structure/bedsheetbin/examine(mob/user)
|
||||
..()
|
||||
. = ..()
|
||||
if(amount < 1)
|
||||
to_chat(user, "There are no sheets in the bin.")
|
||||
. += "There are no sheets in the bin."
|
||||
else if(amount == 1)
|
||||
to_chat(user, "There is one sheet in the bin.")
|
||||
. += "There is one sheet in the bin."
|
||||
else
|
||||
to_chat(user, "There are [amount] sheets in the bin.")
|
||||
. += "There are [amount] sheets in the bin."
|
||||
|
||||
|
||||
/obj/structure/bedsheetbin/update_icon()
|
||||
|
||||
Reference in New Issue
Block a user