mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
@@ -71,6 +71,19 @@
|
||||
..()
|
||||
|
||||
Die()
|
||||
// On death, create a small smoke of harmful gas (s-Acid)
|
||||
var/datum/effect/effect/system/chem_smoke_spread/S = new
|
||||
var/turf/location = get_turf(src)
|
||||
|
||||
// Create the reagents to put into the air, s-acid is yellow and stings a little
|
||||
create_reagents(25)
|
||||
reagents.add_reagent("spore", 25)
|
||||
|
||||
// Attach the smoke spreader and setup/start it.
|
||||
S.attach(location)
|
||||
S.set_up(reagents, 1, 1, location, 15, 1) // only 1-2 smoke cloud
|
||||
S.start()
|
||||
|
||||
del(src)
|
||||
|
||||
Del()
|
||||
|
||||
@@ -483,7 +483,9 @@ steam.start() -- spawns the effect
|
||||
chemholder.reagents = R
|
||||
R.my_atom = chemholder
|
||||
|
||||
|
||||
set_up(var/datum/reagents/carry = null, n = 5, c = 0, loca, direct, silent = 0)
|
||||
|
||||
if(n > 20)
|
||||
n = 20
|
||||
number = n
|
||||
|
||||
@@ -1512,6 +1512,21 @@ datum
|
||||
..()
|
||||
return
|
||||
|
||||
|
||||
toxin/spore
|
||||
name = "Spore Toxin"
|
||||
id = "spore"
|
||||
description = "A toxic spore cloud which blocks vision when ingested."
|
||||
reagent_state = LIQUID
|
||||
color = "#9ACD32"
|
||||
toxpwr = 0.5
|
||||
|
||||
on_mob_life(var/mob/living/M as mob)
|
||||
..()
|
||||
M.damageoverlaytemp = 60
|
||||
M.eye_blurry = max(M.eye_blurry, 3)
|
||||
return
|
||||
|
||||
toxin/chloralhydrate
|
||||
name = "Chloral Hydrate"
|
||||
id = "chloralhydrate"
|
||||
|
||||
Reference in New Issue
Block a user