Added (rough) initial recipes for all the spells

This commit is contained in:
Sollace 2021-12-28 18:40:51 +02:00
parent fb6031b89f
commit e7e7244758
16 changed files with 230 additions and 2 deletions

View file

@ -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 -> {

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -6,9 +6,10 @@
}
},
"traits": {
"pestilence": 1
"ice": 1
},
"result": {
"item": "unicopia:burned_juice"
"item": "unicopia:gemstone",
"spell": "unicopia:frost"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -0,0 +1,15 @@
{
"type": "unicopia:spellbook/crafting",
"material": {
"item": {
"item": "unicopia:gemstone"
}
},
"traits": {
"fire": 10
},
"result": {
"item": "unicopia:gemstone",
"spell": "unicopia:scorch"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}

View file

@ -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"
}
}