todo notes / fixed typos

This commit is contained in:
BuckarooBanzay 2020-06-16 07:47:44 +02:00
parent 0f035ddf92
commit 94e1a0616c
2 changed files with 11 additions and 2 deletions

@ -30,7 +30,7 @@ function digibuilder.digiline_effector(pos, _, channel, msg)
end end
if msg.command == "getnode" then if msg.command == "getnode" then
-- calculate absoulte position -- calculate absolute position
local absolute_pos = vector.add(pos, msg.pos) local absolute_pos = vector.add(pos, msg.pos)
local node = digibuilder.get_node(absolute_pos) local node = digibuilder.get_node(absolute_pos)
@ -58,7 +58,7 @@ function digibuilder.digiline_effector(pos, _, channel, msg)
digilines.receptor_send(pos, digibuilder.digiline_rules, set_channel, result) digilines.receptor_send(pos, digibuilder.digiline_rules, set_channel, result)
elseif msg.command == "setnode" then elseif msg.command == "setnode" then
-- calculate absoulte position -- calculate absolute position
local absolute_pos = vector.add(pos, msg.pos) local absolute_pos = vector.add(pos, msg.pos)
local node = digibuilder.get_node(absolute_pos) local node = digibuilder.get_node(absolute_pos)

@ -6,6 +6,15 @@ Minetest digibuilder
State: **WIP** State: **WIP**
# TODO
* [ ] ratelimiting of `setnode` operation (2 ops/second)
* [ ] `after_place_node(pos, placer, itemstack, pointed_thing)` compat (digtron mod?)
* [ ] area display on punch (like in the jumpdrive/protector mod)
further issues:
* [ ] Storage of read schematics/buildings
# Commands # Commands
## Get node ## Get node