Skip to content

Commit 830a8a2

Browse files
committed
Add conveyor force-walking
1 parent 5dd40b3 commit 830a8a2

File tree

3 files changed

+388
-347
lines changed

3 files changed

+388
-347
lines changed

src/dialog/comboeditor.cpp

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -922,16 +922,14 @@ void ComboEditorDialog::loadComboType()
922922
}
923923
case cCVUP: case cCVDOWN: case cCVLEFT: case cCVRIGHT:
924924
{
925-
l_flag[0] = "Stunned while moving";
926-
h_flag[0] = "While the conveyor is moving the Player, they are 'stunned'.";
927925
l_flag[1] = "Custom Speed";
928926
h_flag[1] = "Uses a custom speed/direction via attributes. If disabled, moves at 2 pixels every 3 frames in the " + dirstr[local_comboref.type-cCVUP] + "ward direction.";
929927
l_flag[2] = "Force Dir";
930928
h_flag[2] = "Forces the Player to face in the conveyor's direction";
931-
l_flag[3] = "Smart Corners";
932-
h_flag[3] = "Uses the half-combo-grid to help avoid getting stuck on corners";
933929
l_flag[4] = "Heavy Boots Disable";
934930
h_flag[4] = "If the player has boots with the 'heavy' flag, the conveyor will not push them.";
931+
l_flag[5] = "Force Walk";
932+
h_flag[5] = "The player will walk the speed/dir of the conveyor, unable to walk against it. Requires Newer Player Movement." + QRHINT({qr_NEW_HERO_MOVEMENT2});
935933
if(FL(cflag2)) //Custom speed
936934
{
937935
l_attribute[0] = "X Speed:";
@@ -941,6 +939,13 @@ void ComboEditorDialog::loadComboType()
941939
l_attribyte[0] = "Rate:";
942940
h_attribyte[0] = "Every this many frames the conveyor moves by the set speeds. If set to 0, acts as if set to 1.";
943941
}
942+
if(!FL(cflag6)) //Force Walk
943+
{
944+
l_flag[0] = "Stunned while moving";
945+
h_flag[0] = "While the conveyor is moving the Player, they are 'stunned'.";
946+
l_flag[3] = "Smart Corners";
947+
h_flag[3] = "Uses the half-combo-grid to help avoid getting stuck on corners";
948+
}
944949
break;
945950
}
946951
case cTALLGRASS: case cTALLGRASSTOUCHY: case cTALLGRASSNEXT:

0 commit comments

Comments
 (0)