Skip to content

Commit

Permalink
Merge pull request #906 from MuteTiefling/develop
Browse files Browse the repository at this point in the history
Caster Tomes
  • Loading branch information
MuteTiefling authored Mar 21, 2024
2 parents e85e786 + 52d67f0 commit 1ae9b3c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- [Expert] Adjusted Integral Components recipes to make automating them somewhat easier [\#904](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/904)
- Add more fun uses for Ars charms [\#904](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/904)
- Cicadas, Fireflies, and Backpacks will no longer generate with Apotheosis Affixes [\#904](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/904)
- Adds several community suggested Caster Tomes to loot! [\#906](https://github.com/EnigmaticaModpacks/Enigmatica9/issues/906)

### 🐛 Fixed Bugs

Expand Down
62 changes: 62 additions & 0 deletions kubejs/server_scripts/base/recipes/ars_nouveau/caster_tome.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// Color Codes as RGBINT: http://www.shodor.org/~efarrow/trunk/html/rgbint.html

ServerEvents.recipes((event) => {
const id_prefix = 'enigmatica:base/ars_nouveau/caster_tome/';
const recipes = [
{
name: "Bad Egg's Pocket Sand",
flavour_text: 'Tactical Pocket Sand.',
tome_type: 'ars_nouveau:caster_tome',
spell: [
'ars_nouveau:glyph_projectile',
'ars_elemental:glyph_conjure_terrain',
'ars_nouveau:glyph_aoe',
'ars_nouveau:glyph_aoe',
'ars_nouveau:glyph_aoe',
'ars_nouveau:glyph_aoe',
'ars_nouveau:glyph_crush'
],
color: 88831,
sound: { family: 'ars_nouveau:gaia_family', pitch: 1.0, volume: 1.0 },
id: `${id_prefix}pocket_sand_tome`
},
{
name: "Sarenor's Hippity Hoppity",
flavour_text: 'Off My Property!',
tome_type: 'ars_nouveau:caster_tome',
spell: [
'ars_nouveau:glyph_touch',
'ars_nouveau:glyph_gust',
'ars_nouveau:glyph_delay',
'ars_nouveau:glyph_delay',
'ars_nouveau:glyph_gravity',
'ars_nouveau:glyph_snare',
'ars_nouveau:glyph_extend_time',
'ars_nouveau:glyph_extend_time',
'ars_nouveau:glyph_extend_time'
],
color: 3468261,
sound: { family: 'ars_nouveau:fire_family', pitch: 1.0, volume: 1.0 },
id: `${id_prefix}hippity_hoppity_tome`
},
{
name: 'Splash!',
flavour_text: 'Wash your worries away!',
tome_type: 'ars_nouveau:caster_tome',
spell: [
'ars_nouveau:glyph_projectile',
'ars_nouveau:glyph_conjure_water',
'ars_nouveau:glyph_delay',
'ars_nouveau:glyph_evaporate'
],
color: 1966591,
sound: { family: 'ars_nouveau:tempestry_family', pitch: 0.01, volume: 1.0 },
id: `${id_prefix}splash_tome`
}
];

recipes.forEach((recipe) => {
recipe.type = 'ars_nouveau:caster_tome';
event.custom(recipe).id(recipe.id);
});
});

0 comments on commit 1ae9b3c

Please sign in to comment.