Merge pull request #18484 from coiax/random-space

All of space is now randomised
This commit is contained in:
oranges
2016-06-23 09:12:48 +12:00
committed by GitHub
49 changed files with 18765 additions and 207216 deletions
+2 -1
View File
@@ -146,7 +146,8 @@ var/list/admin_verbs_debug = list(
/client/proc/create_outfits,
/client/proc/debug_huds,
/client/proc/map_template_load,
/client/proc/map_template_upload
/client/proc/map_template_upload,
/client/proc/jump_to_ruin
)
var/list/admin_verbs_possess = list(
/proc/possess,
+32
View File
@@ -735,3 +735,35 @@ var/global/list/g_fancy_list_of_types = null
if(!holder)
return
debug_variables(huds[i])
/client/proc/jump_to_ruin()
set category = "Debug"
set name = "Jump to Ruin"
set desc = "Displays a list of all placed ruins to teleport to."
if(!holder)
return
var/list/names = list()
for(var/i in ruin_landmarks)
var/obj/effect/landmark/ruin/ruin_landmark = i
var/datum/map_template/ruin/template = ruin_landmark.ruin_template
var/count = 1
var/name = template.name
var/original_name = name
while(name in names)
count++
name = "[original_name] ([count])"
names[name] = ruin_landmark
var/ruinname = input("Select ruin", "Jump to Ruin") as null|anything in names
var/obj/effect/landmark/ruin/landmark = names[ruinname]
if(istype(landmark))
var/datum/map_template/ruin/template = landmark.ruin_template
usr.forceMove(get_turf(landmark))
usr << "<span class='name'>[template.name]</span>"
usr << "<span class='italics'>[template.description]</span>"