mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Another 515 Casualty (#16017)
This commit is contained in:
@@ -389,11 +389,13 @@ LINEN BINS
|
||||
|
||||
|
||||
/obj/structure/bedsheetbin/update_icon()
|
||||
switch(amount)
|
||||
if(0) icon_state = "linenbin-empty"
|
||||
if(1 to amount / 2) icon_state = "linenbin-half"
|
||||
else icon_state = "linenbin-full"
|
||||
|
||||
var/max_sheets = initial(amount)
|
||||
if(amount > (max_sheets/2))
|
||||
icon_state = "linenbin-full"
|
||||
else if(amount > 0)
|
||||
icon_state = "linenbin-half"
|
||||
else
|
||||
icon_state = "linenbin-empty"
|
||||
|
||||
/obj/structure/bedsheetbin/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(istype(I, /obj/item/bedsheet))
|
||||
|
||||
Reference in New Issue
Block a user