mirror of
https://github.com/OgelGames/digicontrol.git
synced 2024-11-19 20:13:45 +01:00
clearer description of filter channel, abandon router for now
This commit is contained in:
parent
aa9a2690b8
commit
6981c5d501
@ -5,10 +5,6 @@
|
||||
|
||||
Adds nodes to control the flow of digiline messages.
|
||||
|
||||
## TODO
|
||||
|
||||
- router (sorting tube for digiline messages)
|
||||
|
||||
## License
|
||||
|
||||
Except for any exceptions stated in [LICENSE.md](LICENSE.md#exceptions), all code is licensed under the [MIT License](LICENSE.md#mit-license), with all textures, models, sounds, and other media licensed under the [CC BY-SA 4.0 License](LICENSE.md#cc-by-sa-40-license).
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node("digicontrol:filter", {
|
||||
after_place_node = digilines.update_autoconnect,
|
||||
after_destruct = digilines.update_autoconnect,
|
||||
on_construct = function(pos)
|
||||
minetest.get_meta(pos):set_string("formspec", "field[channel;Digiline Channel;${channel}]")
|
||||
minetest.get_meta(pos):set_string("formspec", "field[channel;Channel filter (empty for any);${channel}]")
|
||||
end,
|
||||
on_receive_fields = function(pos, _, fields, sender)
|
||||
if minetest.is_protected(pos, sender:get_player_name()) then return end
|
||||
|
2
init.lua
2
init.lua
@ -57,8 +57,6 @@ dofile(MP.."/splitter.lua")
|
||||
dofile(MP.."/trisplitter.lua")
|
||||
dofile(MP.."/filter.lua")
|
||||
dofile(MP.."/limiter.lua")
|
||||
--dofile(MP.."/router.lua")
|
||||
|
||||
-- Crafting recipes
|
||||
dofile(MP.."/crafts.lua")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user