mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-30 15:36:21 +01:00
Inventory Tweaks 1
Evidence bags should no longer start empty. Reduces maximum width for the inventory background slightly. Makes a new, slimmer to close the inventory. This and the maximum width reduction mean the inventory should never overlap with other UI buttons.
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
var/baseline_max_storage_space = 16 //should be equal to default backpack capacity
|
||||
var/storage_cap_width = 2 //length of sprite for start and end of the box representing total storage space
|
||||
var/stored_cap_width = 4 //length of sprite for start and end of the box representing the stored item
|
||||
var/storage_width = min( round( 224 * max_storage_space/baseline_max_storage_space ,1) ,284) //length of sprite for the box representing total storage space
|
||||
var/storage_width = min( round( 224 * max_storage_space/baseline_max_storage_space ,1) ,274) //length of sprite for the box representing total storage space
|
||||
|
||||
storage_start.overlays.Cut()
|
||||
|
||||
@@ -552,7 +552,7 @@
|
||||
|
||||
src.closer = new /obj/screen/close( )
|
||||
src.closer.master = src
|
||||
src.closer.icon_state = "x"
|
||||
src.closer.icon_state = "storage_close"
|
||||
src.closer.layer = 20
|
||||
orient2hud()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user