Skip to content

Commit

Permalink
Logic fixes, a few more connection integrations added.
Browse files Browse the repository at this point in the history
  • Loading branch information
nerthul11 committed Aug 7, 2024
1 parent 86a476e commit 942ced7
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 22 deletions.
2 changes: 1 addition & 1 deletion BreakableWallRandomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace BreakableWallRandomizer
public class BreakableWallRandomizer : Mod, IGlobalSettings<BWR_Settings>
{
new public string GetName() => "Breakable Wall Randomizer";
public override string GetVersion() => "3.0.2.0";
public override string GetVersion() => "3.0.2.1";
public BWR_Settings GS { get; set; } = new();
private static BreakableWallRandomizer _instance;
public BreakableWallRandomizer() : base()
Expand Down
4 changes: 2 additions & 2 deletions BreakableWallRandomizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<Product>BreakableWallRandomizer</Product>
<Description>A Randomizer add-on for wall and floor objects.</Description>
<Copyright>Copyright ©2023</Copyright>
<AssemblyVersion>3.0.2.0</AssemblyVersion>
<FileVersion>3.0.2.0</FileVersion>
<AssemblyVersion>3.0.2.1</AssemblyVersion>
<FileVersion>3.0.2.1</FileVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
<LangVersion>latest</LangVersion>
</PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion IC/WallObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public CondensedWallObject(string name, string sceneName, string gameObject, str
public class ConnectionLogicObject
{
public string name;
public string sourceMod;
public string logicOverride;
public Dictionary<string, string> logicSubstitutions;
}
Expand Down
8 changes: 5 additions & 3 deletions Resources/Data/BreakableWallObjects.json
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,9 @@
"groupWalls": [],
"group": "",
"logic": "White_Palace_09[right1] + (LEFTSUPERDASH + (FULLCLAW | WINGS) | RIGHTCLAW + LEFTDASH + OBSCURESKIPS + PRECISEMOVEMENT + ($SHRIEKPOGO[1,1,1,1,1] | LEFTSHARPSHADOW + $SHRIEKPOGO[1,1,1,1]))",
"logicOverrides": {},
"logicOverrides": {
"Lore_Tablet-Palace_Throne": "ORIG + Wall-White_Palace_Throne"
},
"logicSubstitutions": {}
},
{
Expand Down Expand Up @@ -3018,8 +3020,8 @@
"group": "",
"logic": "Tutorial_01",
"logicOverrides": {
"Geo_Rock-King's_Pass_Above_Fury": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (RIGHTCLAW | LEFTCLAW + WINGS + RIGHTDASH + LONGMARK + BACKGROUNDPOGOS))",
"Geo_Rock-King's_Pass_Collapse": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (FULLCLAW | WINGS))",
"Geo_Rock-King's_Pass_Above_Fury": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (RIGHTCLAW | LEFTCLAW + WINGS + RIGHTDASH + LONGMARK + BACKGROUNDPOGOS | WINGS + ENEMYPOGOS))",
"Geo_Rock-King's_Pass_Collapse": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (FULLCLAW | LEFTCLAW + WINGS + RIGHTDASH + LONGMARK + BACKGROUNDPOGOS | WINGS + (RIGHTCLAW | ENEMYPOGOS)))",
"Lore_Tablet-King's_Pass_Fury": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (ANYCLAW | WINGS))",
"Fury_of_the_Fallen": "(ORIG + Plank-King's_Pass) | (Tutorial_01 + (ANYCLAW | WINGS))"
},
Expand Down
30 changes: 21 additions & 9 deletions Resources/Data/WallGroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"Cliffs_01[right4]": "Cliffs_01[right4] + Wall-Grimm_Inner + (Plank-Grimm_Exit | (Wall-Grimm_Outer + ANYCLAW))"
},
"Lore_Tablet-Howling_Cliffs": {
"Cliffs_01[right1]": "(Cliffs_01[right1] + (Wall-Grimm_Outer | Plank-Grimm_Exit))",
"Cliffs_01[right2]": "(Cliffs_01[right2] + (Wall-Grimm_Outer | Plank-Grimm_Exit))",
"Cliffs_01[right3]": "(Cliffs_01[right3] + (Wall-Grimm_Outer | Plank-Grimm_Exit))",
"Cliffs_01[right1]": "(Cliffs_01[right1] + (Wall-Grimm_Outer | Plank-Grimm_Exit + (ANYCLAW | WINGS + ENEMYPOGOS)))",
"Cliffs_01[right2]": "(Cliffs_01[right2] + (Wall-Grimm_Outer | Plank-Grimm_Exit + (ANYCLAW | WINGS + ENEMYPOGOS)))",
"Cliffs_01[right3]": "(Cliffs_01[right3] + (Wall-Grimm_Outer | Plank-Grimm_Exit + (ANYCLAW | WINGS + ENEMYPOGOS)))",
"Cliffs_01[right4]": "(Cliffs_01[right4] + Wall-Grimm_Inner + ANYCLAW)"
},
"Wanderer's_Journal-Cliffs": {
Expand Down Expand Up @@ -55,10 +55,11 @@
"group": "Nosk_Walls",
"logic": "Deepnest_31[right1] + (LEFTSLASH | UPSLASH | SCREAM | LEFTFIREBALL | ANYCLAW | WINGS | LEFTDASH | (FIREBALLSKIPS + (RIGHTFIREBALL | SCREAM)) + $CASTSPELL[3]) | Deepnest_31[right2] + ((RIGHTCLAW | LEFTCLAW + (WINGS | BACKGROUNDPOGOS)) | (ANYCLAW | WINGS))",
"logicOverrides": {
"Deepnest_31[right2]": "Deepnest_31[right2] | ((ORIG) + (Wall-Nosk_Outer + Wall-Nosk_Inner | Plank-Nosk_Exit))",
"Deepnest_31[right1]": "Deepnest_31[right1] | (ORIG) + (Wall-Nosk_Outer + Wall-Nosk_Inner | Plank-Nosk_Exit)",
"Deepnest_31[right2]": "Deepnest_31[right2] | (ORIG) + (Wall-Nosk_Outer + Wall-Nosk_Inner | Plank-Nosk_Exit)",
"Geo_Rock-Deepnest_Nosk_1": "Deepnest_31[right1] + (ANYCLAW | WINGS | LEFTDASH | (FIREBALLSKIPS + (RIGHTFIREBALL | SCREAM)) + $CASTSPELL[3]) + Wall-Nosk_Outer | Deepnest_31[right2] + ((ANYCLAW | WINGS) + Wall-Nosk_Inner | (RIGHTCLAW | LEFTCLAW + (WINGS | BACKGROUNDPOGOS)) + Plank-Nosk_Exit + Wall-Nosk_Outer)",
"Geo_Rock-Deepnest_Nosk_2": "Deepnest_31[right1] + (ANYCLAW | WINGS | LEFTDASH | (FIREBALLSKIPS + (RIGHTFIREBALL | SCREAM)) + $CASTSPELL[3]) + Wall-Nosk_Outer | Deepnest_31[right2] + ((ANYCLAW | WINGS) + Wall-Nosk_Inner | (RIGHTCLAW | LEFTCLAW + (WINGS | BACKGROUNDPOGOS)) + Plank-Nosk_Exit + Wall-Nosk_Outer)",
"Geo_Rock-Deepnest_Nosk_3": "Deepnest_31[right2]",
"Geo_Rock-Deepnest_Nosk_3": "Deepnest_31[right2] | (ORIG) + (Wall-Nosk_Outer + Wall-Nosk_Inner | Plank-Nosk_Exit)",
"Grub-Deepnest_Nosk": "Deepnest_31[right1] | Deepnest_31[right2] + ((RIGHTCLAW | LEFTCLAW + (WINGS | BACKGROUNDPOGOS)) + Plank-Nosk_Exit | (ANYCLAW | WINGS) + Wall-Nosk_Outer + Wall-Nosk_Inner)"
},
"logicSubstitutions": {}
Expand Down Expand Up @@ -87,6 +88,7 @@
"Deepnest_41[left2]": "(Deepnest_41[left2] + Plank-Village_Upper + Plank-Village_Lower)"
},
"Deepnest_41[right1]": {
"Deepnest_41[left1]": "(Deepnest_41[left1] + Plank-Village_Upper + Plank-Village_Middle)",
"Deepnest_41[left2]": "(Deepnest_41[left2] + Plank-Village_Upper + Plank-Village_Lower)"
}
}
Expand All @@ -106,10 +108,8 @@
"group": "Catacombs_Walls",
"logic": "RestingGrounds_10",
"logicOverrides": {
"Geo_Rock-Resting_Grounds_Catacombs_Left_Dupe": "RestingGrounds_10 + Wall-Catacombs_Left_1",
"Geo_Chest-Resting_Grounds": "(ORIG) + Wall-Catacombs_Right_1",
"Geo_Rock-Resting_Grounds_Catacombs_Grub": "(ORIG) + Wall-Catacombs_Right_1 + Wall-Catacombs_Grub",
"Geo_Rock-Resting_Grounds_Catacombs_Left": "(ORIG) + Wall-Catacombs_Left_1 + Wall-Catacombs_Left_2",
"Grub-Resting_Grounds": "(ORIG) + Wall-Catacombs_Right_1 + Wall-Catacombs_Grub",
"Hallownest_Seal-Resting_Grounds_Catacombs": "(ORIG) + Wall-Catacombs_Left_1 + Wall-Catacombs_Left_2 + Wall-Catacombs_Seal",
"Opened_Resting_Grounds_Catacombs_Wall": "Plank-Catacombs_Elevator",
"RestingGrounds_10[left1]": "(ORIG) + Plank-Catacombs_Elevator",
Expand All @@ -118,6 +118,18 @@
"Wanderer's_Journal-Resting_Grounds_Catacombs": "(ORIG) + Wall-Catacombs_Right_1 + Wall-Catacombs_Right_2"
},
"logicSubstitutions": {
"Geo_Rock-Resting_Grounds_Catacombs_Grub":
{
"UPWALLBREAK": "Wall-Catacombs_Right_1 + Wall-Catacombs_Grub"
},
"Geo_Rock-Resting_Grounds_Catacombs_Left":
{
"UPWALLBREAK": "Wall-Catacombs_Left_1 + Wall-Catacombs_Left_2"
},
"Grub-Resting_Grounds":
{
"UPWALLBREAK": "Wall-Catacombs_Right_1 + Wall-Catacombs_Grub"
},
"RestingGrounds_10": {
"RestingGrounds_10[left1]": "RestingGrounds_10[left1] + Plank-Catacombs_Elevator",
"RestingGrounds_10[top2]": "RestingGrounds_10[top2] + Wall-Catacombs_Right_1 + Wall-Catacombs_Grey_Mourner"
Expand Down Expand Up @@ -164,7 +176,7 @@
"Broke_Quake_Floor_After_Soul_Master_3": "Dive_Floor-Inner_Sanctum_Grub",
"Broke_Quake_Floor_After_Soul_Master_4": "Dive_Floor-Inner_Sanctum_Bottom",
"Broke_Sanctum_Geo_Rock_Quake_Floor": "Dive_Floor-Inner_Sanctum_Cenda",
"Hallownest_Seal-Soul_Sanctum": "(ORIG + Dive_Floor-Inner_Sanctum_Seal) | Ruins1_32[right2] + Dive_Floor-Inner_Sanctum_Lever + (LEFTCLAW | RIGHTCLAW + (ENEMYPOGOS | WINGS) | (WINGS + ENEMYPOGOS))",
"Hallownest_Seal-Soul_Sanctum": "(ORIG + Dive_Floor-Inner_Sanctum_Seal) | Ruins1_32[right2] + Lever-Sanctum_West_Upper?TRUE + Dive_Floor-Inner_Sanctum_Lever + (LEFTCLAW | RIGHTCLAW + (ENEMYPOGOS | WINGS) | (WINGS + ENEMYPOGOS))",
"Ruins1_32[right1]": "(ORIG) | (Ruins1_32[right2] + Dive_Floor-Inner_Sanctum_2 + ((RIGHTCLAW | ENEMYPOGOS) + Lever-Sanctum_West_Upper?TRUE | (RIGHTCLAW + (WINGS | ENEMYPOGOS)) + Dive_Floor-Inner_Sanctum_1) + (Lever-Sanctum_West_Lower?TRUE + Dive_Floor-Inner_Sanctum_Seal + Dive_Floor-Inner_Sanctum_Lever + (LEFTCLAW | RIGHTCLAW + (ENEMYPOGOS | WINGS) | (WINGS + ENEMYPOGOS)) | (WINGS + ENEMYPOGOS + Dive_Floor-Inner_Sanctum_Bottom + Dive_Floor-Inner_Sanctum_Grub)))"
},
"logicSubstitutions": {}
Expand Down
19 changes: 13 additions & 6 deletions Resources/Logic/ConnectionOverrides.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,45 @@
[
{
"name": "Chandelier-Watcher_Knights",
"logicOverride": "ORIG + Wall-Chandelier",
"logicSubstitutions": {}
},
{
"name": "Lever-Palace_Final",
"sourceMod": "RandomizableLevers",
"logicOverride": "ORIG | White_Palace_12[bot1] + RIGHTCLAW + LEFTSUPERDASH + Wall-White_Palace_Shortcut + Plank-White_Palace_Shortcut_Exit",
"logicOverride": "(ORIG) | White_Palace_12[bot1] + RIGHTCLAW + LEFTSUPERDASH + Wall-White_Palace_Shortcut + Plank-White_Palace_Shortcut_Exit",
"logicSubstitutions": {}
},
{
"name": "Lever-Pilgrim's_Way_Left",
"sourceMod": "RandomizableLevers",
"logicOverride": "",
"logicSubstitutions": {
"QUAKE": "Dive_Floor-Pilgrim's_Way"
}
},
{
"name": "Lever-Pilgrim's_Way_Right",
"sourceMod": "RandomizableLevers",
"logicOverride": "",
"logicSubstitutions": {
"QUAKE": "Dive_Floor-Pilgrim's_Way"
}
},
{
"name": "Lever-Sanctum_West_Upper",
"sourceMod": "RandomizableLevers",
"logicOverride": "",
"logicSubstitutions": {
"QUAKE": "Dive_Floor-Inner_Sanctum_1"
}
},
{
"name": "Lever-Sanctum_West_Lower",
"sourceMod": "RandomizableLevers",
"logicOverride": "Ruins1_32[right2] | (ORIG) + Dive_Floor-Inner_Sanctum_2 + (Dive_Floor-Inner_Sanctum_Grub + Dive_Floor-Inner_Sanctum_Bottom | Dive_Floor-Inner_Sanctum_Seal + Dive_Floor-Inner_Sanctum_Lever + Lever-Sanctum_West_Lower)",
"logicSubstitutions": {}
},
{
"name": "Mr_Mushroom-Kingdom's_Edge",
"logicOverride": "",
"logicSubstitutions": {
"Deepnest_East_01[right1]": "Deepnest_East_01[right1] + Plank-Hive_Exit"
}
}
]

0 comments on commit 942ced7

Please sign in to comment.