mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
13b729c71e
## About The Pull Request this prevents corgi pop, as well as some other animals like cats, from skyrocketing. there were some measures against this in the ai behavior code, but they werent working properly. ## Why It's Good For The Game fixes corgi pop skyrocketing, for the sake of performance ## Changelog 🆑 fix: corgi's population will no longer exponentially grow /🆑
87 lines
3.6 KiB
Plaintext
87 lines
3.6 KiB
Plaintext
///Dog AI controller blackboard keys
|
|
#define BB_FETCH_IGNORE_LIST "BB_FETCH_IGNORE_LISTlist"
|
|
#define BB_FETCH_DELIVER_TO "BB_FETCH_DELIVER_TO"
|
|
#define BB_DOG_HARASS_TARGET "BB_DOG_HARASS_TARGET"
|
|
#define BB_DOG_HARASS_HARM "BB_DOG_HARASS_HARM"
|
|
#define BB_DOG_IS_SLOW "BB_DOG_IS_SLOW"
|
|
|
|
/// Basically, what is our vision/hearing range for picking up on things to fetch/
|
|
#define AI_DOG_VISION_RANGE 10
|
|
/// What are the odds someone petting us will become our friend?
|
|
#define AI_DOG_PET_FRIEND_PROB 15
|
|
/// After this long without having fetched something, we clear our ignore list
|
|
#define AI_FETCH_IGNORE_DURATION (30 SECONDS)
|
|
|
|
///Baby-making blackboard
|
|
///Types of animal we can make babies with.
|
|
#define BB_BABIES_PARTNER_TYPES "BB_babies_partner"
|
|
///Types of animal that we make as a baby.
|
|
#define BB_BABIES_CHILD_TYPES "BB_babies_child"
|
|
///Current partner target
|
|
#define BB_BABIES_TARGET "BB_babies_target"
|
|
///Timeout for finding partners when theres too many of us in 1 location
|
|
#define BB_PARTNER_SEARCH_TIMEOUT "BB_partner_search_timeout"
|
|
|
|
///Finding adult mob
|
|
///key holds the adult we found
|
|
#define BB_FOUND_MOM "BB_found_mom"
|
|
///list of types of mobs we will look for
|
|
#define BB_FIND_MOM_TYPES "BB_find_mom_types"
|
|
///list of types of mobs we must ignore
|
|
#define BB_IGNORE_MOM_TYPES "BB_ignore_mom_types"
|
|
|
|
/// The current string that this parrot will repeat back to someone
|
|
#define BB_PARROT_REPEAT_STRING "BB_parrot_repeat_string"
|
|
/// The odds that this parrot will repeat back a string
|
|
#define BB_PARROT_REPEAT_PROBABILITY "BB_parrot_repeat_probability"
|
|
/// The odds that this parrot will choose another string to repeat
|
|
#define BB_PARROT_PHRASE_CHANGE_PROBABILITY "BB_parrot_phrase_change_probability"
|
|
/// A copy of the string buffer that we end the shift with. DO NOT ACCESS THIS DIRECTLY - YOU SHOULD USE THE COMPONENT IN MOST CASES
|
|
#define BB_EXPORTABLE_STRING_BUFFER_LIST "BB_parrot_repeat_string_buffer"
|
|
/// The types of perches we desire to use
|
|
#define BB_PARROT_PERCH_TYPES "BB_parrot_perch_types"
|
|
/// key that holds our perch target
|
|
#define BB_PERCH_TARGET "perch_target"
|
|
/// key that holds our theft item target
|
|
#define BB_HOARD_ITEM_TARGET "hoard_item_target"
|
|
/// key that holds the mob we will steal from
|
|
#define BB_THEFT_VICTIM "theft_victim"
|
|
/// key that holds the turf we will be hauling stolen items to
|
|
#define BB_HOARD_LOCATION "hoard_location"
|
|
/// key that holds the minimum range we must be from the hoard spot
|
|
#define BB_HOARD_LOCATION_RANGE "hoard_location_range"
|
|
/// key that holds items we arent interested in hoarding
|
|
#define BB_IGNORE_ITEMS "ignore_items"
|
|
|
|
// Cultist pet keys
|
|
///our ability to summon runes
|
|
#define BB_RUNE_ABILITY "rune_ability"
|
|
///the cult team we serve
|
|
#define BB_CULT_TEAM "cult_team"
|
|
///our dead cultist we revive
|
|
#define BB_DEAD_CULTIST "dead_cultist"
|
|
///nearby runes
|
|
#define BB_NEARBY_RUNE "nearby_rune"
|
|
///occupied runes
|
|
#define BB_OCCUPIED_RUNE "occupied_rune"
|
|
///friendly cultists we befriend
|
|
#define BB_FRIENDLY_CULTIST "friendly_cultist"
|
|
|
|
//virtual pet keys
|
|
///the last PDA message we must relay
|
|
#define BB_LAST_RECEIVED_MESSAGE "last_received_message"
|
|
///our current virtual pet level
|
|
#define BB_VIRTUAL_PET_LEVEL "virtual_pet_level"
|
|
///the target we will play with
|
|
#define BB_NEARBY_PLAYMATE "nearby_playmate"
|
|
///cooldown till we search for playmates
|
|
#define BB_NEXT_PLAYDATE "next_playdate"
|
|
///our ability to trigger lights
|
|
#define BB_LIGHTS_ABILITY "lights_ability"
|
|
///our ability to capture images
|
|
#define BB_PHOTO_ABILITY "photo_ability"
|
|
///the name of our trick
|
|
#define BB_TRICK_NAME "trick_name"
|
|
///the sequence of our trick
|
|
#define BB_TRICK_SEQUENCE "trick_sequence"
|