User Tools

Site Tools


example-mods

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

example-mods [2019/10/04 17:15] – created - external edit 127.0.0.1example-mods [2025/05/02 13:31] (current) – Updated for 1.10 mathieu
Line 4: Line 4:
 You can find the example mods in your Foundation installation directory, under the ''mods'' folder. You can find the example mods in your Foundation installation directory, under the ''mods'' folder.
  
-===== Example 01 - Simple Example Mod =====+===== Example - Simple =====
  
 This example mod shows the basic structure of a Foundation mod and can be used as boilerplate code for getting started This example mod shows the basic structure of a Foundation mod and can be used as boilerplate code for getting started
  
-===== Example 02 - Mithril Factory =====+===== Example - Mithril Factory =====
  
 This advanced example mod introduces the new modding feature from Foundation 1.2.0. This advanced example mod introduces the new modding feature from Foundation 1.2.0.
Line 20: Line 20:
   * Particle System   * Particle System
  
-===== Example 03 - Custom Map Example =====+===== Example - Taxation ===== 
 + 
 +This mod shows how to implement a new taxation function. There are two examples, one that works by registering to an event to trigger the tax and another that taxes over time. 
 + 
 +===== Example - Custom Map ===== 
 + 
 +**Removed, for now, since modded maps are not supported at this time in 1.10.**
  
 This example mod shows the basics of creating a custom map. The example contains a complete example of all the features available for creating maps in mods. More info on custom maps can be found in the [[api:custom_map|corresponding API documentation page]]. This example mod shows the basics of creating a custom map. The example contains a complete example of all the features available for creating maps in mods. More info on custom maps can be found in the [[api:custom_map|corresponding API documentation page]].
example-mods.1570223714.txt.gz · Last modified: 2019/10/04 17:15 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki