mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Enable multi-sector lavaland. (#28358)
* Enable multi-sector lavaland. * fix exclude ci paths * remove old lavaland * Lewc review and other cleanups, add GPS stuff * rebuild tgui * fix ash storm no eligible areas * update test config, don't skip out on test level creation * unfuck example config * whoops * add north entrances to legion arena for easier traversal * TM config -- REVERT BEFORE MERGE * Make SSweather work on traits directly * flip order of procgen/ruin placement * fix GPS * fix budget in code * clobber prod config for lavaland ruin budget for TM * add relay to gulag * some more guards for procgen * separate relays * make gulag and base one ruin * bridge improvements * actually remove gulag map * make linter happy * harden ruin placement against failing Config changes made. Bypassing code ownership.
This commit is contained in:
committed by
GitHub
parent
f15e064bff
commit
07a22cdb64
@@ -34,8 +34,18 @@
|
||||
if(choice == "No")
|
||||
return
|
||||
|
||||
var/static/list/sectortypes = list(TRANSITION_TAG_SPACE, TRANSITION_TAG_LAVALAND)
|
||||
var/sectortype = tgui_input_list(usr, "Please select sector type", "", sectortypes)
|
||||
|
||||
if(!(sectortype in sectortypes))
|
||||
return
|
||||
|
||||
message_admins("[key_name_admin(usr)] made a space map")
|
||||
|
||||
|
||||
GLOB.space_manager.map_as_turfs(get_turf(usr))
|
||||
GLOB.space_manager.map_as_turfs(get_turf(usr), sectortype)
|
||||
log_admin("[key_name(usr)] made a space map")
|
||||
|
||||
|
||||
/proc/save_lavaland_maps()
|
||||
for(var/zlvl in levels_by_trait(ORE_LEVEL))
|
||||
GLOB.maploader.save_map(locate(1, 1, zlvl), locate(world.maxx, world.maxy, zlvl), "lavaland_[zlvl]")
|
||||
|
||||
Reference in New Issue
Block a user