[MIRROR] Universalizing ruin names (#26750)

* Universalizing ruin names

* Update code/datums/ruins/space.dm

* Update space.dm

* a

* Update lavaland.dm

---------

Co-authored-by: Zergspower <Griffinj88@yahoo.com>
Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-03-22 11:46:14 -04:00
committed by GitHub
co-authored by Zergspower Pinta
parent 7f3643f106
commit 53d1f4ada0
10 changed files with 183 additions and 184 deletions
+2 -3
View File
@@ -680,8 +680,7 @@
names[name] = ruin_landmark
var/ruinname = input("Select ruin", "Jump to Ruin") as null|anything in sort_list(names)
var/ruinname = tgui_input_list(usr, "Select ruin", "Jump to Ruin", sort_list(names))
var/obj/effect/landmark/ruin/landmark = names[ruinname]
@@ -715,7 +714,7 @@
themed_names[name] = list(ruin, theme, list(ruin.default_area))
names += sort_list(themed_names)
var/ruinname = input("Select ruin", "Spawn Ruin") as null|anything in names
var/ruinname = tgui_input_list(usr, "Select ruin", "Spawn Ruin", sort_list(names))
var/data = names[ruinname]
if (!data)
return
@@ -3,8 +3,7 @@
set name = "Map template - Place"
var/datum/map_template/template
var/map = input(src, "Choose a Map Template to place at your CURRENT LOCATION","Place Map Template") as null|anything in sort_list(SSmapping.map_templates)
var/map = tgui_input_list(usr, "Choose a Map Template to place at your CURRENT LOCATION","Place Map Template", sort_list(SSmapping.map_templates))
if(!map)
return
template = SSmapping.map_templates[map]