Files
Bubberstation/code/game/objects/items/nitrium_crystals.dm
SkyratBot 1b7f17f107 [MIRROR] [IDB IGNORE] The Great Sweep: Moving dmis into subfolders (part 1) [MDB IGNORE] (#15801)
* [IDB IGNORE] The Great Sweep: Moving dmis into subfolders (part 1)

* Fixes all the conflicts and all of our modular files using core icon files with broken paths

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-08-28 15:11:04 -04:00

19 lines
658 B
Plaintext

/obj/item/nitrium_crystal
desc = "A weird brown crystal, it smokes when broken"
name = "nitrium crystal"
icon = 'icons/obj/atmospherics/atmos.dmi'
icon_state = "nitrium_crystal"
var/cloud_size = 1
/obj/item/nitrium_crystal/attack_self(mob/user)
. = ..()
var/datum/effect_system/fluid_spread/smoke/chem/smoke = new
var/turf/location = get_turf(src)
create_reagents(5)
reagents.add_reagent(/datum/reagent/nitrium_low_metabolization, 3)
reagents.add_reagent(/datum/reagent/nitrium_high_metabolization, 2)
smoke.attach(location)
smoke.set_up(cloud_size, holder = src, location = location, carry = reagents, silent = TRUE)
smoke.start()
qdel(src)