Finish Machinery new to init (#17334)

* Finish Machinery new to init

* fix that

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-03-16 03:57:48 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent f362f6585f
commit 4d36cfdaeb
116 changed files with 486 additions and 528 deletions
@@ -62,11 +62,11 @@
starts_with = list(/obj/item/reagent_containers/food/snacks/egg = 12)
/obj/item/storage/fancy/egg_box/Initialize(mapload)
. = ..()
if(!open_state)
open_state = "[initial(icon_state)]0"
if(!closed_state)
closed_state = "[initial(icon_state)]"
. = ..()
/obj/item/storage/fancy/egg_box/update_icon()
cut_overlays()
@@ -264,11 +264,11 @@
C.desc += " This one is \a [brand]."
/obj/item/storage/fancy/cigarettes/Initialize(mapload)
. = ..()
if(!open_state)
open_state = "[initial(icon_state)]_open"
if(!closed_state)
closed_state = "[initial(icon_state)]"
. = ..()
/obj/item/storage/fancy/cigarettes/update_icon()
cut_overlays()
@@ -411,11 +411,11 @@
return ..()
/obj/item/storage/fancy/cigar/Initialize(mapload)
. = ..()
if(!open_state)
open_state = "[initial(icon_state)]0"
if(!closed_state)
closed_state = "[initial(icon_state)]"
. = ..()
/obj/item/storage/fancy/cigar/update_icon()
cut_overlays()
@@ -813,11 +813,11 @@
icon_state = closed_state
/obj/item/storage/trinketbox/Initialize(mapload)
. = ..()
if(!open_state)
open_state = "[initial(icon_state)]_open"
if(!closed_state)
closed_state = "[initial(icon_state)]"
. = ..()
/obj/item/storage/trinketbox/attack_self()
open = !open