mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Adds the Oblivion Enforcer wizard loadout (#21920)
* initial addition * adds wall/airlock obliteration this definitely needs to be tuned a bit numbers-wise * adds TRAIT_SUPERMATTER_IMMUNE & gloves * adds more checks for the supermatter immune trait * removes SM tongs logic from the halberd Realistically, you would never actually have the halberd and tongs * makes slivers bulky * dusting downed people also removing a useless assigned variable i missed * adds the (incomplete) loadout * halberd buff * adds robes + sprites * oops * halberd icons * knockdown * stuff * timer shortening * species sprites part 2 * animation for dusting walls * Apply suggestions from code review Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * early return * parry numbers! * Update code/modules/power/engines/supermatter/supermatter.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * dgamer review * dgamer review + no more pulling * reverts early return thingamajig * Update code/modules/power/engines/supermatter/supermatter.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * removes `get_turf` * hal review pt 1 * hal review pt. 2 * Update code/game/objects/items/theft_items.dm Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> * `carve_sliver` proc * unfucks icons * Apply suggestions from code review Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
This commit is contained in:
co-authored by
Henri215
DGamerL
Luc
Charlie
parent
e59f0e8aea
commit
aaad2a5aba
@@ -398,3 +398,32 @@
|
||||
/obj/effect/temp_visual/rcd_effect/reverse_short
|
||||
icon_state = "rcd_short_reverse"
|
||||
duration = 3.1 SECONDS
|
||||
|
||||
/obj/effect/temp_visual/obliteration
|
||||
duration = 2 SECONDS
|
||||
|
||||
/obj/effect/temp_visual/obliteration/Initialize(mapload, atom/target)
|
||||
. = ..()
|
||||
if(isobj(target))
|
||||
loc = target.loc
|
||||
icon = target.icon
|
||||
icon_state = target.icon_state
|
||||
alpha = target.alpha
|
||||
dir = target.dir
|
||||
update_icon()
|
||||
var/obj/effect/dusting_anim/dust_effect = new(loc, UID())
|
||||
filters += filter(type = "displace", size = 256, render_source = "*snap[UID()]")
|
||||
animate(src, alpha = 0, time = 2 SECONDS, easing = (EASE_IN | SINE_EASING))
|
||||
QDEL_IN(dust_effect, 20)
|
||||
return TRUE
|
||||
|
||||
/obj/effect/temp_visual/obliteration_rays
|
||||
duration = 1.25 SECONDS
|
||||
|
||||
/obj/effect/temp_visual/obliteration_rays/Initialize(mapload)
|
||||
. = ..()
|
||||
var/new_filter = isnull(get_filter("ray"))
|
||||
ray_filter_helper(1, 40, "#ffd04f", 6, 20)
|
||||
if(new_filter)
|
||||
animate(get_filter("ray"), offset = 10, time = 10 SECONDS, loop = -1)
|
||||
animate(offset = 0, time = 10 SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user