From eb3c3018518021dd3e736879de761a402dd677ce Mon Sep 17 00:00:00 2001 From: PrismaticGynoid Date: Thu, 12 Mar 2020 12:25:41 -0700 Subject: [PATCH] Xenoarch fix Fixes the bug in xenoarchaeology where there was a significant chance an artifact would break or come out as a strange rock, even when you did everything correctly. Now that only happens if you did the excavation wrong. --- code/modules/mining/mine_turfs.dm | 2 +- html/changelogs/prismaticgynoid - xenoarch_fix.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/prismaticgynoid - xenoarch_fix.yml diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 43da2afc2a..6e4990c40a 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -416,7 +416,7 @@ turf/simulated/mineral/floor/light_corner var/datum/find/F = finds[1] if(newDepth > F.excavation_required) // Digging too deep can break the item. At least you won't summon a Balrog (probably) fail_message = ". [pick("There is a crunching noise","[W] collides with some different rock","Part of the rock face crumbles away","Something breaks under [W]")]" - wreckfinds(P.destroy_artefacts) + wreckfinds(P.destroy_artefacts) to_chat(user, "You start [P.drill_verb][fail_message].") if(do_after(user,P.digspeed)) diff --git a/html/changelogs/prismaticgynoid - xenoarch_fix.yml b/html/changelogs/prismaticgynoid - xenoarch_fix.yml new file mode 100644 index 0000000000..2a3d864813 --- /dev/null +++ b/html/changelogs/prismaticgynoid - xenoarch_fix.yml @@ -0,0 +1,6 @@ +author: PrismaticGynoid + +delete-after: True + +changes: + - bugfix: "Fixes xenoarch artifacts breaking when performing excavation correctly."