Skip to content

Commit

Permalink
more updates
Browse files Browse the repository at this point in the history
added req. essences tracking, fixed big goron sword
  • Loading branch information
Br00ty committed Sep 8, 2024
1 parent 452b3b1 commit 247e9b1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
30 changes: 11 additions & 19 deletions scripts/autotracking/archipelago.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions var_archipelago/items/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
Expand Down Expand Up @@ -1525,7 +1525,7 @@
"type": "toggle",
"loop": true,
"img": "images/items/goron sword.png",
"codes": "bigsword, sword2"
"codes": "bigsword, sword, sword2"
},
// TRADE ITEMS
{
Expand Down
11 changes: 10 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
]
},
{
Expand Down

0 comments on commit 247e9b1

Please sign in to comment.