Add --set flag documentation to README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
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 |
|
||||
|
||||
Reference in New Issue
Block a user