3 --make hand - mod another mod
6 --make trees drop stuff with shears
12 --add signs with vanessae's sign library
14 --beds - set respawn point - only sleep at night
15 --make treecapitator cut down whole tree if using axe - make trees drop items on treecapitator
18 --tnt throw player - and items
20 --torches with particle
22 --fix tools causing crash on pigs with no fleshy definition
23 --ladders - only placeable on walls
24 --eating animation - particles? - entity?
26 --make entities push against players
28 redstone - make nodes drop multiple items individually
32 fix full inventory collection deletion bug
35 shiftclick with tool tries to place torch
37 right click with tool places torch
38 if placed last node put another stack into hand
39 add a function to set a velocity goal to entities and then implement it with all entities
40 ^make a value if below then stop?
44 fix torches not deleting particles when mounted node dug <- meta glitch?
46 possible applications:
48 causes object to magnetize towards player or other objects and stop after an inner radius
49 use for better item magnet?
51 if object:is_player() and object:get_player_name() ~= self.rider then
52 local player_pos = object:getpos()
56 local currentvel = self.object:getvelocity()
57 local vel = vector.subtract(pos, player_pos)
58 vel = vector.normalize(vel)
59 local distance = vector.distance(pos,player_pos)
60 distance = (1-distance)*10
61 vel = vector.multiply(vel,distance)
62 local acceleration = vector.new(vel.x-currentvel.x,0,vel.z-currentvel.z)
65 if self.axis == "x" then
66 self.object:add_velocity(vector.new(acceleration.x,0,0))
67 elseif self.axis == "z" then
68 self.object:add_velocity(vector.new(0,0,acceleration.z))
70 self.object:add_velocity(acceleration)
73 --acceleration = vector.multiply(acceleration, -1)
74 --object:add_player_velocity(acceleration)