mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[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:
co-authored by
Zergspower
Pinta
parent
7f3643f106
commit
53d1f4ada0
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user