mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-11 23:23:55 +01:00
More adjustments
Makes it so the mobs with vore_hostile will only be hostile when their capacity isn't full
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
/datum/ai_holder/simple_mob/vore/find_target(list/possible_targets, has_targets_list)
|
||||
if(!vore_hostile)
|
||||
return ..()
|
||||
if(!isanimal(holder)) //Only simplemobs have the vars we need
|
||||
return ..()
|
||||
var/mob/living/simple_mob/H = holder
|
||||
if(H.vore_fullness >= H.vore_capacity) //Don't beat people up if we're full
|
||||
return ..()
|
||||
ai_log("find_target() : Entered.", AI_LOG_TRACE)
|
||||
|
||||
. = list()
|
||||
|
||||
@@ -1333,6 +1333,7 @@
|
||||
if(isobserver(AM))
|
||||
return
|
||||
playsound(src, teleport_sound, vol = 100, vary = 1, preference = /datum/client_preference/eating_noises, volume_channel = VOLUME_CHANNEL_VORE)
|
||||
playsound(target, teleport_sound, vol = 100, vary = 1, preference = /datum/client_preference/eating_noises, volume_channel = VOLUME_CHANNEL_VORE)
|
||||
if(isliving(AM))
|
||||
var/mob/living/L = AM
|
||||
if(teleport_message && L.client)
|
||||
|
||||
Reference in New Issue
Block a user