A suzu-based asset bundler for Fortifactory.
Find a file
2025-08-30 01:15:04 -07:00
Assets Add effects prelude; outline effects data. 2025-08-30 00:15:18 -07:00
res Add effects prelude; outline effects data. 2025-08-30 00:15:18 -07:00
src Remove power of two requirement for images. 2025-08-30 01:15:04 -07:00
.gitignore Initialize repository. 2025-08-28 01:53:41 -07:00
Cargo.lock Split data encoding into separate files. 2025-08-29 16:09:22 -07:00
Cargo.toml Switch image encoder; add textures. 2025-08-28 20:56:52 -07:00
README.md Remove power of two requirement for images. 2025-08-30 01:15:04 -07:00

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

...