mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 03:22:41 +00:00
* [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>
19 lines
658 B
Plaintext
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)
|