Merge pull request #13638 from Heroman3003/language-runtime-fix

Fixes runtime with chirping birds
This commit is contained in:
Casey
2022-09-03 12:49:58 -04:00
committed by CHOMPStation2
parent 740a487eb0
commit 9f0965e166
18 changed files with 22 additions and 20 deletions

View File

@@ -14,5 +14,7 @@
#define LANGUAGE_ECHOSONG "Echo Song" #define LANGUAGE_ECHOSONG "Echo Song"
#define LANGUAGE_ANIMAL "Animal" #define LANGUAGE_ANIMAL "Animal"
#define LANGUAGE_TEPPI "Teppi"
#define LANGUAGE_MOUSE "Mouse"
#define LANGUAGE_SHADEKIN "Shadekin Empathy" #define LANGUAGE_SHADEKIN "Shadekin Empathy"

View File

@@ -9,7 +9,7 @@
machine_understands = 0 machine_understands = 0
/datum/language/mouse /datum/language/mouse
name = "Mouse" name = LANGUAGE_MOUSE
desc = "A set of squeaks that only mice can understand." desc = "A set of squeaks that only mice can understand."
speech_verb = "squeaks" speech_verb = "squeaks"
ask_verb = "squeaks" ask_verb = "squeaks"
@@ -21,7 +21,7 @@
syllables = list("squeak") // , "gripes", "oi", "meow") syllables = list("squeak") // , "gripes", "oi", "meow")
/datum/language/teppi /datum/language/teppi
name = "Teppi" name = LANGUAGE_TEPPI
desc = "A set of gyohs that only teppi can understand." desc = "A set of gyohs that only teppi can understand."
speech_verb = "rumbles" speech_verb = "rumbles"
ask_verb = "tilts" ask_verb = "tilts"

View File

@@ -51,7 +51,7 @@
say_list_type = /datum/say_list/catslug say_list_type = /datum/say_list/catslug
player_msg = "You have escaped the foul weather, into this much more pleasant place. You are an intelligent creature capable of more than most think. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds! <br>- - - - -<br> <span class='notice'>Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason.</span>" player_msg = "You have escaped the foul weather, into this much more pleasant place. You are an intelligent creature capable of more than most think. You can pick up and use many things, and even carry some of them with you into the vents, which you can use to move around quickly. You're quiet and capable, you speak with your hands and your deeds! <br>- - - - -<br> <span class='notice'>Keep in mind, your goal should generally be to survive. You're expected to follow the same rules as everyone else, so don't go self antagging without permission from the staff team, but you are able and capable of defending yourself from those who would attack you for no reason.</span>"
has_langs = list("Sign Language") has_langs = list(LANGUAGE_SIGN)
//var/picked_color = FALSE //CHOMPEdit - now on simplemob. //var/picked_color = FALSE //CHOMPEdit - now on simplemob.

View File

@@ -128,7 +128,7 @@ GLOBAL_VAR_INIT(teppi_count, 0) // How mant teppi DO we have?
mob_size = MOB_LARGE mob_size = MOB_LARGE
has_langs = list("Teppi") has_langs = list(LANGUAGE_TEPPI)
say_list_type = /datum/say_list/teppi say_list_type = /datum/say_list/teppi
player_msg = "Teppi are large omnivorous quadrupeds. You have four toes on each paw, a long, strong tail, and are quite tough and powerful. Youre a lot more intimidating than you are actually harmful though. Your kind are ordinarily rather passive, only really rising to violence when someone does violence to you or others like you. Youre not stupid though, you can commiunicate with others of your kind, and form bonds with those who are kind to you, be they Teppi or otherwise. <br>- - - - -<br><span class='notice'>While you may have access to galactic common, this is purely meant for making it so you can understand people in an OOC manner, for facilitating roleplay. You almost certainly should not be speaking to people or roleplaying as though you understand everything everyone says perfectly, but it's not unreasonable to be able to intuit intent and such through people's tones when they speak. Teppi are kind of smart, but they are animals, and should be roleplayed as such.</span> <span class='warning'>ADDITIONALLY, you have the ability to produce offspring if you're well fed enough every once in a while, and the ability to disable this from happening to you. These verbs exist for to preserve the mechanical functionality of the mob you are playing. You should be aware of your surroundings when you use this verb, and NEVER use it to prefbreak or be disruptive. If in doubt, don't use it.</span> <span class='notice'>Also, to note, AI Teppi will never initiate breeding with player Teppi.</span>" player_msg = "Teppi are large omnivorous quadrupeds. You have four toes on each paw, a long, strong tail, and are quite tough and powerful. Youre a lot more intimidating than you are actually harmful though. Your kind are ordinarily rather passive, only really rising to violence when someone does violence to you or others like you. Youre not stupid though, you can commiunicate with others of your kind, and form bonds with those who are kind to you, be they Teppi or otherwise. <br>- - - - -<br><span class='notice'>While you may have access to galactic common, this is purely meant for making it so you can understand people in an OOC manner, for facilitating roleplay. You almost certainly should not be speaking to people or roleplaying as though you understand everything everyone says perfectly, but it's not unreasonable to be able to intuit intent and such through people's tones when they speak. Teppi are kind of smart, but they are animals, and should be roleplayed as such.</span> <span class='warning'>ADDITIONALLY, you have the ability to produce offspring if you're well fed enough every once in a while, and the ability to disable this from happening to you. These verbs exist for to preserve the mechanical functionality of the mob you are playing. You should be aware of your surroundings when you use this verb, and NEVER use it to prefbreak or be disruptive. If in doubt, don't use it.</span> <span class='notice'>Also, to note, AI Teppi will never initiate breeding with player Teppi.</span>"
loot_list = list(/obj/item/weapon/bone/horn = 100) loot_list = list(/obj/item/weapon/bone/horn = 100)

View File

@@ -22,7 +22,7 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
organ_names = /decl/mob_organ_names/chicken organ_names = /decl/mob_organ_names/chicken
has_langs = list("Bird") has_langs = list(LANGUAGE_ANIMAL)
say_list_type = /datum/say_list/chicken say_list_type = /datum/say_list/chicken
@@ -122,7 +122,7 @@ GLOBAL_VAR_INIT(chicken_count, 0) // How mant chickens DO we have?
response_harm = "kicks" response_harm = "kicks"
attacktext = list("kicked") attacktext = list("kicked")
has_langs = list("Bird") has_langs = list(LANGUAGE_ANIMAL)
say_list_type = /datum/say_list/chick say_list_type = /datum/say_list/chick

View File

@@ -32,7 +32,7 @@
minbodytemp = 223 //Below -50 Degrees Celcius minbodytemp = 223 //Below -50 Degrees Celcius
maxbodytemp = 323 //Above 50 Degrees Celcius maxbodytemp = 323 //Above 50 Degrees Celcius
has_langs = list("Mouse") has_langs = list(LANGUAGE_MOUSE)
holder_type = /obj/item/weapon/holder/mouse holder_type = /obj/item/weapon/holder/mouse
meat_amount = 1 meat_amount = 1

View File

@@ -24,7 +24,7 @@
melee_damage_upper = 15 melee_damage_upper = 15
attacktext = list("pecked") attacktext = list("pecked")
has_langs = list("Bird") has_langs = list(LANGUAGE_ANIMAL)
/mob/living/simple_mob/animal/passive/penguin/tux /mob/living/simple_mob/animal/passive/penguin/tux
name = "Tux" name = "Tux"

View File

@@ -28,7 +28,7 @@
attacktext = list("clawed", "pecked") attacktext = list("clawed", "pecked")
speak_emote = list("chirps", "caws") speak_emote = list("chirps", "caws")
has_langs = list("Bird") has_langs = list(LANGUAGE_ANIMAL)
response_help = "pets" response_help = "pets"
response_disarm = "gently moves aside" response_disarm = "gently moves aside"
response_harm = "swats" response_harm = "swats"

View File

@@ -46,7 +46,7 @@ var/list/_cat_default_emotes = list(
holder_type = /obj/item/weapon/holder/cat holder_type = /obj/item/weapon/holder/cat
mob_size = MOB_SMALL mob_size = MOB_SMALL
has_langs = list("Cat") has_langs = list(LANGUAGE_ANIMAL)
var/mob/living/friend = null // Our best pal, who we'll follow. Meow. var/mob/living/friend = null // Our best pal, who we'll follow. Meow.
var/named = FALSE //have I been named yet? var/named = FALSE //have I been named yet?

View File

@@ -17,7 +17,7 @@
mob_size = MOB_SMALL mob_size = MOB_SMALL
has_langs = list("Dog") has_langs = list(LANGUAGE_ANIMAL)
say_list_type = /datum/say_list/dog say_list_type = /datum/say_list/dog

View File

@@ -15,7 +15,7 @@
holder_type = /obj/item/weapon/holder/fennec holder_type = /obj/item/weapon/holder/fennec
mob_size = MOB_SMALL mob_size = MOB_SMALL
has_langs = list("Cat, Dog") //they're similar, why not. has_langs = list(LANGUAGE_ANIMAL)
/mob/living/simple_mob/animal/passive/fennec/faux /mob/living/simple_mob/animal/passive/fennec/faux
name = "faux" name = "faux"

View File

@@ -3,7 +3,7 @@
name = "parrot" name = "parrot"
description_info = "You can give it a headset by clicking on it with a headset. \ description_info = "You can give it a headset by clicking on it with a headset. \
To remove it, click the bird while on grab intent." To remove it, click the bird while on grab intent."
has_langs = list("Galactic Common", "Bird") has_langs = list(LANGUAGE_GALCOM, LANGUAGE_ANIMAL)
ai_holder_type = /datum/ai_holder/simple_mob/passive/parrot ai_holder_type = /datum/ai_holder/simple_mob/passive/parrot

View File

@@ -30,7 +30,7 @@
ai_holder_type = /datum/ai_holder/simple_mob/melee/evasive ai_holder_type = /datum/ai_holder/simple_mob/melee/evasive
has_langs = list("Mouse") has_langs = list(LANGUAGE_MOUSE, LANGUAGE_ECHOSONG) // Haha squeak
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat
meat_amount = 2 meat_amount = 2

View File

@@ -23,7 +23,7 @@
organ_names = /decl/mob_organ_names/goose organ_names = /decl/mob_organ_names/goose
has_langs = list("Bird") has_langs = list(LANGUAGE_ANIMAL)
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/chicken meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/chicken
meat_amount = 3 meat_amount = 3

View File

@@ -39,7 +39,7 @@
"rad" = 0 "rad" = 0
) )
has_langs = list("Animal") has_langs = list(LANGUAGE_ANIMAL)
/mob/living/simple_mob/animal/passive/honkpet/attack_hand(mob/living/user as mob) /mob/living/simple_mob/animal/passive/honkpet/attack_hand(mob/living/user as mob)
if(user.a_intent == I_DISARM) if(user.a_intent == I_DISARM)

View File

@@ -18,7 +18,7 @@
has_hands = TRUE //Pawbs has_hands = TRUE //Pawbs
seedarkness = FALSE //SHAAAADEkin seedarkness = FALSE //SHAAAADEkin
attack_sound = 'sound/weapons/bladeslice.ogg' attack_sound = 'sound/weapons/bladeslice.ogg'
has_langs = list(LANGUAGE_GALCOM,LANGUAGE_SHADEKIN) has_langs = list(LANGUAGE_GALCOM, LANGUAGE_SHADEKIN)
melee_damage_lower = 10 melee_damage_lower = 10
melee_damage_upper = 20 melee_damage_upper = 20
@@ -212,7 +212,7 @@
phase_shift() // shifting back in, nobody present phase_shift() // shifting back in, nobody present
else if (non_kin_count && !(ability_flags & AB_PHASE_SHIFTED)) else if (non_kin_count && !(ability_flags & AB_PHASE_SHIFTED))
phase_shift() // shifting out, scaredy phase_shift() // shifting out, scaredy
/mob/living/simple_mob/shadekin/update_icon() /mob/living/simple_mob/shadekin/update_icon()
. = ..() . = ..()

View File

@@ -50,7 +50,7 @@
mob_size = MOB_SMALL mob_size = MOB_SMALL
has_langs = list("Dog", "Canilunzt", "Galactic Common") has_langs = list(LANGUAGE_ANIMAL, LANGUAGE_CANILUNZT, LANGUAGE_GALCOM)
say_list_type = /datum/say_list/softdog say_list_type = /datum/say_list/softdog
swallowTime = 0.1 SECONDS swallowTime = 0.1 SECONDS

View File

@@ -2886,9 +2886,9 @@
#include "code\modules\mob\freelook\mask\cultnet.dm" #include "code\modules\mob\freelook\mask\cultnet.dm"
#include "code\modules\mob\freelook\mask\eye.dm" #include "code\modules\mob\freelook\mask\eye.dm"
#include "code\modules\mob\freelook\mask\update_triggers.dm" #include "code\modules\mob\freelook\mask\update_triggers.dm"
#include "code\modules\mob\language\animal.dm"
#include "code\modules\mob\language\generic.dm" #include "code\modules\mob\language\generic.dm"
#include "code\modules\mob\language\language.dm" #include "code\modules\mob\language\language.dm"
#include "code\modules\mob\language\monkey.dm"
#include "code\modules\mob\language\outsider.dm" #include "code\modules\mob\language\outsider.dm"
#include "code\modules\mob\language\station.dm" #include "code\modules\mob\language\station.dm"
#include "code\modules\mob\language\station_vr.dm" #include "code\modules\mob\language\station_vr.dm"