mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-03 05:52:43 +00:00
20 lines
546 B
Plaintext
20 lines
546 B
Plaintext
/datum/artifact_effect/gasoxy
|
|
name = "O2 creation"
|
|
|
|
/datum/artifact_effect/gasoxy/New()
|
|
..()
|
|
effect = pick(EFFECT_TOUCH, EFFECT_AURA)
|
|
effect_type = pick(EFFECT_BLUESPACE, EFFECT_SYNTH)
|
|
|
|
/datum/artifact_effect/gasoxy/DoEffectTouch(var/mob/user)
|
|
if(holder)
|
|
var/turf/holder_loc = holder.loc
|
|
if(istype(holder_loc))
|
|
holder_loc.assume_gas("oxygen", rand(2, 15))
|
|
|
|
/datum/artifact_effect/gasoxy/DoEffectAura()
|
|
if(holder)
|
|
var/turf/holder_loc = holder.loc
|
|
if(istype(holder_loc))
|
|
holder_loc.assume_gas("oxygen", pick(0, 0, 0.1, rand()))
|