Skip to content

Commit

Permalink
Pacifies all pets spawned by Xenobiology's Stabilized Gold (#11350)
Browse files Browse the repository at this point in the history
* changed stabilized gold intent to 'help'

* registered own proc on signal to cancel attack

* replaced signal with pacifism trait, nulled damage

* removes toggle mode verb from parrots and consistency changes

* replaced hardcoded string with macro
  • Loading branch information
aramix273 authored Sep 1, 2024
1 parent 0605ea3 commit 3d25f82
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,10 @@
var/obj/item/slimecross/stabilized/gold/linked = linked_extract
if(QDELETED(familiar))
familiar = new linked.mob_type(get_turf(owner.loc))
familiar.a_intent = INTENT_HELP
ADD_TRAIT(familiar, TRAIT_PACIFISM, "stabilizedgold")
familiar.melee_damage = 0
familiar.remove_verb(/mob/living/simple_animal/parrot/proc/toggle_mode) // just in case
familiar.name = linked.mob_name
familiar.del_on_death = TRUE
familiar.copy_languages(owner, LANGUAGE_MASTER)
Expand Down

0 comments on commit 3d25f82

Please sign in to comment.