mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-06 14:51:17 +01:00
c21fd722e9
Revenant abilities cause purple sparkles now. Incidentally fixed up EMP pulses so they don't set the name and duration of the object they spawn for everything that spawns the object.
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
/obj/effect/overlay
|
|
name = "overlay"
|
|
unacidable = 1
|
|
var/i_attached//Added for possible image attachments to objects. For hallucinations and the like.
|
|
|
|
/obj/effect/overlay/singularity_act()
|
|
return
|
|
|
|
/obj/effect/overlay/singularity_pull()
|
|
return
|
|
|
|
/obj/effect/overlay/beam//Not actually a projectile, just an effect.
|
|
name="beam"
|
|
icon='icons/effects/beam.dmi'
|
|
icon_state="b_beam"
|
|
var/atom/BeamSource
|
|
|
|
/obj/effect/overlay/beam/New()
|
|
..()
|
|
spawn(10) qdel(src)
|
|
|
|
/obj/effect/overlay/temp
|
|
anchored = 1
|
|
layer = 3.3
|
|
var/duration = 10
|
|
var/randomdir = 1
|
|
|
|
/obj/effect/overlay/temp/New()
|
|
if(randomdir)
|
|
dir = pick(cardinal)
|
|
spawn(duration)
|
|
qdel(src)
|
|
|
|
/obj/effect/overlay/temp/revenant
|
|
name = "spooky lights"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "purplesparkles"
|
|
|
|
/obj/effect/overlay/temp/revenant/cracks
|
|
name = "spooky lights"
|
|
icon_state = "purplecrack"
|
|
duration = 6
|
|
|
|
/obj/effect/overlay/temp/emp
|
|
name = "emp sparks"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "empdisable"
|
|
|
|
/obj/effect/overlay/temp/emp/pulse
|
|
name = "emp pulse"
|
|
icon_state = "emp pulse"
|
|
duration = 20
|
|
randomdir = 0
|
|
|
|
|
|
/obj/effect/overlay/palmtree_r
|
|
name = "Palm tree"
|
|
icon = 'icons/misc/beach2.dmi'
|
|
icon_state = "palm1"
|
|
density = 1
|
|
layer = 5
|
|
anchored = 1
|
|
|
|
/obj/effect/overlay/palmtree_l
|
|
name = "Palm tree"
|
|
icon = 'icons/misc/beach2.dmi'
|
|
icon_state = "palm2"
|
|
density = 1
|
|
layer = 5
|
|
anchored = 1
|
|
|
|
/obj/effect/overlay/coconut
|
|
name = "Coconuts"
|
|
icon = 'icons/misc/beach.dmi'
|
|
icon_state = "coconuts" |