From d214de1788326fdd554566328bfc5547d5ec4f56 Mon Sep 17 00:00:00 2001 From: Julian Tabel Date: Mon, 18 May 2026 14:01:46 +0200 Subject: [PATCH] Add --set flag documentation to README Co-Authored-By: Claude Opus 4.6 --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d0f9d4..b789443 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,17 @@ node index.js --list # Max all capped resources node index.js --max-resources +# Set a specific resource or prestige currency to a value +node index.js --set=Plasmid=5000 + +# Set multiple at once +node index.js --set=Plasmid=5000 --set=Phage=3000 + # Set all crafted (unlimited) resources to 100,000 node index.js --set-crafted=100000 -# Combine both -node index.js --max-resources --set-crafted=100000 +# Combine multiple actions +node index.js --max-resources --set-crafted=100000 --set=Plasmid=5000 # Max only specific resources node index.js --max-resources --only=food,stone,iron @@ -56,6 +62,7 @@ node index.js --max-resources --no-copy |------|-------------| | `--list` | List all resources in the save, grouped by type (capped, crafted, special, locked) | | `--max-resources` | Set all capped resources (`max > 0`) to their max | +| `--set=key=N` | Set a specific resource or prestige currency to N (e.g. `--set=Plasmid=100`). Case-insensitive. Can be used multiple times. | | `--set-crafted=N` | Set all unlimited/crafted resources (`max == -1`) to N | | `--only=a,b,c` | Only affect listed resources (comma-separated, case-insensitive). Matches resource names (e.g. `Food`) or internal keys (e.g. `food`). Applies to `--max-resources` and `--set-crafted`. | | `--max-soldiers` | Fill garrison to max capacity and heal all wounded soldiers |