mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Fixes layering issues brought by the FoV PR. (#63903)
* Fixed most (not all) incorrect planes and layers detected by the unit test.
This commit is contained in:
@@ -17,8 +17,7 @@ LINEN BINS
|
||||
icon_state = "sheetwhite"
|
||||
inhand_icon_state = "sheetwhite"
|
||||
slot_flags = ITEM_SLOT_NECK
|
||||
layer = MOB_LAYER
|
||||
plane = GAME_PLANE_FOV_HIDDEN
|
||||
layer = BELOW_MOB_LAYER
|
||||
throwforce = 0
|
||||
throw_speed = 1
|
||||
throw_range = 2
|
||||
@@ -46,11 +45,13 @@ LINEN BINS
|
||||
return
|
||||
if(layer == initial(layer))
|
||||
layer = ABOVE_MOB_LAYER
|
||||
plane = GAME_PLANE_UPPER
|
||||
to_chat(user, span_notice("You cover yourself with [src]."))
|
||||
pixel_x = 0
|
||||
pixel_y = 0
|
||||
else
|
||||
layer = initial(layer)
|
||||
plane = initial(plane)
|
||||
to_chat(user, span_notice("You smooth [src] out beneath you."))
|
||||
add_fingerprint(user)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user