Skip to content

Commit

Permalink
Refined the description of CraftFromChest features
Browse files Browse the repository at this point in the history
  • Loading branch information
nxPublic committed Jan 31, 2022
1 parent 117bc3f commit 1caeb91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion ValheimPlus/Utility/InventoryAssistant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public static List<Container> GetNearbyChests(GameObject target, float range, bo
var isVagon = foundContainer.GetComponentInParent<Vagon>() != null;
var isShip = foundContainer.GetComponentInParent<Ship>() != null;


if (piece != null
/*&& piece.IsPlacedByPlayer() Prevents detection of ship storage */
&& hasAccess
Expand Down
4 changes: 2 additions & 2 deletions valheim_plus.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -935,10 +935,10 @@ range=20
; We recommend not going below 3 seconds.
lookupInterval=3

; Allows the system to use and see contents of carts for crafting.
; Allows the system to use and see contents of carts for crafting. Might also allow use of other modded containers or vehicles not accessible otherwise.
allowCraftingFromCarts=false

; Allows the system to use and see contents of ships for crafting.
; Allows the system to use and see contents of ships for crafting. Might also allow use of other modded containers or vehicles not accessible otherwise.
allowCraftingFromShips=false

[Windmill]
Expand Down
4 changes: 2 additions & 2 deletions vplusconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,12 @@
"defaultType": "int"
},
"allowCraftingFromCarts": {
"description": "Allows the system to use and see contents of carts for crafting",
"description": "Allows the system to use and see contents of carts for crafting. Might also allow use of other modded containers or vehicles not accessible otherwise.",
"defaultValue": "true",
"defaultType": "bool"
},
"allowCraftingFromShips": {
"description": "Allows the system to use and see contents of ships for crafting",
"description": "Allows the system to use and see contents of ships for crafting. Might also allow use of other modded containers or vehicles not accessible otherwise.",
"defaultValue": "true",
"defaultType": "bool"
}
Expand Down

0 comments on commit 1caeb91

Please sign in to comment.