Skip to content

Commit

Permalink
added Kakariko Gate and Complete Mask Quest settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamsda committed Sep 10, 2020
1 parent dd2cfcb commit 5f5a6d2
Show file tree
Hide file tree
Showing 12 changed files with 115 additions and 45 deletions.
15 changes: 15 additions & 0 deletions ootrando_overworldmap_hamsda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ This setting determines if you can leave the Kokiri Forest without beating the D
- ![Closed Deku](images/setting_forest_deku.png "Closed Deku") You can leave Kokiri Forest but will need the Kokiri Sword and Deku Shield to go to the Deku Tree.
- ![Open Forest](images/setting_forest_open.png "Open Forest") You can immediately leave Kokiri Forest and go to the Deku Tree.

#### Kakariko Gate

This setting determines the behaviour of the Kakariko Gate to Death Mountain Trail as child as well as the Happy Mask Shop.

- ![Open Gate](images/setting_kak_open.png "Open Gate") The gate is always open. The Happy Mask Shop opens once you obtain Zelda's Letter.
- ![Zelda's Letter Opens Gate](images/setting_kak_letter.png "Zelda's Letter Opens Gate") Both the gate and the Happy Mask Shop open once you obtain Zelda's Letter.
- ![Closed Gate](images/setting_kak_closed.png "Closed Gate") Both the gate and the Happy Mask Shop are closed until showing Zelda's Letter to the guard.

#### Door of Time

This setting determines whether the Door of Time starts open or closed.
Expand Down Expand Up @@ -176,6 +184,13 @@ This setting determines if Magic Beans are shuffled.
- ![Magic Beans not shuffled](images/setting_shuffle_beans_no.png "Magic Beans not shuffled") Magic Beans are not shuffled and will be captured in the corresponding chest by default.
- ![Magic Beans shuffled](images/setting_shuffle_beans_yes.png "Magic Beans shuffled") The Magic Beans are shuffled into the item pool and will not be captured.

#### Complete Mask Quest

This setting determines if all masks will be available once the Happy Mask Shop is open.

- ![Mask Quest not complete](images/setting_masks_off.png "Mask Quest not complete") The mask quest has to be completed step by step like in the vanilla game.
- ![Mask Quest complete](images/setting_masks_complete.png "Mask Quest complete") All the masks will be available once the Happy Mask Shop is open.

#### Hints

This setting determines when hintable locations will show up on the map ([see wiki](https://wiki.ootrandomizer.com/index.php?title=Readme#Other)).
Expand Down
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

## x

- added Kakariko Gate and Complete Mask Quest settings

## 2.9.5.1

- fixed error in bombchu function
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions ootrando_overworldmap_hamsda/items/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,52 +229,52 @@
},
{
"img": "images/sold_out.png",
"codes": "kidtrade,soldout,lettershown,postzelda",
"codes": "kidtrade,lettershown,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/keaton.png",
"codes": "kidtrade,keaton,keatonmask,postzelda",
"codes": "kidtrade,keaton,keatonmask,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/sold_out.png",
"codes": "kidtrade,soldout,keatonsold,postzelda",
"codes": "kidtrade,keatonsold,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/skull.png",
"codes": "kidtrade,skullmask,skull,postzelda",
"codes": "kidtrade,skullmask,skull,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/sold_out.png",
"codes": "kidtrade,soldout,skullsold,postzelda",
"codes": "kidtrade,skullsold,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/spooky.png",
"codes": "kidtrade,spooky,spookymask,postzelda",
"codes": "kidtrade,spooky,spookymask,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/sold_out.png",
"codes": "kidtrade,soldout,spookysold,postzelda",
"codes": "kidtrade,spookysold,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/bunny.png",
"codes": "kidtrade,bunny,bunnyhood,postzelda",
"codes": "kidtrade,bunny,bunnyhood,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/sold_out.png",
"codes": "kidtrade,soldout,bunnysold,postzelda",
"codes": "kidtrade,bunnysold,postguard,postzelda",
"inherit_codes": false
},
{
"img": "images/truth.png",
"codes": "kidtrade,truth,maskoftruth,mot,postzelda",
"codes": "kidtrade,truth,maskoftruth,mot,postguard,postzelda",
"inherit_codes": false
}
]
Expand Down
40 changes: 40 additions & 0 deletions ootrando_overworldmap_hamsda/items/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@
}
]
},
{
"name": "Kakariko Gate",
"type": "progressive",
"allow_disabled": false,
"loop": true,
"initial_stage_idx": 2,
"stages": [
{
"img": "images/setting_kak_open.png",
"codes": "setting_kak,setting_kak_open"
},
{
"img": "images/setting_kak_letter.png",
"codes": "setting_kak,setting_kak_letter",
"inherit_codes": false
},
{
"img": "images/setting_kak_closed.png",
"codes": "setting_kak,setting_kak_closed",
"inherit_codes": false
}
]
},
{
"name": "Door of Time",
"type": "progressive",
Expand Down Expand Up @@ -330,6 +353,23 @@
}
]
},
{
"name": "Complete Mask Quest",
"type": "progressive",
"allow_disabled": false,
"loop": true,
"stages": [
{
"img": "images/setting_masks_off.png",
"codes": "setting_masks,setting_masks_off"
},
{
"img": "images/setting_masks_complete.png",
"codes": "setting_masks,setting_masks_complete",
"inherit_codes": false
}
]
},
{
"name": "Hints",
"type": "progressive",
Expand Down
21 changes: 14 additions & 7 deletions ootrando_overworldmap_hamsda/layouts/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,41 @@
"setting_age",
"setting_shopsanity",
"setting_shuffle_sword1",
"setting_hints"
"setting_masks"
],
[
"setting_door",
"setting_kak",
"setting_logic_chus",
"setting_tokens_off",
"setting_shuffle_ocarinas",
"setting_damage"
"setting_hints"
],
[
"setting_fountain",
"setting_door",
"",
"setting_scrub_shuffle",
"setting_shuffle_egg",
"setting_plant"
"setting_damage"
],
[
"setting_gerudo",
"setting_fountain",
"",
"setting_cowsanity",
"setting_shuffle_card",
"setting_plant"
],
[
"setting_gerudo",
"",
"",
"setting_shuffle_beans",
""
],
[
"setting_bridge",
"",
"",
"setting_shuffle_beans",
"",
""
],
[
Expand Down
46 changes: 19 additions & 27 deletions ootrando_overworldmap_hamsda/locations/overworld.json
Original file line number Diff line number Diff line change
Expand Up @@ -2273,22 +2273,19 @@
},
{
"name": "Guard",
"access_rules": [
"$has_age|child"
],
"sections": [
{
"name": "Show Letter",
"access_rules": [
"$has_age|child,letter"
],
"visibility_rules": [
"letter"
"setting_kak_closed,letter"
],
"hosted_item": "capture_lettershown"
},
{
"name": "Sell Keaton Mask",
"access_rules": [
"$has_age|child,keaton"
],
"visibility_rules": [
"keaton"
],
Expand Down Expand Up @@ -4016,54 +4013,49 @@
},
{
"name": "Mask Shop",
"access_rules": [
"$has_age|child"
],
"sections": [
{
"name": "Get Keaton Mask",
"access_rules": [
"$has_age|child,lettershown"
],
"visibility_rules": [
"lettershown"
"setting_masks_off,setting_kak_open,letter",
"setting_masks_off,setting_kak_letter,letter",
"setting_masks_off,setting_kak_closed,lettershown",
"setting_masks_complete,$mask_shop_open"
],
"hosted_item": "capture_keaton"
},
{
"name": "Get Skull Mask",
"access_rules": [
"$has_age|child,keatonsold"
],
"visibility_rules": [
"keatonsold"
"keatonsold",
"setting_masks_complete,$mask_shop_open"
],
"hosted_item": "capture_skullmask"
},
{
"name": "Get Spooky Mask",
"access_rules": [
"$has_age|child,skullsold"
],
"visibility_rules": [
"skullsold"
"skullsold",
"setting_masks_complete,$mask_shop_open"
],
"hosted_item": "capture_spooky"
},
{
"name": "Get Bunny Hood",
"access_rules": [
"$has_age|child,spookysold"
],
"visibility_rules": [
"spookysold"
"spookysold",
"setting_masks_complete,$mask_shop_open"
],
"hosted_item": "capture_bunny"
},
{
"name": "Get Mask of Truth",
"access_rules": [
"$has_age|child,bunnysold"
],
"visibility_rules": [
"bunnysold"
"bunnysold",
"setting_masks_complete,$mask_shop_open"
],
"hosted_item": "capture_truth"
}
Expand Down
14 changes: 13 additions & 1 deletion ootrando_overworldmap_hamsda/scripts/logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,24 @@ function adult_colossus()
return 1, level
end

function mask_shop_open()
if (has("setting_kak_open") and has("postzelda"))
or (has("setting_kak_letter") and has("postzelda"))
or (has("setting_kak_closed") and has("postguard"))
then
return 1, AccessibilityLevel.Normal
end
return 0, AccessibilityLevel.None
end

function child_death_mountain()
if has_age("child") == 0 then
return 0, AccessibilityLevel.None
end

if has("postzelda")
if has("setting_kak_open")
or (has("setting_kak_letter") and has("postzelda"))
or (has("setting_kak_closed") and has("postguard"))
or (has("dinsfire") and has("magic"))
then
return 1, AccessibilityLevel.Normal
Expand Down

0 comments on commit 5f5a6d2

Please sign in to comment.