Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MM Bunny Hood effect separated from ability to equip as adult #3253

Merged
merged 5 commits into from
Oct 15, 2023

Conversation

inspectredc
Copy link
Contributor

@inspectredc inspectredc commented Oct 4, 2023

Includes an option to toggle on/off the ability to equip the MM bunny hood as adult.

I decided to tie this to the MM bunny hood option so that you can only toggle this option and have it have an effect when the MM bunny hood is on, otherwise the user should probably just be using timeless equips.

Build Artifacts

soh/soh/SohMenuBar.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@garrettjoecox garrettjoecox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some more testing, it looks like you also need this

--- a/soh/src/code/z_play.c
+++ b/soh/src/code/z_play.c
@@ -653,7 +653,7 @@ void Play_Init(GameState* thisx) {
 
     Fault_AddClient(&D_801614B8, ZeldaArena_Display, NULL, NULL);
     // In order to keep bunny hood equipped on first load, we need to pre-set the age reqs for the item and slot
-    if (CVarGetInteger("gMMBunnyHood", BUNNY_HOOD_VANILLA) != BUNNY_HOOD_VANILLA || CVarGetInteger("gTimelessEquipment", 0)) {
+    if ((CVarGetInteger("gMMBunnyHood", BUNNY_HOOD_VANILLA) != BUNNY_HOOD_VANILLA && CVarGetInteger("gAdultBunnyHood", 0)) || CVarGetInteger("gTimelessEquipment", 0)) {
         gItemAgeReqs[ITEM_MASK_BUNNY] = 9;
         if(INV_CONTENT(ITEM_TRADE_CHILD) == ITEM_MASK_BUNNY)
             gSlotAgeReqs[SLOT_TRADE_CHILD] = 9;

inspectredc and others added 2 commits October 4, 2023 16:14
Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
@inspectredc
Copy link
Contributor Author

thanks hadn't thought about that! also completely forgot to look at what checkboxgraphics options there were 🤦🏼

@garrettjoecox garrettjoecox merged commit fe90ad0 into HarbourMasters:develop Oct 15, 2023
garrettjoecox added a commit that referenced this pull request Oct 16, 2023
* typo on asset attribute for pal1.1 (#3264)

* typo on asset attribute

* base address fix

* [Cosmetic] Adds Bunny Hood to Cosmetic Editor (#3245)

* Color and Invisible Checkbox

GI model crashes when talking to mask salesman

* Update z_player.c

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* Update z_player.c

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* Move bunny hood coloring to patch

---------

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* redicle -> reticle (#3257)

* Equip Tunic and Boots while performing most actions (#3239)

* tunics and boot equips initial

todo: find an appropriate place to first put Player_AssignTunicBoots

* move to more appropriate place

* assign -> use

* [Difficulty Options] All Dogs are Richard (#3243)

* Oops, all Richards!

* Sure is

* Randomizer - Colored hints (#3259)

* Colored hints

* Missed 2 french translations

* add save editor field for current b button item (#3262)

* TWEAK: Add transition to the Time Travel feature (#3276)

* ADD/ Proper Transition

* REM: Dupe

* MM Bunny Hood effect separated from ability to equip as adult (#3253)

* adult separator

* use cross instead of checkmark

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* suggested load fix

---------

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

---------

Co-authored-by: Adam Bird <Archez@users.noreply.github.com>
Co-authored-by: Patrick12115 <115201185+Patrick12115@users.noreply.github.com>
Co-authored-by: inspectredc <78732756+inspectredc@users.noreply.github.com>
Co-authored-by: aMannus <mannusmenting@gmail.com>
Co-authored-by: PurpleHato <linkvssangoku.jr@gmail.com>
DeusVexus pushed a commit to DeusVexus/Shipwright that referenced this pull request Oct 17, 2023
…rMasters#3253)

* adult separator

* use cross instead of checkmark

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>

* suggested load fix

---------

Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants