preview:monuments
Differences
This shows you the differences between two versions of the page.
preview:monuments [2019/05/02 15:04] – created polymorphgames | preview:monuments [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Monuments ====== | ||
- | Monuments are complex buildings that let the player assemble different building parts. | ||
- | |||
- | The different [[preview: | ||
- | |||
- | Here is an example of declaring a new monument, allowing a collection of building parts: | ||
- | <file lua monument.lua> | ||
- | -- Register the mithril factory monument | ||
- | mod: | ||
- | DataType = " | ||
- | Id = " | ||
- | Name = " | ||
- | Description = " | ||
- | BuildingType = " | ||
- | BuildingPartList = { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | RequiredPartList = { | ||
- | -- Necessarily a list of ' | ||
- | { Category = " | ||
- | { Category = " | ||
- | { Category = " | ||
- | } | ||
- | }) | ||
- | </ | ||
- | |||
- | For details on how to create complex building parts, see mod Example 02. |
preview/monuments.1556823850.txt.gz · Last modified: 2019/05/02 15:04 by polymorphgames