From 247e9b15c3ddbe970e4500cfdba2291d3be10a38 Mon Sep 17 00:00:00 2001 From: Brooty Johnson Date: Sun, 8 Sep 2024 18:40:08 -0400 Subject: [PATCH] more updates added req. essences tracking, fixed big goron sword --- manifest.json | 2 +- scripts/autotracking/archipelago.lua | 30 ++++++++++------------------ var_archipelago/items/items.json | 6 +++--- versions.json | 11 +++++++++- 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/manifest.json b/manifest.json index 40f6efa..04c0221 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Oracle of Ages Randomizer", "game_name": "Oracle of Ages", - "package_version": "0.7.1.1", + "package_version": "0.7.1.2", "package_uid": "ooa_brooty", "author": "Brooty", "variants": { diff --git a/scripts/autotracking/archipelago.lua b/scripts/autotracking/archipelago.lua index 329cfae..6978bfe 100644 --- a/scripts/autotracking/archipelago.lua +++ b/scripts/autotracking/archipelago.lua @@ -99,28 +99,20 @@ function onClear(slot_data) end end - if slot_data["required_essences"] then - if slot_data["required_essences"] == "0" then - Tracker:FindObjectForCode("allessence").CurrentStage = 0 - elseif slot_data["required_essences"] == "1" then - Tracker:FindObjectForCode("allessence").CurrentStage = 1 - elseif slot_data["required_essences"] == "2" then - Tracker:FindObjectForCode("allessence").CurrentStage = 2 - elseif slot_data["required_essences"] == "3" then - Tracker:FindObjectForCode("allessence").CurrentStage = 3 - elseif slot_data["required_essences"] == "4" then - Tracker:FindObjectForCode("allessence").CurrentStage = 4 - elseif slot_data["required_essences"] == "5" then - Tracker:FindObjectForCode("allessence").CurrentStage = 5 - elseif slot_data["required_essences"] == "6" then - Tracker:FindObjectForCode("allessence").CurrentStage = 6 - elseif slot_data["required_essences"] == "7" then - Tracker:FindObjectForCode("allessence").CurrentStage = 7 - elseif slot_data["required_essences"] == "8" then - Tracker:FindObjectForCode("allessence").CurrentStage = 8 + if slot_data["logic_difficulty"] then + if slot_data["logic_difficulty"] == "0" then + Tracker:FindObjectForCode("logic").CurrentStage = 1 + --elseif slot_data["logic_difficulty"] == "1" then + --Tracker:FindObjectForCode("logic").CurrentStage = 2 + elseif slot_data["logic_difficulty"] == "2" then + Tracker:FindObjectForCode("logic").CurrentStage = 2 end end + if slot_data["required_essences"] then + Tracker:FindObjectForCode("allessence").AcquiredCount = slot_data["required_essences"] + end + if SLOT_DATA == nil then return end diff --git a/var_archipelago/items/items.json b/var_archipelago/items/items.json index 17ccfc5..471ff58 100644 --- a/var_archipelago/items/items.json +++ b/var_archipelago/items/items.json @@ -701,12 +701,12 @@ "stages": [ { "img": "images/items/l_bas.png", - "codes": "l_bas", + "codes": "l_bas, logic", "inherit_codes": false }, { "img": "images/items/l_hard.png", - "codes": "l_hard", + "codes": "l_hard, logic", "inherit_codes": false } ] @@ -1525,7 +1525,7 @@ "type": "toggle", "loop": true, "img": "images/items/goron sword.png", - "codes": "bigsword, sword2" + "codes": "bigsword, sword, sword2" }, // TRADE ITEMS { diff --git a/versions.json b/versions.json index 173efa9..9d68c9b 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,14 @@ { "versions": [ + { + "package_version": "0.7.1.2", + "download_url": "https://github.com/Br00ty/ooa_brooty/releases/download/0.7.1.2/ooa_brooty.zip", + "sha256": "f59c06a20316a22f7d878938802e8909d9e0af973cabaa186ac6f3034222ea94", + "changelog": [ + "added autotracking for required essences and logic", + "fixed big goron sword not acting like a sword" + ] + }, { "package_version": "0.7.1.1", "download_url": "https://github.com/Br00ty/ooa_brooty/releases/download/0.7.1.1/ooa_brooty.zip", @@ -16,7 +25,7 @@ "changelog": [ "removed tokay market for now since it isnt implemented", "seperate the tuni nuts", - "fix middle man location", + "fix middle man location" ] }, {