From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- legacy/depends.txt | 2 + legacy/init.lua | 107 ++++++++++++++++++++++++++++++++++++ legacy/textures/apple_iron.png | Bin 0 -> 189 bytes legacy/textures/cooked_rat.png | Bin 0 -> 171 bytes legacy/textures/dungeon_master.png | Bin 0 -> 5659 bytes legacy/textures/fireball.png | Bin 0 -> 400 bytes legacy/textures/firefly.png | Bin 0 -> 100 bytes legacy/textures/oerkki1.png | Bin 0 -> 201 bytes legacy/textures/oerkki1_damaged.png | Bin 0 -> 265 bytes legacy/textures/rat.png | Bin 0 -> 891 bytes 10 files changed, 109 insertions(+) create mode 100644 legacy/depends.txt create mode 100644 legacy/init.lua create mode 100644 legacy/textures/apple_iron.png create mode 100644 legacy/textures/cooked_rat.png create mode 100644 legacy/textures/dungeon_master.png create mode 100644 legacy/textures/fireball.png create mode 100644 legacy/textures/firefly.png create mode 100644 legacy/textures/oerkki1.png create mode 100644 legacy/textures/oerkki1_damaged.png create mode 100644 legacy/textures/rat.png (limited to 'legacy') diff --git a/legacy/depends.txt b/legacy/depends.txt new file mode 100644 index 0000000..3a7daa1 --- /dev/null +++ b/legacy/depends.txt @@ -0,0 +1,2 @@ +default + diff --git a/legacy/init.lua b/legacy/init.lua new file mode 100644 index 0000000..1cb99ef --- /dev/null +++ b/legacy/init.lua @@ -0,0 +1,107 @@ +-- 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", +}) + +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/legacy/textures/apple_iron.png b/legacy/textures/apple_iron.png new file mode 100644 index 0000000..b1d1804 Binary files /dev/null and b/legacy/textures/apple_iron.png differ diff --git a/legacy/textures/cooked_rat.png b/legacy/textures/cooked_rat.png new file mode 100644 index 0000000..db80298 Binary files /dev/null and b/legacy/textures/cooked_rat.png differ diff --git a/legacy/textures/dungeon_master.png b/legacy/textures/dungeon_master.png new file mode 100644 index 0000000..56caa50 Binary files /dev/null and b/legacy/textures/dungeon_master.png differ diff --git a/legacy/textures/fireball.png b/legacy/textures/fireball.png new file mode 100644 index 0000000..ed21a5b Binary files /dev/null and b/legacy/textures/fireball.png differ diff --git a/legacy/textures/firefly.png b/legacy/textures/firefly.png new file mode 100644 index 0000000..41bb25d Binary files /dev/null and b/legacy/textures/firefly.png differ diff --git a/legacy/textures/oerkki1.png b/legacy/textures/oerkki1.png new file mode 100644 index 0000000..7321d3d Binary files /dev/null and b/legacy/textures/oerkki1.png differ diff --git a/legacy/textures/oerkki1_damaged.png b/legacy/textures/oerkki1_damaged.png new file mode 100644 index 0000000..0ab50c8 Binary files /dev/null and b/legacy/textures/oerkki1_damaged.png differ diff --git a/legacy/textures/rat.png b/legacy/textures/rat.png new file mode 100644 index 0000000..e62e603 Binary files /dev/null and b/legacy/textures/rat.png differ -- cgit v1.2.3