mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 20:13:45 +01:00
203105788c
* fixes * fuck my stupid chungus life * Minion limit, heal fix, dead sac fix * cooldown, no sacrificing star gazer or ascended alive heretics * blade debuff * oopsy * Update tgui.bundle.js * map diff bot what ya doing * fuck that chat spam * lets heretic armour hold a haunted longsword * why not it makes sense * do_after * god I hate this bullshit * other lewc stuff * push * heretic id card fix * she tg on my ui till I css * yes * spent * fix / ipc buff (real)™️ * moderate again * revert * no reserve * bringing up to master * update map files to master * didnt replace centcomm * beginning some rebalancing * aggressive spread tweaks * lots of tweaks and fixes * trying to un-key the maps * maybe this time * this time???? * oops * sql fix * basicmob conversion * paintings! and a critical influence fix * rust + tweaks * monster tweak * small change * removing this * more tweaks. no more dusting * added some examine_more * flower seeds * various tweaks. more to come * no more conduit spacing * fixed some dumb stuff * silly stuff * its always prettier * bugfixes and linters * linters, wow * oops * bah * linter * fuck you * temp check * hidden influence drain * influence visible message * tweak fix * void cloak bugfix * small fixes * fixes * do_after_once broken * fixes and tweaks * heretic blade potential fix + sacrifice changes * batch of fixes * tiny tweak * rebuilt TGUI * no greentext + rerolls * logging + bugfix * unused var * small fix * various fixes * comment * projectile change * tgui rebuild * tgui bundle redo * rune issue solved * influence visible now * fix ui reloading * new moon ascension + fixes + icons * tweaks, species sprites * tgui rebuild * small tweak + linter * harvester icon tweak * spans * fixes and tweaks * caretaker nerf + tweaks * potential fix for knowledge * roller fix * mad mask * Update tgui.bundle.js * void phase tweak * Update tgui.bundle.js * misc tweaks * fix heretic not retargeting correctly with cryo * simplify logic * this is better * lots of fixes and tweaks * Update tgui.bundle.js * linter * linter * fireshark and greyscale insanity * fish * Update tgui.bundle.js * linter * linter * tgui * no window shopping * fish fix * tgui rebundle * moon smile runtime fix * various fixes * sacrifice fixes * insanity is easier now, madness mask changes. * bugfixing + teleport change * linters + tweaks * Update code/modules/antagonists/heretic/status_effects/mark_effects.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/antagonists/heretic/status_effects/mark_effects.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> --------- Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> Co-authored-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Paul <pmerkamp@gmail.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
/*!
|
|
* Void storm for the void heretic ascension
|
|
*
|
|
* Follows the heretic around and acts like an aura with damaging effects for non-heretics
|
|
*/
|
|
/datum/proximity_monitor/advanced/void_storm
|
|
edge_is_a_field = TRUE
|
|
// lazylist that keeps track of the overlays added
|
|
var/list/turf_effects
|
|
var/static/image/storm_overlay = image('icons/effects/weather_effects.dmi', "snow_storm")
|
|
|
|
/datum/proximity_monitor/advanced/void_storm/New(atom/_host, range, _ignore_if_not_on_turf)
|
|
. = ..()
|
|
recalculate_field(full_recalc = TRUE)
|
|
|
|
/datum/proximity_monitor/advanced/void_storm/recalculate_field(full_recalc)
|
|
full_recalc = TRUE // We always perform a full recalc because we need to update ALL the sprites
|
|
return ..()
|
|
|
|
/datum/proximity_monitor/advanced/void_storm/cleanup_effects(turf/target)
|
|
. = ..()
|
|
var/obj/effect/abstract/effect = LAZYACCESS(turf_effects, target)
|
|
LAZYREMOVE(turf_effects, target)
|
|
if(effect)
|
|
qdel(effect)
|
|
|
|
/datum/proximity_monitor/advanced/void_storm/setup_field_turf(turf/target)
|
|
. = ..()
|
|
var/obj/effect/abstract/effect = new(target) // Makes the field visible to players.
|
|
effect.alpha = 255 - get_dist(target, host.loc) * 23
|
|
effect.invisibility = 0
|
|
effect.color = COLOR_BLACK
|
|
effect.icon = storm_overlay.icon
|
|
effect.icon_state = storm_overlay.icon_state
|
|
effect.mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
|
effect.layer = ABOVE_ALL_MOB_LAYER
|
|
effect.plane = ABOVE_GAME_PLANE
|
|
LAZYSET(turf_effects, target, effect)
|