Reed baskets an now be placed in storage for residents to collect fruits and nuts. Should help offset food costs for upkeep.

This commit is contained in:
Storm Dragon
2026-01-24 23:26:37 -05:00
parent cbacdd7a26
commit 8099e1b9a5
5 changed files with 97 additions and 11 deletions

View File

@@ -400,7 +400,7 @@ void update_time() {
check_ambience_transition();
if (is_daytime && residents_count > 0 && barricade_health < BARRICADE_MAX_HEALTH && current_hour % 4 == 0) {
if (get_storage_count(ITEM_MEAT) > 0) {
if (has_any_storage_food()) {
int gained = add_barricade_health(residents_count);
if (gained > 0 && x <= BASE_END) {
speak_with_history("Residents repaired the barricade. +" + gained + " health.", true);
@@ -412,6 +412,10 @@ void update_time() {
process_daily_weapon_breakage();
attempt_daily_quest();
attempt_resident_butchering();
attempt_resident_foraging();
}
if (current_hour == 12) {
attempt_resident_foraging();
}
attempt_daily_invasion();
keep_base_fires_fed();