From 742f3019bede5118766a6c599b34176cb8dd56c8 Mon Sep 17 00:00:00 2001 From: tacigar Date: Tue, 13 Sep 2016 23:20:03 +0900 Subject: [PATCH] [UPDATE] Update maidroid_core_basic -> maidroid_core --- {maidroid_core_basic => maidroid_core}/depends.txt | 0 {maidroid_core_basic => maidroid_core}/init.lua | 8 ++++---- {maidroid_core_basic => maidroid_core}/register.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename {maidroid_core_basic => maidroid_core}/depends.txt (100%) rename {maidroid_core_basic => maidroid_core}/init.lua (50%) rename {maidroid_core_basic => maidroid_core}/register.lua (96%) diff --git a/maidroid_core_basic/depends.txt b/maidroid_core/depends.txt similarity index 100% rename from maidroid_core_basic/depends.txt rename to maidroid_core/depends.txt diff --git a/maidroid_core_basic/init.lua b/maidroid_core/init.lua similarity index 50% rename from maidroid_core_basic/init.lua rename to maidroid_core/init.lua index 574c59d..e7f7996 100644 --- a/maidroid_core_basic/init.lua +++ b/maidroid_core/init.lua @@ -3,9 +3,9 @@ -- https://github.com/tacigar/maidroid ------------------------------------------------------------ -maidroid_core_basic = {} +maidroid_core = {} -maidroid_core_basic.modname = "maidroid_core_basic" -maidroid_core_basic.modpath = minetest.get_modpath(maidroid_core_basic.modname) +maidroid_core.modname = "maidroid_core" +maidroid_core.modpath = minetest.get_modpath(maidroid_core.modname) -dofile(maidroid_core_basic.modpath .. "/register.lua") +dofile(maidroid_core.modpath .. "/register.lua") diff --git a/maidroid_core_basic/register.lua b/maidroid_core/register.lua similarity index 96% rename from maidroid_core_basic/register.lua rename to maidroid_core/register.lua index e48099a..963f2f5 100644 --- a/maidroid_core_basic/register.lua +++ b/maidroid_core/register.lua @@ -55,7 +55,7 @@ local function on_step(self, dtime) end end -maidroid.register_core("maidroid_core_basic:core_basic", { +maidroid.register_core("maidroid_core:core_basic", { description = "maidroid core : basic", inventory_image = "maidroid_core_basic.png", on_start = on_start,