mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Layers are now defines (#17949)
* Layers are now defines * this looks better * GAS_phil_LAYER * no message * remove the three unneeded defines * no message
This commit is contained in:
@@ -11,7 +11,7 @@ LINEN BINS
|
||||
icon_state = "sheetwhite"
|
||||
item_state = "bedsheet"
|
||||
slot_flags = SLOT_BACK
|
||||
layer = 4
|
||||
layer = MOB_LAYER
|
||||
throwforce = 0
|
||||
throw_speed = 1
|
||||
throw_range = 2
|
||||
@@ -28,9 +28,11 @@ LINEN BINS
|
||||
/obj/item/weapon/bedsheet/attack_self(mob/user)
|
||||
user.drop_item()
|
||||
if(layer == initial(layer))
|
||||
layer = 5
|
||||
layer = ABOVE_MOB_LAYER
|
||||
user << "<span class='notice'>You cover yourself with [src].</span>"
|
||||
else
|
||||
layer = initial(layer)
|
||||
user << "<span class='notice'>You smooth [src] out beneath you.</span>"
|
||||
add_fingerprint(user)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user