forked from truenachtara/minecolonies
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Sifter use real items as meshes (ldtteam#6687)
Create new "mesh" items with durability for the sifter to use, updating and adding recipes to support it Fix tool damage to work when the tool isn't in the citizen's inventory. Make custom recipes add at the top of the list, so later levels take precedence Make the prestock code ignore damage, to not request new meshes as soon as the current one is damaged Add Achievements tree to University, for hidden/autostart/instant researches to unlock things like recipes Wire up meshes to block on new "Achievements" in the university The meshes are made by other crafters as such: String Mesh at the Fletcher with 500 durability Flint Mesh at the Stonemason with 1000 durability Iron Mesh at the Blacksmith with 1500 durability Diamond Mesh at the Mechanic with 2000 durability
- Loading branch information
Showing
66 changed files
with
884 additions
and
337 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
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
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
3 changes: 3 additions & 0 deletions
3
src/main/generated/resources/data/minecolonies/researches/effects/sifterdiamondunlock.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,3 @@ | ||
{ | ||
"effect": true | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/resources/data/minecolonies/researches/effects/sifterflintunlock.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,3 @@ | ||
{ | ||
"effect": true | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/resources/data/minecolonies/researches/effects/sifterironunlock.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,3 @@ | ||
{ | ||
"effect": true | ||
} |
3 changes: 3 additions & 0 deletions
3
src/main/generated/resources/data/minecolonies/researches/effects/sifterstringunlock.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,3 @@ | ||
{ | ||
"effect": true | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/generated/resources/data/minecolonies/researches/unlockable.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,4 @@ | ||
{ | ||
"branch-name": "com.minecolonies.research.unlockable.name", | ||
"base-time": 0.0 | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/generated/resources/data/minecolonies/researches/unlockable/diamondmesh.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,19 @@ | ||
{ | ||
"branch": "minecolonies:unlockable", | ||
"researchLevel": 1, | ||
"icon": "minecolonies:sifter_mesh_string", | ||
"requirements": [ | ||
{ | ||
"mandatory-building": "sifter", | ||
"level": 5 | ||
} | ||
], | ||
"hidden": true, | ||
"autostart": true, | ||
"instant": true, | ||
"effects": [ | ||
{ | ||
"minecolonies:effects/sifterdiamondunlock": 1 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/generated/resources/data/minecolonies/researches/unlockable/flintmesh.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,19 @@ | ||
{ | ||
"branch": "minecolonies:unlockable", | ||
"researchLevel": 1, | ||
"icon": "minecolonies:sifter_mesh_string", | ||
"requirements": [ | ||
{ | ||
"mandatory-building": "sifter", | ||
"level": 3 | ||
} | ||
], | ||
"hidden": true, | ||
"autostart": true, | ||
"instant": true, | ||
"effects": [ | ||
{ | ||
"minecolonies:effects/sifterflintunlock": 1 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/generated/resources/data/minecolonies/researches/unlockable/ironmesh.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,19 @@ | ||
{ | ||
"branch": "minecolonies:unlockable", | ||
"researchLevel": 1, | ||
"icon": "minecolonies:sifter_mesh_string", | ||
"requirements": [ | ||
{ | ||
"mandatory-building": "sifter", | ||
"level": 4 | ||
} | ||
], | ||
"hidden": true, | ||
"autostart": true, | ||
"instant": true, | ||
"effects": [ | ||
{ | ||
"minecolonies:effects/sifterironunlock": 1 | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/generated/resources/data/minecolonies/researches/unlockable/stringmesh.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,19 @@ | ||
{ | ||
"branch": "minecolonies:unlockable", | ||
"researchLevel": 1, | ||
"icon": "minecolonies:sifter_mesh_string", | ||
"requirements": [ | ||
{ | ||
"mandatory-building": "sifter", | ||
"level": 1 | ||
} | ||
], | ||
"hidden": true, | ||
"autostart": true, | ||
"instant": true, | ||
"effects": [ | ||
{ | ||
"minecolonies:effects/sifterstringunlock": 1 | ||
} | ||
] | ||
} |
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
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
Oops, something went wrong.