Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bilka2/tutorial-demo
Example mod for how to add a tutorial to Factorio
https://github.com/bilka2/tutorial-demo
factorio-mod
Last synced: 4 days ago
JSON representation
Example mod for how to add a tutorial to Factorio
- Host: GitHub
- URL: https://github.com/bilka2/tutorial-demo
- Owner: Bilka2
- License: mit
- Created: 2024-01-09T21:39:48.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-05-05T09:58:50.000Z (8 months ago)
- Last Synced: 2024-10-31T17:08:52.811Z (about 2 months ago)
- Topics: factorio-mod
- Language: Lua
- Homepage: https://mods.factorio.com/mod/tutorial-demo
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example mod for how to add tutorials
A Factorio mod that is an example of how to create a tutorial in a Factorio. The gist is that you need to create a [scenario](https://wiki.factorio.com/Scenario_system). This scenario is the tutorial itself, with all scripting and so on. Place that scenario into the `tutorials` folder of the mod. Then create a [TutorialDefinition](https://lua-api.factorio.com/latest/prototypes/TutorialDefinition.html) and [TipsAndTricksItem](https://lua-api.factorio.com/latest/prototypes/TipsAndTricksItem.html) for it in the prototype stage, so for example in `data.lua`. That's it!