Allows aliens to mine

This commit is contained in:
AnturK
2015-07-26 20:01:52 +02:00
parent 82d964957a
commit fa35ae91d7
+5
View File
@@ -457,6 +457,11 @@ var/global/list/rockTurfEdgeCache
gets_drilled()
..()
/turf/simulated/mineral/attack_alien(mob/living/carbon/alien/M)
if(do_after(M,40, target = src))
M << "<span class='notice'>You tunnel into the rock.</span>"
gets_drilled(M)
/*
/turf/simulated/mineral/proc/setRandomMinerals()
var/s = pickweight(list("uranium" = 5, "iron" = 50, "gold" = 5, "silver" = 5, "plasma" = 50, "diamond" = 1))