mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-09 15:05:38 +01:00
Initialise
Inserted working changes to random shuttle spawing
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
// may result.
|
||||
if(force)
|
||||
..()
|
||||
. = QDEL_HINT_QUEUE
|
||||
return QDEL_HINT_QUEUE
|
||||
else
|
||||
return QDEL_HINT_LETMELIVE
|
||||
|
||||
@@ -227,6 +227,29 @@
|
||||
reserved_area = null
|
||||
return ..()
|
||||
|
||||
/obj/docking_port/stationary/picked
|
||||
///Holds a list of map name strings for the port to pick from
|
||||
var/list/shuttlekeys
|
||||
|
||||
/obj/docking_port/stationary/picked/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!LAZYLEN(shuttlekeys))
|
||||
WARNING("Random docking port [id] loaded with no shuttle keys")
|
||||
return
|
||||
var/selectedid = pick(shuttlekeys)
|
||||
roundstart_template = SSmapping.shuttle_templates[selectedid]
|
||||
|
||||
/obj/docking_port/stationary/picked/whiteship
|
||||
name = "Deep Space"
|
||||
id = "whiteship_away"
|
||||
dheight = 0
|
||||
dir = 2
|
||||
dwidth = 11
|
||||
height = 22
|
||||
width = 35
|
||||
//shuttlekeys = list("whiteship_meta", "whiteship_pubby", "whiteship_box", "whiteship_cere", "whiteship_kilo", "whiteship_donut", "whiteship_delta", "whiteship_Sophie1")
|
||||
shuttlekeys = list("whiteship_Sophie1")
|
||||
|
||||
/obj/docking_port/mobile
|
||||
name = "shuttle"
|
||||
icon_state = "pinonclose"
|
||||
|
||||
Reference in New Issue
Block a user