Files
Bubberstation/modular_zubbers/code/controllers/subsystem/mapping.dm
Roxy fc17bd5cf5 Fix moonstation ore vents being empty (#2366)
## About The Pull Request

Add the proper ore gen arguments to the moonstation `seedRuins` call
because my fix in #2337 stopped it from piggybacking off the lavaland
gen, leading to empty ore vents.

## Why It's Good For The Game

Fixes #2364 

## Proof Of Testing

I went in a local and var inspected several vents and they have
non-empty `mineral_breakdown` vars now

## Changelog

🆑
fix: Moonstation ore vents should no longer be barren.
/🆑
2024-11-08 06:42:31 +00:00

15 lines
693 B
Plaintext

//This is for Moonstation.
/datum/controller/subsystem/mapping/setup_rivers()
. = ..()
// Generate mining ruins
var/list/lava_ruins = levels_by_trait(ZTRAIT_MOONSTATION_RUINS)
for (var/lava_z in lava_ruins)
spawn_rivers(lava_z, 4, /turf/open/lava/smooth/lava_land_surface, /area/lavaland/underground/unexplored)
/datum/controller/subsystem/mapping/setup_ruins()
. = ..()
var/list/lava_ruins = levels_by_trait(ZTRAIT_MOONSTATION_RUINS)
if (lava_ruins.len)
seedRuins(lava_ruins, CONFIG_GET(number/lavaland_budget), list(/area/lavaland/underground/unexplored), themed_ruins[ZTRAIT_LAVA_RUINS], clear_below = TRUE, mineral_budget = 15, mineral_budget_update = OREGEN_PRESET_LAVALAND)