Skip to content

Recipes

Recipes are use-case walkthroughs. For inventories and flag tables, use Language / Concepts / Reference instead.

Recipe Job
First hour Init -> build -> install -> first factorio-rs test
Hot reload with Bacon Bacon jobs for in-game control reload + test --rerun
Persist with storage Mod-local state across events and saves
Settings that change gameplay mod_settings! + control read + test
Filter entity lists Vec, ranges, .map / .filter / .collect
State machines with enums Tagged enums + match for phases
Package graphics Assets + item! icons -> __mod__/... + locale!
GUI basics Event -> frame -> caption -> style().set_width
Share an API between mods #[export] + factorio-rs add

For data-stage Item / Recipe / Technology stubs and the item! / recipe! / technology! macros (not just packaging art), see Prototypes.

New to the toolchain? Start with Getting started, then First hour.