From adc88c141639aed9eb9ff89ca076acf96e64357e Mon Sep 17 00:00:00 2001 From: Conor Allison Date: Sun, 3 Mar 2024 15:08:50 +0000 Subject: Pushing up todays progress Now have correct highlighting for researchable techs and currently selected techs --- extension/src/openvic-extension/singletons/GameSingleton.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extension/src/openvic-extension/singletons/GameSingleton.cpp') diff --git a/extension/src/openvic-extension/singletons/GameSingleton.cpp b/extension/src/openvic-extension/singletons/GameSingleton.cpp index 88f2b5a..4390dbc 100644 --- a/extension/src/openvic-extension/singletons/GameSingleton.cpp +++ b/extension/src/openvic-extension/singletons/GameSingleton.cpp @@ -472,6 +472,7 @@ Dictionary GameSingleton::get_technologies() const{ static const StringName technology_info_year_key = "year"; static const StringName technology_info_cost_key = "cost"; static const StringName technology_info_unit_key = "unit"; + static const StringName technology_info_icon_key = "icon"; static const StringName technology_info_activated_unit_key = "activated_units"; static const StringName technology_info_activated_buildings_key = "activated_buildings"; static const StringName technology_info_ai_chance_key = "ai_chance"; @@ -483,6 +484,7 @@ Dictionary GameSingleton::get_technologies() const{ tech[technology_info_year_key] = static_cast(fetched_technologies[i].get_year()); tech[technology_info_cost_key] = static_cast(fetched_technologies[i].get_cost()); tech[technology_info_unit_key] = std_to_godot_string("WIP"); + tech[technology_info_icon_key] = std_to_godot_string("WIP"); tech[technology_info_activated_unit_key] = std_to_godot_string("WIP"); tech[technology_info_activated_buildings_key] = std_to_godot_string("WIP"); tech[technology_info_ai_chance_key] = std_to_godot_string("WIP"); -- cgit v1.2.3-56-ga3b1