Skip to content

Commit

Permalink
gridKey
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Aug 15, 2024
1 parent f5be382 commit 1bd6bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Winch/Serialization/Item/DeployableItemDataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class DeployableItemDataConverter : HarvesterItemDataConverter
{ "damageMode", new(DamageMode.DURABILITY, null) },
{ "catchRate", new(1f, o => float.Parse(o.ToString()))},
{ "gridConfiguration", new( null, null ) },
{ "gridKey", new( GridKey.NONE, o=>DredgeTypeHelpers.GetEnumValue<GridKey>(o) ) },
{ "maxDurabilityDays", new(1f, o => float.Parse(o.ToString())) },
{ "timeBetweenCatchRolls", new(1f, o => float.Parse(o.ToString()))}
};
Expand Down
1 change: 1 addition & 0 deletions Winch/Serialization/Item/TrawlNetItemDataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public class TrawlNetItemDataConverter : DeployableItemDataConverter
{
{ "itemTypeIcon", new(TextureUtil.GetSprite("TrawlIcon"), null) },
{ "itemSubtype", new(ItemSubtype.NET, null) },
{ "gridKey", new( GridKey.TRAWL_NET, null ) },
{ "moveMode", new(MoveMode.INSTALL, null) },
};

Expand Down

0 comments on commit 1bd6bb6

Please sign in to comment.