Disable the torch particles temporarily to move to another fix with abms.
Make the item magnet move with the player as to not break the animation flow when a player is moving fast.
--get the variables
local pos = self.object:getpos()
local pos2 = collector:getpos()
--get the variables
local pos = self.object:getpos()
local pos2 = collector:getpos()
+ local player_velocity = collector:get_player_velocity()
pos2.y = pos2.y + self.collection_height
local direction = vector.normalize(vector.subtract(pos2,pos))
local distance = vector.distance(pos2,pos)
pos2.y = pos2.y + self.collection_height
local direction = vector.normalize(vector.subtract(pos2,pos))
local distance = vector.distance(pos2,pos)
--remove if too far away
if distance > self.radius then
--remove if too far away
if distance > self.radius then
local multiplier = (self.radius*5) - distance
local velocity = vector.multiply(direction,multiplier)
local multiplier = (self.radius*5) - distance
local velocity = vector.multiply(direction,multiplier)
+ local velocity = vector.add(player_velocity,velocity)
self.object:setvelocity(velocity)
self.object:setvelocity(velocity)
end
--reload smoke and flame on load
end
--reload smoke and flame on load
minetest.register_lbm({
name = "redstone:torch",
nodenames = {"redstone:torch_floor","redstone:torch_wall"},
minetest.register_lbm({
name = "redstone:torch",
nodenames = {"redstone:torch_floor","redstone:torch_wall"},
-- Item definitions
minetest.register_craftitem("redstone:torch", {
description = "Redstone Torch",
-- Item definitions
minetest.register_craftitem("redstone:torch", {
description = "Redstone Torch",
fixed = {-1/16, -0.5, -1/16, 1/16, 2/16, 1/16},
},
on_construct = function(pos)
fixed = {-1/16, -0.5, -1/16, 1/16, 2/16, 1/16},
},
on_construct = function(pos)
redstone.update(pos)
end,
after_destruct = function(pos, oldnode)
redstone.update(pos,oldnode)
end,
on_destruct = function(pos)
redstone.update(pos)
end,
after_destruct = function(pos, oldnode)
redstone.update(pos,oldnode)
end,
on_destruct = function(pos)
end,
sounds = main.woodSound(),
})
end,
sounds = main.woodSound(),
})
wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
},
on_construct = function(pos)
wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
},
on_construct = function(pos)
redstone.update(pos)
end,
after_destruct = function(pos, oldnode)
redstone.update(pos)
end,
after_destruct = function(pos, oldnode)
- redstone.update(pos,oldnode)
+ --redstone.update(pos,oldnode)
end,
on_destruct = function(pos)
delete_ps(pos)
end,
on_destruct = function(pos)
delete_ps(pos)
meta:set_int("pss", pss)
end
meta:set_int("pss", pss)
end
--reload smoke and flame on load
minetest.register_lbm({
name = "torch:torch",
--reload smoke and flame on load
minetest.register_lbm({
name = "torch:torch",
-- Item definitions
minetest.register_craftitem("torch:torch", {
description = "Torch",
-- Item definitions
minetest.register_craftitem("torch:torch", {
description = "Torch",
fixed = {-1/16, -0.5, -1/16, 1/16, 2/16, 1/16},
},
on_construct = function(pos)
fixed = {-1/16, -0.5, -1/16, 1/16, 2/16, 1/16},
},
on_construct = function(pos)
end,
on_destruct = function(pos)
end,
on_destruct = function(pos)
end,
sounds = main.woodSound(),
})
end,
sounds = main.woodSound(),
})
wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
},
on_construct = function(pos)
wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
},
on_construct = function(pos)
end,
on_destruct = function(pos)
end,
on_destruct = function(pos)
end,
sounds = main.woodSound(),
})
end,
sounds = main.woodSound(),
})
+ALPHA STATE CHANGELOG
+0.1
--make a grass biome
--make trees
--make hand - mod another mod
--make a grass biome
--make trees
--make hand - mod another mod
--water flow faster
--torches with particle
--make a mob
--water flow faster
--torches with particle
--make a mob
--fix tools causing crash on pigs with no fleshy definition
--ladders - only placeable on walls
--eating animation - particles? - entity?
--boats
--make falling item have fall soundspec
--rebalance sand audio
--fix tools causing crash on pigs with no fleshy definition
--ladders - only placeable on walls
--eating animation - particles? - entity?
--boats
--make falling item have fall soundspec
--rebalance sand audio
+--rewrite the item collection better
+(not finished) redstone - make nodes drop multiple items individually
+make item collection move with the player's speed too
-
-
-redstone - make nodes drop multiple items individually
-
-
-
-
make entities push against players
make entities push against players
-rewrite the item collection to magnetize using the possible application below
crafting bench
fishing
bows
crafting bench
fishing
bows
check if everyone is in bed before going to next night
also lock player in bed until they get out or daytime
check if everyone is in bed before going to next night
also lock player in bed until they get out or daytime
open bugs:
fix torches not deleting particles when mounted node dug <- meta glitch?
open bugs:
fix torches not deleting particles when mounted node dug <- meta glitch?
causes object to magnetize towards player or other objects and stop after an inner radius
use for better item magnet?
causes object to magnetize towards player or other objects and stop after an inner radius
use for better item magnet?