mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Earlyport Xenoarch Fixy
Title. Earlyports fix for Xenoarch bug that wrecks a high number of finds even with the field used. Changelong Notes: - Fixes bug that made finding, well, finds get destroyed at a high frequency.
This commit is contained in:
@@ -425,7 +425,7 @@ turf/simulated/mineral/floor/light_corner
|
|||||||
var/datum/find/F = finds[1]
|
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)
|
if(newDepth > F.excavation_required) // Digging too deep can break the item. At least you won't summon a Balrog (probably)
|
||||||
fail_message = ". <b>[pick("There is a crunching noise","[W] collides with some different rock","Part of the rock face crumbles away","Something breaks under [W]")]</b>"
|
fail_message = ". <b>[pick("There is a crunching noise","[W] collides with some different rock","Part of the rock face crumbles away","Something breaks under [W]")]</b>"
|
||||||
wreckfinds(P.destroy_artefacts)
|
wreckfinds(P.destroy_artefacts)
|
||||||
to_chat(user, "<span class='notice'>You start [P.drill_verb][fail_message].</span>")
|
to_chat(user, "<span class='notice'>You start [P.drill_verb][fail_message].</span>")
|
||||||
|
|
||||||
if(do_after(user,P.digspeed))
|
if(do_after(user,P.digspeed))
|
||||||
|
|||||||
Reference in New Issue
Block a user