[MDB IGNORE] Lavaland Mineral Rework: Yapmining 2026 (#95682)

This commit is contained in:
SmArtKar
2026-04-20 16:52:59 +02:00
committed by GitHub
parent f88663a72a
commit 2680aafa3f
81 changed files with 6268 additions and 5581 deletions
@@ -64,7 +64,7 @@
/obj/effect/spawner/abandoned_crate/space_suit
loot = list(
/obj/item/borg/upgrade/modkit/aoe/mobs = 1,
/obj/item/borg/upgrade/modkit/cooldown/aoe/mobs = 1,
/obj/item/clothing/suit/space = 1,
/obj/item/clothing/head/helmet/space = 1
)
@@ -221,8 +221,8 @@
* This also means a large boulder can highroll a boulder with a full stack of 50 sheets of material.
* @params ore_floor The number of minerals already rolled. Used to scale the logarithmic function.
*/
/obj/structure/ore_vent/proc/ore_quantity_function(ore_floor)
return SHEET_MATERIAL_AMOUNT * max(round(boulder_size * (log(rand(1 + ore_floor, 4 + ore_floor)) ** -1)), 1)
/obj/structure/ore_vent/proc/ore_quantity_function(ore_floor, ore_per_size = HALF_SHEET_MATERIAL_AMOUNT)
return ore_per_size * max(round(boulder_size * (log(rand(1 + ore_floor, 4 + ore_floor)) ** -1)), 1)
/**
* This confirms that the user wants to start the wave defense event, and that they can start it.