Skip to content

Commit

Permalink
Merge pull request #89 from Hamsda:ootr
Browse files Browse the repository at this point in the history
update to version 2.9.5.1
  • Loading branch information
Hamsda authored Aug 28, 2020
2 parents 1a2d8b8 + dd2cfcb commit 16d57f8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
Binary file modified ootrando_overworldmap_hamsda.zip
Binary file not shown.
4 changes: 4 additions & 0 deletions ootrando_overworldmap_hamsda/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.9.5.1

- fixed error in bombchu function

## 2.9.5.0

- added more logic tricks
Expand Down
2 changes: 1 addition & 1 deletion ootrando_overworldmap_hamsda/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "OoT Randomizer - Map and Item Tracker",
"game_name": "Ocarina of Time Randomizer",
"package_version": "2.9.5.0",
"package_version": "2.9.5.1",
"package_uid": "ootrando_overworldmap_hamsda",
"author": "Hamsda",
"variants": {
Expand Down
25 changes: 21 additions & 4 deletions ootrando_overworldmap_hamsda/scripts/logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function has_bombchus()
return chus, AccessibilityLevel.SequenceBreak
end
end
return 0, AccessibilityLevel.None
end

function has_explosives()
Expand Down Expand Up @@ -708,14 +709,30 @@ function has_projectile(age)
local bow = has("bow")
local hook = has("hookshot")

local result = false

if age == "child" then
return explo or sling or rang
if explo or sling or rang then
result = true
end
elseif age == "adult" then
return explo or bow or hook
if explo or bow or hook then
result = true
end
elseif age == "both" then
return explo or (bow or hook) and (sling or rang)
if explo or (bow or hook) and (sling or rang) then
result = true
end
else
return explo or (bow or hook) or (sling or rang)
if explo or (bow or hook) or (sling or rang) then
result = true
end
end

if result then
return 1, AccessibilityLevel.Normal
else
return 0, AccessibilityLevel.None
end
end

Expand Down
2 changes: 1 addition & 1 deletion repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"pins",
"chathud"
],
"version": "2.9.5.0",
"version": "2.9.5.1",
"uid": "ootrando_overworldmap_hamsda",
"link": "https://hamsda.github.io/EmoTrackerPacks/ootrando_overworldmap_hamsda.zip",
"documentation_url": "https://github.com/Hamsda/EmoTrackerPacks/blob/master/ootrando_overworldmap_hamsda/README.md",
Expand Down

0 comments on commit 16d57f8

Please sign in to comment.