mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user