mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
update_appearance (#55468)
Creates update_name and update_desc Creates the wrapper proc update_appearance to batch update_name, update_desc, and update_icon together Less non-icon handling code in update_icon and friends Signal hooks for things that want to change names and descriptions 99%+ of the changes in this are just from switching everything over to update_appearance from update_icon
This commit is contained in:
@@ -247,6 +247,7 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
|
||||
/turf/open/space/bluespace
|
||||
name = "\proper bluespace hyperzone"
|
||||
icon_state = "bluespace"
|
||||
base_icon_state = "bluespace"
|
||||
baseturfs = /turf/open/space/bluespace
|
||||
flags_1 = NOJAUNT_1
|
||||
explosion_block = INFINITY
|
||||
@@ -257,7 +258,8 @@ GLOBAL_VAR_INIT(hhMysteryRoomNumber, rand(1, 999999))
|
||||
update_icon_state()
|
||||
|
||||
/turf/open/space/bluespace/update_icon_state()
|
||||
icon_state = "bluespace"
|
||||
icon_state = base_icon_state
|
||||
return ..()
|
||||
|
||||
/turf/open/space/bluespace/Entered(atom/movable/A)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user