From fae768921635b41b637368821d3d575ff6eac703 Mon Sep 17 00:00:00 2001 From: KanohaShinobi Date: Mon, 1 Apr 2024 16:26:19 -0600 Subject: [PATCH] changes to drill output less ores, longer wait time, more likely iron and coal --- code/modules/1713/modern_items.dm | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/code/modules/1713/modern_items.dm b/code/modules/1713/modern_items.dm index 9e403b2e8a..b8be60deed 100644 --- a/code/modules/1713/modern_items.dm +++ b/code/modules/1713/modern_items.dm @@ -1043,17 +1043,41 @@ not_disassemblable = FALSE density = TRUE var/ore_types = list( + /obj/item/stack/ore/iron, + /obj/item/stack/ore/iron, + /obj/item/stack/ore/iron, + /obj/item/stack/ore/iron, + /obj/item/stack/ore/iron, + /obj/item/stack/ore/iron, /obj/item/stack/ore/iron, /obj/item/stack/ore/gold, /obj/item/stack/ore/glass, /obj/item/stack/ore/silver, /obj/item/stack/ore/copper, /obj/item/stack/ore/tin, + /obj/item/stack/ore/tin, + /obj/item/stack/ore/tin, + /obj/item/stack/ore/saltpeter, /obj/item/stack/ore/saltpeter, + /obj/item/stack/ore/saltpeter, + /obj/item/stack/ore/coal, + /obj/item/stack/ore/coal, /obj/item/stack/ore/coal, + /obj/item/stack/ore/coal, + /obj/item/stack/ore/coal, + /obj/item/stack/ore/sulphur, /obj/item/stack/ore/sulphur, + /obj/item/stack/ore/sulphur, + /obj/item/stack/ore/lead, + /obj/item/stack/ore/lead, /obj/item/stack/ore/lead, /obj/item/stack/material/stone, + /obj/item/stack/material/stone, + /obj/item/stack/material/stone, + /obj/item/stack/material/stone, + /obj/item/stack/material/stone, + /obj/item/stack/material/stone, + /obj/item/stack/material/stone, /obj/item/weapon/barrier, ) var/active = FALSE @@ -1156,7 +1180,7 @@ var/picked = pick(ore_types) var/obj/item/stack/tospawn = new picked(null) - tospawn.amount = rand(10,30) + tospawn.amount = rand(2,5) for (var/obj/item/stack/S in get_turf(src)) if (S.type == tospawn.type) S.amount += tospawn.amount @@ -1166,7 +1190,7 @@ if (tospawn) tospawn.loc = get_turf(src) visible_message(SPAN_NOTICE("\The [src] drills up [tospawn.name].")) - next_spawn = 30 + next_spawn = 60 update_icon() spawn (2 SECONDS)