mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-07-07 02:30:34 +02:00
Add tag support into LuaTube.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
@ -378,6 +378,7 @@ luaentity.register_entity("pipeworks:tubed_item", {
|
||||
end
|
||||
|
||||
local found_next, new_velocity, multimode = go_next(self.start_pos, velocity, stack, self.owner) -- todo: color
|
||||
self.itemstring = stack:to_string()
|
||||
local rev_vel = vector.multiply(velocity, -1)
|
||||
local rev_dir = vector.direction(self.start_pos,vector.add(self.start_pos,rev_vel))
|
||||
local rev_node = minetest.get_node(vector.round(vector.add(self.start_pos,rev_dir)))
|
||||
|
Reference in New Issue
Block a user