mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Added (rough) initial recipes for all the spells
This commit is contained in:
parent
fb6031b89f
commit
e7e7244758
16 changed files with 230 additions and 2 deletions
|
@ -52,6 +52,10 @@ public class TraitLoader extends SinglePreparationResourceReloader<Map<Identifie
|
|||
Map<String, String> data = JsonHelper.deserialize(Resources.GSON, reader, TYPE);
|
||||
|
||||
data.forEach((name, set) -> {
|
||||
if (set.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
Identifier id = new Identifier(name);
|
||||
SpellTraits.fromEntries(Arrays.stream(set.split(" ")).map(a -> a.split(":")).map(pair -> {
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:flame"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"focus": 9, "air": 9
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:catapult"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:vortex"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"strength": 10, "knowledge": 8, "darkness": 9, "chaos": 8
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:dark_vortex"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:shield"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"knowledge": 20, "life": 10, "chaos": 4,
|
||||
"generosity": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:feather_fall"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:flame"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"focus": 9, "air": 9, "fire": 30
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:fire_bolt"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:scorch"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"fire": 20
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:flame"
|
||||
}
|
||||
}
|
|
@ -6,9 +6,10 @@
|
|||
}
|
||||
},
|
||||
"traits": {
|
||||
"pestilence": 1
|
||||
"ice": 1
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:burned_juice"
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:frost"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "flame"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"fire": 50, "dark": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:infernal"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:fire_bolt"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"ice": 30, "life": 30, "focus": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:light"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:siphoning"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"strength": 10, "knowledge": 8, "darkness": 19, "chaos": 8,
|
||||
"blood": 10, "poison": 9
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:necromancy"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:shield"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"knowledge": 18, "life": 1, "order": 4
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:reveal"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"fire": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:scorch"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"strength": 10, "focus": 6, "power": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:shield"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:infernal"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"blood": 8, "poison": 10
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:siphoning"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"knowledge": 18, "life": 10, "chaos": 4
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:transformation"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "unicopia:spellbook/crafting",
|
||||
"material": {
|
||||
"item": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:shield"
|
||||
}
|
||||
},
|
||||
"traits": {
|
||||
"strength": 10, "knowledge": 8
|
||||
},
|
||||
"result": {
|
||||
"item": "unicopia:gemstone",
|
||||
"spell": "unicopia:vortex"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue