preview
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
preview [2019/10/02 15:33] – polymorphgames | preview [2019/12/18 18:35] – [How to Access 1.5 Preview ?] polymorphgames | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Preview Modding Documentation for Foundation 1.4 ====== | + | ====== Preview Modding Documentation for Foundation 1.5 ====== |
- | :!: Please do not upload mods for Foundation 1.4 to mod.io before the official release of those modding features, since it would make your mod visible to all players, and they won't be able to play it :!: | + | :!: Please do not upload mods for Foundation 1.5 to mod.io before the official release of those modding features, since it would make your mod visible to all players, and they won't be able to play it :!: |
- | ===== How to Access 1.4 Preview ? ===== | + | ===== How to Access 1.5 Preview ? ===== |
- | Contact developer on our [[https:// | + | Switch to the Steam or GOG " |
===== Generated Documentation ===== | ===== Generated Documentation ===== | ||
* [[preview: | * [[preview: | ||
* [[preview: | * [[preview: | ||
- | * [[api: | ||
- | ===== New Features ===== | + | ===== New Features |
- | * [[preview: | + | * [[preview: |
- | * [[preview:workplaces|Create workplaces]] | + | * [[preview:data-type|Data Types]] |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | * [[preview: | + | |
- | ===== Migration Notes ===== | + | |
- | ==== New mod.json ==== | + | |
- | In order to only load mods when enabled, Foundation will now need a new description file for each mod. It will declare all the things Foundation would need to know about the mod without parsing the lua file. | + | |
- | <file json mod.json> | + | ===== Changelog |
- | { | + | See in [[changelog# |
- | " | + | |
- | " | + | |
- | " | + | |
- | " | + | |
- | + | ||
- | " | + | |
- | { | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | ] | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ==== createMod() function is simplified | + | |
- | Since the new '' | + | |
- | + | ||
- | <file lua mod.lua> | + | |
- | local myMod = foundation.createMod() | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== GENERAL_DATA asset type has been removed | + | |
- | '' | + | |
- | + | ||
- | However, modders can now partially override | + |