* cash card empty, no money
remove money from cash cards in vanilla
* remove unused flags
* preserve cash card stacking test
* obsoletion and migration of cash cards
* Preserve money ammo type for aftershock
* no free threads sorry
* put money in the test data
* don't duplicate money ammo in aftershock
* fix unloading non empty components test
* fix for clang
---------
Co-authored-by: Fris0uman <fris0uman@users.noreply.github.com>
* Add char8_t-remediation
Source: https://github.com/tahonermann/char8_t-remediation
Made the last three functions inline to avoid link duplication
* Use U8 macro
* Add a test to print u8
* Fix cata_path::generic_u8string() and shorten its callers
* Add u8string and fs::path to fmt. Update callers
* Spread from_u8string everywhere
* Use the more matching overload
* Replace with some fmt::format
* Fix using aggregate initializer
> https://en.cppreference.com/cpp/language/aggregate_initialization#Aggregate
> no user-declared or inherited constructors
"= default" counts as user-declared
* Fix gcc getting confused with fs::path
* Apply IWYU reccomendations
* Fix missing template
* Fix linters
- the construction scan tries sites no other builder works on, the avatar included, before busy ones
- a builder joins a busy site only when no free site is workable
- a builder whose site another builder finishes ends that step quietly and keeps scanning
- requirements_map plans items inside containers on loot tiles, skipping roots that hold reserved items
- fetch_activity takes the planned amount out of a container and unseals that pocket for every task
- print the find-items and items-not-available pair for the first skipped site of a scan only
- keep the reported flag in the scan cache, so a scan spread over turns reports once
- start the close-door activity on the left tile only when it holds a door or vehicle part to close
- a builder shoved off plain ground keeps its build and its construction task in the backlog
- add craft_flags::ignore_hammerspace and honor it in the requirement checks that grant hammerspace
- pass it from are_requirements_nearby, the requirements_map met check and open_fetch_lines
- -30_C negates an absolute temperature and gives -303.15 K, far below minus thirty Celsius
- use units::from_celsius( -30 ) in the behavior tree score test and four preemption sections
- run npc::check_fire_spot for an NPC in fire_start_activity_actor::finish before lighting
- end the activity unlit on a failed hearth check and tell a player who sees the NPC
- store the harvest target as an absolute position and save it under a new key
- read a bubble position from older harvest saves against the map loaded at its origin
- spots rank by the game's own comfort, so beds and hammocks beat chairs and stools
- equal comfort falls back to the sun penalty, then to floor warmth, which rest quality counts for every sleeper
- the nearest spot wins among equal ranks in the free scan around the NPC
do the removal
add to iso protocol
remove current test
remove unused variable
iwyu
attempt to do tests
iwyu?
fix something that shouldnt have been removed
Update tests/effect_test.cpp
Update tests/effect_test.cpp
points for test mutation
actually give them the mutation in the test
change body part to test torso
fix body_part_test_torso error
style and fix torso?
another attempt to fix test_torso
remove connected to, recommended by snup
revert recommendation
fix typo pointed out by candleburry
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mqrause <38702195+mqrause@users.noreply.github.com>
Co-authored-by: John Candlebury <johncandlebury@gmail.com>
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>
- a fetch takes only what its requirements lack, counted with what is already there
- a fetch that cannot bring or hold what the task needs ends the task
- fetch marks clear at task end and on pickup by a picker with no backlog or destination activity
- food options judged against obligations when found and when started
- an NPC that overrides its obligations for food says why
- a hungry follower whose obligations keep it from food says it is hungry
- food scans and the meal that takes an item share one filter and one access check
- a faction that shares public goods lets others pour a drink from its containers
- meal checked against NPC diet before it starts
- each round tops up one named need for every NPC in the case
- cases: hungry follower, forbidden or unreachable food, cold guard, boxed-in NPC
- each line also counts decisions, executor calls, and turns ending fed or indoors
- every intake stops at a full stomach, food also at a meal already eaten
- drinks stop at the full line, before the engorged one
- a harvest is eaten later, like carried food
- a decision that acted keeps its move surplus or debt into the next turn
- dropped meals are never resumed
- a meal or fire cut short by harm or an order hands back to its task
- a hungry NPC at a healthy weight gets a routine camp meal
- a camp meal the NPC would refuse is never served
- camp food and camp water take the time eating and drinking them takes
- an option names its walk and the stay that holds the NPC at its spot
- an option names what its judgment rests on: assumption, own tile, destination or route
- stay on its own tile and walk with no route have named forms