Files
Paradise/code/game/shuttle_engines.dm
S34N 18f47d2ef3 Fixes broken shuttle and escape pod rotation (#16154)
* Fixes shuttle rotation

* Apply AA suggestions

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2021-06-13 18:08:15 +01:00

40 lines
1.0 KiB
Plaintext

/obj/structure/shuttle
name = "shuttle"
icon = 'icons/turf/shuttle.dmi'
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
max_integrity = 500
armor = list(melee = 100, bullet = 10, laser = 10, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 70) //default + ignores melee
/obj/structure/shuttle/shuttleRotate(rotation)
return //This override is needed to properly rotate the object when on a shuttle that is rotated.
/obj/structure/shuttle/engine
name = "engine"
density = 1
anchored = 1.0
/obj/structure/shuttle/engine/heater
name = "heater"
icon_state = "heater"
/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/burst
/obj/structure/shuttle/engine/propulsion/burst/left
icon_state = "burst_l"
/obj/structure/shuttle/engine/propulsion/burst/right
icon_state = "burst_r"
/obj/structure/shuttle/engine/router
name = "router"
icon_state = "router"