summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textures/technic_caouthouc.pngbin0 -> 1625 bytes
-rw-r--r--textures/technic_lv_cable.pngbin458 -> 381 bytes
-rw-r--r--textures/technic_lv_cable_wield.pngbin205 -> 286 bytes
-rw-r--r--textures/technic_mv_cable.pngbin0 -> 536 bytes
-rw-r--r--textures/technic_mv_cable_wield.pngbin0 -> 2996 bytes
-rw-r--r--textures/technic_rubber.pngbin0 -> 587 bytes
-rw-r--r--tree_tap.lua12
7 files changed, 6 insertions, 6 deletions
diff --git a/textures/technic_caouthouc.png b/textures/technic_caouthouc.png
new file mode 100644
index 0000000..7fbbe64
--- /dev/null
+++ b/textures/technic_caouthouc.png
Binary files differ
diff --git a/textures/technic_lv_cable.png b/textures/technic_lv_cable.png
index 6155c32..87076c9 100644
--- a/textures/technic_lv_cable.png
+++ b/textures/technic_lv_cable.png
Binary files differ
diff --git a/textures/technic_lv_cable_wield.png b/textures/technic_lv_cable_wield.png
index eb8abe2..c4ada04 100644
--- a/textures/technic_lv_cable_wield.png
+++ b/textures/technic_lv_cable_wield.png
Binary files differ
diff --git a/textures/technic_mv_cable.png b/textures/technic_mv_cable.png
new file mode 100644
index 0000000..f049e39
--- /dev/null
+++ b/textures/technic_mv_cable.png
Binary files differ
diff --git a/textures/technic_mv_cable_wield.png b/textures/technic_mv_cable_wield.png
new file mode 100644
index 0000000..aca9fd4
--- /dev/null
+++ b/textures/technic_mv_cable_wield.png
Binary files differ
diff --git a/textures/technic_rubber.png b/textures/technic_rubber.png
new file mode 100644
index 0000000..9ed4a9d
--- /dev/null
+++ b/textures/technic_rubber.png
Binary files differ
diff --git a/tree_tap.lua b/tree_tap.lua
index 6c5a012..92c56b0 100644
--- a/tree_tap.lua
+++ b/tree_tap.lua
@@ -3,12 +3,12 @@
inventory_image = "technic_tree_tap.png",
on_use = function(itemstack,user,pointed_thing)
if pointed_thing.type~="node" then return end
- if user:get_inventory():room_for_item("main",ItemStack("technic:raw_rubber")) then
+ if user:get_inventory():room_for_item("main",ItemStack("technic:caouthouc")) then
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
local node=minetest.env:get_node(pos)
local node_name=node.name
if node_name == "farming:rubber_tree_full" then
- user:get_inventory():add_item("main",ItemStack("technic:raw_rubber"))
+ user:get_inventory():add_item("main",ItemStack("technic:caouthouc"))
minetest.env:set_node(pos,node)
local item=itemstack:to_table()
local item_wear=tonumber((item["wear"]))
@@ -32,15 +32,15 @@
},
})
- minetest.register_craftitem("technic:raw_rubber", {
- description = "Raw Rubber",
- inventory_image = "technic_raw_rubber.png",
+ minetest.register_craftitem("technic:caouthouc", {
+ description = "Caouthouc",
+ inventory_image = "technic_caouthouc.png",
})
minetest.register_craft({
type = "cooking",
output = "technic:rubber",
- recipe = "technic:raw_rubber",
+ recipe = "technic:caouthouc",
})
minetest.register_craftitem("technic:rubber", {