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:
MomokoKoigakubo
2026-09-24 00:53:19 -04:00
parent a490a05bf8
commit 9dad3c6176
11 changed files with 544 additions and 1 deletions
View File
+17
View File
@@ -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}
};
View File