mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
* pain * more progress * progress continues * more progress™️ * saving progress while I swap brances * leg moving working for real, woo * more saving as power goes out * eeven more * fix transfer * More changes, closer to pr ready * final stuff for night backup * almost done™️ * almost done * Final changes to get ready for posting * Update code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * new sprite * Loot added (minus crusher loot) * Apply suggestions from code review Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * Defines, loot, and requested changes, oh my! * Apply suggestions from code review Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * sound, bluespace charge improvements, more text * Update code/game/gamemodes/nuclear/pinpointer.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * WOOO CRUSHER ITEM * don't code when dead tired kids * Update code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * Makes crusher loot work, reworks shield for mecha fauna * Names it, lets it spawn, buffs it, should be ready. * Adds better sprites. * pick to rand * Buff, prevent cheese. * Merge conflict hook test * double checking to see if I installed it or not, think I need to manual * fixes the merge issue * makes gibtonite not yeet the mechafauna as much. * fixes hostile/hostile fuckup * fix most beam issues * extra qdel insurance but it should be good * fixes chasm issues, beep on self destruct, extra bluspace charge * Shrinks the kaboom. * spelling + beam fix * Apply suggestions from code review Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> * late_initialize, var names, and styling, oh my! * attacl Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
//entirely neutral or internal status effects go here
|
|
|
|
/datum/status_effect/crusher_damage //tracks the damage dealt to this mob by kinetic crushers
|
|
id = "crusher_damage"
|
|
duration = -1
|
|
status_type = STATUS_EFFECT_UNIQUE
|
|
alert_type = null
|
|
var/total_damage = 0
|
|
|
|
/datum/status_effect/syphon_mark
|
|
id = "syphon_mark"
|
|
duration = 50
|
|
status_type = STATUS_EFFECT_MULTIPLE
|
|
alert_type = null
|
|
on_remove_on_mob_delete = TRUE
|
|
var/obj/item/borg/upgrade/modkit/bounty/reward_target
|
|
|
|
/datum/status_effect/syphon_mark/on_creation(mob/living/new_owner, obj/item/borg/upgrade/modkit/bounty/new_reward_target)
|
|
. = ..()
|
|
if(.)
|
|
reward_target = new_reward_target
|
|
|
|
/datum/status_effect/syphon_mark/on_apply()
|
|
if(owner.stat == DEAD)
|
|
return FALSE
|
|
return ..()
|
|
|
|
/datum/status_effect/syphon_mark/proc/get_kill()
|
|
if(!QDELETED(reward_target))
|
|
reward_target.get_kill(owner)
|
|
|
|
/datum/status_effect/syphon_mark/tick()
|
|
if(owner.stat == DEAD)
|
|
get_kill()
|
|
qdel(src)
|
|
|
|
/datum/status_effect/syphon_mark/on_remove()
|
|
get_kill()
|
|
. = ..()
|
|
|
|
/datum/status_effect/adaptive_learning
|
|
id = "adaptive_learning"
|
|
duration = 30 SECONDS
|
|
status_type = STATUS_EFFECT_REFRESH
|
|
alert_type = null
|
|
var/bonus_damage = 0
|
|
|
|
/datum/status_effect/high_five
|
|
id = "high_five"
|
|
duration = 5 SECONDS
|
|
alert_type = null
|
|
|
|
/datum/status_effect/high_five/proc/get_missed_message()
|
|
var/list/missed_highfive_messages = list(
|
|
"it looks like [owner.p_they()] [owner.p_were()] left hanging...",
|
|
"seeming to wave at nobody in particular.",
|
|
"moving [owner.p_their()] hand directly to [owner.p_their()] forehead in shame.",
|
|
"fully committing and high-fiving empty space.",
|
|
"high-fiving [owner.p_their()] other hand shamefully before wiping away a tear.",
|
|
"going for a handshake, then a fistbump, before pulling [owner.p_their()] hand back...? What [owner.p_are()] [owner.p_they()] doing?"
|
|
)
|
|
|
|
return pick(missed_highfive_messages)
|
|
|
|
/datum/status_effect/high_five/on_timeout()
|
|
// show some emotionally damaging failure messages
|
|
// high risk, high reward
|
|
owner.visible_message("[owner] awkwardly lowers [owner.p_their()] hand, [get_missed_message()]")
|
|
|
|
/datum/status_effect/charging
|
|
id = "charging"
|
|
alert_type = null
|