Merge pull request #4792 from Novacat/nova-aifixes

Ports Shadekin (Minus AI)
This commit is contained in:
Spades
2019-02-22 05:30:01 -05:00
committed by GitHub
3 changed files with 49 additions and 41 deletions
@@ -6,24 +6,18 @@
icon_living = "map_example"
faction = "shadekin"
ui_icons = 'icons/mob/shadekin_hud.dmi'
intelligence_level = SA_HUMANOID
mob_class = MOB_CLASS_HUMANOID
maxHealth = 200
health = 200
move_to_delay = 2
speed = -1
movement_cooldown = 2
see_in_dark = 10 //SHADEkin
has_hands = TRUE //Pawbs
seedarkness = FALSE //SHAAAADEkin
attack_sound = 'sound/weapons/bladeslice.ogg'
has_langs = list(LANGUAGE_GALCOM,LANGUAGE_SHADEKIN)
investigates = TRUE
reacts = TRUE
run_at_them = FALSE
cooperative = FALSE
melee_damage_lower = 10
melee_damage_upper = 20
@@ -38,18 +32,14 @@
minbodytemp = 0
maxbodytemp = 900
speak_chance = 2
speak = list("Marrr.", "Marrr?", "Marrr!")
emote_hear = list("chrrrrrs", "wurbles", "wrrrrbles")
emote_see = list("tailtwitches", "earflicks")
say_maybe_target = list("...mar?")
say_got_target = list("MAR!!!")
say_list_type = /datum/say_list/shadekin
response_help = "pets the"
response_disarm = "bops the"
response_harm = "hits the"
attacktext = list("mauled","slashed","clawed")
friendly = list("boops", "pawbs", "mars softly at", "sniffs on")
reactions = list("Mar?" = "Marrr!", "Mar!" = "Marrr???", "Mar." = "Marrr.")
vore_active = TRUE
vore_pounce_chance = 10
@@ -237,6 +227,7 @@
. = ..(FALSE, deathmessage)
/* //VOREStation AI Temporary Removal
//Blue-eyes want to nom people to heal them
/mob/living/simple_mob/shadekin/Found(var/atom/A)
if(specific_targets && isliving(A)) //Healing!
@@ -245,6 +236,7 @@
if(health_percent <= 50 && will_eat(A))
return A
. = ..()
*/
//They reach nutritional equilibrium (important for blue-eyes healbelly)
/mob/living/simple_mob/shadekin/Life()
@@ -329,6 +321,7 @@
if(0 to 20)
energyhud.icon_state = "energy4"
/* //VOREStation AI Removal
//Friendly ones wander towards people, maybe shy-ly if they are set to shy
/mob/living/simple_mob/shadekin/handle_wander_movement()
if(isturf(src.loc) && !resting && !buckled && canmove)
@@ -383,11 +376,12 @@
return
Move(T)
lifes_since_move = 0
*/
/mob/living/simple_mob/shadekin/speech_bubble_appearance()
return "ghost"
/mob/living/simple_mob/shadekin/DoPunch(var/atom/A)
/mob/living/simple_mob/shadekin/apply_melee_effects(var/atom/A)
. = ..(A)
if(isliving(A)) //We punched something!
var/mob/living/L = A
@@ -435,6 +429,14 @@
if(M.a_intent == I_HELP)
shy_approach = FALSE //ACCLIMATED
/datum/say_list/shadekin
speak = list("Marrr.", "Marrr?", "Marrr!")
emote_hear = list("chrrrrrs", "wurbles", "wrrrrbles")
emote_see = list("tailtwitches", "earflicks")
say_maybe_target = list("...mar?")
say_got_target = list("MAR!!!")
//reactions = list("Mar?" = "Marrr!", "Mar!" = "Marrr???", "Mar." = "Marrr.")
/datum/language/shadekin
name = "Shadekin Empathy"
desc = "Shadekin seem to always know what the others are thinking. This is probably why."
@@ -2,10 +2,10 @@
/mob/living/simple_mob/shadekin/red
name = "red-eyed shadekin"
eye_state = RED_EYES
hostile = TRUE
animal = TRUE
stop_when_pulled = FALSE
destroy_surroundings = TRUE
//hostile = TRUE
//animal = TRUE
//stop_when_pulled = FALSE
//destroy_surroundings = TRUE
armor = list(
"melee" = 30,
"bullet" = 20,
@@ -40,11 +40,11 @@
name = "blue-eyed shadekin"
eye_state = BLUE_EYES
health = 100
hostile = FALSE
animal = FALSE
stop_when_pulled = TRUE
specific_targets = TRUE //For finding injured people
destroy_surroundings = FALSE
//hostile = FALSE
//animal = FALSE
//stop_when_pulled = TRUE
//specific_targets = TRUE //For finding injured people
//destroy_surroundings = FALSE
vore_default_mode = DM_HEAL
vore_escape_chance = 75
vore_standing_too = 1
@@ -87,10 +87,10 @@
name = "purple-eyed shadekin"
eye_state = PURPLE_EYES
health = 150
hostile = FALSE
animal = TRUE
stop_when_pulled = FALSE
destroy_surroundings = TRUE
//hostile = FALSE
//animal = TRUE
//stop_when_pulled = FALSE
//destroy_surroundings = TRUE
vore_default_mode = DM_HOLD
vore_digest_chance = 25
vore_absorb_chance = 25
@@ -129,10 +129,10 @@
name = "yellow-eyed shadekin"
eye_state = YELLOW_EYES
health = 100
hostile = FALSE
animal = TRUE
stop_when_pulled = FALSE
destroy_surroundings = TRUE
//hostile = FALSE
//animal = TRUE
//stop_when_pulled = FALSE
//destroy_surroundings = TRUE
vore_default_mode = DM_DRAIN
vore_digest_chance = 5
vore_ignores_undigestable = FALSE
@@ -169,10 +169,10 @@
name = "green-eyed shadekin"
eye_state = GREEN_EYES
health = 125
hostile = FALSE
animal = TRUE
stop_when_pulled = FALSE
destroy_surroundings = TRUE
//hostile = FALSE
//animal = TRUE
//stop_when_pulled = FALSE
//destroy_surroundings = TRUE
vore_default_mode = DM_DRAIN
vore_digest_chance = 0
vore_ignores_undigestable = FALSE
@@ -209,10 +209,10 @@
name = "orange-eyed shadekin"
eye_state = ORANGE_EYES
health = 175
hostile = TRUE
animal = TRUE
stop_when_pulled = FALSE
destroy_surroundings = TRUE
//hostile = TRUE
//animal = TRUE
//stop_when_pulled = FALSE
//destroy_surroundings = TRUE
armor = list(
"melee" = 20,
"bullet" = 15,
+6
View File
@@ -2365,6 +2365,12 @@
#include "code\modules\mob\living\simple_mob\subtypes\vore\wolf.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\wolfgirl.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\zz_vore_overrides.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\_defines.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\ability_objects.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\ability_procs.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\shadekin.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\types.dm"
#include "code\modules\mob\living\simple_mob\subtypes\vore\shadekin\~defines.dm"
#include "code\modules\mob\living\voice\voice.dm"
#include "code\modules\mob\new_player\login.dm"
#include "code\modules\mob\new_player\logout.dm"