diff --git a/_aux.lua b/_aux.lua deleted file mode 100644 index 63c34ea..0000000 --- a/_aux.lua +++ /dev/null @@ -1,14 +0,0 @@ ------------------------------------------------------------- --- Copyright (c) 2016 tacigar --- https://github.com/tacigar/maidroid ------------------------------------------------------------- - -maidroid._aux = {} - --- get inventory of the maidroid -function maidroid._aux.get_maidroid_inventory(self) - return minetest.get_inventory{ - type = "detached", - name = self.invname, - } -end diff --git a/depends.txt b/depends.txt deleted file mode 100644 index 2717bef..0000000 --- a/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -default -dye diff --git a/init.lua b/init.lua deleted file mode 100644 index 6813f8b..0000000 --- a/init.lua +++ /dev/null @@ -1,15 +0,0 @@ ------------------------------------------------------------- --- Copyright (c) 2016 tacigar --- https://github.com/tacigar/maidroid ------------------------------------------------------------- - -maidroid = {} -maidroid.modname = "maidroid" -maidroid.modpath = minetest.get_modpath("maidroid") - -dofile(maidroid.modpath.."/_aux.lua") -dofile(maidroid.modpath.."/util.lua") -dofile(maidroid.modpath.."/api.lua") -dofile(maidroid.modpath.."/modules.lua") -dofile(maidroid.modpath.."/maidroids.lua") -dofile(maidroid.modpath.."/recipe.lua") diff --git a/maidroids.lua b/maidroids.lua deleted file mode 100644 index 4522b7e..0000000 --- a/maidroids.lua +++ /dev/null @@ -1,24 +0,0 @@ ------------------------------------------------------------- --- Copyright (c) 2016 tacigar --- https://github.com/tacigar/maidroid ------------------------------------------------------------- - -maidroid.register_maidroid("maidroid:maidroid", { - hp_max = 10, - description = "Maidroid : Maidroid", - inventory_image = "maidroid_maidroid.png", -}) - -maidroid.register_maidroid("maidroid:maidroid_mk2", { - hp_max = 10, - description = "Maidroid : Maidroid MkII", - textures = {"maidroid_mk2.png"}, - inventory_image = "maidroid_maidroid_mk2.png", -}) - -maidroid.register_maidroid("maidroid:maidroid_mk3", { - hp_max = 10, - description = "Maidroid : Maidroid MkIII", - textures = {"maidroid_mk3.png"}, - inventory_image = "maidroid_maidroid_mk3.png", -}) diff --git a/models/maidroid.b3d b/models/maidroid.b3d deleted file mode 100755 index 76243ba..0000000 Binary files a/models/maidroid.b3d and /dev/null differ diff --git a/models/maidroid.png b/models/maidroid.png deleted file mode 100755 index d9c5f77..0000000 Binary files a/models/maidroid.png and /dev/null differ diff --git a/models/maidroid_mk2.png b/models/maidroid_mk2.png deleted file mode 100644 index 97690e1..0000000 Binary files a/models/maidroid_mk2.png and /dev/null differ diff --git a/models/maidroid_mk3.png b/models/maidroid_mk3.png deleted file mode 100644 index 5436d06..0000000 Binary files a/models/maidroid_mk3.png and /dev/null differ diff --git a/modules.lua b/modules.lua deleted file mode 100644 index 1a8688d..0000000 --- a/modules.lua +++ /dev/null @@ -1,13 +0,0 @@ ------------------------------------------------------------- --- Copyright (c) 2016 tacigar --- https://github.com/tacigar/maidroid ------------------------------------------------------------- - -maidroid.modules = {} -local modules_dir = maidroid.modpath.."/modules" - -dofile(modules_dir.."/_aux.lua") -dofile(modules_dir.."/empty_module.lua") -dofile(modules_dir.."/chasing_player_module.lua") -dofile(modules_dir.."/farming_module.lua") -dofile(modules_dir.."/lumberjack_module.lua") diff --git a/recipe.lua b/recipe.lua deleted file mode 100644 index 453edbc..0000000 --- a/recipe.lua +++ /dev/null @@ -1,69 +0,0 @@ ------------------------------------------------------------- --- Copyright (c) 2016 tacigar --- https://github.com/tacigar/maidroid ------------------------------------------------------------- - --- maidroids -minetest.register_craft{ - output = "maidroid:maidroid_spawn_egg", - recipe = { - {"default:diamond", "default:diamond", "default:diamond"}, - {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}, - {"default:papyrus", "default:mese_crystal", "default:papyrus"}, - }, -} - -minetest.register_craft{ - output = "maidroid:maidroid_mk2_spawn_egg", - recipe = { - {"dye:blue", "dye:blue", "dye:blue"}, - {"dye:blue", "maidroid:maidroid_spawn_egg", "dye:blue"}, - {"dye:blue", "dye:blue", "dye:blue"}, - }, -} - -minetest.register_craft{ - output = "maidroid:maidroid_mk3_spawn_egg", - recipe = { - {"dye:pink", "dye:pink", "dye:pink"}, - {"dye:pink", "maidroid:maidroid_spawn_egg", "dye:pink"}, - {"dye:pink", "dye:pink", "dye:pink"}, - }, -} - --- modules -minetest.register_craft{ - output = "maidroid:empty_module", - recipe = { - {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, - {"default:steel_ingot", "default:obsidian", "default:steel_ingot"}, - {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, - }, -} - -minetest.register_craft{ - output = "maidroid:chasing_player_module", - recipe = { - {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, - {"default:steel_ingot", "maidroid:empty_module", "default:steel_ingot"}, - {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, - }, -} - -minetest.register_craft{ - output = "maidroid:farming_module", - recipe = { - {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}, - {"default:gold_ingot", "maidroid:empty_module", "default:gold_ingot"}, - {"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}, - }, -} - -minetest.register_craft{ - output = "maidroid:lumberjack_module", - recipe = { - {"default:diamond", "default:diamond", "default:diamond"}, - {"default:diamond", "maidroid:empty_module", "default:diamond"}, - {"default:diamond", "default:diamond", "default:diamond"}, - }, -}