[MIRROR] Dehardcodes SSmapping [MDB IGNORE] (#11829)

* Dehardcodes SSmapping

* removes SSmining

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-03-13 21:47:19 +00:00
committed by GitHub
co-authored by Seth Scherer Gandalf
parent 321ee5601d
commit 6f849ce9e6
15 changed files with 68 additions and 223722 deletions
-1
View File
@@ -140,7 +140,6 @@ GLOBAL_PROTECT(admin_verbs_server)
/client/proc/cmd_admin_delete, /*delete an instance/object/mob/etc*/
/client/proc/cmd_debug_del_all,
/client/proc/toggle_random_events,
/client/proc/set_mining_map, //SKYRAT EDIT ADDITION
/client/proc/forcerandomrotate,
/client/proc/adminchangemap,
/client/proc/panicbunker,
+6 -16
View File
@@ -663,22 +663,12 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
exists[L.ruin_template] = landmark
var/list/names = list()
names += "---- Space Ruins ----"
for(var/name in SSmapping.space_ruins_templates)
names[name] = list(SSmapping.space_ruins_templates[name], ZTRAIT_SPACE_RUINS, list(/area/space))
names += "---- Lava Ruins ----"
for(var/name in SSmapping.lava_ruins_templates)
names[name] = list(SSmapping.lava_ruins_templates[name], ZTRAIT_LAVA_RUINS, list(/area/lavaland/surface/outdoors/unexplored))
names += "---- Ice Ruins ----"
for(var/name in SSmapping.ice_ruins_templates)
names[name] = list(SSmapping.ice_ruins_templates[name], ZTRAIT_ICE_RUINS, list(/area/icemoon/surface/outdoors/unexplored, /area/icemoon/underground/unexplored))
names += "---- Ice Underground Ruins ----"
for(var/name in SSmapping.ice_ruins_underground_templates)
names[name] = list(SSmapping.ice_ruins_underground_templates[name], ZTRAIT_ICE_RUINS_UNDERGROUND, list(/area/icemoon/underground/unexplored))
//SKYRAT EDIT START//
for(var/name in SSmapping.rockplanet_ruins_templates)
names[name] = list(SSmapping.rockplanet_ruins_templates[name], ZTRAIT_ROCKPLANET_RUINS, list(/area/rockplanet/surface/outdoors/unexplored))
//SKYRAT EDIT END//
for (var/theme in SSmapping.themed_ruins)
names += "---- [theme] ----"
for (var/name in SSmapping.themed_ruins[theme])
var/datum/map_template/ruin/ruin = SSmapping.themed_ruins[theme][name]
names[name] = list(ruin, theme, list(ruin.default_area))
var/ruinname = input("Select ruin", "Spawn Ruin") as null|anything in sort_list(names)
var/data = names[ruinname]