mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-26 01:04:36 +00:00
Co-authored-by: Changelogs <action@github.com> Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
114 lines
3.1 KiB
Plaintext
114 lines
3.1 KiB
Plaintext
/obj/effect/step_trigger/teleporter/to_mining
|
|
icon = 'icons/obj/structures/stairs_64x64.dmi'
|
|
icon_state = ""
|
|
invisibility = 0
|
|
plane = TURF_PLANE
|
|
layer = ABOVE_TURF_LAYER
|
|
/obj/effect/step_trigger/teleporter/to_mining/Initialize()
|
|
. = ..()
|
|
teleport_x = x
|
|
teleport_y = y ++
|
|
teleport_z = Z_LEVEL_MINING
|
|
|
|
/obj/effect/step_trigger/teleporter/from_mining
|
|
icon = 'icons/obj/structures/stairs_64x64.dmi'
|
|
icon_state = ""
|
|
invisibility = 0
|
|
plane = TURF_PLANE
|
|
layer = ABOVE_TURF_LAYER
|
|
|
|
/obj/effect/step_trigger/teleporter/from_mining/Initialize()
|
|
. = ..()
|
|
teleport_x = x
|
|
teleport_y = y --
|
|
teleport_z = Z_LEVEL_GB_BOTTOM
|
|
|
|
/turf/unsimulated/mineral/virgo3b
|
|
blocks_air = TRUE
|
|
|
|
/turf/unsimulated/floor/steel
|
|
icon = 'icons/turf/flooring/tiles_vr.dmi'
|
|
icon_state = "steel"
|
|
|
|
// Some turfs to make floors look better in centcom tram station.
|
|
|
|
/turf/unsimulated/floor/techfloor_grid
|
|
name = "floor"
|
|
icon = 'icons/turf/flooring/techfloor.dmi'
|
|
icon_state = "techfloor_grid"
|
|
|
|
/turf/unsimulated/floor/maglev
|
|
name = "maglev track"
|
|
desc = "Magnetic levitation tram tracks. Caution! Electrified!"
|
|
icon = 'icons/turf/flooring/maglevs.dmi'
|
|
icon_state = "maglevup"
|
|
|
|
/turf/unsimulated/wall/transit
|
|
icon = 'icons/turf/transit_vr.dmi'
|
|
|
|
/turf/unsimulated/floor/transit
|
|
icon = 'icons/turf/transit_vr.dmi'
|
|
|
|
/obj/effect/floor_decal/transit/orange
|
|
icon = 'icons/turf/transit_vr.dmi'
|
|
icon_state = "transit_techfloororange_edges"
|
|
|
|
/obj/effect/transit/light
|
|
icon = 'icons/turf/transit_128.dmi'
|
|
icon_state = "tube1-2"
|
|
|
|
VIRGO3B_TURF_CREATE(/turf/simulated/floor/outdoors/grass/sif)
|
|
/turf/simulated/floor/outdoors/grass/sif
|
|
turf_layers = list(
|
|
/turf/simulated/floor/outdoors/rocks/virgo3b,
|
|
/turf/simulated/floor/outdoors/dirt/virgo3b
|
|
)
|
|
|
|
VIRGO3B_TURF_CREATE(/turf/simulated/floor/outdoors/dirt)
|
|
/turf/simulated/floor/outdoors/dirt/virgo3b
|
|
icon = 'icons/turf/flooring/asteroid.dmi'
|
|
icon_state = "asteroid"
|
|
|
|
VIRGO3B_TURF_CREATE(/turf/simulated/floor/outdoors/rocks)
|
|
|
|
/turf/simulated/floor/maglev
|
|
name = "maglev track"
|
|
desc = "Magnetic levitation tram tracks. Caution! Electrified!"
|
|
icon = 'icons/turf/flooring/maglevs.dmi'
|
|
icon_state = "maglevup"
|
|
can_be_plated = FALSE
|
|
|
|
var/area/shock_area = /area/centcom/terminal/tramfluff
|
|
|
|
/turf/simulated/floor/maglev/Initialize()
|
|
. = ..()
|
|
shock_area = locate(shock_area)
|
|
|
|
// Walking on maglev tracks will shock you! Horray!
|
|
/turf/simulated/floor/maglev/Entered(var/atom/movable/AM, var/atom/old_loc)
|
|
if(isliving(AM) && !(AM.is_incorporeal()) && prob(50))
|
|
track_zap(AM)
|
|
/turf/simulated/floor/maglev/attack_hand(var/mob/user)
|
|
if(prob(75))
|
|
track_zap(user)
|
|
/turf/simulated/floor/maglev/proc/track_zap(var/mob/living/user)
|
|
if (!istype(user)) return
|
|
if (electrocute_mob(user, shock_area, src))
|
|
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
|
s.set_up(5, 1, src)
|
|
s.start()
|
|
|
|
// Shelter Capsule extra restrictions
|
|
/datum/map_template/shelter/New()
|
|
..()
|
|
banned_areas += list(/area/groundbase/level3/escapepad)
|
|
|
|
// Landmarks for wildlife events
|
|
|
|
/obj/effect/landmark/wildlife/water
|
|
name = "aquatic wildlife"
|
|
wildlife_type = 1
|
|
|
|
/obj/effect/landmark/wildlife/forest
|
|
name = "roaming wildlife"
|
|
wildlife_type = 2 |