neuralgia/kubejs/server_scripts/tacz/recipes.ammo.js
GameStar c68b78ce67
Updating guns & some bug fixes (#1501)
* new gun enables

* new modifiers

* lang

* adding data loaders

* ammo changes

* attachments

* new guns

* remove old

* updated create armorer

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* new applied armorer

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* I put the wrong one in 

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* py's fixes

* adds sandworm mod

* Delete tacz/ULVguns.zip

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Add files via upload

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* stuff

* more gun stuff

* bug fix for alabaster

* forgot to remove a log

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.alabaster.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* Update recipes.ammo.js

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>

* updated alabaster to match chem bath recipes

Signed-off-by: Pyritie <pyritie@gmail.com>

---------

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Signed-off-by: Pyritie <pyritie@gmail.com>
Co-authored-by: Pyritie <pyritie@gmail.com>
2025-08-02 18:18:40 +01:00

186 lines
7.5 KiB
JavaScript

"use strict";
function registerTACZAmmoRecipes(event){
//Extruder Casing
event.recipes.gtceu.extruder('tfg_tacz:small_casing')
.itemInputs('#forge:ingots/brass')
.notConsumable('tfg:small_casing_extruder_mold')
.itemOutputs('6x tfg:small_bullet_casing')
.duration(10)
.EUt(GTValues.VA[GTValues.MV])
event.recipes.gtceu.extruder('tfg_tacz:shell_casing')
.itemInputs('#forge:ingots/brass')
.notConsumable('tfg:shell_casing_extruder_mold')
.itemOutputs('3x tfg:shell_bullet_casing')
.duration(10)
.EUt(GTValues.VA[GTValues.MV])
event.recipes.gtceu.extruder('tfg_tacz:large_casing')
.itemInputs('#forge:ingots/brass')
.notConsumable('tfg:large_casing_extruder_mold')
.itemOutputs('5x tfg:large_bullet_casing')
.duration(10)
.EUt(GTValues.VA[GTValues.MV])
//Additives
event.recipes.gtceu.chemical_reactor('tfg_tacz:nitrocellulose_from_wood')
.itemInputs('gtceu:thermochemically_treated_hardwood_dust')
.inputFluids(Fluid.of('gtceu:nitric_acid', 200), Fluid.of('gtceu:sulfuric_acid', 400), Fluid.of('minecraft:water', 600))
.itemOutputs('2x tfg:nitrocellulose')
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.chemical_reactor('tfg_tacz:nitrocellulose_from_wood_dih20')
.itemInputs('gtceu:thermochemically_treated_hardwood_dust')
.inputFluids(Fluid.of('gtceu:nitric_acid', 200), Fluid.of('gtceu:sulfuric_acid', 400), Fluid.of('gtceu:distilled_water', 600))
.itemOutputs('4x tfg:nitrocellulose')
.outputFluids(Fluid.of('gtceu:nitration_mixture', 100))
.EUt(GTValues.VA[GTValues.EV])
.duration(40)
//Actual Ammo
event.shapeless(Item.of('tacz:ammo',4, '{AmmoId:"ulv_guns:lead_shot"}'),
['4x #forge:nuggets/lead', '#forge:plates/paper', '#forge:dusts/gunpowder']
).id('tfg_tacz:lead_shot');
event.shaped(Item.of('tacz:ammo', 4,'{AmmoId:"tacz:45_70"}'), [
'ABA',
'ACA',
'DEF'
], {
A: '#forge:nuggets/lead',
B: '#forge:tools/mallets',
C: '#forge:dusts/gunpowder',
D: '#forge:tools/files',
E: '#forge:ingots/brass',
F: '#forge:tools/saws'
}).id('tfg_tacz:45_70_bullets');
event.recipes.gtceu.assembler('tfg_tacz:45_70_bullets_lv')
.itemInputs('4x #forge:nuggets/lead','#forge:ingots/brass', '#forge:dusts/gunpowder')
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:45_70"}'))
.EUt(GTValues.VA[GTValues.LV])
.duration(20)
//Clockwork era
event.recipes.gtceu.assembler('tfg_tacz:rb_small')
.itemInputs('4x #forge:nuggets/lead','2x #forge:foils/copper', '4x tfg:small_bullet_casing',
'#forge:dusts/gunpowder')
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"create_armorer:rbapb"}'))
.EUt(GTValues.VA[GTValues.MV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:rb_small_nc')
.itemInputs('8x #forge:nuggets/lead','4x #forge:foils/copper', '8x tfg:small_bullet_casing',
'tfg:nitrocellulose')
.itemOutputs(Item.of('tacz:ammo', 8,
'{AmmoId:"create_armorer:rbapb"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:slap_large')
.itemInputs('4x #forge:nuggets/lead','4x #forge:foils/copper', '4x tfg:large_bullet_casing',
'#forge:dusts/gunpowder')
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"create_armorer:slap"}'))
.EUt(GTValues.VA[GTValues.MV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:slap_large_nc')
.itemInputs('8x #forge:nuggets/lead','8x #forge:foils/copper', '8x tfg:large_bullet_casing',
'tfg:nitrocellulose')
.itemOutputs(Item.of('tacz:ammo', 8,
'{AmmoId:"create_armorer:slap"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
//Certus era
event.recipes.gtceu.assembler('tfg_tacz:fluix_grenade')
.itemInputs('#forge:ingots/magnalium', '2x gtceu:gelled_toluene', '4x tfg:nitrocellulose')
.inputFluids(Fluid.of('tfg:fluix', 720))
.itemOutputs(Item.of('tacz:ammo',
'{AmmoId:"applied_armorer:fluix_infused_grenade"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(40)
event.recipes.gtceu.assembler('tfg_tacz:40mm_he')
.itemInputs('#forge:ingots/brass', '#forge:ingots/steel', '8x gtceu:gelled_toluene',
'6x tfg:nitrocellulose')
.itemOutputs(Item.of('tacz:ammo',
'{AmmoId:"create_armorer:40mmhe"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(40)
event.recipes.gtceu.assembler('tfg_tacz:etched_quartz_small')
.itemInputs('2x #forge:flawless_gems/certus_quartz', '4x tfg:small_bullet_casing', '2x tfg:nitrocellulose')
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"applied_armorer:etched_quartz_bullet"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:hard_quartz_large')
.itemInputs('4x #forge:exquisite_gems/certus_quartz', '8x #forge:bolts/tungsten', '4x tfg:large_bullet_casing',
'2x tfg:nitrocellulose')
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"applied_armorer:hard_core_quartz_bullet"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:cluster_quartz_shell_ptfe')
.itemInputs('16x gtceu:chipped_certus_quartz_gem', '4x tfg:shell_bullet_casing', '2x tfg:nitrocellulose')
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 144))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"applied_armorer:cluster_quartz_bullet"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:cluster_quartz_shell_pbi')
.itemInputs('16x gtceu:chipped_certus_quartz_gem', '4x tfg:shell_bullet_casing', '2x tfg:nitrocellulose')
.inputFluids(Fluid.of('gtceu:polybenzimidazole', 72))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"applied_armorer:cluster_quartz_bullet"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(30)
//12gauge shell
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_peth')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', '2x #forge:dusts/gunpowder')
.inputFluids(Fluid.of('gtceu:polyethylene', 288))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.MV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_pvc')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', '2x #forge:dusts/gunpowder')
.inputFluids(Fluid.of('gtceu:polyvinyl_chloride', 144))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.MV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_ptfe')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', '2x #forge:dusts/gunpowder')
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 72))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.HV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_pbi')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', '2x #forge:dusts/gunpowder')
.inputFluids(Fluid.of('gtceu:polybenzimidazole', 36))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_nc_ptfe')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', 'tfg:nitrocellulose')
.inputFluids(Fluid.of('gtceu:polytetrafluoroethylene', 72))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.HV])
.duration(20)
event.recipes.gtceu.assembler('tfg_tacz:12g_shell_nc_pbi')
.itemInputs('12x #forge:nuggets/lead', '4x tfg:shell_bullet_casing', 'tfg:nitrocellulose')
.inputFluids(Fluid.of('gtceu:polybenzimidazole', 36))
.itemOutputs(Item.of('tacz:ammo', 4,
'{AmmoId:"tacz:12g"}'))
.EUt(GTValues.VA[GTValues.EV])
.duration(20)
}