mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
fix: mining charges work again for non-ore rock (#27275)
This commit is contained in:
committed by
GitHub
parent
483782c0ea
commit
3715f9b0db
@@ -81,10 +81,11 @@
|
||||
S.start()
|
||||
for(var/turf/simulated/mineral/rock in circlerangeturfs(location, boom_sizes[3]))
|
||||
var/distance = get_dist_euclidian(location, rock)
|
||||
if(distance <= boom_sizes[3] && rock.ore)
|
||||
rock.ore.drop_max += 3 // if rock is going to get drilled, add bonus mineral amount
|
||||
rock.ore.drop_min += 3
|
||||
rock.gets_drilled()
|
||||
if(distance <= boom_sizes[3])
|
||||
if(rock.ore)
|
||||
rock.ore.drop_max += 3 // if rock is going to get drilled, add bonus mineral amount
|
||||
rock.ore.drop_min += 3
|
||||
rock.gets_drilled(triggered_by_explosion = TRUE)
|
||||
for(var/mob/living/carbon/C in circlerange(location, boom_sizes[3]))
|
||||
var/distance = get_dist_euclidian(location, C)
|
||||
C.flash_eyes()
|
||||
|
||||
Reference in New Issue
Block a user