Adds examine boxes. (#18370)

* Adds examine boxes.

* lint

* what kind of dreams did you dream?

* unlimited

* midgardsormr

* sdsd

* fixes

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-02-11 21:58:20 +00:00
committed by GitHub
co-authored by Matt Atlas
parent d57c5e7c43
commit 4423d03f2f
296 changed files with 1317 additions and 1257 deletions
+4 -5
View File
@@ -376,16 +376,15 @@ LINEN BINS
var/obj/item/hidden = null
/obj/structure/bedsheetbin/examine(mob/user)
/obj/structure/bedsheetbin/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
. = ..()
if(amount < 1)
to_chat(user, "There are no bed sheets in the bin.")
. += "There are no bed sheets in the bin."
return
if(amount == 1)
to_chat(user, "There is one bed sheet in the bin.")
. += "There is one bed sheet in the bin."
return
to_chat(user, "There are [amount] bed sheets in the bin.")
. += "There are [amount] bed sheets in the bin."
/obj/structure/bedsheetbin/update_icon()