TechDudie
2021-02-09 43acec290067f9aca534647d46ba1f13cfeb377a
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.
1 files added
2 files modified
28 ■■■■■ changed files
technic/crafts.lua 23 ●●●●● patch | view | raw | blame | history
technic/items.lua 5 ●●●●● patch | view | raw | blame | history
technic/textures/technic_rubber_goo.png patch | view | raw | blame | history
technic/crafts.lua
@@ -174,7 +174,6 @@
    },
})
minetest.register_craft({
    output = "default:dirt 2",
    type = "shapeless",
@@ -186,3 +185,25 @@
        "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",
})
technic/items.lua
@@ -134,6 +134,11 @@
    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
    local nici = (p ~= 0 and p ~= 7 and p ~= 35) and 1 or nil
    local psuffix = p == 7 and "" or p
technic/textures/technic_rubber_goo.png