Version 1.0.19b

This commit is contained in:
Adrian Marquis
2023-05-29 13:49:34 +00:00
parent 5386f164b9
commit b5ede55eba
927 changed files with 92525 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
// priority: 1000
global['auTags'] = []
global['loaded'] = {
IE_Loaded: Platform.isLoaded('immersiveengineering'),
Mek_Loaded: Platform.isLoaded('mekanism'),
Create_Loaded: Platform.isLoaded('create'),
CreateAdd_Loaded: Platform.isLoaded('createaddition'),
Thermal_Loaded: false,
FTBIC_Loaded: Platform.isLoaded('ftbic'),
Tinkers_Loaded: Platform.isLoaded('tconstruct'),
Occult_Loaded: Platform.isLoaded('occultism'),
ATO_Loaded: Platform.isLoaded('alltheores')
}
global['alloys'] = [
'steel',
'invar',
'electrum',
'bronze',
'enderium',
'lumium',
'signalum',
'constantan',
'brass'
]
global['blueskies'] = [
'aquite',
'charoite',
'falsite',
'horizonite',
'ventium'
]
global['ingredientCheck'] = function(itemstack, json) {
if(json.has('tag')) {
let tag = json.get('tag').getAsString()
if (AlmostUnified.getItemIds(tag).contains(itemstack.id)) { return true }
} else if (json.has('item')) {
let item = json.get('item').getAsString()
if (itemstack.id == item) { return true }
}
return false
}
ServerEvents.recipes(event => {
global.auTags = AlmostUnified.getTags()
})