Skip to content

Commit

Permalink
add in the other missing grids
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Oct 21, 2024
1 parent 1e55c93 commit 3302455
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Winch/Data/GridKeyExtra.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@
[EnumHolder]
public static class GridKeyExtra
{
public const GridKey SOLDIER_BAIT_1_OUTPUT = GridKey.SOLDIER_BAIT_3_INPUT + 1;
public const GridKey SOLDIER_BAIT_2_OUTPUT = GridKey.SOLDIER_BAIT_3_INPUT + 2;
public const GridKey SOLDIER_BAIT_3_OUTPUT = GridKey.SOLDIER_BAIT_3_INPUT + 3;

public const GridKey DS_PYRE = GridKey.DS_STATUE_3 + 1;
public const GridKey DS_LIGHTHOUSE_RUIN_DOOR = GridKey.DS_LIGHTHOUSE_RUIN_REWARD - 1;

public const GridKey GM_FISHMONGER_CRAB_POT = GridKey.GM_FISHMONGER_DELIVERY_1 - 1;

public const GridKey UPGRADE_T1_HULL = GridKey.UPGRADE_T1_FISHING_1 - 1;

public const GridKey DLC1_ICE_CUTTER_REWARD = GridKey.DLC1_ICE_CUTTER_MATERIALS + 1;

public const GridKey HOODED_FIGURE_1A = (GridKey)4300;
public const GridKey HOODED_FIGURE_1B = (GridKey)4301;
public const GridKey HOODED_FIGURE_1C = (GridKey)4302;
Expand Down
14 changes: 14 additions & 0 deletions Winch/Util/QuestUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@ internal static GridKey GetQuestGridKeyByName(string name)
{
switch (name)
{
case "DSPyre":
return GridKeyExtra.DS_PYRE;
case "LighthouseRuinDoor":
return GridKeyExtra.DS_LIGHTHOUSE_RUIN_DOOR;
case "SoldierInspectTrap1":
return GridKeyExtra.SOLDIER_BAIT_1_OUTPUT;
case "SoldierInspectTrap2":
return GridKeyExtra.SOLDIER_BAIT_2_OUTPUT;
case "SoldierInspectTrap3":
return GridKeyExtra.SOLDIER_BAIT_3_OUTPUT;
case "Fishmonger_CrabPot":
return GridKeyExtra.GM_FISHMONGER_CRAB_POT;
case "DLC1_IceCutterReward":
return GridKeyExtra.DLC1_ICE_CUTTER_REWARD;
case "HoodedFigure1A":
return GridKeyExtra.HOODED_FIGURE_1A;
case "HoodedFigure1B":
Expand Down

0 comments on commit 3302455

Please sign in to comment.