BibliothecaDAO / eternum

onchain eternal game
https://alpha-eternum.realms.world
MIT License
46 stars 34 forks source link

Modularise config #1110

Open ponderingdemocritus opened 2 months ago

ponderingdemocritus commented 2 months ago

Currently config for eternum works like this:

  1. Setup Config based on some values in the EternumGlobal object and within the sdk
  2. Import the global json and values within the sdk to the client to reflect the config that has been set

We need to get to this point:

  1. SDK contains 'default' values for everything, no EternumGlobal values
  2. Config can be setup by using these values or by passing a new EternumGlobal json file into the setup functions and importing into the client

Tasks todo:

aymericdelab commented 1 month ago

linked to #1110