mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[MIRROR] more inits without returns (#9798)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4de08c6038
commit
e9f8aa7bc0
@@ -12,13 +12,13 @@
|
||||
var/datum/tgui_module/appearance_changer/mirror/M
|
||||
|
||||
/obj/structure/mirror/Initialize(mapload, var/dir, var/building = 0)
|
||||
. = ..()
|
||||
M = new(src, null)
|
||||
if(building)
|
||||
glass = 0
|
||||
icon_state = "mirror_frame"
|
||||
pixel_x = (dir & 3)? 0 : (dir == 4 ? -28 : 28)
|
||||
pixel_y = (dir & 3)? (dir == 1 ? -30 : 30) : 0
|
||||
return
|
||||
|
||||
/obj/structure/mirror/Destroy()
|
||||
QDEL_NULL(M)
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
interaction_message = span_notice("The prismatic turret seems to be able to rotate.")
|
||||
|
||||
/obj/structure/prop/prism/Initialize()
|
||||
. = ..()
|
||||
if(degrees_from_north)
|
||||
animate(src, transform = turn(NORTH, degrees_from_north), time = 3)
|
||||
|
||||
|
||||
@@ -252,6 +252,7 @@
|
||||
icon_state = "stamper_on"
|
||||
|
||||
/obj/structure/prop/machine/stamper/starts_on/Initialize()
|
||||
. = ..()
|
||||
add_overlay("stamper_proc")
|
||||
add_overlay("stamper_but")
|
||||
|
||||
@@ -580,6 +581,7 @@
|
||||
var/contents_original_pixel_y = 0
|
||||
|
||||
/obj/structure/prop/machine/nt_pod/Initialize(mapload)
|
||||
. = ..()
|
||||
// Our non-map-preview state
|
||||
icon_state = "nt_pod"
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ FLOOR SAFES
|
||||
|
||||
|
||||
/obj/structure/safe/Initialize()
|
||||
. = ..()
|
||||
tumbler_1_pos = rand(0, 72)
|
||||
tumbler_1_open = rand(0, 72)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user