Skip to content

Commit

Permalink
Game master 0.2.0 lv update - KUBEJS (#48)
Browse files Browse the repository at this point in the history
* Fuck (#44)

* Quickly Patching WorldLoad Issue and Mod Updates

* Gregify almost all Supplementary recipes (#29)

* Items gregified

* Gregify most functional/decorative blocks

* Gregify Flags

* Gregify candle holders

* Unify all signpost recipes for future tweaking

* Forgot to tweak the present recipe

* Cleaning up

* Forgor another recipe, last one i swear

* Gregification for Ars init (#30)

* Create Saw Recipe Adding+Local desync fixing
(Skill issued myself)

* Gregification of Ars Nouveau
Initial setup

* Langfile hotfix (#32)

* Create Saw Recipe Adding+Local desync fixing
(Skill issued myself)

* Gregification of Ars Nouveau
Initial setup

* Langfile Hotfix

* Update README.md (#34)

* Ad astra modifications (#35) - Yippie Merge Conflicts mk1

* Added GT Integration to Ad Astra

* Recipes for Fins, Engines & Nose Cones

* Created a Item Generation File with the Ad Astra Stuff

---------

Co-authored-by: Ghostipedia <[email protected]>

* Sophisticated mods modifications (#37)

* chests and barrels done until diamond

* no more gregtech

* no more gt part 2

forgot to remove one recipe

* soph storage done

* Update SophisticatedMods.js

* soph done :despair:

---------

Co-authored-by: Ghostipedia <[email protected]>

* Charcoal furnace recipe removal (#40)

---------

Co-authored-by: Srdra <[email protected]>
Co-authored-by: 三好エイラ <[email protected]>
Co-authored-by: Paniawesome <[email protected]>
Co-authored-by: Purplik <[email protected]>

* AAAAAAAAAAAAAA (#45)

* Quickly Patching WorldLoad Issue and Mod Updates

* Gregify almost all Supplementary recipes (#29)

* Items gregified

* Gregify most functional/decorative blocks

* Gregify Flags

* Gregify candle holders

* Unify all signpost recipes for future tweaking

* Forgot to tweak the present recipe

* Cleaning up

* Forgor another recipe, last one i swear

* Gregification for Ars init (#30)

* Create Saw Recipe Adding+Local desync fixing
(Skill issued myself)

* Gregification of Ars Nouveau
Initial setup

* Langfile hotfix (#32)

* Create Saw Recipe Adding+Local desync fixing
(Skill issued myself)

* Gregification of Ars Nouveau
Initial setup

* Langfile Hotfix

* Update README.md (#34)

* Ad astra modifications (#35) - Yippie Merge Conflicts mk1

* Added GT Integration to Ad Astra

* Recipes for Fins, Engines & Nose Cones

* Created a Item Generation File with the Ad Astra Stuff

---------

Co-authored-by: Ghostipedia <[email protected]>

* Sophisticated mods modifications (#37)

* chests and barrels done until diamond

* no more gregtech

* no more gt part 2

forgot to remove one recipe

* soph storage done

* Update SophisticatedMods.js

* soph done :despair:

---------

Co-authored-by: Ghostipedia <[email protected]>

* Charcoal furnace recipe removal (#40)

---------

Co-authored-by: Srdra <[email protected]>
Co-authored-by: 三好エイラ <[email protected]>
Co-authored-by: Paniawesome <[email protected]>
Co-authored-by: Purplik <[email protected]>

* Manifest & Modlist Update

* Overrides Mk1 - Everything but KJS

* KubeJS Recipes

If I somehow accidentally overwrote someones github work, let me know and we'll get it sorted

---------

Co-authored-by: Srdra <[email protected]>
Co-authored-by: 三好エイラ <[email protected]>
Co-authored-by: Paniawesome <[email protected]>
Co-authored-by: Purplik <[email protected]>
  • Loading branch information
5 people authored Dec 31, 2023
1 parent bed534d commit 70d93d3
Show file tree
Hide file tree
Showing 14 changed files with 949 additions and 660 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions overrides/kubejs/client_scripts/SDRP.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sdrp.dimension_change((event) => {
const dimPath = event.level.dimension().location().getPath();
event.updateSDRPState(`sdrp.${dimPath}.in`, `sdrp.${dimPath}`, "dimPath");
});

let wires = ['gtceu:mana_steel_single_wire', 'gtceu:mana_steel_double_wire', 'gtceu:mana_steel_quadruple_wire', 'gtceu:mana_steel_octal_wire', 'gtceu:mana_steel_hex_wire', 'gtceu:mana_steel_single_cable', 'gtceu:mana_steel_double_cable', 'gtceu:mana_steel_quadruple_cable', 'gtceu:mana_steel_octal_cable', 'gtceu:mana_steel_hex_cable']

ItemEvents.tooltip(event => {
// event.add('gtceu:mana_steel_single_cable', Text.of('LV Superconductor'))
event.addAdvanced(wires, (item, advanced, text) => {
text.add(1, Text.of('LV Superconductor')) // Adds text in first line, pushing the items name down a line. If you want the line below the item name, the index must be 1
})
})
90 changes: 90 additions & 0 deletions overrides/kubejs/server_scripts/Cosmic_Frontiers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
//A Simple "REMOVE AND HIDE" function akin to GroovyScript's Jei.yeet() function - This will tag the item for hiding from recipe viewers and remove the recipe
//This one also has a tag removal function to remove the forge:tools/knives tag from what is removed so bear that in mind if you copy/paste this around
let yeet = (itemName) => {
ServerEvents.recipes(event => {
event.remove({ output: itemName })
})
ServerEvents.tags('item', event => {
event.add('forge:viewers/hidden_from_recipe', itemName)

})
}

//Generator Removal - WILL RETURN WITH UH, """BETTER""" CREATE FUNCTIONALITY
// yeet('gtceu:lv_combustion')
// yeet('gtceu:mv_combustion')
// yeet('gtceu:hv_combustion')
// yeet('gtceu:large_combustion_engine')
// yeet('gtceu:extreme_combustion_engine')
// yeet('gtceu:lv_gas_turbine')
// yeet('gtceu:mv_gas_turbine')
// yeet('gtceu:hv_gas_turbine')
// yeet('gtceu:gas_large_turbine')
// yeet('gtceu:lv_steam_turbine')
// yeet('gtceu:mv_steam_turbine')
// yeet('gtceu:hv_steam_turbine')
// yeet('gtceu:lv_steam_turbine')
// yeet('gtceu:steam_large_turbine')
// yeet('gtceu:plasma_large_turbine')
// yeet('gtceu:turbine_rotor')

ServerEvents.recipes(event => {
// event.remove({ output: 'gtceu:firebrick' })
event.recipes.gtceu.nether_catalyzer('cosmiccore:blackstone_pustule_growth')
.itemInputs('biomesoplenty:blackstone_bulb')
.itemOutputs('cosmiccore:blackstone_pustule')
.duration(160)
.EUt(16);
event.recipes.gtceu.cutter('cosmiccore:blackstone_pustule_slice')
.itemInputs('cosmiccore:blackstone_pustule')
.itemOutputs('3x biomesoplenty:blackstone_bulb')
.chancedOutput(Item.of('biomesoplenty:blackstone_bulb', 1), 5000, 500)
.duration(160)
.EUt(16);
event.recipes.gtceu.mixer('cosmiccore:sediment_sludge_mixing')
.itemInputs('biomesoplenty:blackstone_bulb')
.inputFluids(Fluid.of('minecraft:water',1000))
.outputFluids(Fluid.of('gtceu:nether_sediment_sludge',1000))
.duration(80)
.circuit(1)
.EUt(32);
event.recipes.gtceu.mixer('cosmiccore:sediment_sludge_mixing_good')
.itemInputs('2x biomesoplenty:blackstone_bulb')
.inputFluids(Fluid.of('gtceu:ethanol',250))
.outputFluids(Fluid.of('gtceu:nether_sediment_sludge',1000))
.duration(40)
.circuit(2)
.EUt(32);
event.recipes.gtceu.flora_nurturer('cosmiccore:lucis_spore_cultivation')
.itemInputs('1x betternether:lucis_spore')
.inputFluids(Fluid.of('gtceu:nether_sediment_sludge',500))
.itemOutputs('2x cosmiccore:engourged_spore')
.itemOutputs('2x betternether:lucis_spore')
.chancedOutput(Item.of('betternether:lucis_spore', 1), 5000, 500)
.duration(160)
.EUt(16);
event.recipes.gtceu.nether_catalyzer('cosmiccore:engourged_spore_catalyzing')
.itemInputs('cosmiccore:engourged_spore')
.outputFluids(Fluid.of('gtceu:ethanol',250))
.duration(240)
.EUt(32);
















})



92 changes: 51 additions & 41 deletions overrides/kubejs/server_scripts/Recipes/ArsNouveau.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
ServerEvents.recipes(event => {
event.recipes.ars_nouveau.enchanting_apparatus(
event.recipes.ars_nouveau.enchanting_apparatus(
[
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
"minecraft:sand",
], // input items
"minecraft:gunpowder", // reagent
"minecraft:tnt", // output
1000, // source cost
// true // keep nbt of reagent, think like a smithing recipe
);
"minecraft:gunpowder", // reagent
"minecraft:tnt", // output
1000, // source cost
// true // keep nbt of reagent, think like a smithing recipe
);

})

//Time to do some Gregification
//Spellbooks
ServerEvents.recipes(e => {
e.remove({id: 'ars_nouveau:novice_spell_book'})
e.remove({ id: 'ars_nouveau:novice_spell_book' })
e.shaped('ars_nouveau:novice_spell_book', [
'ABC',
'DE ',
' '
],
'ABC',
'DE ',
' '
],
{
A: 'minecraft:book',
B: 'gtceu:iron_shovel',
Expand Down Expand Up @@ -60,83 +60,93 @@ ServerEvents.recipes(e => {
// }
//)

//Fiber Recipes
e.remove({id: 'ars_nouveau:magebloom_fiber'})
//Fiber Recipes
e.remove({ id: 'ars_nouveau:magebloom_fiber' })
e.recipes.gtceu.spooling_machine('ars_nouveau:magebloom_fiber')
.itemInputs('ars_nouveau:magebloom')
.itemOutputs('ars_nouveau:magebloom_fiber')
.duration(60)
.EUt(4);
//Spooling Recipes
//Spooling Recipes

e.remove({output: 'ars_nouveau:blank_thread'})
e.remove({ output: 'ars_nouveau:blank_thread' })
e.recipes.gtceu.spooling_machine('ars_nouveau:blank_thread')
.itemInputs('4x ars_nouveau:magebloom_fiber')
.itemInputs('gtceu:gold_rod')
.itemOutputs('ars_nouveau:blank_thread')
.duration(60)
.EUt(4);

//Magic Stations
e.remove({id: 'ars_nouveau:arcane_core'})
//Magic Stations
e.remove({ id: 'ars_nouveau:arcane_core' })
e.shaped('ars_nouveau:arcane_core', [
'ACA',
'BDB',
'AAA'
],
'ACA',
'BDB',
'AAA'
],
{
A: 'ars_nouveau:sourcestone',
B: 'gtceu:gold_rod',
C: '#forge:circuits/mv',
D: 'ars_nouveau:source_gem',
}
)
e.remove({id: 'ars_nouveau:enchanting_apparatus'})
e.remove({ id: 'ars_nouveau:enchanting_apparatus' })
e.shaped('ars_nouveau:enchanting_apparatus', [
'BAB',
'CDC',
'BAB'
],
'BAB',
'CDC',
'BAB'
],
{
A: 'ars_nouveau:sourcestone',
B: 'minecraft:gold_nugget',
C: 'gtceu:gold_plate',
D: 'minecraft:diamond',
}
)
e.remove({id: 'ars_nouveau:agronomic_sourcelink'})
e.remove({ id: 'ars_nouveau:agronomic_sourcelink' })
e.shaped('ars_nouveau:agronomic_sourcelink', [
' A ',
'BCB',
' A '
],
' A ',
'BCB',
' A '
],
{
A: 'ars_nouveau:source_gem',
B: 'gtceu:gold_plate',
C: 'minecraft:wheat',
}
)
e.remove({id: 'ars_nouveau:source_jar'})
e.remove({ id: 'ars_nouveau:source_jar' })
e.shaped('ars_nouveau:source_jar', [
'CBC',
'A A',
'CCC'
],
'CBC',
'A A',
'CCC'
],
{
A: '#forge:glass',
B: 'gtceu:gold_plate',
C: 'ars_nouveau:archwood_slab',
}
)
e.remove({id: 'ars_nouveau:relay'})
e.remove({ id: 'ars_nouveau:relay' })
e.shaped('ars_nouveau:relay', [
'A A',
'ABA',
'A A'
],
'A A',
'ABA',
'A A'
],
{
A: 'gtceu:gold_rod',
B: 'ars_nouveau:source_gem_block',
}
)
e.remove({ output: 'ars_nouveau:imbuement_chamber' })
e.shaped('ars_nouveau:imbuement_chamber', [
'ARA',
'A A',
'ARA'
], {
A: 'ars_nouveau:archwood_planks',
R: 'gtceu:rose_gold_plate'
}
)
})
Loading

0 comments on commit 70d93d3

Please sign in to comment.