-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Winch - Now uses HarmonyX - Updated game libs - New `EnumUtil` class for helping modders to parse or create enums during runtime - Custom fish now get added to encyclopedia - Item IDs must be unique now. It will error if you have duplicate items. - Fixed a bug that stops you from reloading your save after exiting to main menu - Fixed item data converters not including base class fields - Added a ton of missing fields and default values for existing item data converters - Fix nets ignoring slots that only accept certain item types when you pickup and place an item - Item type icons - New item data types - `Durable` - `Nets` - New asset folder `GridConfigs` for making trawl nets' and crab pots' inventory grid. - Can now actually make fish aberrations and connect them to their original version. - New POI type `Items`. A spot that you can pick up 1 item from. Vanilla uses this for message in a bottles. - Fix item poi handler to not decrease stock when item cannot fit in inventory (for the ItemPOIs above) ### Example Items - Added harvest POI that was sitting in project but wasn't actually copied to the mod build - Added tons of more examples - POIs for actually getting these items (they are all by the Gale Cliffs Pontoon) - Aberrations - Crab - Trinket - Fishing Rod - Crab Pot - Trawl Net - Engine - Light - Relic - Researchable Book - Message in a Bottle - Note - Journal
- Loading branch information
Showing
160 changed files
with
10,166 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Disaster button | ||
|
||
Press the delete key to trigger a random world event. |
41 changes: 41 additions & 0 deletions
41
Winch.Examples/ExampleItems/Assets/GridConfigs/exampleitems.cobweb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"columns": 7, | ||
"rows": 7, | ||
"cellGroupConfigs": [ | ||
{ | ||
"cells": [ | ||
"XXXXXXX", | ||
"XXXXXXX", | ||
"XXXXXXX", | ||
"XXX XXX", | ||
"XXXXXXX", | ||
"XXXXXXX", | ||
"XXXXXXX" | ||
], | ||
"itemType": "GENERAL", | ||
"itemSubtype": "FISH", | ||
"isHidden": false, | ||
"damageImmune": false | ||
}, | ||
{ | ||
"cells": [ | ||
" ", | ||
" ", | ||
" ", | ||
" X ", | ||
" ", | ||
" ", | ||
" " | ||
], | ||
"itemType": "GENERAL", | ||
"itemSubtype": "TRINKET", | ||
"isHidden": false, | ||
"damageImmune": true | ||
} | ||
], | ||
"mainItemType": "GENERAL", | ||
"mainItemSubtype": "FISH", | ||
"itemsInThisBelongToPlayer": true, | ||
"canAddItemsInQuestMode": false, | ||
"hasUnderlay": false | ||
} |
10 changes: 10 additions & 0 deletions
10
Winch.Examples/ExampleItems/Assets/GridConfigs/exampleitems.pot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"columns": 7, | ||
"rows": 7, | ||
"cellGroupConfigs": [], | ||
"mainItemType": "GENERAL", | ||
"mainItemSubtype": "FISH", | ||
"itemsInThisBelongToPlayer": true, | ||
"canAddItemsInQuestMode": false, | ||
"hasUnderlay": false | ||
} |
8 changes: 8 additions & 0 deletions
8
Winch.Examples/ExampleItems/Assets/Items/Books/exampleitems.book.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"itemNameKey": "exampleitems.book.name", | ||
"itemDescriptionKey": "exampleitems.book.desc", | ||
"researchBenefitValue": 0.05, | ||
"researchBenefitType": "MOVEMENT_SPEED", | ||
"daysToResearch": 1, | ||
"completedDescriptionKey": "exampleitems.book.completedDesc" | ||
} |
22 changes: 22 additions & 0 deletions
22
Winch.Examples/ExampleItems/Assets/Items/Durable/exampleitems.ice.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"itemNameKey": "exampleitems.ice.name", | ||
"itemDescriptionKey": "exampleitems.ice.desc", | ||
"hasAdditionalNote": true, | ||
"additionalNoteKey": "item.ice-block-1.notes", | ||
"sprite": "exampleitems.ice", | ||
"itemColor": { | ||
"r": 58, | ||
"g": 40, | ||
"b": 32, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 50, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"damageMode": "DESTROY", | ||
"maxDurabilityDays": 1, | ||
"displayDurabilityAsPercentage": true | ||
} | ||
|
17 changes: 17 additions & 0 deletions
17
Winch.Examples/ExampleItems/Assets/Items/Engines/exampleitems.furnace.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"itemNameKey": "exampleitems.furnace.name", | ||
"itemDescriptionKey": "exampleitems.furnace.desc", | ||
"sprite": "exampleitems.furnace", | ||
"itemColor": { | ||
"r": 49, | ||
"g": 49, | ||
"b": 49, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 5, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"speedBonus": 128 | ||
} |
23 changes: 16 additions & 7 deletions
23
Winch.Examples/ExampleItems/Assets/Items/Fish/exampleitems.mccod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,37 @@ | ||
{ | ||
"Name": "Raw Cod", | ||
"itemNameKey": "exampleitems.mccod.name", | ||
"itemDescriptionKey": "exampleitems.mccod.desc", | ||
"itemType": "GENERAL", | ||
"itemSubtype": "FISH", | ||
"sprite": "exampleitems.mccod", | ||
"itemColor": { | ||
"r": 47, | ||
"g": 64, | ||
"b": 63, | ||
"a": 8 | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 10 | ||
}, | ||
"tooltipTextColor": { | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 5, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"zonesFoundIn": "OPEN_OCEAN", | ||
"day": true, | ||
"night": true, | ||
"minSizeCentimeters": 5, | ||
"maxSizeCentimeters": 10, | ||
"harvestMinigameType": "DREDGE_RADIAL", | ||
"perSpotMin": 3, | ||
"perSpotMax": 8, | ||
"harvestPOICategory": "FISH_SMALL", | ||
"harvestableType": "SHALLOW", | ||
"harvestDifficulty": "VERY_EASY", | ||
"harvestableType": "COASTAL", | ||
"harvestDifficulty": "VERY_EASY", | ||
"aberrations": ["exampleitems.mcsalmon","exampleitems.mctropical"] | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
Winch.Examples/ExampleItems/Assets/Items/Fish/exampleitems.mcsalmon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"itemNameKey": "exampleitems.mcsalmon.name", | ||
"itemDescriptionKey": "exampleitems.mcsalmon.desc", | ||
"itemType": "GENERAL", | ||
"itemSubtype": "FISH", | ||
"sprite": "exampleitems.mcsalmon", | ||
"itemColor": { | ||
"r": 136, | ||
"g": 0, | ||
"b": 76, | ||
"a": 255 | ||
}, | ||
"tooltipTextColor": { | ||
"r": 136, | ||
"g": 0, | ||
"b": 76, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 5, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"zonesFoundIn": "OPEN_OCEAN", | ||
"day": true, | ||
"night": true, | ||
"minSizeCentimeters": 5, | ||
"maxSizeCentimeters": 10, | ||
"harvestMinigameType": "DREDGE_RADIAL", | ||
"perSpotMin": 3, | ||
"perSpotMax": 8, | ||
"harvestPOICategory": "FISH_SMALL", | ||
"harvestableType": "SHALLOW", | ||
"harvestDifficulty": "VERY_EASY", | ||
"isAberration": true, | ||
"nonAberrationParent": "exampleitems.mccod" | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
Winch.Examples/ExampleItems/Assets/Items/Fish/exampleitems.mctropical.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"itemNameKey": "exampleitems.mctropical.name", | ||
"itemDescriptionKey": "exampleitems.mctropical.desc", | ||
"itemType": "GENERAL", | ||
"itemSubtype": "FISH", | ||
"sprite": "exampleitems.mctropical", | ||
"itemColor": { | ||
"r": 136, | ||
"g": 0, | ||
"b": 76, | ||
"a": 255 | ||
}, | ||
"tooltipTextColor": { | ||
"r": 136, | ||
"g": 0, | ||
"b": 76, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 5, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"zonesFoundIn": "TWISTED_STRAND", | ||
"day": true, | ||
"night": true, | ||
"minSizeCentimeters": 5, | ||
"maxSizeCentimeters": 10, | ||
"harvestMinigameType": "DREDGE_RADIAL", | ||
"perSpotMin": 3, | ||
"perSpotMax": 8, | ||
"harvestPOICategory": "FISH_SMALL", | ||
"harvestableType": "OCEANIC", | ||
"harvestDifficulty": "VERY_EASY", | ||
"isAberration": true, | ||
"nonAberrationParent": "exampleitems.mccod" | ||
} | ||
|
40 changes: 40 additions & 0 deletions
40
Winch.Examples/ExampleItems/Assets/Items/Fish/exampleitems.rainbowfiddlercrab.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"itemNameKey": "exampleitems.rainbowfiddlercrab.name", | ||
"itemDescriptionKey": "exampleitems.rainbowfiddlercrab.desc", | ||
"itemType": "GENERAL", | ||
"itemSubtype": "FISH", | ||
"sprite": "exampleitems.rainbowfiddlercrab", | ||
"itemColor": { | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 10 | ||
}, | ||
"tooltipTextColor": { | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 50, | ||
"dimensions": [ | ||
"XXX", | ||
"XXX" | ||
], | ||
"zonesFoundIn": "TWISTED_STRAND", | ||
"day": true, | ||
"night": true, | ||
"minSizeCentimeters": 5, | ||
"maxSizeCentimeters": 10, | ||
"harvestMinigameType": "FISHING_RADIAL", | ||
"perSpotMin": 3, | ||
"perSpotMax": 5, | ||
"harvestPOICategory": "FISH_LARGE", | ||
"harvestableType": "CRAB", | ||
"harvestDifficulty": "MEDIUM", | ||
"canBeCaughtByRod": false, | ||
"canBeCaughtByPot": true, | ||
"canBeCaughtByNet": false | ||
} | ||
|
20 changes: 0 additions & 20 deletions
20
Winch.Examples/ExampleItems/Assets/Items/General/exampleitems.diamond.json
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
Winch.Examples/ExampleItems/Assets/Items/General/exampleitems.nautilus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"itemNameKey": "exampleitems.nautilus.name", | ||
"itemDescriptionKey": "exampleitems.nautilus.desc", | ||
"sprite": "exampleitems.nautilus", | ||
"itemColor": { | ||
"r": 58, | ||
"g": 40, | ||
"b": 32, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 50, | ||
"dimensions": [ | ||
"X" | ||
], | ||
"damageMode": "DESTROY" | ||
} | ||
|
33 changes: 33 additions & 0 deletions
33
Winch.Examples/ExampleItems/Assets/Items/Harvestable/exampleitems.diamond.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"itemNameKey": "exampleitems.diamond.name", | ||
"itemDescriptionKey": "exampleitems.diamond.desc", | ||
"itemType": "GENERAL", | ||
"itemSubtype": "TRINKET", | ||
"sprite": "exampleitems.diamond", | ||
"itemColor": { | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 10 | ||
}, | ||
"tooltipTextColor": { | ||
"r": 74, | ||
"g": 237, | ||
"b": 217, | ||
"a": 255 | ||
}, | ||
"squishFactor": 1, | ||
"value": 100, | ||
"dimensions": [ | ||
"XX", | ||
"XX" | ||
], | ||
"damageMode": "DESTROY", | ||
"harvestMinigameType": "DREDGE_RADIAL", | ||
"perSpotMin": 3, | ||
"perSpotMax": 8, | ||
"harvestPOICategory": "TRINKET", | ||
"harvestableType": "ABYSSAL", | ||
"harvestDifficulty": "VERY_HARD" | ||
} | ||
|
Oops, something went wrong.