* 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>
stash starting inv that doesn't fit
fix save load order
initialize string hint in android build to none
reuse free assigned invlet and move it
Update npc.cpp
Update character_inventory.cpp
Update src/avatar.cpp
Update src/npc.cpp
Update src/avatar.cpp
Co-Authored-By: dobbry-vechur <dumbkevin@proton.me>
* move all crafting_inventory operations to temp_crafting_inventory class
* fix rebase errors
move some functions back to where they were
adjust operator=
use pseudo items and item_location in form_inventory
remove obsolete comment
* add pseudo item dedup
* check for empty item_location in visitable
* iterate over copies items as well
* pseudo item
* Update temp_crafting_inventory.cpp
* fix some compile errors
* Update craft_attention_test.cpp
* Update temp_crafting_inventory.cpp
* address clang_tidy
* dump non const
* Apply batched suggestions from code review
IWYU
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* IWYU
* IWYU
* clang
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- replaced the avatar fallback in quality_requirement::has with the passed actor
- gave can_make_with_inventory, check_enough_materials and the folded lists an actor
- classified the camp stock queries as actorless and the rest as actor-aware
- read the debug hammerspace trait from the actor rather than the player
- covered provider counting and intrinsic occurrences
- restrict active-step presence to bucket transitions and final drift
- lazy-build nearby inventory only when a map-sourced check needs it
- add mid-bucket and boundary-crossing test sections
- split dry_meat into active slice and unattended dehydrate steps
- move charged dehydrating_heat onto the dehydrate step
- set [67,5] batch savings per step
- store per-step tool allocations on the craft, serialized across save and load
- distribute root tools across active steps pro-rata by step time
- consume each step's tools over its progress, capped at the step total
- rewind the whole turn and abort start on a tool shortfall
- rebuild per-step allocations on continuation, preserving debited buckets
- split charges_of_internal into scan + apply_external_pools
- apply_external_pools branches LEGACY vs MULTIMAG semantics
- multimag aggregate delegates per-tool feasibility to feasible_uses
- legacy aggregate sums local raw charges, adds UPS / bionic once
- multimag external pool routes via main, includes ground UPS
- inventory::charges_of scans every match into one entry list
- expose item::feasible_tool_uses for arbitrary external budgets
- add test_multimag_vehicle_welder TEST_DATA fixture
- cover multimag external pool routing, ground UPS, inventory dedup
- cover legacy USE_UPS dedup at charges_per_use 1 and 20
Step recipes called proficiency_time_malus() every turn via
step_budget_moves(), which pulled book bonuses from
crafting_inventory(). The inventory cache was always stale
(invalidated by set_moves(0) earlier in the same do_turn call),
causing a full O(N^2) inventory rebuild per turn -- the same bug
pattern that was previously fixed for batch_time().
- Add crafting_cost_context struct bundling book_proficiency_bonuses
and tool_speeds; require it on batch_time, time_to_craft_moves,
step_budget_moves -- no implicit fallback, no hidden scans
- Add for_recipe() and for_proficiencies() factories so callers
compute the context once at the evaluation boundary
- Add Character::book_bonuses_nearby() -- lightweight spatial query
that walks map tiles and vehicle cargo in-place without copying
items or running stacking logic
- Add map::for_each_reachable_item() as shared primitive for
reachability/accessibility/ownership/vehicle-cargo iteration,
eliminating semantic duplication with form_from_map()
- Thread required book_proficiency_bonuses through
proficiency_time_malus, proficiency_skill_malus, and their
wrappers so they cannot silently trigger inventory scans
- Cache crafting_cost_context in craft_activity_actor, recomputed
only on speed/assistant/proficiency changes (5% boundaries)
- Precompute context in crafting GUI paths (availability cache,
step display, recipe sort) to avoid redundant per-recipe scans
Recipes can now define per-step time, proficiencies, tools,
qualities, batch savings, and activity level. Step recipes
enforce strict schema separation from root-level fields.
Bread split into mix / rise / bake with per-step proficiency
scope and exertion levels.
- Bump irradiance threshold from low (422 W/m2) to high (707 W/m2)
to match real-world minimum useful cooking irradiance
- Split into two crafting recipes: mirror-panel variant (6h, fab 6,
56 hand mirrors or 2 standing mirrors) and polished-metal variant
(10h, fab 6, requires GRIND 2 from polisher/angle grinder)
- Both recipes require drill, more pipes (6), and fasteners (scrap 6)
- Switch from instant deploy_furn to construction recipe (20 min setup)
matching the solar panel deployment pattern
- Adjust item stats: 5 kg -> 14 kg, 15 L -> 30 L, 80 cm -> 120 cm
to match mid-range commercial parabolic cookers (SK-14 class)
- Update descriptions to say "faceted reflector panels"
- Add cloudy weather test, fix missing map_iterator.h include
- matrix.yml SKIP condition referenced non-existent job names
(skip-duplicates, skip-duplicates-mods); corrected to match declared
jobs (skip-duplicates-code, skip-duplicates-data). Same fix for the
commented emscripten block.
- tests/Makefile batch runs now use --user-dir with a unique PID-based
path so parallel shard execution doesn't collide on filesystem state.
- Normalized comma-separated TEST_CASE tags to space-separated across
9 test files (25 declarations). Comma syntax is deprecated in Catch2
v2 and removed in v3. Also fixed a missing space between adjacent
tags in throwing_test.cpp.
* Start making debug recipes for tests that can use them
* Fix maybe?
* fix the lack of id_suffix
* change EOL
---------
Co-authored-by: Anton Simakov <67688115+GuardianDll@users.noreply.github.com>