This commit is contained in:
2022-08-14 16:00:16 +02:00
parent e6726191a4
commit 910d9e0979
4 changed files with 102 additions and 10 deletions

View File

@@ -412,6 +412,8 @@ minetest.register_craftitem(
range = 100,
inventory_image = "portalgun_gun0_rndr.png",
wield_image = "portalgun_gun0_rndr.png",
--inventory_image = "portalgun_gun_orange.png",
--wield_image = "portalgun_gun_orange.png",
on_place = function(itemstack, user, pointed_thing)
local node = minetest.get_node(pointed_thing.under)
if node.name == "portalgun:button" then