More xenobio fixes

This commit is contained in:
Heroman
2022-03-28 15:47:07 +10:00
parent f87655dfed
commit 7887f6c12f
5 changed files with 13 additions and 7 deletions

View File

@@ -101,6 +101,7 @@
/datum/ai_holder/simple_mob/xenobio_slime/handle_special_strategical()
discipline_decay()
evolve_and_reproduce()
/datum/ai_holder/simple_mob/xenobio_slime/request_help()
if(target)

View File

@@ -1,7 +0,0 @@
/mob/living/simple_mob/slime/xenobio
temperature_range = 5
mob_bump_flag = SLIME
/mob/living/simple_mob/slime/xenobio/Initialize(mapload, var/mob/living/simple_mob/slime/xenobio/my_predecessor)
. = ..()
Weaken(10)

View File

@@ -0,0 +1,7 @@
/mob/living/simple_mob/slime/xenobio
temperature_range = 5
mob_bump_flag = SLIME
/mob/living/simple_mob/slime/xenobio/Initialize(mapload, var/mob/living/simple_mob/slime/xenobio/my_predecessor)
. = ..()
Weaken(10)

View File

@@ -184,6 +184,10 @@
return ..()
to_chat(user, "<span class='notice'>You feed the slime the agent. It has been disciplined, for better or worse...</span>")
var/justified = M.is_justified_to_discipline()
M.adjust_discipline(10)
var/datum/ai_holder/simple_mob/xenobio_slime/AI = M.ai_holder
if(istype(AI) && justified)
AI.obedience = 10
playsound(src, 'sound/effects/bubbles.ogg', 50, 1)
qdel(src)

View File

@@ -3103,6 +3103,7 @@
#include "code\modules\mob\living\simple_mob\subtypes\slime\xenobio\subtypes.dm"
#include "code\modules\mob\living\simple_mob\subtypes\slime\xenobio\subtypes_vr.dm"
#include "code\modules\mob\living\simple_mob\subtypes\slime\xenobio\xenobio.dm"
#include "code\modules\mob\living\simple_mob\subtypes\slime\xenobio\xenobio_vr.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\bee.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\bigdragon.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\c_pet.dm"