mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
## About The Pull Request 1. Monkeys will only seek out food to eat if they are actually hungry, rather than on an arbitrary cooldown. 2. Monkeys will no longer teleport-yoink food out of your hands. Instead, they may get angry at you for stealing their food, and fight you over it. The hungrier the monkey, the more likely they are to fight. 3. Monkeys will discard trash and empty glasses (on the floor) after eating or drinking them. 4. Monkeys can target soup to eat 5. PunPun will no longer seek out drinks if they are hungry. 6. PunPun will now, if the bartender is absent and there are multiple patrons around, attempt to find filled glasses or food to hand out to patrons. 7. Several places that sought edible items no longer include drinking glasses as edible items <img width="656" height="185" alt="image" src="https://github.com/user-attachments/assets/8b3a6ac1-ae2c-41a0-919f-b471ad93bb0f" /> ## Why It's Good For The Game PunPun shouldn't be yoinking glasses out of patron's hands - their intended behavior is to serve drinks not steal them Otherwise, monkey eating was a bit jank due to it being some of our oldest ai code. I largely just brought it up to more modern ai standards. ## Changelog 🆑 Melbert add: If the bartender is absent, PunPun will serve filled drink glasses to patrons that don't have one. add: PunPun will now ignore filled drinks and items being held when looking for stuff to eat. add: Monkeys can eat soup. add: Monkeys will no longer seek out food if they are not hungry. add: Hungry monkeys might fight you over the food you are holding. The hungrier the monkey, the angrier the monkey. fix: Monkeys can no longer teleport items out of your hands to eat. /🆑
26 lines
1.4 KiB
Plaintext
26 lines
1.4 KiB
Plaintext
// Monkey AI controller blackboard keys
|
|
|
|
#define BB_MONKEY_AGGRESSIVE "BB_monkey_aggressive"
|
|
#define BB_MONKEY_GUN_NEURONS_ACTIVATED "BB_monkey_gun_aware"
|
|
#define BB_MONKEY_BEST_FORCE_FOUND "BB_monkey_bestforcefound"
|
|
#define BB_MONKEY_ENEMIES "BB_monkey_enemies"
|
|
#define BB_MONKEY_BLACKLISTITEMS "BB_monkey_blacklistitems"
|
|
#define BB_MONKEY_PICKUPTARGET "BB_monkey_pickuptarget"
|
|
#define BB_MONKEY_PICKPOCKETING "BB_monkey_pickpocketing"
|
|
#define BB_MONKEY_CURRENT_ATTACK_TARGET "BB_monkey_current_attack_target"
|
|
#define BB_MONKEY_CURRENT_PRESS_TARGET "BB_monkey_current_press_target"
|
|
#define BB_MONKEY_CURRENT_GIVE_TARGET "BB_monkey_current_give_target"
|
|
#define BB_MONKEY_TARGET_DISPOSAL "BB_monkey_target_disposal"
|
|
#define BB_MONKEY_TARGET_MONKEYS "BB_monkey_target_monkeys"
|
|
#define BB_MONKEY_DISPOSING "BB_monkey_disposing"
|
|
#define BB_MONKEY_RECRUIT_COOLDOWN "BB_monkey_recruit_cooldown"
|
|
#define BB_RESISTING "BB_resisting"
|
|
/// Monkey is not necessarily a wild animal so it won't resort to fighting over food and such
|
|
#define BB_MONKEY_TAMED "BB_monkey_tamed"
|
|
/// Chance to give our held item to a nearby mob
|
|
#define BB_MONKEY_GIVE_CHANCE "BB_monkey_give_chance"
|
|
/// If set, the monkey will prefer this type of object when pressing things
|
|
#define BB_MONKEY_PRESS_TYPEPATH "BB_monkey_press_typepath"
|
|
/// The item the monkey is currently serving to someone
|
|
#define BB_MONKEY_CURRENT_SERVED_ITEM "BB_monkey_current_served_item"
|