mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 09:03:05 +00:00
This makes it identical to it's real-life counterpart, and brings some actual sprite improvements upstream from Virgo. Earlyport of https://github.com/VOREStation/VOREStation/pull/8812 with an actual rename of the gas, ID, and sprite used.
20 lines
581 B
Plaintext
20 lines
581 B
Plaintext
/datum/artifact_effect/gassleeping
|
|
name = "N2O creation"
|
|
|
|
/datum/artifact_effect/gassleeping/New()
|
|
..()
|
|
effect = pick(EFFECT_TOUCH, EFFECT_AURA)
|
|
effect_type = pick(EFFECT_BLUESPACE, EFFECT_SYNTH)
|
|
|
|
/datum/artifact_effect/gassleeping/DoEffectTouch(var/mob/user)
|
|
if(holder)
|
|
var/turf/holder_loc = holder.loc
|
|
if(istype(holder_loc))
|
|
holder_loc.assume_gas("nitrous_oxide", rand(2, 15))
|
|
|
|
/datum/artifact_effect/gassleeping/DoEffectAura()
|
|
if(holder)
|
|
var/turf/holder_loc = holder.loc
|
|
if(istype(holder_loc))
|
|
holder_loc.assume_gas("nitrous_oxide", pick(0, 0, 0.1, rand()))
|