A suzu-based asset bundler for Fortifactory.
Assets | ||
res | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
Asset Bundler
The Foritfactory asset bundler is a suzu-based application for generating bundle files.
Usage
Populate the Assets
directory with game definitions and images.
Manifest
The manifest.suzu
provides general information about the bundle.
Keyword | Description |
---|---|
Label |
Readable identifier for the bundle. |
Version |
Tuple providing the major, minor, and patch versions. |
Images
Place all image files under the Assets/Textures
directory.
PNG is the preferred image format.
Items
Place suzu files that populate the Items
list under the Assets/Items
directory.
Items += |=|Item {
auto ItemCount
|+ |Name |Usage | #...
|ItemRef |"Item" |Terrain |
}
Usages
Keyword | Description |
---|---|
Terrain |
Tile found naturally in the world. |
Structure |
Tile crafted by the player. |
Resource |
Tile used specifically for crafting. |
Furniture |
Passive object that can be placed in the world. |
Entity |
Active object that can be placed in the world. |
Ingredient |
Used in crafting other items. |
Tool |
Item wielded by a player. |
Trinket |
Effect-giving item attached to a player or weapon. |
Recipes
Place suzu files that populate the Recipes
list under the Assets/Recipes
directory.
Recipes += |=|Recipe {
|Outputs |Inputs |Requires |
## Output ##|[ (ItemRef, Count), (ItemRef, Count) ]\
## Input ##|[ (ItemRef, Count) ]\
## Requires ##|[ ItemRef ]|
}
Keyword | Description |
---|---|
Inputs |
Items required to make the recipe. |
Outputs |
Items produced by the recipe. |
Requires |
List of factories that can make the item. |
Requirements
Recipes that specify factory items in the Requires
field can only be made by those factories.
This field also populates the recipes that can be made by each factory.
If no items are specified, then the items are crafted by hand.
Effects
...