WIP

Configuration

You can set certain option of the mod using either a local configuration file or the global configuration file that was used to start the server.

The local configuration file needs to be placed in the world directory: ./worlds/worldname/_afgrow.lua. Local configuration options override global ones. If neither is set, the default values (shown below) are used.

afgrow_process_builtin_registry  = true
afgrow_load_builtin_game_support = true
afgrow_load_builtin_mod_support  = true

afgrow_table_action_interval = 60
afgrow_table_liquid_usage    = 1.5

afgrow_table_crafting_yield = 3
afgrow_lamp_crafting_yield  = 3
afgrow_seeds_crafting_yield = 8
  • afgrow_process_builtin_registry If you want to just use the API by yourself and to not want the built-in support files from the registry to be processed, you can set this option to false. This only loads the API but does not register anything.
  • afgrow_load_builtin_..._support Load built-in mod/game support when processing the built-in registry. This can be used to specifically do not load game or mod support. Not loading mods affects all mods, not only the game mods.
  • afgrow_table_action_interval Each action a plant table performs (i.e. checking water level and filling up the internal water tank, or growing a flower) is based on a certain interval in seconds. This parameter sets the value. The value should be larger than or equal to 1.
  • afgrow_table_liquid_usage The plant table uses a certain amount of water for each flower. The value 0 never empties the water tank. It is a percent value, so 100 should be the maximum set here.
  • afgrow_..._crafting_yield This defines the individual items crafting yields. For seeds, values below 4 or equal to 4 make no sense, because players would loose flowers or dont gain any.

When running a singleplayer game or a server from within the client, you can also set the options in the clients advanced configuration. There, the upper and lower limits are automatically applied.

Description
No description provided
Readme 809 KiB
Languages
Lua 100%