mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-19 22:03:53 +01:00
Add Rubber Goo as replacement for the grinder (#578)
Fixes the circular dependency in issue #474 by adding a new item that can be used to craft Rubber.
This commit is contained in:
parent
0f7810e538
commit
43acec2900
@ -174,7 +174,6 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "default:dirt 2",
|
output = "default:dirt 2",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
@ -186,3 +185,25 @@ minetest.register_craft({
|
|||||||
"group:sand",
|
"group:sand",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "technic:rubber_goo",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {
|
||||||
|
"technic:raw_latex",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
"default:coal_lump",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "technic:rubber",
|
||||||
|
type = "cooking",
|
||||||
|
recipe = "technic:rubber_goo",
|
||||||
|
})
|
||||||
|
@ -134,6 +134,11 @@ minetest.register_node("technic:machine_casing", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("technic:rubber_goo", {
|
||||||
|
description = S("Rubber Goo"),
|
||||||
|
inventory_image = "technic_rubber_goo.png",
|
||||||
|
})
|
||||||
|
|
||||||
for p = 0, 35 do
|
for p = 0, 35 do
|
||||||
local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
|
local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
|
||||||
local psuffix = p == 7 and "" or p
|
local psuffix = p == 7 and "" or p
|
||||||
|
BIN
technic/textures/technic_rubber_goo.png
Normal file
BIN
technic/textures/technic_rubber_goo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 501 B |
Loading…
Reference in New Issue
Block a user