mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
rock dust (#8741)
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user