Skip to content

Commit

Permalink
Merge pull request #81 from joblo2213/akashic
Browse files Browse the repository at this point in the history
New Akashic Tome recipes
  • Loading branch information
sebinside authored Oct 17, 2021
2 parents 2cca72b + ebc97c7 commit 57e7ed1
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 154 deletions.
120 changes: 120 additions & 0 deletions scripts/akashic.zs
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;

static tome as IItemStack = <akashictome:tome>.withTag({
"akashictome:is_morphing":1 as byte,
"akashictome:data":{
tconstruct:{
id:"tconstruct:book",
Count:1 as byte,
tag:{
"akashictome:definedMod":"tconstruct"
},
Damage:0 as short
},
botania:{
id:"botania:lexicon",
Count:1 as byte,
tag:{
"akashictome:displayName":"Lexica Botania",
"akashictome:definedMod":"botania",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aLexica Botania§r)"
}
},
Damage:0 as short
},
astralsorcery:{
id:"astralsorcery:itemjournal",
Count:1 as byte,
tag:{
"akashictome:definedMod":"astralsorcery"
},
Damage:0 as short
},
theoneprobe:{
id:"theoneprobe:probenote",
Count:1 as byte,
tag:{
"akashictome:definedMod":"theoneprobe"
},
Damage:0 as short
},
hwell:{
id:"patchouli:guide_book",
Count:1 as byte,
tag:{
"akashictome:displayName":"Book of the Well",
"akashictome:definedMod":"hwell",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aBook of the Well§r)"
},
"patchouli:book":"hwell:book_of_the_well"
},
Damage:0 as short
},
uniquecrops:{
id:"uniquecrops:generic",
Count:1 as byte,
tag:{
"akashictome:displayName":"Guide to Unique Crops",
savedIndex:0,
"akashictome:definedMod":"uniquecrops",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aGuide to Unique Crops§r)"
}
},
Damage:0 as short
},
immersiveengineering:{
id:"immersiveengineering:tool",
Count:1 as byte,
tag:{
"akashictome:displayName":"Engineer's Manual",
"akashictome:definedMod":"immersiveengineering",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aEngineer's Manual§r)"
}
},
Damage:3 as short
},
opencomputers:{
id:"opencomputers:tool",
Count:1 as byte,
tag:{
"akashictome:definedMod":"opencomputers"
},
Damage:4 as short
},
embers:{
id:"embers:codex",
Count:1 as byte,
tag:{
"akashictome:displayName":"Ancient Codex",
"akashictome:definedMod":"embers",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aAncient Codex§r)"
}
},
Damage:0 as short
}
}
});

// Akashic Tome easy recipe
recipes.remove(<akashictome:tome>);
val sign_head = <tconstruct:sign_head>.withTag({Material: "paper"})
| <tconstruct:sign_head>.withTag({Material: "sponge"})
| <tconstruct:sign_head>.withTag({Material: "flint"})
| <tconstruct:sign_head>.withTag({Material: "bone"})
as IIngredient;
recipes.addShapeless("tome", tome, [
sign_head, <ore:dyeBlack>, <ore:feather>, <ore:leather>
]);
// Akashic Tome update recipe
recipes.addShapeless("tome_upgrade", tome, [<akashictome:tome>]);
15 changes: 12 additions & 3 deletions scripts/immersive.zs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import scripts._base.disable;
import crafttweaker.item.IItemStack;

// Make hammer require plates
recipes.remove(<immersiveengineering:tool>);
Expand Down Expand Up @@ -76,22 +77,30 @@ recipes.remove(<immersiveengineering:blueprint>.withTag({blueprint: "components"
recipes.remove(<immersiveengineering:blueprint>.withTag({blueprint: "molds"}));
recipes.remove(<immersiveengineering:blueprint>.withTag({blueprint: "bullet"}));

val immersive_manual = <immersiveengineering:tool:3>.withTag({
"akashictome:displayName": "Engineer's Manual",
"akashictome:definedMod": "immersiveengineering",
"akashictome:is_morphing": 1 as byte,
display: {
Name: "§rAkashic Tome (§aEngineer's Manual§r)"
}
}) as IItemStack;
mods.astralsorcery.Altar.addAttunementAltarRecipe("blueprint1", <immersiveengineering:blueprint>.withTag({blueprint: "components"}), 500, 300, [
<immersiveengineering:tool:3>, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
immersive_manual, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
<minecraft:dye:0>, <ore:dustLapis>, <uniquecrops:generic:12>,
<astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>,
<ore:plateSteel>, <immersiveengineering:wirecoil:5>, <minecraft:crafting_table>, <immersiveengineering:tool:0>
]);

mods.astralsorcery.Altar.addAttunementAltarRecipe("blueprint2", <immersiveengineering:blueprint>.withTag({blueprint: "molds"}), 500, 300, [
<immersiveengineering:tool:3>, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
immersive_manual, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
<minecraft:dye:0>, <ore:dustLapis>, <uniquecrops:generic:12>,
<astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>,
<harvestcraft:espressoitem>, <minecraft:stone_pressure_plate>, <hwell:crushing_block>, <ore:craftingPiston>
]);

mods.astralsorcery.Altar.addAttunementAltarRecipe("blueprint3", <immersiveengineering:blueprint>.withTag({blueprint: "bullet"}), 500, 300, [
<immersiveengineering:tool:3>, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
immersive_manual, <bibliocraft:maptool>, <bibliocraft:biblioglasses>,
<minecraft:dye:0>, <ore:dustLapis>, <uniquecrops:generic:12>,
<astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>, <astralsorcery:itemcraftingcomponent:5>,
<minecraft:spectral_arrow>, <minecraft:magma_cream>, <minecraft:dispenser>, <minecraft:tnt>
Expand Down
152 changes: 1 addition & 151 deletions scripts/initial.zs
Original file line number Diff line number Diff line change
@@ -1,153 +1,3 @@
val tome = <akashictome:tome>.withTag({
"akashictome:is_morphing":1 as byte,
"akashictome:data":{
tconstruct:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{

}
},
id:"tconstruct:book",
Count:1 as byte,
tag:{
"akashictome:definedMod":"tconstruct"
},
Damage:0 as short
},
botania:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{
AS_Amulet_HolderLeast:-6280410276035665025 as long,
AS_Amulet_HolderMost:8692028266325887782 as long
}
},
id:"botania:lexicon",
Count:1 as byte,
tag:{
"akashictome:displayName":"Lexica Botania",
"akashictome:definedMod":"botania",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aLexica Botania§r)"
}
},
Damage:0 as short
},
astralsorcery:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{

}
},
id:"astralsorcery:itemjournal",
Count:1 as byte,
tag:{
"akashictome:definedMod":"astralsorcery"
},
Damage:0 as short
},
theoneprobe:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{

}
},
id:"theoneprobe:probenote",
Count:1 as byte,
tag:{
"akashictome:definedMod":"theoneprobe"
},
Damage:0 as short
},
hwell:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{
AS_Amulet_HolderLeast:-6280410276035665025 as long,
AS_Amulet_HolderMost:8692028266325887782 as long
}
},
id:"patchouli:guide_book",
Count:1 as byte,
tag:{
"akashictome:displayName":"Book of the Well",
"akashictome:definedMod":"hwell",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aBook of the Well§r)"
},
"patchouli:book":"hwell:book_of_the_well"
},
Damage:0 as short
},
uniquecrops:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{
AS_Amulet_HolderLeast:-6280410276035665025 as long,
AS_Amulet_HolderMost:8692028266325887782 as long
}
},
id:"uniquecrops:generic",
Count:1 as byte,
tag:{
"akashictome:displayName":"Guide to Unique Crops",
savedIndex:0,
"akashictome:definedMod":"uniquecrops",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aGuide to Unique Crops§r)"
}
},
Damage:0 as short
},
immersiveengineering:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{
AS_Amulet_HolderLeast:-6280410276035665025 as long,
AS_Amulet_HolderMost:8692028266325887782 as long
}
},
id:"immersiveengineering:tool",
Count:1 as byte,
tag:{
"akashictome:displayName":"Engineer's Manual",
"akashictome:definedMod":"immersiveengineering",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aEngineer's Manual§r)"
}
},
Damage:3 as short
},
opencomputers:{
id:"opencomputers:tool",
Count:1 as byte,
tag:{
"akashictome:definedMod":"opencomputers"
},
Damage:4 as short
},
embers:{
ForgeCaps:{
"astralsorcery:cap_item_amulet_holder":{
AS_Amulet_HolderLeast:-6280410276035665025 as long,
AS_Amulet_HolderMost:8692028266325887782 as long
}
},
id:"embers:codex",
Count:1 as byte,
tag:{
"akashictome:displayName":"Ancient Codex",
"akashictome:definedMod":"embers",
"akashictome:is_morphing":1 as byte,
display:{
Name:"§rAkashic Tome (§aAncient Codex§r)"
}
},
Damage:0 as short
}
}
});

val shinyDoedelBlock = <minecraft:light_blue_glazed_terracotta>.withTag({
ench:[
{
Expand All @@ -160,7 +10,7 @@ val shinyDoedelBlock = <minecraft:light_blue_glazed_terracotta>.withTag({
}
});

mods.initialinventory.InvHandler.addStartingItem(tome);
mods.initialinventory.InvHandler.addStartingItem(scripts.akashic.tome);
mods.initialinventory.InvHandler.addStartingItem(<contenttweaker:skate_kappa>);
mods.initialinventory.InvHandler.addStartingItem(<harvestcraft:hamburgeritem>);
mods.initialinventory.InvHandler.addStartingItem(<harvestcraft:coffeeitem>);
Expand Down
Loading

0 comments on commit 57e7ed1

Please sign in to comment.