Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the formula and Lua views of a unit coincide more closely
Several keys were either missing or misnamed in the formula view. These have been changed to match the Lua and WML names for the keys. This affects canrecruit, moves, and max_moves, as well as status. In addition, a large number of keys were missing entirely from the formula view. Most of these keys have now been added and can be accessed from formulas. A few that have little use in filters (such as image_mods or profile) are still missing. The Lua view missed a few keys that the formula view did provide. Although these could in principle have been obtained by using the special __cfg key, they have now been added to the Lua view anyway.
- Loading branch information
1 parent
f02a038
commit 26a2638
Showing
4 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters