mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Legion Rework (#18819)
* initial changes * crusher trophy + other changes * oops * status effect change * charlie review 1 * spacing * sentience type * Update code/modules/mining/equipment/kinetic_crusher.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/hostile/megafauna/legion.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -90,6 +90,14 @@
|
||||
. = ..()
|
||||
if(!wielded)
|
||||
return
|
||||
if(user.has_status_effect(STATUS_EFFECT_DASH) && user.a_intent == INTENT_HELP)
|
||||
if(user.throw_at(target, range = 3, speed = 3, spin = FALSE, diagonals_first = TRUE))
|
||||
playsound(src, 'sound/effects/stealthoff.ogg', 50, 1, 1)
|
||||
user.visible_message("<span class='warning'>[user] dashes!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>Something prevents you from dashing!</span>")
|
||||
user.remove_status_effect(STATUS_EFFECT_DASH)
|
||||
return
|
||||
if(!proximity_flag && charged)//Mark a target, or mine a tile.
|
||||
var/turf/proj_turf = user.loc
|
||||
if(!isturf(proj_turf))
|
||||
@@ -348,6 +356,20 @@
|
||||
/obj/item/crusher_trophy/miner_eye/on_mark_detonation(mob/living/target, mob/living/user)
|
||||
user.apply_status_effect(STATUS_EFFECT_BLOODDRUNK)
|
||||
|
||||
//legion
|
||||
|
||||
/obj/item/crusher_trophy/empowered_legion_skull
|
||||
name = "empowered legion skull"
|
||||
desc = "A powerful looking skull with glowing red eyes."
|
||||
icon_state = "ashen_skull"
|
||||
denied_type = /obj/item/crusher_trophy/empowered_legion_skull
|
||||
|
||||
/obj/item/crusher_trophy/empowered_legion_skull/effect_desc()
|
||||
return "mark detonation grants the ability to dash a short distance on help intent"
|
||||
|
||||
/obj/item/crusher_trophy/empowered_legion_skull/on_mark_detonation(mob/living/target, mob/living/user)
|
||||
user.apply_status_effect(STATUS_EFFECT_DASH)
|
||||
|
||||
//ash drake
|
||||
/obj/item/crusher_trophy/tail_spike
|
||||
desc = "A spike taken from an ash drake's tail. Suitable as a trophy for a kinetic crusher."
|
||||
|
||||
Reference in New Issue
Block a user