More work on goal system.

This commit is contained in:
Storm Dragon
2026-07-01 09:15:35 -04:00
parent 7c5aff28bb
commit 59352bb0b6
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -990,7 +990,7 @@ system.goals.new=Nuwe doelwit: {goal} Druk G om jou huidige doelwit te hersien.
system.goals.spend_hint=Om doelpunte te spandeer, druk P vir die karakterkieslys, kies dan Doelwitte en Bemeestering.
system.goals.goal.build_altar.name=Bou 'n altaar.
system.goals.goal.build_firepit.name=Bou 'n vuurput.
system.goals.goal.build_storage.name=Bou berging.
system.goals.goal.build_storage.name=Gradeer berging op.
system.goals.goal.complete_quest.name=Voltooi 'n soektog.
system.goals.goal.completed=Doelwit voltooi: {goal}. 1 doelpunt toegeken.
system.goals.goal.craft_knife.name=Maak 'n mes.
+1 -1
View File
@@ -245,7 +245,7 @@ goals.goal.craft_knife.name=Craft a knife.
goals.goal.craft_spear.name=Craft a spear.
goals.goal.build_firepit.name=Build a firepit.
goals.goal.light_fire.name=Light a fire.
goals.goal.build_storage.name=Build storage.
goals.goal.build_storage.name=Upgrade storage.
goals.goal.build_altar.name=Build an altar.
goals.goal.complete_quest.name=Complete a quest.
goals.goal.win_adventure.name=Win an adventure.
+1 -1
View File
@@ -245,7 +245,7 @@ goals.goal.craft_knife.name=Craft a knife.
goals.goal.craft_spear.name=Craft a spear.
goals.goal.build_firepit.name=Build a firepit.
goals.goal.light_fire.name=Light a fire.
goals.goal.build_storage.name=Build storage.
goals.goal.build_storage.name=Upgrade storage.
goals.goal.build_altar.name=Build an altar.
goals.goal.complete_quest.name=Complete a quest.
goals.goal.win_adventure.name=Win an adventure.
+1 -1
View File
@@ -990,7 +990,7 @@ system.goals.new=Nuevo objetivo: {goal} Pulsa G para revisar tu objetivo actual.
system.goals.spend_hint=Para gastar puntos de objetivo, pulsa P para abrir el menu de personaje, y luego elige Objetivos y Maestria.
system.goals.goal.build_altar.name=Construye un altar.
system.goals.goal.build_firepit.name=Construye un fogón.
system.goals.goal.build_storage.name=Construye almacenamiento.
system.goals.goal.build_storage.name=Mejora almacenamiento.
system.goals.goal.complete_quest.name=Completa una misión.
system.goals.goal.completed=Objetivo completado: {goal}. 1 punto otorgado.
system.goals.goal.craft_knife.name=Fabrica un cuchillo.
+1 -1
View File
@@ -749,7 +749,7 @@ def write_catalog(entries: Dict[str, Dict[str, object]], output_path: Path) -> N
("system.goals.goal.craft_spear.name", "Craft a spear."),
("system.goals.goal.build_firepit.name", "Build a firepit."),
("system.goals.goal.light_fire.name", "Light a fire."),
("system.goals.goal.build_storage.name", "Build storage."),
("system.goals.goal.build_storage.name", "Upgrade storage."),
("system.goals.goal.build_altar.name", "Build an altar."),
("system.goals.goal.complete_quest.name", "Complete a quest."),
("system.goals.goal.win_adventure.name", "Win an adventure."),
+2 -2
View File
@@ -85,7 +85,7 @@ string goal_summary(int goalId) {
else if (goalId == GOAL_CRAFT_SPEAR) name = "Craft a spear.";
else if (goalId == GOAL_BUILD_FIREPIT) name = "Build a firepit.";
else if (goalId == GOAL_LIGHT_FIRE) name = "Light a fire.";
else if (goalId == GOAL_BUILD_STORAGE) name = "Build storage.";
else if (goalId == GOAL_BUILD_STORAGE) name = "Upgrade storage.";
else if (goalId == GOAL_BUILD_ALTAR) name = "Build an altar.";
else if (goalId == GOAL_COMPLETE_QUEST) name = "Complete a quest.";
else if (goalId == GOAL_WIN_ADVENTURE) name = "Win an adventure.";
@@ -146,7 +146,7 @@ bool is_goal_completed(int goalId) {
int get_current_goal_id() {
int[] goalOrder = {GOAL_CRAFT_KNIFE, GOAL_CRAFT_AXE, GOAL_CHOP_TREE_1, GOAL_CRAFT_SPEAR,
GOAL_CRAFT_SNARE, GOAL_CATCH_SNARE, GOAL_BUILD_FIREPIT, GOAL_LIGHT_FIRE,
GOAL_BUTCHER_GAME, GOAL_CRAFT_SLING, GOAL_BUILD_STORAGE, GOAL_BUILD_ALTAR,
GOAL_BUTCHER_GAME, GOAL_CRAFT_SLING, GOAL_BUILD_ALTAR, GOAL_BUILD_STORAGE,
GOAL_COMPLETE_QUEST, GOAL_WIN_ADVENTURE, GOAL_ENGRAVE_RUNE, GOAL_CHOP_TREE_4,
GOAL_CHOP_TREE_9, GOAL_CHOP_TREE_27};
for (uint i = 0; i < goalOrder.length(); i++) {