mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-10 17:04:36 +00:00
Moves singulo and supermatter dmis into obj/engine, renamed from obj/tesla_engine Moves Halloween, Christmas, and misc holiday items to obj/holiday Moves lollipops to obj/food Moves crates, closets, and storage to obj/storage Moves assemblies to obj/assemblies Renames decals.dmi to signs.dmi ...because they're signs and not decals Moves statues, cutouts, instruments, art supplies, and crayons to obj/art Moves balloons, plushes, toys, cards, dice, the hourglass, and TCG to obj/toys Moves guns, swords, shields to obj/weapons
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)
|