mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
/obj/structure/shuttle
|
|
name = "shuttle"
|
|
icon = 'icons/turf/shuttle.dmi'
|
|
|
|
/obj/structure/shuttle/window
|
|
name = "shuttle window"
|
|
icon = 'icons/obj/podwindows.dmi'
|
|
icon_state = "1"
|
|
density = 1
|
|
opacity = 0
|
|
anchored = 1
|
|
|
|
/obj/structure/shuttle/window/CanPass(atom/movable/mover, turf/target, height=1.5, air_group = 0)
|
|
if(!height || air_group)
|
|
return 0
|
|
else
|
|
return ..()
|
|
|
|
/obj/structure/shuttle/engine
|
|
name = "engine"
|
|
density = 1
|
|
anchored = 1.0
|
|
|
|
/obj/structure/shuttle/engine/shuttle_rotate(angle)
|
|
..(angle + 180) //because a propulsion engine/heater with dir=NORTH is facing south
|
|
|
|
/obj/structure/shuttle/engine/heater
|
|
name = "heater"
|
|
icon_state = "heater"
|
|
|
|
/obj/structure/shuttle/engine/heater/cultify()
|
|
new /obj/structure/cult/pylon(loc)
|
|
..()
|
|
|
|
/obj/structure/shuttle/engine/platform
|
|
name = "platform"
|
|
icon_state = "platform"
|
|
|
|
/obj/structure/shuttle/engine/propulsion
|
|
name = "propulsion"
|
|
icon_state = "propulsion"
|
|
opacity = 1
|
|
|
|
|
|
/obj/structure/shuttle/engine/propulsion/cultify()
|
|
var/turf/T = get_turf(src)
|
|
if(T)
|
|
T.ChangeTurf(/turf/simulated/wall/cult)
|
|
..()
|
|
|
|
/obj/structure/shuttle/engine/propulsion/burst
|
|
name = "burst"
|
|
|
|
/obj/structure/shuttle/engine/propulsion/burst/left
|
|
name = "left"
|
|
icon_state = "burst_l"
|
|
|
|
/obj/structure/shuttle/engine/propulsion/burst/right
|
|
name = "right"
|
|
icon_state = "burst_r"
|
|
|
|
/obj/structure/shuttle/engine/router
|
|
name = "router"
|
|
icon_state = "router"
|