Fix "encumbrance" typo

This commit is contained in:
2025-06-23 20:58:12 -04:00
parent f01eb4db12
commit 96602a5437
4 changed files with 11 additions and 11 deletions

View File

@@ -23,4 +23,4 @@ set RYB.DragTargetPitchMovingSmoothingFactor to 0.03
set RYB.DragTargetPitchStoppedSmoothingFactor to 0.02
set RYB.DragUphillZAdjustmentFactor to 6
set RYB.DragDownhillZAdjustmentFactor to 4.5
set RYB.DragEncumberanceEnabled to 1
set RYB.DragEncumbranceEnabled to 1

Binary file not shown.

View File

@@ -93,7 +93,7 @@ begin GameMode
elseif (Choice == 6)
set ChoosingInit to 0
set ChoosingSettings to 1
MessageBox "Settings", "Toggle Drag Encumberance", "Toggle Rocking", "Toggle Player Weight", "Cancel"
MessageBox "Settings", "Toggle Drag Encumbrance", "Toggle Rocking", "Toggle Player Weight", "Cancel"
set Choice to GetButtonPressed
elseif (Choice == 7)
set ChoosingInit to 0
@@ -185,7 +185,7 @@ begin GameMode
elseif (Choice == 4)
set ChoosingOnLand to 0
set ChoosingSettings to 1
MessageBox "Settings", "Toggle Drag Encumberance", "Toggle Rocking", "Toggle Player Weight", "Cancel"
MessageBox "Settings", "Toggle Drag Encumbrance", "Toggle Rocking", "Toggle Player Weight", "Cancel"
set Choice to GetButtonPressed
elseif (Choice == 5)
set ChoosingOnLand to 0
@@ -216,12 +216,12 @@ begin GameMode
set Choice to GetButtonPressed
if (Choice == 0)
set ChoosingSettings to 0
if (RYB.DragEncumberanceEnabled == 0)
set RYB.DragEncumberanceEnabled to 1
Message "Drag encumberance enabled. You will be encumbered by the weight of the boat when dragging it."
if (RYB.DragEncumbranceEnabled == 0)
set RYB.DragEncumbranceEnabled to 1
Message "Drag encumbrance enabled. You will be encumbered by the weight of the boat when dragging it."
else
set RYB.DragEncumberanceEnabled to 0
Message "Drag encumberance disabled. You will not be encumbered by the weight of the boat when dragging it."
set RYB.DragEncumbranceEnabled to 0
Message "Drag encumbrance disabled. You will not be encumbered by the weight of the boat when dragging it."
endif
elseif (Choice == 1)
set ChoosingSettings to 0

View File

@@ -129,7 +129,7 @@ float DragTargetPitchMovingSmoothingFactor ; Additional smoothing factor on pitc
float DragTargetPitchStoppedSmoothingFactor ; Additional smoothing factor on pitch applied while stopped (default: 0.02)
float DragUphillZAdjustmentFactor ; How much to adjust Z based on angle when going uphill (default: 6.0)
float DragDownhillZAdjustmentFactor ; How much to adjust Z based on angle when going downhill (default: 4.5)
short DragEncumberanceEnabled ; 0 = disabled, 1 = enabled (default: 1)
short DragEncumbranceEnabled ; 0 = disabled, 1 = enabled (default: 1)
; Boat drag angle calculation variables
float dX
float dY
@@ -314,7 +314,7 @@ begin GameMode
set ModVersion to 0.2
set ColliderPosThreshold to 1.0
set LandZThreshold to 40.0
set DragEncumberanceEnabled to 1
set DragEncumbranceEnabled to 1
endif
if (Resetting == -1)
@@ -439,7 +439,7 @@ begin GameMode
if (Dragging == 0)
set Dragging to 1
set DragTargetPitchAngle to 0 ; smooth reset to 0 pitch
if (DragEncumberanceEnabled == 1)
if (DragEncumbranceEnabled == 1)
Player.AddItem RYBBoatToken 1
endif
set fQuestDelayTime to HighUpdateRate ; High update rate while dragging