forked from mrkubax10/industrialtest
Add Tool Workshop craft
This commit is contained in:
parent
24a45f19d1
commit
852987416d
@ -537,6 +537,7 @@ if industrialtest.mclAvailable then
|
||||
industrialtest.elementKeys.stoneWithGold="mcl_core:stone_with_gold"
|
||||
industrialtest.elementKeys.copperBlock="mcl_copper:block"
|
||||
industrialtest.elementKeys.stoneWithCopper="mcl_copper:stone_with_copper"
|
||||
industrialtest.elementKeys.ironPickaxe="mcl_tools:pick_iron"
|
||||
industrialtest.elementKeys.lavaSource="mcl_core:lava_source"
|
||||
industrialtest.elementKeys.waterSource="mcl_core:water_source"
|
||||
|
||||
@ -755,6 +756,7 @@ elseif industrialtest.mtgAvailable then
|
||||
industrialtest.elementKeys.tinBlock="default:tinblock"
|
||||
industrialtest.elementKeys.stoneWithTin="default:stone_with_tin"
|
||||
industrialtest.elementKeys.bronzeBlock="default:bronzeblock"
|
||||
industrialtest.elementKeys.ironPickaxe="default:pick_steel"
|
||||
industrialtest.elementKeys.lavaSource="default:lava_source"
|
||||
industrialtest.elementKeys.waterSource="default:water_source"
|
||||
else
|
||||
|
@ -169,6 +169,17 @@ industrialtest.internal.registerMachine({
|
||||
paramtype2="facedir",
|
||||
legacy_facedir_simple=true
|
||||
},
|
||||
activeCustomKeys={
|
||||
tiles={
|
||||
"industrialtest_machine_block.png",
|
||||
"industrialtest_machine_block.png",
|
||||
"industrialtest_machine_block.png",
|
||||
"industrialtest_machine_block.png",
|
||||
"industrialtest_machine_block.png",
|
||||
"industrialtest_machine_block.png^industrialtest_tool_workshop_front_active.png",
|
||||
"industrialtest_machine_block.png"
|
||||
},
|
||||
},
|
||||
onConstruct=toolWorkshop.onConstruct,
|
||||
onTimer=toolWorkshop.onTimer,
|
||||
activeOnTimer=toolWorkshop.activeOnTimer,
|
||||
@ -177,3 +188,12 @@ industrialtest.internal.registerMachine({
|
||||
onMetadataInventoryPut=toolWorkshop.metadataChange,
|
||||
onMetadataInventoryMove=toolWorkshop.metadataChange
|
||||
})
|
||||
minetest.register_craft({
|
||||
type="shaped",
|
||||
output="industrialtest:tool_workshop",
|
||||
recipe={
|
||||
{industrialtest.elementKeys.copperIngot,industrialtest.elementKeys.ironPickaxe,industrialtest.elementKeys.copperIngot},
|
||||
{"","industrialtest:advanced_machine_block",""},
|
||||
{industrialtest.elementKeys.ironIngot,industrialtest.elementKeys.ironIngot,industrialtest.elementKeys.ironIngot}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user