This commit is contained in:
Alberyk
2020-04-27 10:09:02 +02:00
committed by GitHub
parent fe93831412
commit 29bcc88e5a
3 changed files with 34 additions and 0 deletions
+11
View File
@@ -391,6 +391,17 @@ var/list/mineral_can_smooth_with = list(
DropMineral()
//Add some rubble, you did just clear out a big chunk of rock.
if(prob(25))
var/datum/reagents/R = new/datum/reagents(20)
R.my_atom = src
R.add_reagent("stone_dust",20)
var/datum/effect/effect/system/smoke_spread/chem/S = new("stone_dust")
S.show_log = 0
S.set_up(R, 10, 0, src, 40)
S.start()
qdel(R)
ChangeTurf(mined_turf)
if(rand(1,500) == 1)
@@ -854,3 +854,20 @@
/datum/reagent/bottle_lightning/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(prob(25))
tesla_zap(M, 6, 1500)
/datum/reagent/stone_dust
name = "Stone Dust"
id = "stone_dust"
description = "Crystalline silica dust, harmful when inhaled."
reagent_state = SOLID
color = "#5a4d41"
taste_description = "dust"
specific_heat = 1
/datum/reagent/stone_dust/affect_breathe(var/mob/living/carbon/human/H, var/alien, var/removed)
. = ..()
if(istype(H))
if(prob(15))
var/obj/item/organ/L = H.internal_organs_by_name[BP_LUNGS]
if(istype(L) && !L.robotic)
L.take_damage(0.5*removed)