Changes between Initial Version and Version 2 of Ticket #1757
- Timestamp:
- Dec 12, 2012, 12:37:20 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1757
- Property Keywords patch added
- Property Milestone Backlog → Alpha 13
- Property Summary Script to automatically change unit stats → [PATCH] Script to automatically change unit stats
-
Ticket #1757 – Description
initial v2 9 9 Options: 10 10 11 --key, -k: This is the XML element to modify. Can be arbitrarily deep, i.e. Cost/Resources/food works as expected.11 --key, -k: This is the XML element to modify. Can be arbitrarily deep, i.e. !Cost/Resources/food works as expected. 12 12 13 --change, -c: How much to modify the key by. For negative numbers, you'll need an equals sign: ./changestats.pl --Key Cost/BuildTime -c=-10 Domestic13 --change, -c: How much to modify the key by. For negative numbers, you'll need an equals sign: ./changestats.pl --Key !Cost/BuildTime -c=-10 Domestic 14 14 15 15 --mod, -m: The mod to use. Defaults to "public". … … 19 19 Warnings: 20 20 USE WITH CAUTION! THIS THING IS EXPERIMENTAL AND HASN'T BEEN THOROUGHLY TESTED! 21 You probably ought to double-check that it made all the modifications correctly. That said, it has worked quite well for me so far. 21 You probably ought to double-check that it made all the modifications correctly. That said, it has worked quite well for me so far.[[BR]] 22 22 It's also kind of slow. There's probably a much more efficient way to do what it does. Now, before you complain too much, it searches through hundreds of templates... anyway it is still much faster than adjusting stats by hand. I'm just warning you in case it seems like it's taking a while. That's normal.