feat(gameplay): Adding % bonus for planet type
This commit is contained in:
@@ -13,6 +13,7 @@ let cached = {
|
||||
databaseWipeoutIntervalSeconds: 21600,
|
||||
debugModeForTeams: true,
|
||||
configReloadIntervalSeconds: 30,
|
||||
elementWorth: {},
|
||||
resourceWorth: { common: {}, rare: {} },
|
||||
};
|
||||
|
||||
@@ -47,6 +48,9 @@ export function loadConfigFile() {
|
||||
if (typeof j.configReloadIntervalSeconds === "number" && j.configReloadIntervalSeconds >= 5) {
|
||||
cached.configReloadIntervalSeconds = j.configReloadIntervalSeconds;
|
||||
}
|
||||
if (j.elementWorth && typeof j.elementWorth === "object") {
|
||||
cached.elementWorth = j.elementWorth;
|
||||
}
|
||||
if (j.resourceWorth && typeof j.resourceWorth === "object") {
|
||||
cached.resourceWorth = j.resourceWorth;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user