I changed the hunger speed but nothing happened, it is set in two places
The AI wrote the same setting into several files over time, with slightly different names and values. Changing one has no effect. This entry scans the code for settings that appear more than once with different numbers and lists where each one lives.
Why this works
Copies drift apart. Comparing names after removing case and underscores finds the same setting under different spellings, and the differing values show which copy the game really uses.
When not to use it
A setting with the same name in different scopes may be meant, such as a wolf's speed and a deer's speed. Check the surrounding names before merging.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- 37 lines of example code with 3 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "I changed the hunger speed but nothing happened, it is set in two places" (read_entry survival-same-setting-with-two-values) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP