Universalizing ruin names (#81737)

## About The Pull Request

This is not player-facing, however it's a good QOL that i made for
downstream modular ruins. The pick-list of maps makes it a bit..
annoying to really grab a ruin quickly - so all this does is add an ID
to the front of them for Space, Lava and Ice respectively.

## Why It's Good For The Game
## Changelog
:cl:Zergspower
admin: renames ruin names to have an identifier in front of it
refactor: converts map plate and jump to ruin to tguilist
/🆑
This commit is contained in:
Zergspower
2024-03-04 16:17:15 -06:00
committed by GitHub
parent a7cc3ee033
commit d68ef829ad
5 changed files with 149 additions and 151 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