Files
Bubberstation/code/game/objects/items/nitrium_crystals.dm
YesterdaysPromise fb10121022 Icons folder cleaning wave two (#76788)
## About The Pull Request

Further continous organizing and cleaning the Icons folder. There are
still some minior nitpicks left to do, but I reached my daily sanity
expenses limit again, and the faster these get in the less issues for
both me and others later. Also cleans some mess I caused by my blindness
last PR.

## Why It's Good For The Game

Saner spriters = better sprites
2023-07-14 18:36:41 +00:00

19 lines
660 B
Plaintext

/obj/item/nitrium_crystal
desc = "A weird brown crystal, it smokes when broken"
name = "nitrium crystal"
icon = 'icons/obj/pipes_n_cables/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)