mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-01 22:02:18 -05:00
fast chests
This commit is contained in:
parent
c6622e6c87
commit
5b7dad1de2
@ -864,6 +864,8 @@ namespace SohImGui {
|
|||||||
Tooltip("Allows equiping the tunic and boots to c-buttons");
|
Tooltip("Allows equiping the tunic and boots to c-buttons");
|
||||||
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
EnhancementCheckbox("MM Bunny Hood", "gMMBunnyHood");
|
||||||
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
Tooltip("Wearing the Bunny Hood grants a speed increase like in Majora's Mask");
|
||||||
|
EnhancementCheckbox("Fast Chests", "gFastChests");
|
||||||
|
Tooltip("Kick open every chest");
|
||||||
EnhancementCheckbox("Better Owl", "gBetterOwl");
|
EnhancementCheckbox("Better Owl", "gBetterOwl");
|
||||||
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
Tooltip("The default response to Kaepora Gaebora is always that you understood what he said");
|
||||||
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
EnhancementCheckbox("Disable Navi Call Audio", "gDisableNaviCallAudio");
|
||||||
|
@ -6181,6 +6181,9 @@ s32 func_8083E5A8(Player* this, GlobalContext* globalCtx) {
|
|||||||
if (this->getItemId != GI_NONE) {
|
if (this->getItemId != GI_NONE) {
|
||||||
GetItemEntry* giEntry = &sGetItemTable[-this->getItemId - 1];
|
GetItemEntry* giEntry = &sGetItemTable[-this->getItemId - 1];
|
||||||
EnBox* chest = (EnBox*)interactedActor;
|
EnBox* chest = (EnBox*)interactedActor;
|
||||||
|
if(CVar_GetS32("gFastChests", 0) != 0) {
|
||||||
|
giEntry->gi = -1 * abs(giEntry->gi);
|
||||||
|
}
|
||||||
|
|
||||||
if (giEntry->itemId != ITEM_NONE) {
|
if (giEntry->itemId != ITEM_NONE) {
|
||||||
if (((Item_CheckObtainability(giEntry->itemId) == ITEM_NONE) && (giEntry->field & 0x40)) ||
|
if (((Item_CheckObtainability(giEntry->itemId) == ITEM_NONE) && (giEntry->field & 0x40)) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user