mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
remove unnecessary definition fields
This commit is contained in:
parent
91fceece18
commit
b9173be3b8
@ -73,7 +73,6 @@ local function register_dust(name, ingot)
|
|||||||
minetest.register_craftitem("technic:"..lname.."_dust", {
|
minetest.register_craftitem("technic:"..lname.."_dust", {
|
||||||
description = S("%s Dust"):format(S(name)),
|
description = S("%s Dust"):format(S(name)),
|
||||||
inventory_image = "technic_"..lname.."_dust.png",
|
inventory_image = "technic_"..lname.."_dust.png",
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
|
||||||
})
|
})
|
||||||
if ingot then
|
if ingot then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -8,7 +8,6 @@ local sawdust = "technic:sawdust"
|
|||||||
minetest.register_craftitem(sawdust, {
|
minetest.register_craftitem(sawdust, {
|
||||||
description = S("Sawdust"),
|
description = S("Sawdust"),
|
||||||
inventory_image = "technic_sawdust.png",
|
inventory_image = "technic_sawdust.png",
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
|
||||||
})
|
})
|
||||||
minetest.register_craft({ type = "fuel", recipe = sawdust, burntime = 6 })
|
minetest.register_craft({ type = "fuel", recipe = sawdust, burntime = 6 })
|
||||||
technic.register_compressor_recipe({ input = {sawdust .. " 4"}, output = "default:wood" })
|
technic.register_compressor_recipe({ input = {sawdust .. " 4"}, output = "default:wood" })
|
||||||
@ -25,7 +24,6 @@ local function register_tree_grinding(name, tree, wood, extract, grinding_color)
|
|||||||
minetest.register_craftitem(grindings_name, {
|
minetest.register_craftitem(grindings_name, {
|
||||||
description = S("%s Grinding"):format(S(name)),
|
description = S("%s Grinding"):format(S(name)),
|
||||||
inventory_image = inventory_image,
|
inventory_image = inventory_image,
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
|
Loading…
Reference in New Issue
Block a user