From 01fb71d2eb5d1dd41c338bef0bcc2e26a259047d Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 10 Jan 2017 00:32:08 -0700 Subject: [PATCH] renaming class definition files --- util_layout.lua => class_layout.lua | 0 pointset.lua => class_pointset.lua | 0 init.lua | 3 ++- util.lua | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) rename util_layout.lua => class_layout.lua (100%) rename pointset.lua => class_pointset.lua (100%) diff --git a/util_layout.lua b/class_layout.lua similarity index 100% rename from util_layout.lua rename to class_layout.lua diff --git a/pointset.lua b/class_pointset.lua similarity index 100% rename from pointset.lua rename to class_pointset.lua diff --git a/init.lua b/init.lua index af0492c..3ae536f 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,6 @@ dofile( minetest.get_modpath( "digtron" ) .. "/util.lua" ) -dofile( minetest.get_modpath( "digtron" ) .. "/pointset.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 diff --git a/util.lua b/util.lua index 73d6d22..acebc59 100644 --- a/util.lua +++ b/util.lua @@ -4,7 +4,6 @@ digtron = {} dofile( minetest.get_modpath( "digtron" ) .. "/util_item_place_node.lua" ) -- separated out to avoid potential for license complexity dofile( minetest.get_modpath( "digtron" ) .. "/util_movement.lua" ) -- separated out simply for tidiness, there's some big code in there -dofile( minetest.get_modpath( "digtron" ) .. "/util_layout.lua" ) -- separated out simply for tidiness, there's some big code in there dofile( minetest.get_modpath( "digtron" ) .. "/util_execute_cycle.lua" ) -- separated out simply for tidiness, there's some big code in there -- Apparently node_sound_metal_defaults is a newer thing, I ran into games using an older version of the default mod without it.