mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
[MIRROR] Station Trait: Luxury Escape Pods [MDB IGNORE] (#18414)
* Station Trait: Luxury Escape Pods * makes it actually work * :( * oops Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: Paxilmaniac <paxilmaniac@gmail.com>
This commit is contained in:
co-authored by
Jacquerel
Paxilmaniac
parent
91e282e7ba
commit
7c0e965bb8
@@ -275,6 +275,27 @@
|
||||
/obj/docking_port/stationary/get_docked()
|
||||
. = locate(/obj/docking_port/mobile) in loc
|
||||
|
||||
/// Subtype for escape pod ports so that we can give them trait behaviour
|
||||
/obj/docking_port/stationary/escape_pod
|
||||
name = "escape pod loader"
|
||||
height = 5
|
||||
width = 3
|
||||
dwidth = 1
|
||||
roundstart_template = /datum/map_template/shuttle/escape_pod/default
|
||||
/// Set to true if you have a snowflake escape pod dock which needs to always have the normal pod or some other one
|
||||
var/enforce_specific_pod = FALSE
|
||||
|
||||
/obj/docking_port/stationary/escape_pod/Initialize(mapload)
|
||||
. = ..()
|
||||
if (enforce_specific_pod)
|
||||
return
|
||||
|
||||
if (HAS_TRAIT(SSstation, STATION_TRAIT_SMALLER_PODS))
|
||||
roundstart_template = /datum/map_template/shuttle/escape_pod/cramped
|
||||
return
|
||||
if (HAS_TRAIT(SSstation, STATION_TRAIT_BIGGER_PODS))
|
||||
roundstart_template = /datum/map_template/shuttle/escape_pod/luxury
|
||||
|
||||
/obj/docking_port/stationary/transit
|
||||
name = "In Transit"
|
||||
var/datum/turf_reservation/reserved_area
|
||||
|
||||
Reference in New Issue
Block a user