This tool checks entity (civilization) tags and shows buildings and reactions that exists in raw's files but are not added to the entity tags.
Usage: run (preferably in DF directory - where /raw/ is located). If the tool finds /raw/ directory, it automatically reads it's contents. If not, press button "Change dir" and select the directory, which contains /raw/. Afterwards, select entity to check, and press "Check" button. Afterwards, just copy required lines from respective windows into the corresponding entity.
Now doing cross-check also, as suggested by Jeoshua
here. Cross-check test for:
- Entity-defined buildings with not all entity-defined reactions (adds not defined reactions)
- Entity-defined reactions with not all entity-defined buildings (adds not defined buildings)
- Possible mistypes (entity-defined reactions and buildings that are not defined in raws)
Also testing for various errors, such as:
- reactions w/o defined buildings.
- buildings w/o defined reactions (possibly decorations? whatever, mostly it is an error).
Log window received a
huge boost in usefulness, as nearly everything that isn't right goes there!
Updated: New buttons: "Clear log" and "Copy log to clipboard".
Screenshot (slightly outdated, but shows basic usefulness of the program):
Binaries (for Windows) are
here, source is
here.
Changelog:
v0.1v0.11v0.2- New feature: Cross-check.
- New feature: Testing for various errors.
v0.21- Spelling fixes
- Added buttons "Clear log" and "Copy log to clipboard"
v0.22- Bugfix -reactions and buildings were not cleared when changing directory, thus carrying them from previous dir.
v0.23- Bugfix - buildings from raws now contain "predefined buildings" and thus cross-checking for reactions from that buildings now works.
Suggestions (on how to improve this), bugreports and comments are welcome!