mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-18 18:57:15 +01:00
Merge pull request #5237 from CHOMPStation2/upstream-merge-14046
[MIRROR] Healing mobs aren't racist against all other simplemobs anymore
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
can_be_drop_prey = TRUE //CHOMP Add This also counts for spontaneous prey for telenoms and phase noms.
|
||||
var/damage_threshold = 0 //For some mobs, they have a damage threshold required to deal damage to them.
|
||||
|
||||
var/nom_mob = FALSE //If a mob is meant to be hostile for vore purposes but is otherwise not hostile, if true makes certain AI ignore the mob
|
||||
|
||||
var/voremob_loaded = FALSE //CHOMPedit: On-demand belly loading.
|
||||
|
||||
|
||||
@@ -189,6 +189,7 @@ I think I covered everything.
|
||||
player_msg = "You're a variant of the large dragon stripped of its firebreath attack (harm intent). You can still charge (disarm) and tail sweep (grab). Rest to heal slowly. Check your abilities tab for functions."
|
||||
norange = 1
|
||||
noenrage = 1
|
||||
nom_mob = TRUE
|
||||
|
||||
// Weakened variant for maintpreds
|
||||
/mob/living/simple_mob/vore/bigdragon/friendly/maintpred
|
||||
@@ -947,6 +948,17 @@ I think I covered everything.
|
||||
if(L.stat)
|
||||
if(L.stat == DEAD && !handle_corpse) // Leave dead things alone
|
||||
return
|
||||
if(isanimal(L)) //Don't attack simplemobs unless they are hostile.
|
||||
var/mob/living/simple_mob/M = L
|
||||
if(M.client) //Don't attack players for no reason even if they're a traditionally hostile mob
|
||||
return 0
|
||||
if(M.nom_mob) //Don't attack mobs that are hostile for their vore functions to work
|
||||
return 0
|
||||
if(M.ai_holder) //Don't attack non-hostile mobs
|
||||
if(M.ai_holder.hostile)
|
||||
return 1
|
||||
else return 0
|
||||
else return 0
|
||||
if(holder.IIsAlly(L))
|
||||
if(confirmPatient(L))
|
||||
holder.a_intent = I_HELP
|
||||
|
||||
@@ -47,6 +47,8 @@
|
||||
vore_pounce_maxhealth = 125
|
||||
vore_bump_emote = "tries to snap up"
|
||||
|
||||
nom_mob = TRUE
|
||||
|
||||
/datum/category_item/catalogue/fauna/leopardmander
|
||||
name = "Sivian Fauna - Va'aen Drake"
|
||||
desc = "Classification: S Draconis uncia\
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
var/extra_posessive = FALSE // Enable if you want their tummy hugs to be inescapable
|
||||
var/autorest_cooldown = 100
|
||||
|
||||
nom_mob = TRUE
|
||||
|
||||
/mob/living/simple_mob/vore/pakkun/Life()
|
||||
. = ..()
|
||||
if(client)
|
||||
|
||||
@@ -167,6 +167,8 @@
|
||||
area is very taxing on you, but you gain energy extremely fast in any very dark area. You're weaker than other \
|
||||
shadekin, but your fast energy generation in the dark allows you to phase shift more often."
|
||||
|
||||
nom_mob = TRUE
|
||||
|
||||
/mob/living/simple_mob/shadekin/yellow
|
||||
ai_holder_type = /datum/ai_holder/simple_mob/melee/hit_and_run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user