mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
[Fix] resonator no longer destroys ancient rock (#28542)
* resonator no longer destroys ancient rock * changed turf in test to a non-ancient type --------- Co-authored-by: Toastical <toast@toaster.com>
This commit is contained in:
@@ -138,7 +138,11 @@
|
||||
new /obj/effect/temp_visual/resonance_crush(src_turf)
|
||||
if(ismineralturf(src_turf))
|
||||
var/turf/simulated/mineral/mineral_turf = src_turf
|
||||
mineral_turf.gets_drilled(creator)
|
||||
if(is_ancient_rock(mineral_turf))
|
||||
failure_prob = 100 // rock too strong for resonance field
|
||||
visible_message("<span class='notice'>This rock appears to be resistant to all mining tools except pickaxes!</span>")
|
||||
else
|
||||
mineral_turf.gets_drilled(creator)
|
||||
check_pressure(src_turf)
|
||||
playsound(src_turf, 'sound/weapons/resonator_blast.ogg', 50, TRUE)
|
||||
for(var/mob/living/attacked_living in src_turf)
|
||||
|
||||
Reference in New Issue
Block a user