From 1f56d71f190c67325bdc413dfbc6c8e4b8284d98 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 19 Mar 2012 20:44:07 +0200 Subject: Rework directory structure --- .../server/games/mesetint/mods/legacy/depends.txt | 2 - share/server/games/mesetint/mods/legacy/init.lua | 132 --------------------- .../mesetint/mods/legacy/textures/apple_iron.png | Bin 207 -> 0 bytes .../mesetint/mods/legacy/textures/cooked_rat.png | Bin 239 -> 0 bytes .../mods/legacy/textures/dungeon_master.png | Bin 6636 -> 0 bytes .../mesetint/mods/legacy/textures/fireball.png | Bin 603 -> 0 bytes .../mesetint/mods/legacy/textures/firefly.png | Bin 116 -> 0 bytes .../mesetint/mods/legacy/textures/oerkki1.png | Bin 250 -> 0 bytes .../mods/legacy/textures/oerkki1_damaged.png | Bin 341 -> 0 bytes .../games/mesetint/mods/legacy/textures/rat.png | Bin 920 -> 0 bytes 10 files changed, 134 deletions(-) delete mode 100644 share/server/games/mesetint/mods/legacy/depends.txt delete mode 100644 share/server/games/mesetint/mods/legacy/init.lua delete mode 100644 share/server/games/mesetint/mods/legacy/textures/apple_iron.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/cooked_rat.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/dungeon_master.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/fireball.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/firefly.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/oerkki1.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png delete mode 100644 share/server/games/mesetint/mods/legacy/textures/rat.png (limited to 'share/server/games/mesetint/mods/legacy') diff --git a/share/server/games/mesetint/mods/legacy/depends.txt b/share/server/games/mesetint/mods/legacy/depends.txt deleted file mode 100644 index 3a7daa1d7..000000000 --- a/share/server/games/mesetint/mods/legacy/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -default - diff --git a/share/server/games/mesetint/mods/legacy/init.lua b/share/server/games/mesetint/mods/legacy/init.lua deleted file mode 100644 index 7f9088ce0..000000000 --- a/share/server/games/mesetint/mods/legacy/init.lua +++ /dev/null @@ -1,132 +0,0 @@ --- 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 --- - -minetest.register_alias("stone", "default:stone") -minetest.register_alias("stone_with_coal", "default:stone_with_coal") -minetest.register_alias("stone_with_iron", "default:stone_with_iron") -minetest.register_alias("dirt_with_grass", "default:dirt_with_grass") -minetest.register_alias("dirt_with_grass_footsteps", "default:dirt_with_grass_footsteps") -minetest.register_alias("dirt", "default:dirt") -minetest.register_alias("sand", "default:sand") -minetest.register_alias("gravel", "default:gravel") -minetest.register_alias("sandstone", "default:sandstone") -minetest.register_alias("clay", "default:clay") -minetest.register_alias("brick", "default:brick") -minetest.register_alias("tree", "default:tree") -minetest.register_alias("jungletree", "default:jungletree") -minetest.register_alias("junglegrass", "default:junglegrass") -minetest.register_alias("leaves", "default:leaves") -minetest.register_alias("cactus", "default:cactus") -minetest.register_alias("papyrus", "default:papyrus") -minetest.register_alias("bookshelf", "default:bookshelf") -minetest.register_alias("glass", "default:glass") -minetest.register_alias("wooden_fence", "default:fence_wood") -minetest.register_alias("rail", "default:rail") -minetest.register_alias("ladder", "default:ladder") -minetest.register_alias("wood", "default:wood") -minetest.register_alias("mese", "default:mese") -minetest.register_alias("cloud", "default:cloud") -minetest.register_alias("water_flowing", "default:water_flowing") -minetest.register_alias("water_source", "default:water_source") -minetest.register_alias("lava_flowing", "default:lava_flowing") -minetest.register_alias("lava_source", "default:lava_source") -minetest.register_alias("torch", "default:torch") -minetest.register_alias("sign_wall", "default:sign_wall") -minetest.register_alias("furnace", "default:furnace") -minetest.register_alias("chest", "default:chest") -minetest.register_alias("locked_chest", "default:chest_locked") -minetest.register_alias("cobble", "default:cobble") -minetest.register_alias("mossycobble", "default:mossycobble") -minetest.register_alias("steelblock", "default:steelblock") -minetest.register_alias("nyancat", "default:nyancat") -minetest.register_alias("nyancat_rainbow", "default:nyancat_rainbow") -minetest.register_alias("sapling", "default:sapling") -minetest.register_alias("apple", "default:apple") - -minetest.register_alias("WPick", "default:pick_wood") -minetest.register_alias("STPick", "default:pick_stone") -minetest.register_alias("SteelPick", "default:pick_steel") -minetest.register_alias("MesePick", "default:pick_mese") -minetest.register_alias("WShovel", "default:shovel_wood") -minetest.register_alias("STShovel", "default:shovel_stone") -minetest.register_alias("SteelShovel", "default:shovel_steel") -minetest.register_alias("WAxe", "default:axe_wood") -minetest.register_alias("STAxe", "default:axe_stone") -minetest.register_alias("SteelAxe", "default:axe_steel") -minetest.register_alias("WSword", "default:sword_wood") -minetest.register_alias("STSword", "default:sword_stone") -minetest.register_alias("SteelSword", "default:sword_steel") - -minetest.register_alias("Stick", "default:stick") -minetest.register_alias("paper", "default:paper") -minetest.register_alias("book", "default:book") -minetest.register_alias("lump_of_coal", "default:coal_lump") -minetest.register_alias("lump_of_iron", "default:iron_lump") -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", - on_drop = function(item, dropper, pos) - minetest.env:add_rat(pos) - item:take_item() - return item - end, - on_place = function(item, dropped, pointed) - pos = minetest.get_pointed_thing_position(pointed, true) - if pos ~= nil then - minetest.env:add_rat(pos) - item:take_item() - return item - end - end -}) - -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", - on_drop = function(item, dropper, pos) - minetest.env:add_firefly(pos) - item:take_item() - return item - end, - on_place = function(item, dropped, pointed) - pos = minetest.get_pointed_thing_position(pointed, true) - if pos ~= nil then - minetest.env:add_firefly(pos) - item:take_item() - return item - end - end -}) - -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/share/server/games/mesetint/mods/legacy/textures/apple_iron.png b/share/server/games/mesetint/mods/legacy/textures/apple_iron.png deleted file mode 100644 index 2dffdf014..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/apple_iron.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/cooked_rat.png b/share/server/games/mesetint/mods/legacy/textures/cooked_rat.png deleted file mode 100644 index daad3be0d..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/cooked_rat.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/dungeon_master.png b/share/server/games/mesetint/mods/legacy/textures/dungeon_master.png deleted file mode 100644 index 3457c8228..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/dungeon_master.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/fireball.png b/share/server/games/mesetint/mods/legacy/textures/fireball.png deleted file mode 100644 index 523142850..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/fireball.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/firefly.png b/share/server/games/mesetint/mods/legacy/textures/firefly.png deleted file mode 100644 index 40df7fa1c..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/firefly.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/oerkki1.png b/share/server/games/mesetint/mods/legacy/textures/oerkki1.png deleted file mode 100644 index 33cbac9e7..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/oerkki1.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png b/share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png deleted file mode 100644 index 9b777387c..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/oerkki1_damaged.png and /dev/null differ diff --git a/share/server/games/mesetint/mods/legacy/textures/rat.png b/share/server/games/mesetint/mods/legacy/textures/rat.png deleted file mode 100644 index d1a0e2ae2..000000000 Binary files a/share/server/games/mesetint/mods/legacy/textures/rat.png and /dev/null differ -- cgit v1.2.3