mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
[MDB IGNORE] Lavaland Mineral Rework: Yapmining 2026 (#95682)
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user