aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default
diff options
context:
space:
mode:
Diffstat (limited to 'data/mods/default')
-rw-r--r--data/mods/default/init.lua418
-rw-r--r--data/mods/default/textures/apple.pngbin0 -> 203 bytes
-rw-r--r--data/mods/default/textures/apple_iron.pngbin0 -> 207 bytes
-rw-r--r--data/mods/default/textures/book.pngbin0 -> 292 bytes
-rw-r--r--data/mods/default/textures/bookshelf.pngbin0 -> 597 bytes
-rw-r--r--data/mods/default/textures/brick.pngbin0 -> 604 bytes
-rw-r--r--data/mods/default/textures/cactus_side.pngbin0 -> 279 bytes
-rw-r--r--data/mods/default/textures/cactus_top.pngbin0 -> 236 bytes
-rw-r--r--data/mods/default/textures/chest_front.pngbin0 -> 167 bytes
-rw-r--r--data/mods/default/textures/chest_lock.pngbin0 -> 224 bytes
-rw-r--r--data/mods/default/textures/chest_side.pngbin0 -> 151 bytes
-rw-r--r--data/mods/default/textures/chest_top.pngbin0 -> 142 bytes
-rw-r--r--data/mods/default/textures/clay.pngbin0 -> 613 bytes
-rw-r--r--data/mods/default/textures/clay_brick.pngbin0 -> 249 bytes
-rw-r--r--data/mods/default/textures/cloud.pngbin0 -> 118 bytes
-rw-r--r--data/mods/default/textures/cobble.pngbin0 -> 830 bytes
-rw-r--r--data/mods/default/textures/cooked_rat.pngbin0 -> 239 bytes
-rw-r--r--data/mods/default/textures/crack.pngbin0 -> 1076 bytes
-rw-r--r--data/mods/default/textures/dungeon_master.pngbin0 -> 6636 bytes
-rw-r--r--data/mods/default/textures/fence.pngbin0 -> 539 bytes
-rw-r--r--data/mods/default/textures/fireball.pngbin0 -> 603 bytes
-rw-r--r--data/mods/default/textures/firefly.pngbin0 -> 116 bytes
-rw-r--r--data/mods/default/textures/furnace_front.pngbin0 -> 246 bytes
-rw-r--r--data/mods/default/textures/furnace_side.pngbin0 -> 236 bytes
-rw-r--r--data/mods/default/textures/glass.pngbin0 -> 1309 bytes
-rw-r--r--data/mods/default/textures/grass.pngbin0 -> 874 bytes
-rw-r--r--data/mods/default/textures/grass_footsteps.pngbin0 -> 856 bytes
-rw-r--r--data/mods/default/textures/grass_side.pngbin0 -> 878 bytes
-rw-r--r--data/mods/default/textures/gravel.pngbin0 -> 591 bytes
-rw-r--r--data/mods/default/textures/heart.pngbin0 -> 308 bytes
-rw-r--r--data/mods/default/textures/junglegrass.pngbin0 -> 672 bytes
-rw-r--r--data/mods/default/textures/jungletree.pngbin0 -> 502 bytes
-rw-r--r--data/mods/default/textures/jungletree_top.pngbin0 -> 507 bytes
-rw-r--r--data/mods/default/textures/ladder.pngbin0 -> 395 bytes
-rw-r--r--data/mods/default/textures/lava.pngbin0 -> 357 bytes
-rw-r--r--data/mods/default/textures/leaves.pngbin0 -> 1689 bytes
-rw-r--r--data/mods/default/textures/lump_of_clay.pngbin0 -> 210 bytes
-rw-r--r--data/mods/default/textures/lump_of_coal.pngbin0 -> 933 bytes
-rw-r--r--data/mods/default/textures/lump_of_iron.pngbin0 -> 936 bytes
-rw-r--r--data/mods/default/textures/mese.pngbin0 -> 203 bytes
-rw-r--r--data/mods/default/textures/mineral_coal.pngbin0 -> 952 bytes
-rw-r--r--data/mods/default/textures/mineral_iron.pngbin0 -> 1614 bytes
-rw-r--r--data/mods/default/textures/mossycobble.pngbin0 -> 965 bytes
-rw-r--r--data/mods/default/textures/mud.pngbin0 -> 1586 bytes
-rw-r--r--data/mods/default/textures/nc_back.pngbin0 -> 303 bytes
-rw-r--r--data/mods/default/textures/nc_front.pngbin0 -> 410 bytes
-rw-r--r--data/mods/default/textures/nc_rb.pngbin0 -> 203 bytes
-rw-r--r--data/mods/default/textures/nc_side.pngbin0 -> 260 bytes
-rw-r--r--data/mods/default/textures/oerkki1.pngbin0 -> 250 bytes
-rw-r--r--data/mods/default/textures/oerkki1_damaged.pngbin0 -> 341 bytes
-rw-r--r--data/mods/default/textures/paper.pngbin0 -> 242 bytes
-rw-r--r--data/mods/default/textures/papyrus.pngbin0 -> 366 bytes
-rw-r--r--data/mods/default/textures/player.pngbin0 -> 212 bytes
-rw-r--r--data/mods/default/textures/player_back.pngbin0 -> 201 bytes
-rw-r--r--data/mods/default/textures/rail.pngbin0 -> 507 bytes
-rw-r--r--data/mods/default/textures/rail_crossing.pngbin0 -> 555 bytes
-rw-r--r--data/mods/default/textures/rail_curved.pngbin0 -> 545 bytes
-rw-r--r--data/mods/default/textures/rail_t_junction.pngbin0 -> 542 bytes
-rw-r--r--data/mods/default/textures/rat.pngbin0 -> 920 bytes
-rw-r--r--data/mods/default/textures/sand.pngbin0 -> 1381 bytes
-rw-r--r--data/mods/default/textures/sandstone.pngbin0 -> 772 bytes
-rw-r--r--data/mods/default/textures/sapling.pngbin0 -> 502 bytes
-rw-r--r--data/mods/default/textures/scorched_stuff.pngbin0 -> 233 bytes
-rw-r--r--data/mods/default/textures/sign.pngbin0 -> 1374 bytes
-rw-r--r--data/mods/default/textures/sign_back.pngbin0 -> 1312 bytes
-rw-r--r--data/mods/default/textures/sign_wall.pngbin0 -> 489 bytes
-rw-r--r--data/mods/default/textures/skybox1.pngbin0 -> 236 bytes
-rw-r--r--data/mods/default/textures/skybox1_dawn.pngbin0 -> 598 bytes
-rw-r--r--data/mods/default/textures/skybox1_night.pngbin0 -> 2247 bytes
-rw-r--r--data/mods/default/textures/skybox2.pngbin0 -> 231 bytes
-rw-r--r--data/mods/default/textures/skybox2_dawn.pngbin0 -> 199 bytes
-rw-r--r--data/mods/default/textures/skybox2_night.pngbin0 -> 2583 bytes
-rw-r--r--data/mods/default/textures/skybox3.pngbin0 -> 190 bytes
-rw-r--r--data/mods/default/textures/skybox3_dawn.pngbin0 -> 190 bytes
-rw-r--r--data/mods/default/textures/skybox3_night.pngbin0 -> 190 bytes
-rw-r--r--data/mods/default/textures/steel_block.pngbin0 -> 219 bytes
-rw-r--r--data/mods/default/textures/steel_ingot.pngbin0 -> 207 bytes
-rw-r--r--data/mods/default/textures/stick.pngbin0 -> 182 bytes
-rw-r--r--data/mods/default/textures/stone.pngbin0 -> 806 bytes
-rw-r--r--data/mods/default/textures/tnt_bottom.pngbin0 -> 161 bytes
-rw-r--r--data/mods/default/textures/tnt_side.pngbin0 -> 186 bytes
-rw-r--r--data/mods/default/textures/tnt_top.pngbin0 -> 264 bytes
-rw-r--r--data/mods/default/textures/tool_mesepick.pngbin0 -> 252 bytes
-rw-r--r--data/mods/default/textures/tool_steelaxe.pngbin0 -> 927 bytes
-rw-r--r--data/mods/default/textures/tool_steelpick.pngbin0 -> 271 bytes
-rw-r--r--data/mods/default/textures/tool_steelshovel.pngbin0 -> 216 bytes
-rw-r--r--data/mods/default/textures/tool_steelsword.pngbin0 -> 291 bytes
-rw-r--r--data/mods/default/textures/tool_stoneaxe.pngbin0 -> 931 bytes
-rw-r--r--data/mods/default/textures/tool_stonepick.pngbin0 -> 262 bytes
-rw-r--r--data/mods/default/textures/tool_stoneshovel.pngbin0 -> 203 bytes
-rw-r--r--data/mods/default/textures/tool_stonesword.pngbin0 -> 301 bytes
-rw-r--r--data/mods/default/textures/tool_woodaxe.pngbin0 -> 927 bytes
-rw-r--r--data/mods/default/textures/tool_woodpick.pngbin0 -> 245 bytes
-rw-r--r--data/mods/default/textures/tool_woodshovel.pngbin0 -> 203 bytes
-rw-r--r--data/mods/default/textures/tool_woodsword.pngbin0 -> 255 bytes
-rw-r--r--data/mods/default/textures/torch.pngbin0 -> 925 bytes
-rw-r--r--data/mods/default/textures/torch_on_ceiling.pngbin0 -> 913 bytes
-rw-r--r--data/mods/default/textures/torch_on_floor.pngbin0 -> 917 bytes
-rw-r--r--data/mods/default/textures/tree.pngbin0 -> 1445 bytes
-rw-r--r--data/mods/default/textures/tree_top.pngbin0 -> 1024 bytes
-rw-r--r--data/mods/default/textures/treeprop.pngbin0 -> 1055 bytes
-rw-r--r--data/mods/default/textures/unknown_block.pngbin0 -> 582 bytes
-rw-r--r--data/mods/default/textures/unknown_object.pngbin0 -> 489 bytes
-rw-r--r--data/mods/default/textures/water.pngbin0 -> 518 bytes
-rw-r--r--data/mods/default/textures/wood.pngbin0 -> 1400 bytes
105 files changed, 418 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
new file mode 100644
index 000000000..a60979ff4
--- /dev/null
+++ b/data/mods/default/init.lua
@@ -0,0 +1,418 @@
+function basic_dump2(o)
+ if type(o) == "number" then
+ return tostring(o)
+ elseif type(o) == "string" then
+ return string.format("%q", o)
+ elseif type(o) == "boolean" then
+ return tostring(o)
+ elseif type(o) == "function" then
+ return "<function>"
+ elseif type(o) == "userdata" then
+ return "<userdata>"
+ elseif type(o) == "nil" then
+ return "nil"
+ else
+ error("cannot dump a " .. type(o))
+ return nil
+ end
+end
+
+function dump2(o, name, dumped)
+ name = name or "_"
+ dumped = dumped or {}
+ io.write(name, " = ")
+ if type(o) == "number" or type(o) == "string" or type(o) == "boolean"
+ or type(o) == "function" or type(o) == "nil"
+ or type(o) == "userdata" then
+ io.write(basic_dump2(o), "\n")
+ elseif type(o) == "table" then
+ if dumped[o] then
+ io.write(dumped[o], "\n")
+ else
+ dumped[o] = name
+ io.write("{}\n") -- new table
+ for k,v in pairs(o) do
+ local fieldname = string.format("%s[%s]", name, basic_dump2(k))
+ dump2(v, fieldname, dumped)
+ end
+ end
+ else
+ error("cannot dump a " .. type(o))
+ return nil
+ end
+end
+
+function dump(o, dumped)
+ dumped = dumped or {}
+ if type(o) == "number" then
+ return tostring(o)
+ elseif type(o) == "string" then
+ return string.format("%q", o)
+ elseif type(o) == "table" then
+ if dumped[o] then
+ return "<circular reference>"
+ end
+ dumped[o] = true
+ local t = {}
+ for k,v in pairs(o) do
+ t[#t+1] = "" .. k .. " = " .. dump(v, dumped)
+ end
+ return "{" .. table.concat(t, ", ") .. "}"
+ elseif type(o) == "boolean" then
+ return tostring(o)
+ elseif type(o) == "function" then
+ return "<function>"
+ elseif type(o) == "userdata" then
+ return "<userdata>"
+ elseif type(o) == "nil" then
+ return "nil"
+ else
+ error("cannot dump a " .. type(o))
+ return nil
+ end
+end
+
+-- Textures:
+-- Mods should prefix their textures with modname_, eg. given the mod
+-- name "foomod", a texture could be called "foomod_superfurnace.png"
+--
+-- Global functions:
+-- minetest.register_entity(name, prototype_table)
+-- minetest.register_globalstep(func)
+--
+-- Global objects:
+-- minetest.env - environment reference
+--
+-- Global tables:
+-- minetest.registered_entities
+-- ^ List of registered entity prototypes, indexed by name
+-- minetest.object_refs
+-- ^ List of object references, indexed by active object id
+-- minetest.luaentities
+-- ^ List of lua entities, indexed by active object id
+--
+-- EnvRef methods:
+-- - add_node(pos, content); pos={x=num, y=num, z=num}
+--
+-- ObjectRef methods:
+-- - remove(): remove object (after returning from Lua)
+-- - getpos(): returns {x=num, y=num, z=num}
+-- - setpos(pos); pos={x=num, y=num, z=num}
+-- - moveto(pos, continuous=false): interpolated move
+-- - add_to_inventory(itemstring): add an item to object inventory
+--
+-- Registered entities:
+-- - Functions receive a "luaentity" as self:
+-- - It has the member .object, which is an ObjectRef pointing to the object
+-- - The original prototype stuff is visible directly via a metatable
+--
+
+print("omg lol")
+print("minetest dump: "..dump(minetest))
+
+-- Global environment step function
+function on_step(dtime)
+ -- print("on_step")
+end
+
+minetest.register_globalstep(on_step)
+
+minetest.register_tool("WPick", {
+ image = "tool_woodpick.png",
+ basetime = 2.0,
+ dt_weight = 0,
+ dt_crackiness = -0.5,
+ dt_crumbliness = 2,
+ dt_cuttability = 0,
+ basedurability = 30,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("STPick", {
+ image = "tool_stonepick.png",
+ basetime = 1.5,
+ dt_weight = 0,
+ dt_crackiness = -0.5,
+ dt_crumbliness = 2,
+ dt_cuttability = 0,
+ basedurability = 100,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("SteelPick", {
+ image = "tool_steelpick.png",
+ basetime = 1.0,
+ dt_weight = 0,
+ dt_crackiness = -0.5,
+ dt_crumbliness = 2,
+ dt_cuttability = 0,
+ basedurability = 333,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("MesePick", {
+ image = "tool_mesepick.png",
+ basetime = 0,
+ dt_weight = 0,
+ dt_crackiness = 0,
+ dt_crumbliness = 0,
+ dt_cuttability = 0,
+ basedurability = 1337,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("WShovel", {
+ image = "tool_woodshovel.png",
+ basetime = 2.0,
+ dt_weight = 0.5,
+ dt_crackiness = 2,
+ dt_crumbliness = -1.5,
+ dt_cuttability = 0.3,
+ basedurability = 30,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("STShovel", {
+ image = "tool_stoneshovel.png",
+ basetime = 1.5,
+ dt_weight = 0.5,
+ dt_crackiness = 2,
+ dt_crumbliness = -1.5,
+ dt_cuttability = 0.1,
+ basedurability = 100,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("SteelShovel", {
+ image = "tool_steelshovel.png",
+ basetime = 1.0,
+ dt_weight = 0.5,
+ dt_crackiness = 2,
+ dt_crumbliness = -1.5,
+ dt_cuttability = 0.0,
+ basedurability = 330,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("WAxe", {
+ image = "tool_woodaxe.png",
+ basetime = 2.0,
+ dt_weight = 0.5,
+ dt_crackiness = -0.2,
+ dt_crumbliness = 1,
+ dt_cuttability = -0.5,
+ basedurability = 30,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("STAxe", {
+ image = "tool_stoneaxe.png",
+ basetime = 1.5,
+ dt_weight = 0.5,
+ dt_crackiness = -0.2,
+ dt_crumbliness = 1,
+ dt_cuttability = -0.5,
+ basedurability = 100,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("SteelAxe", {
+ image = "tool_steelaxe.png",
+ basetime = 1.0,
+ dt_weight = 0.5,
+ dt_crackiness = -0.2,
+ dt_crumbliness = 1,
+ dt_cuttability = -0.5,
+ basedurability = 330,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("WSword", {
+ image = "tool_woodsword.png",
+ basetime = 3.0,
+ dt_weight = 3,
+ dt_crackiness = 0,
+ dt_crumbliness = 1,
+ dt_cuttability = -1,
+ basedurability = 30,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("STSword", {
+ image = "tool_stonesword.png",
+ basetime = 2.5,
+ dt_weight = 3,
+ dt_crackiness = 0,
+ dt_crumbliness = 1,
+ dt_cuttability = -1,
+ basedurability = 100,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("SteelSword", {
+ image = "tool_steelsword.png",
+ basetime = 2.0,
+ dt_weight = 3,
+ dt_crackiness = 0,
+ dt_crumbliness = 1,
+ dt_cuttability = -1,
+ basedurability = 330,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+minetest.register_tool("", {
+ image = "",
+ basetime = 0.5,
+ dt_weight = 1,
+ dt_crackiness = 0,
+ dt_crumbliness = -1,
+ dt_cuttability = 0,
+ basedurability = 50,
+ dd_weight = 0,
+ dd_crackiness = 0,
+ dd_crumbliness = 0,
+ dd_cuttability = 0,
+})
+
+--[[
+minetest.register_tool("horribletool", {
+ image = "lava.png",
+ basetime = 2.0
+ dt_weight = 0.2
+ dt_crackiness = 0.2
+ dt_crumbliness = 0.2
+ dt_cuttability = 0.2
+ basedurability = 50
+ dd_weight = -5
+ dd_crackiness = -5
+ dd_crumbliness = -5
+ dd_cuttability = -5
+})
+--]]
+
+local TNT = {
+ -- Maybe handle gravity and collision this way? dunno
+ physical = true,
+ weight = 5,
+ collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
+ visual = "cube",
+ textures = {"tnt_top.png","tnt_bottom.png","tnt_side.png","tnt_side.png","tnt_side.png","tnt_side.png"},
+ --visual = "single_sprite",
+ --textures = {"mese.png^[forcesingle"},
+ -- Initial value for our timer
+ timer = 0,
+ -- List names of state variables, for serializing object state
+ state_variables = {"timer"},
+}
+
+-- Called periodically
+function TNT:on_step(dtime)
+ --print("TNT:on_step()")
+end
+
+-- Called when object is punched
+function TNT:on_punch(hitter)
+ print("TNT:on_punch()")
+ self.object:remove()
+ hitter:add_to_inventory("CraftItem testobject1 1")
+end
+
+-- Called when object is right-clicked
+function TNT:on_rightclick(clicker)
+ pos = self.object:getpos()
+ pos = {x=pos.x, y=pos.y+0.1, z=pos.z}
+ self.object:moveto(pos, false)
+end
+
+print("TNT dump: "..dump(TNT))
+
+print("Registering TNT");
+minetest.register_entity("TNT", TNT)
+
+print("minetest.registered_entities:")
+dump2(minetest.registered_entities)
+
+--[[
+function TNT:on_rightclick(clicker)
+ print("TNT:on_rightclick()")
+ print("self: "..dump(self))
+ print("getmetatable(self): "..dump(getmetatable(self)))
+ print("getmetatable(getmetatable(self)): "..dump(getmetatable(getmetatable(self))))
+ pos = self.object:getpos()
+ print("TNT:on_rightclick(): object position: "..dump(pos))
+ pos = {x=pos.x+0.5+1, y=pos.y+0.5, z=pos.z+0.5}
+ --minetest.env:add_node(pos, 0)
+end
+--]]
+
+--[=[
+
+register_block(0, {
+ textures = "stone.png",
+ makefacetype = 0,
+ get_dig_duration = function(env, pos, digger)
+ -- Check stuff like digger.current_tool
+ return 1.5
+ end,
+ on_dig = function(env, pos, digger)
+ env:remove_node(pos)
+ digger.inventory.put("MaterialItem2 0");
+ end,
+})
+
+register_block(1, {
+ textures = {"grass.png","mud.png","mud_grass_side.png","mud_grass_side.png","mud_grass_side.png","mud_grass_side.png"},
+ makefacetype = 0,
+ get_dig_duration = function(env, pos, digger)
+ -- Check stuff like digger.current_tool
+ return 0.5
+ end,
+ on_dig = function(env, pos, digger)
+ env:remove_node(pos)
+ digger.inventory.put("MaterialItem2 1");
+ end,
+})
+
+-- Consider the "miscellaneous block namespace" to be 0xc00...0xfff = 3072...4095
+register_block(3072, {
+ textures = {"tnt_top.png","tnt_bottom.png","tnt_side.png","tnt_side.png","tnt_side.png","tnt_side.png"},
+ makefacetype = 0,
+ get_dig_duration = function(env, pos, digger)
+ -- Cannot be dug
+ return nil
+ end,
+ -- on_dig = function(env, pos, digger) end, -- Not implemented
+ on_hit = function(env, pos, hitter)
+ -- Replace with TNT object, which will explode after timer, follow gravity, blink and stuff
+ env:add_object("tnt", pos)
+ env:remove_node(pos)
+ end,
+})
+--]=]
+
diff --git a/data/mods/default/textures/apple.png b/data/mods/default/textures/apple.png
new file mode 100644
index 000000000..9593f28f6
--- /dev/null
+++ b/data/mods/default/textures/apple.png
Binary files differ
diff --git a/data/mods/default/textures/apple_iron.png b/data/mods/default/textures/apple_iron.png
new file mode 100644
index 000000000..2dffdf014
--- /dev/null
+++ b/data/mods/default/textures/apple_iron.png
Binary files differ
diff --git a/data/mods/default/textures/book.png b/data/mods/default/textures/book.png
new file mode 100644
index 000000000..176fb6aa9
--- /dev/null
+++ b/data/mods/default/textures/book.png
Binary files differ
diff --git a/data/mods/default/textures/bookshelf.png b/data/mods/default/textures/bookshelf.png
new file mode 100644
index 000000000..5ecc50ff3
--- /dev/null
+++ b/data/mods/default/textures/bookshelf.png
Binary files differ
diff --git a/data/mods/default/textures/brick.png b/data/mods/default/textures/brick.png
new file mode 100644
index 000000000..32d77f347
--- /dev/null
+++ b/data/mods/default/textures/brick.png
Binary files differ
diff --git a/data/mods/default/textures/cactus_side.png b/data/mods/default/textures/cactus_side.png
new file mode 100644
index 000000000..fc479fde6
--- /dev/null
+++ b/data/mods/default/textures/cactus_side.png
Binary files differ
diff --git a/data/mods/default/textures/cactus_top.png b/data/mods/default/textures/cactus_top.png
new file mode 100644
index 000000000..f9e68df51
--- /dev/null
+++ b/data/mods/default/textures/cactus_top.png
Binary files differ
diff --git a/data/mods/default/textures/chest_front.png b/data/mods/default/textures/chest_front.png
new file mode 100644
index 000000000..c5628af94
--- /dev/null
+++ b/data/mods/default/textures/chest_front.png
Binary files differ
diff --git a/data/mods/default/textures/chest_lock.png b/data/mods/default/textures/chest_lock.png
new file mode 100644
index 000000000..ae038fae5
--- /dev/null
+++ b/data/mods/default/textures/chest_lock.png
Binary files differ
diff --git a/data/mods/default/textures/chest_side.png b/data/mods/default/textures/chest_side.png
new file mode 100644
index 000000000..916dd784d
--- /dev/null
+++ b/data/mods/default/textures/chest_side.png
Binary files differ
diff --git a/data/mods/default/textures/chest_top.png b/data/mods/default/textures/chest_top.png
new file mode 100644
index 000000000..58c79674d
--- /dev/null
+++ b/data/mods/default/textures/chest_top.png
Binary files differ
diff --git a/data/mods/default/textures/clay.png b/data/mods/default/textures/clay.png
new file mode 100644
index 000000000..3557429d8
--- /dev/null
+++ b/data/mods/default/textures/clay.png
Binary files differ
diff --git a/data/mods/default/textures/clay_brick.png b/data/mods/default/textures/clay_brick.png
new file mode 100644
index 000000000..e36648e48
--- /dev/null
+++ b/data/mods/default/textures/clay_brick.png
Binary files differ
diff --git a/data/mods/default/textures/cloud.png b/data/mods/default/textures/cloud.png
new file mode 100644
index 000000000..24091a377
--- /dev/null
+++ b/data/mods/default/textures/cloud.png
Binary files differ
diff --git a/data/mods/default/textures/cobble.png b/data/mods/default/textures/cobble.png
new file mode 100644
index 000000000..7d0447419
--- /dev/null
+++ b/data/mods/default/textures/cobble.png
Binary files differ
diff --git a/data/mods/default/textures/cooked_rat.png b/data/mods/default/textures/cooked_rat.png
new file mode 100644
index 000000000..daad3be0d
--- /dev/null
+++ b/data/mods/default/textures/cooked_rat.png
Binary files differ
diff --git a/data/mods/default/textures/crack.png b/data/mods/default/textures/crack.png
new file mode 100644
index 000000000..499783982
--- /dev/null
+++ b/data/mods/default/textures/crack.png
Binary files differ
diff --git a/data/mods/default/textures/dungeon_master.png b/data/mods/default/textures/dungeon_master.png
new file mode 100644
index 000000000..3457c8228
--- /dev/null
+++ b/data/mods/default/textures/dungeon_master.png
Binary files differ
diff --git a/data/mods/default/textures/fence.png b/data/mods/default/textures/fence.png
new file mode 100644
index 000000000..0b99f0eb5
--- /dev/null
+++ b/data/mods/default/textures/fence.png
Binary files differ
diff --git a/data/mods/default/textures/fireball.png b/data/mods/default/textures/fireball.png
new file mode 100644
index 000000000..523142850
--- /dev/null
+++ b/data/mods/default/textures/fireball.png
Binary files differ
diff --git a/data/mods/default/textures/firefly.png b/data/mods/default/textures/firefly.png
new file mode 100644
index 000000000..40df7fa1c
--- /dev/null
+++ b/data/mods/default/textures/firefly.png
Binary files differ
diff --git a/data/mods/default/textures/furnace_front.png b/data/mods/default/textures/furnace_front.png
new file mode 100644
index 000000000..1620a27c3
--- /dev/null
+++ b/data/mods/default/textures/furnace_front.png
Binary files differ
diff --git a/data/mods/default/textures/furnace_side.png b/data/mods/default/textures/furnace_side.png
new file mode 100644
index 000000000..63cb162fe
--- /dev/null
+++ b/data/mods/default/textures/furnace_side.png
Binary files differ
diff --git a/data/mods/default/textures/glass.png b/data/mods/default/textures/glass.png
new file mode 100644
index 000000000..8598ce670
--- /dev/null
+++ b/data/mods/default/textures/glass.png
Binary files differ
diff --git a/data/mods/default/textures/grass.png b/data/mods/default/textures/grass.png
new file mode 100644
index 000000000..3610bb2bc
--- /dev/null
+++ b/data/mods/default/textures/grass.png
Binary files differ
diff --git a/data/mods/default/textures/grass_footsteps.png b/data/mods/default/textures/grass_footsteps.png
new file mode 100644
index 000000000..57e063d8c
--- /dev/null
+++ b/data/mods/default/textures/grass_footsteps.png
Binary files differ
diff --git a/data/mods/default/textures/grass_side.png b/data/mods/default/textures/grass_side.png
new file mode 100644
index 000000000..4f4f680be
--- /dev/null
+++ b/data/mods/default/textures/grass_side.png
Binary files differ
diff --git a/data/mods/default/textures/gravel.png b/data/mods/default/textures/gravel.png
new file mode 100644
index 000000000..f08666ad9
--- /dev/null
+++ b/data/mods/default/textures/gravel.png
Binary files differ
diff --git a/data/mods/default/textures/heart.png b/data/mods/default/textures/heart.png
new file mode 100644
index 000000000..6bc183e04
--- /dev/null
+++ b/data/mods/default/textures/heart.png
Binary files differ
diff --git a/data/mods/default/textures/junglegrass.png b/data/mods/default/textures/junglegrass.png
new file mode 100644
index 000000000..eea87c07c
--- /dev/null
+++ b/data/mods/default/textures/junglegrass.png
Binary files differ
diff --git a/data/mods/default/textures/jungletree.png b/data/mods/default/textures/jungletree.png
new file mode 100644
index 000000000..ccd20ac74
--- /dev/null
+++ b/data/mods/default/textures/jungletree.png
Binary files differ
diff --git a/data/mods/default/textures/jungletree_top.png b/data/mods/default/textures/jungletree_top.png
new file mode 100644
index 000000000..2a9b51373
--- /dev/null
+++ b/data/mods/default/textures/jungletree_top.png
Binary files differ
diff --git a/data/mods/default/textures/ladder.png b/data/mods/default/textures/ladder.png
new file mode 100644
index 000000000..11056359d
--- /dev/null
+++ b/data/mods/default/textures/ladder.png
Binary files differ
diff --git a/data/mods/default/textures/lava.png b/data/mods/default/textures/lava.png
new file mode 100644
index 000000000..cb02ada13
--- /dev/null
+++ b/data/mods/default/textures/lava.png
Binary files differ
diff --git a/data/mods/default/textures/leaves.png b/data/mods/default/textures/leaves.png
new file mode 100644
index 000000000..7a25126e9
--- /dev/null
+++ b/data/mods/default/textures/leaves.png
Binary files differ
diff --git a/data/mods/default/textures/lump_of_clay.png b/data/mods/default/textures/lump_of_clay.png
new file mode 100644
index 000000000..be0bab9d7
--- /dev/null
+++ b/data/mods/default/textures/lump_of_clay.png
Binary files differ
diff --git a/data/mods/default/textures/lump_of_coal.png b/data/mods/default/textures/lump_of_coal.png
new file mode 100644
index 000000000..bad901efa
--- /dev/null
+++ b/data/mods/default/textures/lump_of_coal.png
Binary files differ
diff --git a/data/mods/default/textures/lump_of_iron.png b/data/mods/default/textures/lump_of_iron.png
new file mode 100644
index 000000000..edb931018
--- /dev/null
+++ b/data/mods/default/textures/lump_of_iron.png
Binary files differ
diff --git a/data/mods/default/textures/mese.png b/data/mods/default/textures/mese.png
new file mode 100644
index 000000000..4c876cdc5
--- /dev/null
+++ b/data/mods/default/textures/mese.png
Binary files differ
diff --git a/data/mods/default/textures/mineral_coal.png b/data/mods/default/textures/mineral_coal.png
new file mode 100644
index 000000000..3ff9692fb
--- /dev/null
+++ b/data/mods/default/textures/mineral_coal.png
Binary files differ
diff --git a/data/mods/default/textures/mineral_iron.png b/data/mods/default/textures/mineral_iron.png
new file mode 100644
index 000000000..51b15d95d
--- /dev/null
+++ b/data/mods/default/textures/mineral_iron.png
Binary files differ
diff --git a/data/mods/default/textures/mossycobble.png b/data/mods/default/textures/mossycobble.png
new file mode 100644
index 000000000..fad1b33ff
--- /dev/null
+++ b/data/mods/default/textures/mossycobble.png
Binary files differ
diff --git a/data/mods/default/textures/mud.png b/data/mods/default/textures/mud.png
new file mode 100644
index 000000000..7cb9c89a6
--- /dev/null
+++ b/data/mods/default/textures/mud.png
Binary files differ
diff --git a/data/mods/default/textures/nc_back.png b/data/mods/default/textures/nc_back.png
new file mode 100644
index 000000000..f09f41658
--- /dev/null
+++ b/data/mods/default/textures/nc_back.png
Binary files differ
diff --git a/data/mods/default/textures/nc_front.png b/data/mods/default/textures/nc_front.png
new file mode 100644
index 000000000..cad9edab1
--- /dev/null
+++ b/data/mods/default/textures/nc_front.png
Binary files differ
diff --git a/data/mods/default/textures/nc_rb.png b/data/mods/default/textures/nc_rb.png
new file mode 100644
index 000000000..7ebc9930d
--- /dev/null
+++ b/data/mods/default/textures/nc_rb.png
Binary files differ
diff --git a/data/mods/default/textures/nc_side.png b/data/mods/default/textures/nc_side.png
new file mode 100644
index 000000000..f954045fb
--- /dev/null
+++ b/data/mods/default/textures/nc_side.png
Binary files differ
diff --git a/data/mods/default/textures/oerkki1.png b/data/mods/default/textures/oerkki1.png
new file mode 100644
index 000000000..33cbac9e7
--- /dev/null
+++ b/data/mods/default/textures/oerkki1.png
Binary files differ
diff --git a/data/mods/default/textures/oerkki1_damaged.png b/data/mods/default/textures/oerkki1_damaged.png
new file mode 100644
index 000000000..9b777387c
--- /dev/null
+++ b/data/mods/default/textures/oerkki1_damaged.png
Binary files differ
diff --git a/data/mods/default/textures/paper.png b/data/mods/default/textures/paper.png
new file mode 100644
index 000000000..ae5c06bc6
--- /dev/null
+++ b/data/mods/default/textures/paper.png
Binary files differ
diff --git a/data/mods/default/textures/papyrus.png b/data/mods/default/textures/papyrus.png
new file mode 100644
index 000000000..bf0dec7fe
--- /dev/null
+++ b/data/mods/default/textures/papyrus.png
Binary files differ
diff --git a/data/mods/default/textures/player.png b/data/mods/default/textures/player.png
new file mode 100644
index 000000000..90adf9747
--- /dev/null
+++ b/data/mods/default/textures/player.png
Binary files differ
diff --git a/data/mods/default/textures/player_back.png b/data/mods/default/textures/player_back.png
new file mode 100644
index 000000000..530aa7519
--- /dev/null
+++ b/data/mods/default/textures/player_back.png
Binary files differ
diff --git a/data/mods/default/textures/rail.png b/data/mods/default/textures/rail.png
new file mode 100644
index 000000000..18176d9f3
--- /dev/null
+++ b/data/mods/default/textures/rail.png
Binary files differ
diff --git a/data/mods/default/textures/rail_crossing.png b/data/mods/default/textures/rail_crossing.png
new file mode 100644
index 000000000..984640577
--- /dev/null
+++ b/data/mods/default/textures/rail_crossing.png
Binary files differ
diff --git a/data/mods/default/textures/rail_curved.png b/data/mods/default/textures/rail_curved.png
new file mode 100644
index 000000000..62afa3d2b
--- /dev/null
+++ b/data/mods/default/textures/rail_curved.png
Binary files differ
diff --git a/data/mods/default/textures/rail_t_junction.png b/data/mods/default/textures/rail_t_junction.png
new file mode 100644
index 000000000..9985f63cd
--- /dev/null
+++ b/data/mods/default/textures/rail_t_junction.png
Binary files differ
diff --git a/data/mods/default/textures/rat.png b/data/mods/default/textures/rat.png
new file mode 100644
index 000000000..d1a0e2ae2
--- /dev/null
+++ b/data/mods/default/textures/rat.png
Binary files differ
diff --git a/data/mods/default/textures/sand.png b/data/mods/default/textures/sand.png
new file mode 100644
index 000000000..15101a7eb
--- /dev/null
+++ b/data/mods/default/textures/sand.png
Binary files differ
diff --git a/data/mods/default/textures/sandstone.png b/data/mods/default/textures/sandstone.png
new file mode 100644
index 000000000..c4759b4d0
--- /dev/null
+++ b/data/mods/default/textures/sandstone.png
Binary files differ
diff --git a/data/mods/default/textures/sapling.png b/data/mods/default/textures/sapling.png
new file mode 100644
index 000000000..73f502306
--- /dev/null
+++ b/data/mods/default/textures/sapling.png
Binary files differ
diff --git a/data/mods/default/textures/scorched_stuff.png b/data/mods/default/textures/scorched_stuff.png
new file mode 100644
index 000000000..9ced2fbe8
--- /dev/null
+++ b/data/mods/default/textures/scorched_stuff.png
Binary files differ
diff --git a/data/mods/default/textures/sign.png b/data/mods/default/textures/sign.png
new file mode 100644
index 000000000..2e0b3cbef
--- /dev/null
+++ b/data/mods/default/textures/sign.png
Binary files differ
diff --git a/data/mods/default/textures/sign_back.png b/data/mods/default/textures/sign_back.png
new file mode 100644
index 000000000..779e4bc2c
--- /dev/null
+++ b/data/mods/default/textures/sign_back.png
Binary files differ
diff --git a/data/mods/default/textures/sign_wall.png b/data/mods/default/textures/sign_wall.png
new file mode 100644
index 000000000..06eac1ee9
--- /dev/null
+++ b/data/mods/default/textures/sign_wall.png
Binary files differ
diff --git a/data/mods/default/textures/skybox1.png b/data/mods/default/textures/skybox1.png
new file mode 100644
index 000000000..9801d5f4f
--- /dev/null
+++ b/data/mods/default/textures/skybox1.png
Binary files differ
diff --git a/data/mods/default/textures/skybox1_dawn.png b/data/mods/default/textures/skybox1_dawn.png
new file mode 100644
index 000000000..9711c4781
--- /dev/null
+++ b/data/mods/default/textures/skybox1_dawn.png
Binary files differ
diff --git a/data/mods/default/textures/skybox1_night.png b/data/mods/default/textures/skybox1_night.png
new file mode 100644
index 000000000..32e43a63e
--- /dev/null
+++ b/data/mods/default/textures/skybox1_night.png
Binary files differ
diff --git a/data/mods/default/textures/skybox2.png b/data/mods/default/textures/skybox2.png
new file mode 100644
index 000000000..a8c94b4d2
--- /dev/null
+++ b/data/mods/default/textures/skybox2.png
Binary files differ
diff --git a/data/mods/default/textures/skybox2_dawn.png b/data/mods/default/textures/skybox2_dawn.png
new file mode 100644
index 000000000..a761dff2d
--- /dev/null
+++ b/data/mods/default/textures/skybox2_dawn.png
Binary files differ
diff --git a/data/mods/default/textures/skybox2_night.png b/data/mods/default/textures/skybox2_night.png
new file mode 100644
index 000000000..beb07a9cf
--- /dev/null
+++ b/data/mods/default/textures/skybox2_night.png
Binary files differ
diff --git a/data/mods/default/textures/skybox3.png b/data/mods/default/textures/skybox3.png
new file mode 100644
index 000000000..2776ec712
--- /dev/null
+++ b/data/mods/default/textures/skybox3.png
Binary files differ
diff --git a/data/mods/default/textures/skybox3_dawn.png b/data/mods/default/textures/skybox3_dawn.png
new file mode 100644
index 000000000..22c8cbef5
--- /dev/null
+++ b/data/mods/default/textures/skybox3_dawn.png
Binary files differ
diff --git a/data/mods/default/textures/skybox3_night.png b/data/mods/default/textures/skybox3_night.png
new file mode 100644
index 000000000..bb509789b
--- /dev/null
+++ b/data/mods/default/textures/skybox3_night.png
Binary files differ
diff --git a/data/mods/default/textures/steel_block.png b/data/mods/default/textures/steel_block.png
new file mode 100644
index 000000000..8e2020081
--- /dev/null
+++ b/data/mods/default/textures/steel_block.png
Binary files differ
diff --git a/data/mods/default/textures/steel_ingot.png b/data/mods/default/textures/steel_ingot.png
new file mode 100644
index 000000000..f6c9414e7
--- /dev/null
+++ b/data/mods/default/textures/steel_ingot.png
Binary files differ
diff --git a/data/mods/default/textures/stick.png b/data/mods/default/textures/stick.png
new file mode 100644
index 000000000..2d31797f0
--- /dev/null
+++ b/data/mods/default/textures/stick.png
Binary files differ
diff --git a/data/mods/default/textures/stone.png b/data/mods/default/textures/stone.png
new file mode 100644
index 000000000..cad0dbe2b
--- /dev/null
+++ b/data/mods/default/textures/stone.png
Binary files differ
diff --git a/data/mods/default/textures/tnt_bottom.png b/data/mods/default/textures/tnt_bottom.png
new file mode 100644
index 000000000..8ba2fca0b
--- /dev/null
+++ b/data/mods/default/textures/tnt_bottom.png
Binary files differ
diff --git a/data/mods/default/textures/tnt_side.png b/data/mods/default/textures/tnt_side.png
new file mode 100644
index 000000000..d9a2bc4eb
--- /dev/null
+++ b/data/mods/default/textures/tnt_side.png
Binary files differ
diff --git a/data/mods/default/textures/tnt_top.png b/data/mods/default/textures/tnt_top.png
new file mode 100644
index 000000000..a84ffc9af
--- /dev/null
+++ b/data/mods/default/textures/tnt_top.png
Binary files differ
diff --git a/data/mods/default/textures/tool_mesepick.png b/data/mods/default/textures/tool_mesepick.png
new file mode 100644
index 000000000..a1f3812e0
--- /dev/null
+++ b/data/mods/default/textures/tool_mesepick.png
Binary files differ
diff --git a/data/mods/default/textures/tool_steelaxe.png b/data/mods/default/textures/tool_steelaxe.png
new file mode 100644
index 000000000..0ad23c93b
--- /dev/null
+++ b/data/mods/default/textures/tool_steelaxe.png
Binary files differ
diff --git a/data/mods/default/textures/tool_steelpick.png b/data/mods/default/textures/tool_steelpick.png
new file mode 100644
index 000000000..7982dafeb
--- /dev/null
+++ b/data/mods/default/textures/tool_steelpick.png
Binary files differ
diff --git a/data/mods/default/textures/tool_steelshovel.png b/data/mods/default/textures/tool_steelshovel.png
new file mode 100644
index 000000000..ed8413846
--- /dev/null
+++ b/data/mods/default/textures/tool_steelshovel.png
Binary files differ
diff --git a/data/mods/default/textures/tool_steelsword.png b/data/mods/default/textures/tool_steelsword.png
new file mode 100644
index 000000000..a74581238
--- /dev/null
+++ b/data/mods/default/textures/tool_steelsword.png
Binary files differ
diff --git a/data/mods/default/textures/tool_stoneaxe.png b/data/mods/default/textures/tool_stoneaxe.png
new file mode 100644
index 000000000..698ac918f
--- /dev/null
+++ b/data/mods/default/textures/tool_stoneaxe.png
Binary files differ
diff --git a/data/mods/default/textures/tool_stonepick.png b/data/mods/default/textures/tool_stonepick.png
new file mode 100644
index 000000000..b34de6f32
--- /dev/null
+++ b/data/mods/default/textures/tool_stonepick.png
Binary files differ
diff --git a/data/mods/default/textures/tool_stoneshovel.png b/data/mods/default/textures/tool_stoneshovel.png
new file mode 100644
index 000000000..ba5243101
--- /dev/null
+++ b/data/mods/default/textures/tool_stoneshovel.png
Binary files differ
diff --git a/data/mods/default/textures/tool_stonesword.png b/data/mods/default/textures/tool_stonesword.png
new file mode 100644
index 000000000..8f8191f92
--- /dev/null
+++ b/data/mods/default/textures/tool_stonesword.png
Binary files differ
diff --git a/data/mods/default/textures/tool_woodaxe.png b/data/mods/default/textures/tool_woodaxe.png
new file mode 100644
index 000000000..3daa4af72
--- /dev/null
+++ b/data/mods/default/textures/tool_woodaxe.png
Binary files differ
diff --git a/data/mods/default/textures/tool_woodpick.png b/data/mods/default/textures/tool_woodpick.png
new file mode 100644
index 000000000..ea728cca3
--- /dev/null
+++ b/data/mods/default/textures/tool_woodpick.png
Binary files differ
diff --git a/data/mods/default/textures/tool_woodshovel.png b/data/mods/default/textures/tool_woodshovel.png
new file mode 100644
index 000000000..649ab4c38
--- /dev/null
+++ b/data/mods/default/textures/tool_woodshovel.png
Binary files differ
diff --git a/data/mods/default/textures/tool_woodsword.png b/data/mods/default/textures/tool_woodsword.png
new file mode 100644
index 000000000..d6c6be325
--- /dev/null
+++ b/data/mods/default/textures/tool_woodsword.png
Binary files differ
diff --git a/data/mods/default/textures/torch.png b/data/mods/default/textures/torch.png
new file mode 100644
index 000000000..7a953c222
--- /dev/null
+++ b/data/mods/default/textures/torch.png
Binary files differ
diff --git a/data/mods/default/textures/torch_on_ceiling.png b/data/mods/default/textures/torch_on_ceiling.png
new file mode 100644
index 000000000..6965d380e
--- /dev/null
+++ b/data/mods/default/textures/torch_on_ceiling.png
Binary files differ
diff --git a/data/mods/default/textures/torch_on_floor.png b/data/mods/default/textures/torch_on_floor.png
new file mode 100644
index 000000000..76d1dd5ac
--- /dev/null
+++ b/data/mods/default/textures/torch_on_floor.png
Binary files differ
diff --git a/data/mods/default/textures/tree.png b/data/mods/default/textures/tree.png
new file mode 100644
index 000000000..65abfc243
--- /dev/null
+++ b/data/mods/default/textures/tree.png
Binary files differ
diff --git a/data/mods/default/textures/tree_top.png b/data/mods/default/textures/tree_top.png
new file mode 100644
index 000000000..2cdd94f80
--- /dev/null
+++ b/data/mods/default/textures/tree_top.png
Binary files differ
diff --git a/data/mods/default/textures/treeprop.png b/data/mods/default/textures/treeprop.png
new file mode 100644
index 000000000..77ea4d6d4
--- /dev/null
+++ b/data/mods/default/textures/treeprop.png
Binary files differ
diff --git a/data/mods/default/textures/unknown_block.png b/data/mods/default/textures/unknown_block.png
new file mode 100644
index 000000000..a27cb8ca9
--- /dev/null
+++ b/data/mods/default/textures/unknown_block.png
Binary files differ
diff --git a/data/mods/default/textures/unknown_object.png b/data/mods/default/textures/unknown_object.png
new file mode 100644
index 000000000..4d6a98d56
--- /dev/null
+++ b/data/mods/default/textures/unknown_object.png
Binary files differ
diff --git a/data/mods/default/textures/water.png b/data/mods/default/textures/water.png
new file mode 100644
index 000000000..e5f8cdc25
--- /dev/null
+++ b/data/mods/default/textures/water.png
Binary files differ
diff --git a/data/mods/default/textures/wood.png b/data/mods/default/textures/wood.png
new file mode 100644
index 000000000..57c1d7c12
--- /dev/null
+++ b/data/mods/default/textures/wood.png
Binary files differ