mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
Add enhancement for removing explosive limit (#3242)
This commit is contained in:
parent
76e90c0928
commit
c3ae829370
@ -610,6 +610,8 @@ void DrawEnhancementsMenu() {
|
||||
UIWidgets::Tooltip("Allows child to use bow with arrows.\nAllows adult to use slingshot with seeds.\n\nRequires glitches or 'Timeless Equipment' cheat to equip.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Better Farore's Wind", "gBetterFW", true, false);
|
||||
UIWidgets::Tooltip("Helps FW persist between ages, gives child and adult separate FW points, and can be used in more places.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Remove Explosive Limit", "gRemoveExplosiveLimit", true, false);
|
||||
UIWidgets::Tooltip("Removes the cap of 3 active explosives being deployed at once.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Static Explosion Radius", "gStaticExplosionRadius", true, false);
|
||||
UIWidgets::Tooltip("Explosions are now a static size, like in Majora's Mask and OoT3D. Makes bombchu hovering much easier.");
|
||||
UIWidgets::PaddedEnhancementCheckbox("Prevent Bombchus Forcing First-Person", "gDisableFirstPersonChus", true, false);
|
||||
|
@ -2968,7 +2968,7 @@ void func_80835F44(PlayState* play, Player* this, s32 item) {
|
||||
((actionParam == PLAYER_IA_MAGIC_BEAN) && (AMMO(ITEM_BEAN) == 0)) ||
|
||||
(temp = Player_ActionToExplosive(this, actionParam),
|
||||
((temp >= 0) && ((AMMO(sExplosiveInfos[temp].itemId) == 0) ||
|
||||
(play->actorCtx.actorLists[ACTORCAT_EXPLOSIVE].length >= 3)))))) {
|
||||
(play->actorCtx.actorLists[ACTORCAT_EXPLOSIVE].length >= 3 && !CVarGetInteger("gRemoveExplosiveLimit", 0))))))) {
|
||||
func_80078884(NA_SE_SY_ERROR);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user