mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
Updates from Feedback, Wallet size affects reduction rate and wider range of interval options. (#3335)
This commit is contained in:
parent
127f2651df
commit
ecafa87195
@ -369,7 +369,8 @@ void RegisterRupeeDash() {
|
|||||||
if (rupeeDashTimer >= rdmTime) {
|
if (rupeeDashTimer >= rdmTime) {
|
||||||
rupeeDashTimer = 0;
|
rupeeDashTimer = 0;
|
||||||
if (gSaveContext.rupees > 0) {
|
if (gSaveContext.rupees > 0) {
|
||||||
Rupees_ChangeBy(-1);
|
uint16_t walletSize = (CUR_UPG_VALUE(UPG_WALLET) + 1) * -1;
|
||||||
|
Rupees_ChangeBy(walletSize);
|
||||||
} else {
|
} else {
|
||||||
Health_ChangeBy(gPlayState, -16);
|
Health_ChangeBy(gPlayState, -16);
|
||||||
}
|
}
|
||||||
|
@ -1129,7 +1129,7 @@ void DrawEnhancementsMenu() {
|
|||||||
|
|
||||||
if (CVarGetInteger("gRupeeDash", 0)) {
|
if (CVarGetInteger("gRupeeDash", 0)) {
|
||||||
UIWidgets::PaddedEnhancementSliderInt(
|
UIWidgets::PaddedEnhancementSliderInt(
|
||||||
"Rupee Dash Interval: %d", "##DashInterval", "gDashInterval", 3, 5, "", 5, true, true, false,
|
"Rupee Dash Interval: %d", "##DashInterval", "gDashInterval", 1, 10, "", 5, true, true, false,
|
||||||
!CVarGetInteger("gRupeeDash", 0),
|
!CVarGetInteger("gRupeeDash", 0),
|
||||||
"This option is disabled because \"Rupee Dash Mode\" is turned off");
|
"This option is disabled because \"Rupee Dash Mode\" is turned off");
|
||||||
UIWidgets::Tooltip("Interval between Rupee reduction in Rupee Dash Mode");
|
UIWidgets::Tooltip("Interval between Rupee reduction in Rupee Dash Mode");
|
||||||
|
Loading…
Reference in New Issue
Block a user