mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-23 07:43:45 +00:00
A mining gun, this upgradable energy weapon can mine mineral turfs at a distance. It does only 25% of nominal damage when fired indoors. It can be upgraded with modkits, giving it range, pretty colors, aoe against minerals or mobs.
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
/obj/effect/temp_visual/decoy
|
|
desc = "It's a decoy!"
|
|
duration = 15
|
|
|
|
/obj/effect/temp_visual/decoy/initialize(mapload, atom/mimiced_atom, var/customappearance)
|
|
. = ..()
|
|
alpha = initial(alpha)
|
|
if(mimiced_atom)
|
|
name = mimiced_atom.name
|
|
appearance = mimiced_atom.appearance
|
|
set_dir(mimiced_atom.dir)
|
|
mouse_opacity = 0
|
|
if(customappearance)
|
|
appearance = customappearance
|
|
|
|
/obj/effect/temp_visual/decoy/fading/initialize(mapload, atom/mimiced_atom)
|
|
. = ..()
|
|
animate(src, alpha = 0, time = duration)
|
|
|
|
/obj/effect/temp_visual/decoy/fading/fivesecond
|
|
duration = 50
|
|
|
|
/obj/effect/temp_visual/small_smoke
|
|
icon_state = "smoke"
|
|
duration = 50
|
|
|
|
// VOREStation Add - Used by Kinetic Accelerator
|
|
/obj/effect/temp_visual/kinetic_blast
|
|
name = "kinetic explosion"
|
|
icon = 'icons/obj/projectiles_vr.dmi'
|
|
icon_state = "kinetic_blast"
|
|
layer = ABOVE_MOB_LAYER
|
|
duration = 4
|
|
|
|
/obj/effect/temp_visual/explosion
|
|
name = "explosion"
|
|
icon = 'icons/effects/96x96_vr.dmi'
|
|
icon_state = "explosion"
|
|
pixel_x = -32
|
|
pixel_y = -32
|
|
duration = 8
|
|
|
|
/obj/effect/temp_visual/explosion/fast
|
|
icon_state = "explosionfast"
|
|
duration = 4
|
|
// VOREStation Add End
|