mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-25 10:20:37 +01:00
renamed caouthouc to raw latex, fix to rubber tree farming
This commit is contained in:
parent
33eba5880d
commit
a382a2241a
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
10
tree_tap.lua
10
tree_tap.lua
@ -7,7 +7,7 @@
|
|||||||
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
|
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
|
||||||
local node=minetest.env:get_node(pos)
|
local node=minetest.env:get_node(pos)
|
||||||
local node_name=node.name
|
local node_name=node.name
|
||||||
if node_name == "farming:rubber_tree_full" then
|
if node_name == "farming_plus:rubber_tree_full" then
|
||||||
user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
|
user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
|
||||||
minetest.env:set_node(pos,node)
|
minetest.env:set_node(pos,node)
|
||||||
local item=itemstack:to_table()
|
local item=itemstack:to_table()
|
||||||
@ -32,15 +32,15 @@
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("technic:caouthouc", {
|
minetest.register_craftitem("technic:raw_latex", {
|
||||||
description = "Caouthouc",
|
description = "Raw Latex",
|
||||||
inventory_image = "technic_caouthouc.png",
|
inventory_image = "technic_raw_latex.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "technic:rubber",
|
output = "technic:rubber",
|
||||||
recipe = "technic:caouthouc",
|
recipe = "technic:raw_latex",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("technic:rubber", {
|
minetest.register_craftitem("technic:rubber", {
|
||||||
|
Loading…
Reference in New Issue
Block a user