mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 11:42:27 +00:00
## 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. /🆑
15 lines
693 B
Plaintext
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)
|