aboutsummaryrefslogtreecommitdiff
path: root/games/minetest/mods/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'games/minetest/mods/legacy')
-rw-r--r--games/minetest/mods/legacy/depends.txt2
-rw-r--r--games/minetest/mods/legacy/init.lua132
-rw-r--r--games/minetest/mods/legacy/textures/apple_iron.pngbin207 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/cooked_rat.pngbin239 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/dungeon_master.pngbin6636 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/fireball.pngbin603 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/firefly.pngbin116 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/oerkki1.pngbin250 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/oerkki1_damaged.pngbin341 -> 0 bytes
-rw-r--r--games/minetest/mods/legacy/textures/rat.pngbin920 -> 0 bytes
10 files changed, 0 insertions, 134 deletions
diff --git a/games/minetest/mods/legacy/depends.txt b/games/minetest/mods/legacy/depends.txt
deleted file mode 100644
index 3a7daa1d7..000000000
--- a/games/minetest/mods/legacy/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-
diff --git a/games/minetest/mods/legacy/init.lua b/games/minetest/mods/legacy/init.lua
deleted file mode 100644
index 7f9088ce0..000000000
--- a/games/minetest/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/games/minetest/mods/legacy/textures/apple_iron.png b/games/minetest/mods/legacy/textures/apple_iron.png
deleted file mode 100644
index 2dffdf014..000000000
--- a/games/minetest/mods/legacy/textures/apple_iron.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/cooked_rat.png b/games/minetest/mods/legacy/textures/cooked_rat.png
deleted file mode 100644
index daad3be0d..000000000
--- a/games/minetest/mods/legacy/textures/cooked_rat.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/dungeon_master.png b/games/minetest/mods/legacy/textures/dungeon_master.png
deleted file mode 100644
index 3457c8228..000000000
--- a/games/minetest/mods/legacy/textures/dungeon_master.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/fireball.png b/games/minetest/mods/legacy/textures/fireball.png
deleted file mode 100644
index 523142850..000000000
--- a/games/minetest/mods/legacy/textures/fireball.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/firefly.png b/games/minetest/mods/legacy/textures/firefly.png
deleted file mode 100644
index 40df7fa1c..000000000
--- a/games/minetest/mods/legacy/textures/firefly.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/oerkki1.png b/games/minetest/mods/legacy/textures/oerkki1.png
deleted file mode 100644
index 33cbac9e7..000000000
--- a/games/minetest/mods/legacy/textures/oerkki1.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/oerkki1_damaged.png b/games/minetest/mods/legacy/textures/oerkki1_damaged.png
deleted file mode 100644
index 9b777387c..000000000
--- a/games/minetest/mods/legacy/textures/oerkki1_damaged.png
+++ /dev/null
Binary files differ
diff --git a/games/minetest/mods/legacy/textures/rat.png b/games/minetest/mods/legacy/textures/rat.png
deleted file mode 100644
index d1a0e2ae2..000000000
--- a/games/minetest/mods/legacy/textures/rat.png
+++ /dev/null
Binary files differ