Added State system,logic and commands for debugging. For setting region values. Outside of dev tools I wrote the command that the purchasing entities will call for a region
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @typedef {object} Region
|
||||
* @property {string} nameKey
|
||||
* @property {number} order
|
||||
* @property {boolean} unlockedAtStart
|
||||
* @property {number} unlockedCost
|
||||
*/
|
||||
|
||||
/**
|
||||
* @type {Record<string, Region>}
|
||||
*/
|
||||
export const REGIONS = {
|
||||
lagoon: {nameKey: "tama.region.lagoon.name", order: 0, unlockedAtStart: true, unlockedCost: 0},
|
||||
farmland: {nameKey: "tama.region.farmland.name", order: 1, unlockedAtStart: false, unlockedCost: 100},
|
||||
seaside: {nameKey: "tama.region.seaside.name", order: 2, unlockedAtStart: false, unlockedCost: 500},
|
||||
skyland: {nameKey: "tama.region.skyland.name", order: 3, unlockedAtStart: false, unlockedCost: 1000}
|
||||
};
|
||||
Reference in New Issue
Block a user