mirror of
https://git.minetest.org/BuckarooBanzay/digibuilder.git
synced 2024-12-12 06:43:18 +01:00
todo notes / fixed typos
This commit is contained in:
parent
0f035ddf92
commit
94e1a0616c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user