diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-09-11 23:47:25 -0600 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-09-11 23:47:25 -0600 |
commit | 15b327c842ebe4189ceae16a419dce974c8b2451 (patch) | |
tree | da1dbcf8528f963c8bc9d93aab2af952fbb0199e | |
parent | 3441a0d1da37087287fdaade7c8930480abe65e9 (diff) |
move node defs and recipes into a subfolder
-rw-r--r-- | init.lua | 16 | ||||
-rw-r--r-- | nodes/node_axle.lua (renamed from node_axle.lua) | 0 | ||||
-rw-r--r-- | nodes/node_builders.lua (renamed from node_builders.lua) | 0 | ||||
-rw-r--r-- | nodes/node_controllers.lua (renamed from node_controllers.lua) | 0 | ||||
-rw-r--r-- | nodes/node_crate.lua (renamed from node_crate.lua) | 0 | ||||
-rw-r--r-- | nodes/node_diggers.lua (renamed from node_diggers.lua) | 0 | ||||
-rw-r--r-- | nodes/node_misc.lua (renamed from node_misc.lua) | 0 | ||||
-rw-r--r-- | nodes/node_storage.lua (renamed from node_storage.lua) | 2 | ||||
-rw-r--r-- | nodes/recipes.lua (renamed from recipes.lua) | 0 |
9 files changed, 9 insertions, 9 deletions
@@ -11,14 +11,14 @@ dofile( minetest.get_modpath( "digtron" ) .. "/awards.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/class_pointset.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/class_layout.lua" ) dofile( minetest.get_modpath( "digtron" ) .. "/entities.lua" ) -dofile( minetest.get_modpath( "digtron" ) .. "/node_misc.lua" ) -- contains structure and light nodes -dofile( minetest.get_modpath( "digtron" ) .. "/node_storage.lua" ) -- contains inventory and fuel storage nodes -dofile( minetest.get_modpath( "digtron" ) .. "/node_diggers.lua" ) -- contains all diggers -dofile( minetest.get_modpath( "digtron" ) .. "/node_builders.lua" ) -- contains all builders (there's just one currently) -dofile( minetest.get_modpath( "digtron" ) .. "/node_controllers.lua" ) -- controllers -dofile( minetest.get_modpath( "digtron" ) .. "/node_axle.lua" ) -- Rotation controller -dofile( minetest.get_modpath( "digtron" ) .. "/node_crate.lua" ) -- Digtron portability support -dofile( minetest.get_modpath( "digtron" ) .. "/recipes.lua" ) +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_misc.lua" ) -- contains structure and light nodes +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_storage.lua" ) -- contains inventory and fuel storage nodes +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_diggers.lua" ) -- contains all diggers +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_builders.lua" ) -- contains all builders (there's just one currently) +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_controllers.lua" ) -- controllers +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_axle.lua" ) -- Rotation controller +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/node_crate.lua" ) -- Digtron portability support +dofile( minetest.get_modpath( "digtron" ) .. "/nodes/recipes.lua" ) -- digtron group numbers: -- 1 - generic digtron node, nothing special is done with these. They're just dragged along. diff --git a/node_axle.lua b/nodes/node_axle.lua index 8726ab8..8726ab8 100644 --- a/node_axle.lua +++ b/nodes/node_axle.lua diff --git a/node_builders.lua b/nodes/node_builders.lua index 424eb67..424eb67 100644 --- a/node_builders.lua +++ b/nodes/node_builders.lua diff --git a/node_controllers.lua b/nodes/node_controllers.lua index a09cfbe..a09cfbe 100644 --- a/node_controllers.lua +++ b/nodes/node_controllers.lua diff --git a/node_crate.lua b/nodes/node_crate.lua index 017023d..017023d 100644 --- a/node_crate.lua +++ b/nodes/node_crate.lua diff --git a/node_diggers.lua b/nodes/node_diggers.lua index c12b46c..c12b46c 100644 --- a/node_diggers.lua +++ b/nodes/node_diggers.lua diff --git a/node_misc.lua b/nodes/node_misc.lua index e847045..e847045 100644 --- a/node_misc.lua +++ b/nodes/node_misc.lua diff --git a/node_storage.lua b/nodes/node_storage.lua index 5284490..826aa20 100644 --- a/node_storage.lua +++ b/nodes/node_storage.lua @@ -8,7 +8,7 @@ minetest.register_node("digtron:inventory", { description = S("Digtron Inventory Storage"), _doc_items_longdesc = digtron.doc.inventory_longdesc, _doc_items_usagehelp = digtron.doc.inventory_usagehelp, - groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 2, tubedevice = 1, tubedevice_receiver = 1}, + groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 2, tubedevice = 1, tubedevice_receiver = 1}, drop = "digtron:inventory", sounds = digtron.metal_sounds, paramtype2= "facedir", diff --git a/recipes.lua b/nodes/recipes.lua index 9895971..9895971 100644 --- a/recipes.lua +++ b/nodes/recipes.lua |