1
0
mirror of https://gitlab.com/echoes91/throwing.git synced 2024-11-13 05:20:20 +01:00

Refined teleport arrow

This commit is contained in:
echoes91 2015-03-10 20:11:43 +01:00
parent b2ca6a4c58
commit f7d5c7d449
5 changed files with 3 additions and 5 deletions

View File

@ -53,7 +53,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
self.object:remove()
if self.player ~= "" then
self.player:setpos(pos)
self.player:get_inventory():add_item("main", ItemStack("default:mese_crystal_fragment 2"))
self.player:get_inventory():add_item("main", ItemStack("default:stick 2"))
end
end
end
@ -65,7 +65,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
self.object:remove()
if self.player ~= "" then
self.player:setpos(self.lastpos)
self.player:get_inventory():add_item("main", ItemStack("default:mese_crystal_fragment 2"))
self.player:get_inventory():add_item("main", ItemStack("default:stick 2"))
end
end
end
@ -77,8 +77,6 @@ minetest.register_entity("throwing:arrow_teleport_entity", THROWING_ARROW_ENTITY
minetest.register_craft({
output = 'throwing:arrow_teleport',
recipe = {
{'' , '' , 'default:mese_crystal_fragment'},
{'default:stick', 'default:stick', 'default:mese_crystal_fragment'},
{'' , '' , 'default:mese_crystal_fragment'}
{'default:stick', 'default:stick', 'default:mese_crystal_fragment'}
}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 178 B