Hardwood Materials, items made
This commit is contained in:
parent
b6fa89fa55
commit
6c36949dc1
5 changed files with 38 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
|||
{
|
||||
"material.tfg.latex": "Latex",
|
||||
"material.tfg.fluix": "Fluix",
|
||||
"material.gtceu.thermochemically_treated_hardwood": "Thermochemically Treated Hardwood",
|
||||
"material.gtceu.hardwood": "Hardwood",
|
||||
"item.tfg.hardwood_strip": "Hardwood Strip",
|
||||
"item.tfg.soaked_hardwood_strip": "Soaked Hardwood Strip",
|
||||
|
||||
"item.tfg.spade_head_extruder_mold": "Extruder Mold (Spade Head)",
|
||||
|
||||
"quests.naming-1": "t - Title",
|
||||
|
|
|
|||
0
kubejs/server_scripts/tfg/recipes.js
Normal file
0
kubejs/server_scripts/tfg/recipes.js
Normal file
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
StartupEvents.registry('item', event => {
|
||||
registerGTCEuItems(event)
|
||||
registerTFGItems(event)
|
||||
})
|
||||
|
||||
/**
|
||||
|
|
@ -48,6 +49,11 @@ GTCEuStartupEvents.registry('gtceu:machine', event => {
|
|||
registerGTCEuMachines(event)
|
||||
})
|
||||
|
||||
GTCEuStartupEvents.registry('gtceu:material', event =>
|
||||
{
|
||||
registerTFGMaterials(event)
|
||||
})
|
||||
|
||||
/**
|
||||
* Событие регистрации информации о составе предмета.
|
||||
*/
|
||||
|
|
|
|||
11
kubejs/startup_scripts/tfg/items.js
Normal file
11
kubejs/startup_scripts/tfg/items.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const registerTFGItems = (event) =>
|
||||
{
|
||||
event.create('tfg:hardwood_strip')
|
||||
.translationKey('item.tfg.hardwood_strip')
|
||||
|
||||
event.create('tfg:soaked_hardwood_strip')
|
||||
.translationKey('item.tfg.soaked_hardwood_strip')
|
||||
|
||||
event.create('tfg:soaked_unrefined_paper')
|
||||
.translationKey('item.tfg.soaked_unrefined_paper')
|
||||
}
|
||||
16
kubejs/startup_scripts/tfg/materials.js
Normal file
16
kubejs/startup_scripts/tfg/materials.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
const registerTFGMaterials = (event) =>
|
||||
{
|
||||
event.create('hardwood')
|
||||
.dust()
|
||||
.flags(GTMaterialFlags.FLAMMABLE)
|
||||
.iconSet(GTMaterialIconSet.FINE)
|
||||
.color('0x7a5225')
|
||||
.secondaryColor('0x7a5225')
|
||||
|
||||
event.create('thermochemically_treated_hardwood')
|
||||
.dust()
|
||||
.flags(GTMaterialFlags.FLAMMABLE)
|
||||
.iconSet(GTMaterialIconSet.FINE)
|
||||
.color('0x52482c')
|
||||
.secondaryColor('0x52482c')
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue