diff --git a/mods/legacy/init.lua b/mods/default/aliases.lua similarity index 82% rename from mods/legacy/init.lua rename to mods/default/aliases.lua index 1cb99ef..eadb2a3 100644 --- a/mods/legacy/init.lua +++ b/mods/default/aliases.lua @@ -1,9 +1,5 @@ --- legacy (Minetest 0.4 mod) --- Provides as much backwards-compatibility as feasible - --- --- Aliases to support loading 0.3 and old 0.4 worlds and inventories --- +-- aliases (Minetest 0.4 mod) +-- Provides alias for most default items minetest.register_alias("stone", "default:stone") minetest.register_alias("stone_with_coal", "default:stone_with_coal") @@ -70,38 +66,3 @@ minetest.register_alias("lump_of_clay", "default:clay_lump") minetest.register_alias("steel_ingot", "default:steel_ingot") minetest.register_alias("clay_brick", "default:clay_brick") minetest.register_alias("scorched_stuff", "default:scorched_stuff") - --- --- Old items --- - -minetest.register_craftitem(":rat", { - description = "Rat", - inventory_image = "rat.png", -}) - -minetest.register_craftitem(":cooked_rat", { - description = "Cooked rat", - inventory_image = "cooked_rat.png", - on_use = minetest.item_eat(6), -}) - -minetest.register_craftitem(":firefly", { - description = "Firefly", - inventory_image = "firefly.png", - groups = {not_in_creative_inventory=1}, -}) - -minetest.register_craft({ - type = "cooking", - output = "cooked_rat", - recipe = "rat", -}) - -minetest.register_craft({ - type = "cooking", - output = "scorched_stuff", - recipe = "cooked_rat", -}) - --- END diff --git a/mods/default/init.lua b/mods/default/init.lua index dbddd20..82e558d 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -44,3 +44,4 @@ dofile(minetest.get_modpath("default").."/crafting.lua") dofile(minetest.get_modpath("default").."/mapgen.lua") dofile(minetest.get_modpath("default").."/player.lua") dofile(minetest.get_modpath("default").."/trees.lua") +dofile(minetest.get_modpath("default").."/aliases.lua") diff --git a/mods/legacy/depends.txt b/mods/legacy/depends.txt deleted file mode 100644 index 3a7daa1..0000000 --- a/mods/legacy/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -default - diff --git a/mods/legacy/textures/apple_iron.png b/mods/legacy/textures/apple_iron.png deleted file mode 100644 index b1d1804..0000000 Binary files a/mods/legacy/textures/apple_iron.png and /dev/null differ diff --git a/mods/legacy/textures/cooked_rat.png b/mods/legacy/textures/cooked_rat.png deleted file mode 100644 index db80298..0000000 Binary files a/mods/legacy/textures/cooked_rat.png and /dev/null differ diff --git a/mods/legacy/textures/dungeon_master.png b/mods/legacy/textures/dungeon_master.png deleted file mode 100644 index 56caa50..0000000 Binary files a/mods/legacy/textures/dungeon_master.png and /dev/null differ diff --git a/mods/legacy/textures/fireball.png b/mods/legacy/textures/fireball.png deleted file mode 100644 index ed21a5b..0000000 Binary files a/mods/legacy/textures/fireball.png and /dev/null differ diff --git a/mods/legacy/textures/firefly.png b/mods/legacy/textures/firefly.png deleted file mode 100644 index 41bb25d..0000000 Binary files a/mods/legacy/textures/firefly.png and /dev/null differ diff --git a/mods/legacy/textures/oerkki1.png b/mods/legacy/textures/oerkki1.png deleted file mode 100644 index 7321d3d..0000000 Binary files a/mods/legacy/textures/oerkki1.png and /dev/null differ diff --git a/mods/legacy/textures/oerkki1_damaged.png b/mods/legacy/textures/oerkki1_damaged.png deleted file mode 100644 index 0ab50c8..0000000 Binary files a/mods/legacy/textures/oerkki1_damaged.png and /dev/null differ diff --git a/mods/legacy/textures/rat.png b/mods/legacy/textures/rat.png deleted file mode 100644 index e62e603..0000000 Binary files a/mods/legacy/textures/rat.png and /dev/null differ