[MIRROR] bunch of inits without return and a few easy new to init (#9773)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-03 11:06:49 -07:00
committed by GitHub
parent 052034eb7b
commit a3ac1d26d7
71 changed files with 330 additions and 312 deletions

View File

@@ -119,15 +119,15 @@
// These are step-teleporters, for map edge transitions
// This top one goes INTO the cave
/obj/effect/step_trigger/teleporter/away_beach_tocave/New()
..()
/obj/effect/step_trigger/teleporter/away_beach_tocave/Initialize()
. = ..()
teleport_x = src.x //X is horizontal. This is a top of map transition, so you want the same horizontal alignment in the cave as you have on the beach
teleport_y = 2 //2 is because it's putting you on row 2 of the map to the north
teleport_z = z+1 //The cave is always our Z-level plus 1, because it's loaded after us
//This one goes OUT OF the cave
/obj/effect/step_trigger/teleporter/away_beach_tobeach/New()
..()
/obj/effect/step_trigger/teleporter/away_beach_tobeach/Initialize()
. = ..()
teleport_x = src.x //Same reason as bove
teleport_y = world.maxy - 1 //This means "1 space from the top of the map"
teleport_z = z-1 //Opposite of 'tocave', beach is always loaded as the map before us
@@ -139,8 +139,8 @@
name = "Water"
icon_state = "water"
/turf/simulated/floor/beach/coastwater/New()
..()
/turf/simulated/floor/beach/coastwater/Initialize()
. = ..()
add_overlay(image("icon"='icons/misc/beach.dmi',"icon_state"="water","layer"=MOB_LAYER+0.1))
// -- Areas -- //