Skip to content

Commit

Permalink
Add support for removal of wood types and stone-sourced materials (cl…
Browse files Browse the repository at this point in the history
…oses #28)
  • Loading branch information
berichan committed Oct 2, 2020
1 parent 85f1e93 commit 07df978
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ACNHMS_Source/Assets/Scripts/ACNHMS/AdditionalPanel/UI_Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public enum RemovalItem
Flower,
Tree,
Stone,
Wood,
RockMaterial,
Internal
}

Expand Down Expand Up @@ -262,6 +264,10 @@ public static class RemovalItemExt
return RemovalItem.TreeBranch;
if (ItemExtensions.IsInternalItem(i))
return RemovalItem.Internal;
if (i >= 2767 && i <= 2769)
return RemovalItem.Wood;
if (i == 2511 || i == 2502 || i == 3090)
return RemovalItem.RockMaterial;

FieldItemList.Items.TryGetValue(i, out var def);
if (def != null)
Expand Down

0 comments on commit 07df978

Please sign in to comment.