it compiles, now to fix the maps
This commit is contained in:
@@ -27,22 +27,7 @@ GLOBAL_LIST_EMPTY(cursed_minds)
|
||||
return
|
||||
GLOB.cursed_minds[L.mind] = TRUE
|
||||
RegisterSignal(L.mind, COMSIG_PARENT_QDELETING, .proc/remove_from_cursed)
|
||||
var/random_choice = pick("Mob", "Appearance")
|
||||
switch(random_choice)
|
||||
if("Mob")
|
||||
L = wabbajack(L, "animal")
|
||||
if("Appearance")
|
||||
var/mob/living/carbon/human/H = wabbajack(L, "humanoid")
|
||||
randomize_human(H)
|
||||
var/list/all_species = list()
|
||||
for(var/stype in subtypesof(/datum/species))
|
||||
var/datum/species/S = stype
|
||||
if(initial(S.changesource_flags) & RACE_SWAP)
|
||||
all_species += stype
|
||||
var/random_race = pick(all_species)
|
||||
H.set_species(random_race)
|
||||
H.dna.unique_enzymes = H.dna.generate_unique_enzymes()
|
||||
L = H
|
||||
L = wabbajack(L, "animal") // Appearance randomization removed so citadel players don't get randomized into some ungodly ugly creature and complain
|
||||
var/turf/T = find_safe_turf()
|
||||
L.forceMove(T)
|
||||
to_chat(L, "<span class='notice'>You blink and find yourself in [get_area_name(T)].</span>")
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
var/view_range = 7
|
||||
var/x_offset = 0
|
||||
var/y_offset = 0
|
||||
var/list/whitelist_turfs = list(/turf/open/space, /turf/open/floor/plating, /turf/open/lava)
|
||||
var/space_turfs_only = TRUE
|
||||
var/see_hidden = FALSE
|
||||
var/designate_time = 0
|
||||
@@ -22,6 +23,7 @@
|
||||
/obj/machinery/computer/camera_advanced/shuttle_docker/Initialize()
|
||||
. = ..()
|
||||
GLOB.navigation_computers += src
|
||||
whitelist_turfs = typecacheof(whitelist_turfs)
|
||||
|
||||
/obj/machinery/computer/camera_advanced/shuttle_docker/Destroy()
|
||||
. = ..()
|
||||
@@ -226,6 +228,11 @@
|
||||
if(!ispath(turf_type, /turf/open/space))
|
||||
return SHUTTLE_DOCKER_BLOCKED
|
||||
|
||||
if(length(whitelist_turfs))
|
||||
var/turf_type = hidden_turf_info ? hidden_turf_info[2] : T.type
|
||||
if(!is_type_in_typecache(turf_type, whitelist_turfs))
|
||||
return SHUTTLE_DOCKER_BLOCKED
|
||||
|
||||
// Checking for overlapping dock boundaries
|
||||
for(var/i in 1 to overlappers.len)
|
||||
var/obj/docking_port/port = overlappers[i]
|
||||
|
||||
Reference in New Issue
Block a user