Opened 4 years ago

Last modified 4 years ago

#81 new task

Export Economy System Data to External Configuration YAML

Reported by: jonathan Owned by: jonathan
Priority: minor Component: Blocks and Items
Version: 9.2.x-Orange Keywords:
Cc: kevin

Description

The economy system employs a wide variety of data-centric configurations of the following nature:

  • Defining absolute values of currency-like items such as metallic ingots, gems and coins
  • Specifying valid exchange trade items
  • Defining relative values of all goods and items
  • Configuring available trades according to villager profession
  • Defining some trades as commutative, buy-only or sell-only

All of the above should be configurable via a configuration file. The most sensible option is to use the YAML file-format (Minecraft Forge's configuration file format is much too simple).

The existing configuration can remain as is as a default setting if the configuration file is not present or is missing configuration data-points.

Change History (2)

comment:1 Changed 4 years ago by jonathan

Kevin I'd like you to chime-in and express any concerns you have with this ticket in-light of integrating this with your supply/demand economy system features.

comment:2 Changed 4 years ago by kevin

I love the idea of putting it into a separate file and felt from the beginning that would be the way to do it.

Note: See TracTickets for help on using tickets.