crafting: mutual exclusiveness for $WALL tag

This commit is contained in:
minjaesong
2023-09-17 15:16:04 +09:00
parent 0a62037896
commit af36cec60f
5 changed files with 37 additions and 34 deletions

View File

@@ -29,10 +29,13 @@ Each entry is interpreted as:
For example:
```[2, 1, "$WOOD", 1, "$ROCK"]```
```[2, 1, "$WOOD$WALL", 1, "$ROCK"]```
This line is interpreted as: this item requires 1 tagged-as-wood ingredient and 1 tagged-as-rock ingredient,
and returns 2 of crafted items.
This line is interpreted as: this item requires 1 tagged-as-wood and tagged-as-wall ingredient and
1 tagged-as-rock ingredient, and returns 2 of crafted items.
$WALL tag is treated specially as state of "having $WALL tag" and "not having $WALL tag" is mutually exclusive;
Ingredient Resolver will NOT look for walls if there is no $WALL tag
```[20, 1, "ITEM_PLATFORM_BUILDING_KIT"]```