mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Adds a proc to create a shuttle transit area at runtime (#11453)
* Adds 'dungeons' * Remove hitler * Modify maps, last tweaks * Dynamic transit baby * Fixes * Transit dir, remove hitler * CL * ..() * Remove old CL
This commit is contained in:
@@ -118,3 +118,16 @@
|
||||
A.y = rand(teleport_y, teleport_y_offset)
|
||||
A.z = rand(teleport_z, teleport_z_offset)
|
||||
|
||||
/obj/effect/step_trigger/teleporter/random/shuttle_transit
|
||||
teleport_x = 25
|
||||
teleport_y = 25
|
||||
teleport_z = 6
|
||||
|
||||
//x and y offsets depend on the map size
|
||||
|
||||
teleport_z_offset = 6
|
||||
|
||||
/obj/effect/step_trigger/teleporter/random/shuttle_transit/New()
|
||||
..()
|
||||
teleport_x_offset = world.maxx - 25
|
||||
teleport_y_offset = world.maxy - 25
|
||||
|
||||
Reference in New Issue
Block a user