From f9ab8cd01838931a3f87898e6ad09c640556a1c4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 26 Mar 2012 22:50:35 +0300 Subject: [PATCH] Add initial content --- mods/bucket/depends.txt | 2 + mods/bucket/init.lua | 95 ++ mods/bucket/textures/bucket.png | Bin 0 -> 329 bytes mods/bucket/textures/bucket_lava.png | Bin 0 -> 363 bytes mods/bucket/textures/bucket_water.png | Bin 0 -> 369 bytes mods/default/init.lua | 1510 +++++++++++++++++ mods/default/textures/crack.png | Bin 0 -> 1076 bytes mods/default/textures/default_apple.png | Bin 0 -> 203 bytes mods/default/textures/default_book.png | Bin 0 -> 292 bytes mods/default/textures/default_bookshelf.png | Bin 0 -> 597 bytes mods/default/textures/default_brick.png | Bin 0 -> 604 bytes mods/default/textures/default_cactus_side.png | Bin 0 -> 279 bytes mods/default/textures/default_cactus_top.png | Bin 0 -> 236 bytes mods/default/textures/default_chest_front.png | Bin 0 -> 167 bytes mods/default/textures/default_chest_lock.png | Bin 0 -> 224 bytes mods/default/textures/default_chest_side.png | Bin 0 -> 151 bytes mods/default/textures/default_chest_top.png | Bin 0 -> 142 bytes mods/default/textures/default_clay.png | Bin 0 -> 613 bytes mods/default/textures/default_clay_brick.png | Bin 0 -> 249 bytes mods/default/textures/default_clay_lump.png | Bin 0 -> 210 bytes mods/default/textures/default_cloud.png | Bin 0 -> 118 bytes mods/default/textures/default_coal_lump.png | Bin 0 -> 933 bytes mods/default/textures/default_cobble.png | Bin 0 -> 830 bytes mods/default/textures/default_dirt.png | Bin 0 -> 1586 bytes mods/default/textures/default_fence.png | Bin 0 -> 539 bytes .../textures/default_furnace_front.png | Bin 0 -> 246 bytes .../default/textures/default_furnace_side.png | Bin 0 -> 236 bytes mods/default/textures/default_glass.png | Bin 0 -> 978 bytes mods/default/textures/default_grass.png | Bin 0 -> 874 bytes .../textures/default_grass_footsteps.png | Bin 0 -> 856 bytes mods/default/textures/default_grass_side.png | Bin 0 -> 878 bytes mods/default/textures/default_gravel.png | Bin 0 -> 591 bytes mods/default/textures/default_iron_lump.png | Bin 0 -> 936 bytes mods/default/textures/default_junglegrass.png | Bin 0 -> 672 bytes mods/default/textures/default_jungletree.png | Bin 0 -> 502 bytes .../textures/default_jungletree_top.png | Bin 0 -> 507 bytes mods/default/textures/default_ladder.png | Bin 0 -> 395 bytes mods/default/textures/default_lava.png | Bin 0 -> 357 bytes mods/default/textures/default_leaves.png | Bin 0 -> 1689 bytes mods/default/textures/default_mese.png | Bin 0 -> 203 bytes .../default/textures/default_mineral_coal.png | Bin 0 -> 952 bytes .../default/textures/default_mineral_iron.png | Bin 0 -> 1614 bytes mods/default/textures/default_mossycobble.png | Bin 0 -> 965 bytes mods/default/textures/default_nc_back.png | Bin 0 -> 303 bytes mods/default/textures/default_nc_front.png | Bin 0 -> 410 bytes mods/default/textures/default_nc_rb.png | Bin 0 -> 203 bytes mods/default/textures/default_nc_side.png | Bin 0 -> 260 bytes mods/default/textures/default_paper.png | Bin 0 -> 242 bytes mods/default/textures/default_papyrus.png | Bin 0 -> 366 bytes mods/default/textures/default_rail.png | Bin 0 -> 507 bytes .../textures/default_rail_crossing.png | Bin 0 -> 555 bytes mods/default/textures/default_rail_curved.png | Bin 0 -> 545 bytes .../textures/default_rail_t_junction.png | Bin 0 -> 542 bytes mods/default/textures/default_sand.png | Bin 0 -> 1381 bytes mods/default/textures/default_sandstone.png | Bin 0 -> 772 bytes mods/default/textures/default_sapling.png | Bin 0 -> 502 bytes .../textures/default_scorched_stuff.png | Bin 0 -> 233 bytes mods/default/textures/default_sign_wall.png | Bin 0 -> 489 bytes mods/default/textures/default_steel_block.png | Bin 0 -> 219 bytes mods/default/textures/default_steel_ingot.png | Bin 0 -> 207 bytes mods/default/textures/default_stick.png | Bin 0 -> 182 bytes mods/default/textures/default_stone.png | Bin 0 -> 806 bytes mods/default/textures/default_tnt_bottom.png | Bin 0 -> 161 bytes mods/default/textures/default_tnt_side.png | Bin 0 -> 186 bytes mods/default/textures/default_tnt_top.png | Bin 0 -> 264 bytes .../textures/default_tool_mesepick.png | Bin 0 -> 252 bytes .../textures/default_tool_steelaxe.png | Bin 0 -> 927 bytes .../textures/default_tool_steelpick.png | Bin 0 -> 271 bytes .../textures/default_tool_steelshovel.png | Bin 0 -> 216 bytes .../textures/default_tool_steelsword.png | Bin 0 -> 291 bytes .../textures/default_tool_stoneaxe.png | Bin 0 -> 931 bytes .../textures/default_tool_stonepick.png | Bin 0 -> 262 bytes .../textures/default_tool_stoneshovel.png | Bin 0 -> 203 bytes .../textures/default_tool_stonesword.png | Bin 0 -> 301 bytes .../default/textures/default_tool_woodaxe.png | Bin 0 -> 927 bytes .../textures/default_tool_woodpick.png | Bin 0 -> 245 bytes .../textures/default_tool_woodshovel.png | Bin 0 -> 203 bytes .../textures/default_tool_woodsword.png | Bin 0 -> 255 bytes mods/default/textures/default_torch.png | Bin 0 -> 925 bytes .../textures/default_torch_on_ceiling.png | Bin 0 -> 913 bytes .../textures/default_torch_on_floor.png | Bin 0 -> 917 bytes mods/default/textures/default_tree.png | Bin 0 -> 1445 bytes mods/default/textures/default_tree_top.png | Bin 0 -> 1024 bytes mods/default/textures/default_water.png | Bin 0 -> 518 bytes mods/default/textures/default_wood.png | Bin 0 -> 1400 bytes mods/default/textures/heart.png | Bin 0 -> 308 bytes mods/default/textures/player.png | Bin 0 -> 212 bytes mods/default/textures/player_back.png | Bin 0 -> 201 bytes mods/default/textures/treeprop.png | Bin 0 -> 1055 bytes mods/default/textures/wieldhand.png | Bin 0 -> 384 bytes mods/experimental/depends.txt | 2 + mods/experimental/init.lua | 652 +++++++ .../textures/experimental_dummyball.png | Bin 0 -> 838 bytes mods/give_initial_stuff/depends.txt | 2 + mods/give_initial_stuff/init.lua | 12 + mods/legacy/depends.txt | 2 + mods/legacy/init.lua | 132 ++ mods/legacy/textures/apple_iron.png | Bin 0 -> 207 bytes mods/legacy/textures/cooked_rat.png | Bin 0 -> 239 bytes mods/legacy/textures/dungeon_master.png | Bin 0 -> 6636 bytes mods/legacy/textures/fireball.png | Bin 0 -> 603 bytes mods/legacy/textures/firefly.png | Bin 0 -> 116 bytes mods/legacy/textures/oerkki1.png | Bin 0 -> 250 bytes mods/legacy/textures/oerkki1_damaged.png | Bin 0 -> 341 bytes mods/legacy/textures/rat.png | Bin 0 -> 920 bytes 105 files changed, 2409 insertions(+) create mode 100644 mods/bucket/depends.txt create mode 100644 mods/bucket/init.lua create mode 100644 mods/bucket/textures/bucket.png create mode 100644 mods/bucket/textures/bucket_lava.png create mode 100644 mods/bucket/textures/bucket_water.png create mode 100644 mods/default/init.lua create mode 100644 mods/default/textures/crack.png create mode 100644 mods/default/textures/default_apple.png create mode 100644 mods/default/textures/default_book.png create mode 100644 mods/default/textures/default_bookshelf.png create mode 100644 mods/default/textures/default_brick.png create mode 100644 mods/default/textures/default_cactus_side.png create mode 100644 mods/default/textures/default_cactus_top.png create mode 100644 mods/default/textures/default_chest_front.png create mode 100644 mods/default/textures/default_chest_lock.png create mode 100644 mods/default/textures/default_chest_side.png create mode 100644 mods/default/textures/default_chest_top.png create mode 100644 mods/default/textures/default_clay.png create mode 100644 mods/default/textures/default_clay_brick.png create mode 100644 mods/default/textures/default_clay_lump.png create mode 100644 mods/default/textures/default_cloud.png create mode 100644 mods/default/textures/default_coal_lump.png create mode 100644 mods/default/textures/default_cobble.png create mode 100644 mods/default/textures/default_dirt.png create mode 100644 mods/default/textures/default_fence.png create mode 100644 mods/default/textures/default_furnace_front.png create mode 100644 mods/default/textures/default_furnace_side.png create mode 100644 mods/default/textures/default_glass.png create mode 100644 mods/default/textures/default_grass.png create mode 100644 mods/default/textures/default_grass_footsteps.png create mode 100644 mods/default/textures/default_grass_side.png create mode 100644 mods/default/textures/default_gravel.png create mode 100644 mods/default/textures/default_iron_lump.png create mode 100644 mods/default/textures/default_junglegrass.png create mode 100644 mods/default/textures/default_jungletree.png create mode 100644 mods/default/textures/default_jungletree_top.png create mode 100644 mods/default/textures/default_ladder.png create mode 100644 mods/default/textures/default_lava.png create mode 100644 mods/default/textures/default_leaves.png create mode 100644 mods/default/textures/default_mese.png create mode 100644 mods/default/textures/default_mineral_coal.png create mode 100644 mods/default/textures/default_mineral_iron.png create mode 100644 mods/default/textures/default_mossycobble.png create mode 100644 mods/default/textures/default_nc_back.png create mode 100644 mods/default/textures/default_nc_front.png create mode 100644 mods/default/textures/default_nc_rb.png create mode 100644 mods/default/textures/default_nc_side.png create mode 100644 mods/default/textures/default_paper.png create mode 100644 mods/default/textures/default_papyrus.png create mode 100644 mods/default/textures/default_rail.png create mode 100644 mods/default/textures/default_rail_crossing.png create mode 100644 mods/default/textures/default_rail_curved.png create mode 100644 mods/default/textures/default_rail_t_junction.png create mode 100644 mods/default/textures/default_sand.png create mode 100644 mods/default/textures/default_sandstone.png create mode 100644 mods/default/textures/default_sapling.png create mode 100644 mods/default/textures/default_scorched_stuff.png create mode 100644 mods/default/textures/default_sign_wall.png create mode 100644 mods/default/textures/default_steel_block.png create mode 100644 mods/default/textures/default_steel_ingot.png create mode 100644 mods/default/textures/default_stick.png create mode 100644 mods/default/textures/default_stone.png create mode 100644 mods/default/textures/default_tnt_bottom.png create mode 100644 mods/default/textures/default_tnt_side.png create mode 100644 mods/default/textures/default_tnt_top.png create mode 100644 mods/default/textures/default_tool_mesepick.png create mode 100644 mods/default/textures/default_tool_steelaxe.png create mode 100644 mods/default/textures/default_tool_steelpick.png create mode 100644 mods/default/textures/default_tool_steelshovel.png create mode 100644 mods/default/textures/default_tool_steelsword.png create mode 100644 mods/default/textures/default_tool_stoneaxe.png create mode 100644 mods/default/textures/default_tool_stonepick.png create mode 100644 mods/default/textures/default_tool_stoneshovel.png create mode 100644 mods/default/textures/default_tool_stonesword.png create mode 100644 mods/default/textures/default_tool_woodaxe.png create mode 100644 mods/default/textures/default_tool_woodpick.png create mode 100644 mods/default/textures/default_tool_woodshovel.png create mode 100644 mods/default/textures/default_tool_woodsword.png create mode 100644 mods/default/textures/default_torch.png create mode 100644 mods/default/textures/default_torch_on_ceiling.png create mode 100644 mods/default/textures/default_torch_on_floor.png create mode 100644 mods/default/textures/default_tree.png create mode 100644 mods/default/textures/default_tree_top.png create mode 100644 mods/default/textures/default_water.png create mode 100644 mods/default/textures/default_wood.png create mode 100644 mods/default/textures/heart.png create mode 100644 mods/default/textures/player.png create mode 100644 mods/default/textures/player_back.png create mode 100644 mods/default/textures/treeprop.png create mode 100644 mods/default/textures/wieldhand.png create mode 100644 mods/experimental/depends.txt create mode 100644 mods/experimental/init.lua create mode 100644 mods/experimental/textures/experimental_dummyball.png create mode 100644 mods/give_initial_stuff/depends.txt create mode 100644 mods/give_initial_stuff/init.lua create mode 100644 mods/legacy/depends.txt create mode 100644 mods/legacy/init.lua create mode 100644 mods/legacy/textures/apple_iron.png create mode 100644 mods/legacy/textures/cooked_rat.png create mode 100644 mods/legacy/textures/dungeon_master.png create mode 100644 mods/legacy/textures/fireball.png create mode 100644 mods/legacy/textures/firefly.png create mode 100644 mods/legacy/textures/oerkki1.png create mode 100644 mods/legacy/textures/oerkki1_damaged.png create mode 100644 mods/legacy/textures/rat.png diff --git a/mods/bucket/depends.txt b/mods/bucket/depends.txt new file mode 100644 index 00000000..3a7daa1d --- /dev/null +++ b/mods/bucket/depends.txt @@ -0,0 +1,2 @@ +default + diff --git a/mods/bucket/init.lua b/mods/bucket/init.lua new file mode 100644 index 00000000..8ed9da52 --- /dev/null +++ b/mods/bucket/init.lua @@ -0,0 +1,95 @@ +-- bucket (Minetest 0.4 mod) +-- A bucket, which can pick up water and lava + +minetest.register_alias("bucket", "bucket:bucket_empty") +minetest.register_alias("bucket_water", "bucket:bucket_water") +minetest.register_alias("bucket_lava", "bucket:bucket_lava") + +minetest.register_craft({ + output = 'bucket:bucket_empty 1', + recipe = { + {'default:steel_ingot', '', 'default:steel_ingot'}, + {'', 'default:steel_ingot', ''}, + } +}) + +bucket = {} +bucket.liquids = {} + +-- Register a new liquid +-- source = name of the source node +-- flowing = name of the flowing node +-- itemname = name of the new bucket item (or nil if liquid is not takeable) +-- inventory_image = texture of the new bucket item (ignored if itemname == nil) +-- This function can be called from any mod (that depends on bucket). +function bucket.register_liquid(source, flowing, itemname, inventory_image) + bucket.liquids[source] = { + source = source, + flowing = flowing, + itemname = itemname, + } + bucket.liquids[flowing] = bucket.liquids[source] + + if itemname ~= nil then + minetest.register_craftitem(itemname, { + inventory_image = inventory_image, + stack_max = 1, + liquids_pointable = true, + on_use = function(itemstack, user, pointed_thing) + -- Must be pointing to node + if pointed_thing.type ~= "node" then + return + end + -- Check if pointing to a liquid + n = minetest.env:get_node(pointed_thing.under) + if bucket.liquids[n.name] == nil then + -- Not a liquid + minetest.env:add_node(pointed_thing.above, {name=source}) + elseif n.name ~= source then + -- It's a liquid + minetest.env:add_node(pointed_thing.under, {name=source}) + end + return {name="bucket:bucket_empty"} + end + }) + end +end + +minetest.register_craftitem("bucket:bucket_empty", { + inventory_image = "bucket.png", + stack_max = 1, + liquids_pointable = true, + on_use = function(itemstack, user, pointed_thing) + -- Must be pointing to node + if pointed_thing.type ~= "node" then + return + end + -- Check if pointing to a liquid source + n = minetest.env:get_node(pointed_thing.under) + liquiddef = bucket.liquids[n.name] + if liquiddef ~= nil and liquiddef.source == n.name and liquiddef.itemname ~= nil then + minetest.env:add_node(pointed_thing.under, {name="air"}) + return {name=liquiddef.itemname} + end + end, +}) + +bucket.register_liquid( + "default:water_source", + "default:water_flowing", + "bucket:bucket_water", + "bucket_water.png" +) + +bucket.register_liquid( + "default:lava_source", + "default:lava_flowing", + "bucket:bucket_lava", + "bucket_lava.png" +) + +minetest.register_craft({ + type = "fuel", + recipe = "default:bucket_lava", + burntime = 60, +}) diff --git a/mods/bucket/textures/bucket.png b/mods/bucket/textures/bucket.png new file mode 100644 index 0000000000000000000000000000000000000000..f165fd209e9dc30282c963ee27dcd34eeb84b115 GIT binary patch literal 329 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg)Zdra)<*XK-XFws@%#er@=ltB< z)VvZPmw~~#C^fMpHASI3vm`^o-P1Q9MK6^dD89hc#WBR<^x2@3yhjvxwuHYtv`E5h zA=7sU_7DfnDTkPM_B~-WI_NU-+eT~s6r0B%89!t{P^;Vb^g-W=Gnd`HPCj`!_sp3K zQO4fZ&$kH7Vv@c0+jYT|O*c`o^Za=JJUMpDMelNy3 P732v|S3j3^P6QL70(Y)*K0-AbW|YuPgg)Zdray@#n4E9dnI@*Z;FalP;AGr??^ zsSzu$bV2fkSxtf(XJsTCRfAlvZ)(!?Sma&Q=pmBua>?YU|Nrj)`tbVGuwUCmA75)I z(_FsdvT}EE@rJAND)*PGxaKKHHaX8^eqOtJ)yh?0vv>?v$MYKqZWL%*8dh$(Y*}W9 zAyWZ!-}Q!$lk$+n(bncyXCpI3FShQL70(Y)*K0-AbW|YuPgg)ZdrZ{;h&$K*nvW_nIRD+&iT2y zsd*(pE(3#eQEFmIYKlU6W=V#EyQgnJie4&6;R#O{#}JFtXD8Y69Wvl)jn~Q(Y_&{( zajVsMgXVIz}ew22cvdq8QG3!Ig zx5?eVw`#vS60;_Hf7hR?GU2r=5~ueV6>h9iQ&Lm%OXF!MeI2=d9^;0s(|Qf(sNbGy zFt@nFaM@ky>9^&s-AeNG?Mvy2w0ZHnE~Z_;!A1DbvL{l>EmMRT7EC$x@xuzU(nNy* z9@Qr-n!i^aT(sG1rC|MOh2Hy?@7<@x))=2+su!1Ud+XlZe8h1c$g`fVelF{r5}E)& CZi&JG literal 0 HcmV?d00001 diff --git a/mods/default/init.lua b/mods/default/init.lua new file mode 100644 index 00000000..8788b381 --- /dev/null +++ b/mods/default/init.lua @@ -0,0 +1,1510 @@ +-- default (Minetest 0.4 mod) +-- Most default stuff + +-- The API documentation in here was moved into doc/lua_api.txt + +WATER_ALPHA = 160 +WATER_VISC = 1 +LAVA_VISC = 7 +LIGHT_MAX = 14 + +-- Definitions made by this mod that other mods can use too +default = {} + +-- +-- Tool definition +-- + +-- The hand +minetest.register_item(":", { + type = "none", + wield_image = "wieldhand.png", + wield_scale = {x=1,y=1,z=2.5}, + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level = 0, + groupcaps = { + fleshy = {times={[2]=2.00, [3]=1.00}, maxwear=0, maxlevel=1}, + crumbly = {times={[3]=0.70}, maxwear=0, maxlevel=1}, + snappy = {times={[3]=0.40}, maxwear=0, maxlevel=1}, + oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, maxwear=0, maxlevel=3}, + } + } +}) + +minetest.register_tool("default:pick_wood", { + description = "Wooden Pickaxe", + inventory_image = "default_tool_woodpick.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + cracky={times={[2]=1.50, [3]=0.80}, maxwear=0.1, maxlevel=1} + } + }, +}) +minetest.register_tool("default:pick_stone", { + description = "Stone Pickaxe", + inventory_image = "default_tool_stonepick.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + cracky={times={[1]=1.50, [2]=0.80, [3]=0.60}, maxwear=0.05, maxlevel=1} + } + }, +}) +minetest.register_tool("default:pick_steel", { + description = "Steel Pickaxe", + inventory_image = "default_tool_steelpick.png", + tool_capabilities = { + max_drop_level=1, + groupcaps={ + cracky={times={[1]=1.00, [2]=0.60, [3]=0.40}, maxwear=0.1, maxlevel=2} + } + }, +}) +minetest.register_tool("default:pick_mese", { + description = "Mese Pickaxe", + inventory_image = "default_tool_mesepick.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=3, + groupcaps={ + cracky={times={[1]=0.2, [2]=0.2, [3]=0.2}, maxwear=0.05, maxlevel=3}, + crumbly={times={[1]=0.2, [2]=0.2, [3]=0.2}, maxwear=0.05, maxlevel=3}, + snappy={times={[1]=0.2, [2]=0.2, [3]=0.2}, maxwear=0.05, maxlevel=3} + } + }, +}) +minetest.register_tool("default:shovel_wood", { + description = "Wooden Shovel", + inventory_image = "default_tool_woodshovel.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + crumbly={times={[1]=1.50, [2]=0.80, [3]=0.50}, maxwear=0.1, maxlevel=1} + } + }, +}) +minetest.register_tool("default:shovel_stone", { + description = "Stone Shovel", + inventory_image = "default_tool_stoneshovel.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + crumbly={times={[1]=0.80, [2]=0.50, [3]=0.30}, maxwear=0.05, maxlevel=1} + } + }, +}) +minetest.register_tool("default:shovel_steel", { + description = "Steel Shovel", + inventory_image = "default_tool_steelshovel.png", + tool_capabilities = { + max_drop_level=1, + groupcaps={ + crumbly={times={[1]=0.50, [2]=0.35, [3]=0.30}, maxwear=0.1, maxlevel=2} + } + }, +}) +minetest.register_tool("default:axe_wood", { + description = "Wooden Axe", + inventory_image = "default_tool_woodaxe.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + choppy={times={[2]=1.40, [3]=0.80}, maxwear=0.1, maxlevel=1}, + fleshy={times={[2]=1.50, [3]=0.80}, maxwear=0.1, maxlevel=1} + } + }, +}) +minetest.register_tool("default:axe_stone", { + description = "Stone Axe", + inventory_image = "default_tool_stoneaxe.png", + tool_capabilities = { + max_drop_level=0, + groupcaps={ + choppy={times={[1]=1.50, [2]=1.00, [3]=0.60}, maxwear=0.05, maxlevel=1}, + fleshy={times={[2]=1.30, [3]=0.70}, maxwear=0.05, maxlevel=1} + } + }, +}) +minetest.register_tool("default:axe_steel", { + description = "Steel Axe", + inventory_image = "default_tool_steelaxe.png", + tool_capabilities = { + max_drop_level=1, + groupcaps={ + choppy={times={[1]=1.00, [2]=0.80, [3]=0.50}, maxwear=0.1, maxlevel=2}, + fleshy={times={[2]=1.10, [3]=0.60}, maxwear=0.03, maxlevel=1} + } + }, +}) +minetest.register_tool("default:sword_wood", { + description = "Wooden Sword", + inventory_image = "default_tool_woodsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=0, + groupcaps={ + fleshy={times={[2]=1.10, [3]=0.60}, maxwear=0.1, maxlevel=1}, + snappy={times={[2]=1.00, [3]=0.50}, maxwear=0.1, maxlevel=1}, + choppy={times={[3]=1.00}, maxwear=0.05, maxlevel=0} + } + } +}) +minetest.register_tool("default:sword_stone", { + description = "Stone Sword", + inventory_image = "default_tool_stonesword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=0, + groupcaps={ + fleshy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1}, + snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1}, + choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0} + } + } +}) +minetest.register_tool("default:sword_steel", { + description = "Steel Sword", + inventory_image = "default_tool_steelsword.png", + tool_capabilities = { + full_punch_interval = 1.0, + max_drop_level=1, + groupcaps={ + fleshy={times={[1]=1.00, [2]=0.40, [3]=0.20}, maxwear=0.1, maxlevel=2}, + snappy={times={[2]=0.70, [3]=0.30}, maxwear=0.03, maxlevel=1}, + choppy={times={[3]=0.70}, maxwear=0.03, maxlevel=0} + } + } +}) + +-- +-- Crafting definition +-- + +minetest.register_craft({ + output = 'default:wood 4', + recipe = { + {'default:tree'}, + } +}) + +minetest.register_craft({ + output = 'default:stick 4', + recipe = { + {'default:wood'}, + } +}) + +minetest.register_craft({ + output = 'default:fence_wood 2', + recipe = { + {'default:stick', 'default:stick', 'default:stick'}, + {'default:stick', 'default:stick', 'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:sign_wall', + recipe = { + {'default:wood', 'default:wood', 'default:wood'}, + {'default:wood', 'default:wood', 'default:wood'}, + {'', 'default:stick', ''}, + } +}) + +minetest.register_craft({ + output = 'default:torch 4', + recipe = { + {'default:coal_lump'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:pick_wood', + recipe = { + {'default:wood', 'default:wood', 'default:wood'}, + {'', 'default:stick', ''}, + {'', 'default:stick', ''}, + } +}) + +minetest.register_craft({ + output = 'default:pick_stone', + recipe = { + {'default:cobble', 'default:cobble', 'default:cobble'}, + {'', 'default:stick', ''}, + {'', 'default:stick', ''}, + } +}) + +minetest.register_craft({ + output = 'default:pick_steel', + recipe = { + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'', 'default:stick', ''}, + {'', 'default:stick', ''}, + } +}) + +minetest.register_craft({ + output = 'default:pick_mese', + recipe = { + {'default:mese', 'default:mese', 'default:mese'}, + {'', 'default:stick', ''}, + {'', 'default:stick', ''}, + } +}) + +minetest.register_craft({ + output = 'default:shovel_wood', + recipe = { + {'default:wood'}, + {'default:stick'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:shovel_stone', + recipe = { + {'default:cobble'}, + {'default:stick'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:shovel_steel', + recipe = { + {'default:steel_ingot'}, + {'default:stick'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:axe_wood', + recipe = { + {'default:wood', 'default:wood'}, + {'default:wood', 'default:stick'}, + {'', 'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:axe_stone', + recipe = { + {'default:cobble', 'default:cobble'}, + {'default:cobble', 'default:stick'}, + {'', 'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:axe_steel', + recipe = { + {'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:stick'}, + {'', 'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:sword_wood', + recipe = { + {'default:wood'}, + {'default:wood'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:sword_stone', + recipe = { + {'default:cobble'}, + {'default:cobble'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:sword_steel', + recipe = { + {'default:steel_ingot'}, + {'default:steel_ingot'}, + {'default:stick'}, + } +}) + +minetest.register_craft({ + output = 'default:rail 15', + recipe = { + {'default:steel_ingot', '', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:stick', 'default:steel_ingot'}, + {'default:steel_ingot', '', 'default:steel_ingot'}, + } +}) + +minetest.register_craft({ + output = 'default:chest', + recipe = { + {'default:wood', 'default:wood', 'default:wood'}, + {'default:wood', '', 'default:wood'}, + {'default:wood', 'default:wood', 'default:wood'}, + } +}) + +minetest.register_craft({ + output = 'default:chest_locked', + recipe = { + {'default:wood', 'default:wood', 'default:wood'}, + {'default:wood', 'default:steel_ingot', 'default:wood'}, + {'default:wood', 'default:wood', 'default:wood'}, + } +}) + +minetest.register_craft({ + output = 'default:furnace', + recipe = { + {'default:cobble', 'default:cobble', 'default:cobble'}, + {'default:cobble', '', 'default:cobble'}, + {'default:cobble', 'default:cobble', 'default:cobble'}, + } +}) + +minetest.register_craft({ + output = 'default:steelblock', + recipe = { + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + } +}) + +minetest.register_craft({ + output = 'default:sandstone', + recipe = { + {'default:sand', 'default:sand'}, + {'default:sand', 'default:sand'}, + } +}) + +minetest.register_craft({ + output = 'default:clay', + recipe = { + {'default:clay_lump', 'default:clay_lump'}, + {'default:clay_lump', 'default:clay_lump'}, + } +}) + +minetest.register_craft({ + output = 'default:brick', + recipe = { + {'default:clay_brick', 'default:clay_brick'}, + {'default:clay_brick', 'default:clay_brick'}, + } +}) + +minetest.register_craft({ + output = 'default:paper', + recipe = { + {'default:papyrus', 'default:papyrus', 'default:papyrus'}, + } +}) + +minetest.register_craft({ + output = 'default:book', + recipe = { + {'default:paper'}, + {'default:paper'}, + {'default:paper'}, + } +}) + +minetest.register_craft({ + output = 'default:bookshelf', + recipe = { + {'default:wood', 'default:wood', 'default:wood'}, + {'default:book', 'default:book', 'default:book'}, + {'default:wood', 'default:wood', 'default:wood'}, + } +}) + +minetest.register_craft({ + output = 'default:ladder', + recipe = { + {'default:stick', '', 'default:stick'}, + {'default:stick', 'default:stick', 'default:stick'}, + {'default:stick', '', 'default:stick'}, + } +}) + +-- +-- Crafting (tool repair) +-- +minetest.register_craft({ + type = "toolrepair", + additional_wear = -0.02, +}) + +-- +-- Cooking recipes +-- + +minetest.register_craft({ + type = "cooking", + output = "default:glass", + recipe = "default:sand", +}) + +minetest.register_craft({ + type = "cooking", + output = "default:coal_lump", + recipe = "default:tree", +}) + +minetest.register_craft({ + type = "cooking", + output = "default:coal_lump", + recipe = "default:jungletree", +}) + +minetest.register_craft({ + type = "cooking", + output = "default:stone", + recipe = "default:cobble", +}) + +minetest.register_craft({ + type = "cooking", + output = "default:steel_ingot", + recipe = "default:iron_lump", +}) + +minetest.register_craft({ + type = "cooking", + output = "default:clay_brick", + recipe = "default:clay_lump", +}) + +-- +-- Fuels +-- + +minetest.register_craft({ + type = "fuel", + recipe = "default:tree", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:jungletree", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:junglegrass", + burntime = 2, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:leaves", + burntime = 1, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:cactus", + burntime = 15, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:papyrus", + burntime = 1, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:bookshelf", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:fence_wood", + burntime = 15, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:ladder", + burntime = 5, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:wood", + burntime = 7, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:mese", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:lava_source", + burntime = 60, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:torch", + burntime = 4, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:sign_wall", + burntime = 10, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:chest", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:chest_locked", + burntime = 30, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:nyancat", + burntime = 1, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:nyancat_rainbow", + burntime = 1, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:sapling", + burntime = 10, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:apple", + burntime = 3, +}) + +minetest.register_craft({ + type = "fuel", + recipe = "default:coal_lump", + burntime = 40, +}) + +-- +-- Node definitions +-- + +-- Default node sounds + +function default.node_sound_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="", gain=1.0} + table.dug = table.dug or + {name="default_dug_node", gain=1.0} + return table +end + +function default.node_sound_stone_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_hard_footstep", gain=0.2} + default.node_sound_defaults(table) + return table +end + +function default.node_sound_dirt_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="", gain=0.5} + --table.dug = table.dug or + -- {name="default_dirt_break", gain=0.5} + default.node_sound_defaults(table) + return table +end + +function default.node_sound_sand_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_grass_footstep", gain=0.25} + --table.dug = table.dug or + -- {name="default_dirt_break", gain=0.25} + table.dug = table.dug or + {name="", gain=0.25} + default.node_sound_defaults(table) + return table +end + +function default.node_sound_wood_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_hard_footstep", gain=0.3} + default.node_sound_defaults(table) + return table +end + +function default.node_sound_leaves_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_grass_footstep", gain=0.25} + table.dig = table.dig or + {name="default_dig_crumbly", gain=0.4} + table.dug = table.dug or + {name="", gain=1.0} + default.node_sound_defaults(table) + return table +end + +function default.node_sound_glass_defaults(table) + table = table or {} + table.footstep = table.footstep or + {name="default_stone_footstep", gain=0.25} + table.dug = table.dug or + {name="default_break_glass", gain=1.0} + default.node_sound_defaults(table) + return table +end + +-- + +minetest.register_node("default:stone", { + description = "Stone", + tile_images = {"default_stone.png"}, + is_ground_content = true, + groups = {cracky=3}, + drop = 'default:cobble', + legacy_mineral = true, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:stone_with_coal", { + description = "Stone with coal", + tile_images = {"default_stone.png^default_mineral_coal.png"}, + is_ground_content = true, + groups = {cracky=3}, + drop = 'default:coal_lump', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:stone_with_iron", { + description = "Stone with iron", + tile_images = {"default_stone.png^default_mineral_iron.png"}, + is_ground_content = true, + groups = {cracky=3}, + drop = 'default:iron_lump', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:dirt_with_grass", { + description = "Dirt with grass", + tile_images = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, + is_ground_content = true, + groups = {crumbly=3}, + drop = 'default:dirt', + sounds = default.node_sound_dirt_defaults({ + footstep = {name="default_grass_footstep", gain=0.4}, + }), +}) + +minetest.register_node("default:dirt_with_grass_footsteps", { + description = "Dirt with grass and footsteps", + tile_images = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}, + is_ground_content = true, + groups = {crumbly=3}, + drop = 'default:dirt', + sounds = default.node_sound_dirt_defaults({ + footstep = {name="default_grass_footstep", gain=0.4}, + }), +}) + +minetest.register_node("default:dirt", { + description = "Dirt", + tile_images = {"default_dirt.png"}, + is_ground_content = true, + groups = {crumbly=3}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_node("default:sand", { + description = "Sand", + tile_images = {"default_sand.png"}, + is_ground_content = true, + groups = {crumbly=3}, + sounds = default.node_sound_sand_defaults(), +}) + +minetest.register_node("default:gravel", { + description = "Gravel", + tile_images = {"default_gravel.png"}, + is_ground_content = true, + groups = {crumbly=2}, + sounds = default.node_sound_dirt_defaults({ + footstep = {name="default_gravel_footstep", gain=0.45}, + }), +}) + +minetest.register_node("default:sandstone", { + description = "Sandstone", + tile_images = {"default_sandstone.png"}, + is_ground_content = true, + groups = {crumbly=2,cracky=2}, + drop = 'default:sand', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:clay", { + description = "Clay", + tile_images = {"default_clay.png"}, + is_ground_content = true, + groups = {crumbly=3}, + drop = 'default:clay_lump 4', + sounds = default.node_sound_dirt_defaults({ + footstep = "", + }), +}) + +minetest.register_node("default:brick", { + description = "Brick", + tile_images = {"default_brick.png"}, + is_ground_content = true, + groups = {cracky=3}, + drop = 'default:clay_brick 4', + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:tree", { + description = "Tree", + tile_images = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"}, + is_ground_content = true, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:jungletree", { + description = "Jungle Tree", + tile_images = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"}, + is_ground_content = true, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:junglegrass", { + description = "Jungle Grass", + drawtype = "plantlike", + visual_scale = 1.3, + tile_images = {"default_junglegrass.png"}, + inventory_image = "default_junglegrass.png", + wield_image = "default_junglegrass.png", + paramtype = "light", + walkable = false, + groups = {snappy=3}, + sounds = default.node_sound_leaves_defaults(), +}) + +minetest.register_node("default:leaves", { + description = "Leaves", + drawtype = "allfaces_optional", + visual_scale = 1.3, + tile_images = {"default_leaves.png"}, + paramtype = "light", + groups = {snappy=3}, + drop = { + max_items = 1, + items = { + { + -- player will get sapling with 1/20 chance + items = {'default:sapling'}, + rarity = 20, + }, + { + -- player will get leaves only if he get no saplings, + -- this is because max_items is 1 + items = {'default:leaves'}, + } + } + }, + sounds = default.node_sound_leaves_defaults(), +}) + +minetest.register_node("default:cactus", { + description = "Cactus", + tile_images = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"}, + is_ground_content = true, + groups = {snappy=2,choppy=3}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:papyrus", { + description = "Papyrus", + drawtype = "plantlike", + tile_images = {"default_papyrus.png"}, + inventory_image = "default_papyrus.png", + wield_image = "default_papyrus.png", + paramtype = "light", + is_ground_content = true, + walkable = false, + groups = {snappy=3}, + sounds = default.node_sound_leaves_defaults(), +}) + +minetest.register_node("default:bookshelf", { + description = "Bookshelf", + tile_images = {"default_wood.png", "default_wood.png", "default_bookshelf.png"}, + is_ground_content = true, + groups = {snappy=2,choppy=3,oddly_breakable_by_hand=2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:glass", { + description = "Glass", + drawtype = "glasslike", + tile_images = {"default_glass.png"}, + inventory_image = minetest.inventorycube("default_glass.png"), + paramtype = "light", + sunlight_propagates = true, + is_ground_content = true, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, + sounds = default.node_sound_glass_defaults(), +}) + +minetest.register_node("default:fence_wood", { + description = "Wooden Fence", + drawtype = "fencelike", + tile_images = {"default_wood.png"}, + inventory_image = "default_fence.png", + wield_image = "default_fence.png", + paramtype = "light", + is_ground_content = true, + selection_box = { + type = "fixed", + fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, + }, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:rail", { + description = "Rail", + drawtype = "raillike", + tile_images = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"}, + inventory_image = "default_rail.png", + wield_image = "default_rail.png", + paramtype = "light", + is_ground_content = true, + walkable = false, + selection_box = { + type = "fixed", + --fixed = + }, + groups = {bendy=2,snappy=1,dig_immediate=2}, +}) + +minetest.register_node("default:ladder", { + description = "Ladder", + drawtype = "signlike", + tile_images = {"default_ladder.png"}, + inventory_image = "default_ladder.png", + wield_image = "default_ladder.png", + paramtype = "light", + paramtype2 = "wallmounted", + is_ground_content = true, + walkable = false, + climbable = true, + selection_box = { + type = "wallmounted", + --wall_top = = + --wall_bottom = = + --wall_side = = + }, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, + legacy_wallmounted = true, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:wood", { + description = "Wood", + tile_images = {"default_wood.png"}, + is_ground_content = true, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:mese", { + description = "Mese", + tile_images = {"default_mese.png"}, + is_ground_content = true, + groups = {cracky=1}, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:cloud", { + description = "Cloud", + tile_images = {"default_cloud.png"}, + is_ground_content = true, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:water_flowing", { + description = "Water (flowing)", + inventory_image = minetest.inventorycube("default_water.png"), + drawtype = "flowingliquid", + tile_images = {"default_water.png"}, + alpha = WATER_ALPHA, + paramtype = "light", + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + liquidtype = "flowing", + liquid_alternative_flowing = "default:water_flowing", + liquid_alternative_source = "default:water_source", + liquid_viscosity = WATER_VISC, + post_effect_color = {a=64, r=100, g=100, b=200}, + special_materials = { + {image="default_water.png", backface_culling=false}, + {image="default_water.png", backface_culling=true}, + }, + groups = {water=3, liquid=3}, +}) + +minetest.register_node("default:water_source", { + description = "Water", + inventory_image = minetest.inventorycube("default_water.png"), + drawtype = "liquid", + tile_images = {"default_water.png"}, + alpha = WATER_ALPHA, + paramtype = "light", + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + liquidtype = "source", + liquid_alternative_flowing = "default:water_flowing", + liquid_alternative_source = "default:water_source", + liquid_viscosity = WATER_VISC, + post_effect_color = {a=64, r=100, g=100, b=200}, + special_materials = { + -- New-style water source material (mostly unused) + {image="default_water.png", backface_culling=false}, + }, + groups = {water=3, liquid=3}, +}) + +minetest.register_node("default:lava_flowing", { + description = "Lava (flowing)", + inventory_image = minetest.inventorycube("default_lava.png"), + drawtype = "flowingliquid", + tile_images = {"default_lava.png"}, + paramtype = "light", + light_source = LIGHT_MAX - 1, + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + liquidtype = "flowing", + liquid_alternative_flowing = "default:lava_flowing", + liquid_alternative_source = "default:lava_source", + liquid_viscosity = LAVA_VISC, + damage_per_second = 4*2, + post_effect_color = {a=192, r=255, g=64, b=0}, + special_materials = { + {image="default_lava.png", backface_culling=false}, + {image="default_lava.png", backface_culling=true}, + }, + groups = {lava=3, liquid=2, hot=3}, +}) + +minetest.register_node("default:lava_source", { + description = "Lava", + inventory_image = minetest.inventorycube("default_lava.png"), + drawtype = "liquid", + tile_images = {"default_lava.png"}, + paramtype = "light", + light_source = LIGHT_MAX - 1, + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + liquidtype = "source", + liquid_alternative_flowing = "default:lava_flowing", + liquid_alternative_source = "default:lava_source", + liquid_viscosity = LAVA_VISC, + damage_per_second = 4*2, + post_effect_color = {a=192, r=255, g=64, b=0}, + special_materials = { + -- New-style lava source material (mostly unused) + {image="default_lava.png", backface_culling=false}, + }, + groups = {lava=3, liquid=2, hot=3}, +}) + +minetest.register_node("default:torch", { + description = "Torch", + drawtype = "torchlike", + tile_images = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"}, + inventory_image = "default_torch_on_floor.png", + wield_image = "default_torch_on_floor.png", + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + light_source = LIGHT_MAX-1, + selection_box = { + type = "wallmounted", + wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1}, + wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1}, + wall_side = {-0.5, -0.3, -0.1, -0.5+0.3, 0.3, 0.1}, + }, + groups = {choppy=2,dig_immediate=3}, + legacy_wallmounted = true, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:sign_wall", { + description = "Sign", + drawtype = "signlike", + tile_images = {"default_sign_wall.png"}, + inventory_image = "default_sign_wall.png", + wield_image = "default_sign_wall.png", + paramtype = "light", + paramtype2 = "wallmounted", + sunlight_propagates = true, + walkable = false, + metadata_name = "sign", + selection_box = { + type = "wallmounted", + --wall_top = + --wall_bottom = + --wall_side = + }, + groups = {choppy=2,dig_immediate=2}, + legacy_wallmounted = true, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:chest", { + description = "Chest", + tile_images = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png", + "default_chest_side.png", "default_chest_side.png", "default_chest_front.png"}, + paramtype2 = "facedir", + metadata_name = "chest", + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + legacy_facedir_simple = true, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:chest_locked", { + description = "Locked Chest", + tile_images = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png", + "default_chest_side.png", "default_chest_side.png", "default_chest_lock.png"}, + paramtype2 = "facedir", + metadata_name = "locked_chest", + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + legacy_facedir_simple = true, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_node("default:furnace", { + description = "Furnace", + tile_images = {"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png", + "default_furnace_side.png", "default_furnace_side.png", "default_furnace_front.png"}, + paramtype2 = "facedir", + metadata_name = "furnace", + groups = {cracky=2}, + legacy_facedir_simple = true, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:cobble", { + description = "Cobble", + tile_images = {"default_cobble.png"}, + is_ground_content = true, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:mossycobble", { + description = "Mossy Cobble", + tile_images = {"default_mossycobble.png"}, + is_ground_content = true, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:steelblock", { + description = "Steel Block", + tile_images = {"default_steel_block.png"}, + is_ground_content = true, + groups = {snappy=1,bendy=2}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("default:nyancat", { + description = "Nyancat", + tile_images = {"default_nc_side.png", "default_nc_side.png", "default_nc_side.png", + "default_nc_side.png", "default_nc_back.png", "default_nc_front.png"}, + inventory_image = "default_nc_front.png", + paramtype2 = "facedir", + groups = {cracky=2}, + legacy_facedir_simple = true, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:nyancat_rainbow", { + description = "Nyancat Rainbow", + tile_images = {"default_nc_rb.png"}, + inventory_image = "default_nc_rb.png", + groups = {cracky=2}, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:sapling", { + description = "Sapling", + drawtype = "plantlike", + visual_scale = 1.0, + tile_images = {"default_sapling.png"}, + inventory_image = "default_sapling.png", + wield_image = "default_sapling.png", + paramtype = "light", + walkable = false, + groups = {snappy=2,dig_immediate=3}, + sounds = default.node_sound_defaults(), +}) + +minetest.register_node("default:apple", { + description = "Apple", + drawtype = "plantlike", + visual_scale = 1.0, + tile_images = {"default_apple.png"}, + inventory_image = "default_apple.png", + paramtype = "light", + sunlight_propagates = true, + walkable = false, + groups = {fleshy=3,dig_immediate=3}, + on_use = minetest.item_eat(4), + sounds = default.node_sound_defaults(), +}) + +-- +-- Crafting items +-- + +minetest.register_craftitem("default:stick", { + description = "Stick", + inventory_image = "default_stick.png", +}) + +minetest.register_craftitem("default:paper", { + description = "Paper", + inventory_image = "default_paper.png", +}) + +minetest.register_craftitem("default:book", { + description = "Book", + inventory_image = "default_book.png", +}) + +minetest.register_craftitem("default:coal_lump", { + description = "Lump of coal", + inventory_image = "default_coal_lump.png", +}) + +minetest.register_craftitem("default:iron_lump", { + description = "Lump of iron", + inventory_image = "default_iron_lump.png", +}) + +minetest.register_craftitem("default:clay_lump", { + description = "Lump of clay", + inventory_image = "default_clay_lump.png", +}) + +minetest.register_craftitem("default:steel_ingot", { + description = "Steel ingot", + inventory_image = "default_steel_ingot.png", +}) + +minetest.register_craftitem("default:clay_brick", { + description = "Clay brick", + inventory_image = "default_steel_ingot.png", + inventory_image = "default_clay_brick.png", +}) + +minetest.register_craftitem("default:scorched_stuff", { + description = "Scorched stuff", + inventory_image = "default_scorched_stuff.png", +}) + +-- +-- Creative inventory +-- + +minetest.add_to_creative_inventory('default:pick_mese') +minetest.add_to_creative_inventory('default:pick_steel') +minetest.add_to_creative_inventory('default:axe_steel') +minetest.add_to_creative_inventory('default:shovel_steel') + +minetest.add_to_creative_inventory('default:torch') +minetest.add_to_creative_inventory('default:cobble') +minetest.add_to_creative_inventory('default:dirt') +minetest.add_to_creative_inventory('default:stone') +minetest.add_to_creative_inventory('default:sand') +minetest.add_to_creative_inventory('default:sandstone') +minetest.add_to_creative_inventory('default:clay') +minetest.add_to_creative_inventory('default:brick') +minetest.add_to_creative_inventory('default:tree') +minetest.add_to_creative_inventory('default:wood') +minetest.add_to_creative_inventory('default:leaves') +minetest.add_to_creative_inventory('default:cactus') +minetest.add_to_creative_inventory('default:papyrus') +minetest.add_to_creative_inventory('default:bookshelf') +minetest.add_to_creative_inventory('default:glass') +minetest.add_to_creative_inventory('default:fence_wood') +minetest.add_to_creative_inventory('default:rail') +minetest.add_to_creative_inventory('default:mese') +minetest.add_to_creative_inventory('default:chest') +minetest.add_to_creative_inventory('default:furnace') +minetest.add_to_creative_inventory('default:sign_wall') +minetest.add_to_creative_inventory('default:water_source') +minetest.add_to_creative_inventory('default:lava_source') +minetest.add_to_creative_inventory('default:ladder') + +-- +-- Some common functions +-- + +default.falling_node_names = {} + +function nodeupdate_single(p) + n = minetest.env:get_node(p) + if default.falling_node_names[n.name] ~= nil then + p_bottom = {x=p.x, y=p.y-1, z=p.z} + n_bottom = minetest.env:get_node(p_bottom) + if n_bottom.name == "air" then + minetest.env:remove_node(p) + minetest.env:add_entity(p, "default:falling_"..n.name) + nodeupdate(p) + end + end +end + +function nodeupdate(p) + for x = -1,1 do + for y = -1,1 do + for z = -1,1 do + p2 = {x=p.x+x, y=p.y+y, z=p.z+z} + nodeupdate_single(p2) + end + end + end +end + +-- +-- Falling stuff +-- + +function default.register_falling_node(nodename, texture) + default.falling_node_names[nodename] = true + -- Override naming conventions for stuff like :default:falling_default:sand + minetest.register_entity(":default:falling_"..nodename, { + -- Static definition + physical = true, + collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5}, + visual = "cube", + textures = {texture,texture,texture,texture,texture,texture}, + -- State + -- Methods + on_step = function(self, dtime) + -- Set gravity + self.object:setacceleration({x=0, y=-10, z=0}) + -- Turn to actual sand when collides to ground or just move + local pos = self.object:getpos() + local bcp = {x=pos.x, y=pos.y-0.7, z=pos.z} -- Position of bottom center point + local bcn = minetest.env:get_node(bcp) + if bcn.name ~= "air" then + -- Turn to a sand node + local np = {x=bcp.x, y=bcp.y+1, z=bcp.z} + minetest.env:add_node(np, {name=nodename}) + self.object:remove() + else + -- Do nothing + end + end + }) +end + +default.register_falling_node("default:sand", "default_sand.png") +default.register_falling_node("default:gravel", "default_gravel.png") + +-- +-- Global callbacks +-- + +-- Global environment step function +function on_step(dtime) + -- print("on_step") +end +minetest.register_globalstep(on_step) + +function on_placenode(p, node) + --print("on_placenode") + nodeupdate(p) +end +minetest.register_on_placenode(on_placenode) + +function on_dignode(p, node) + --print("on_dignode") + nodeupdate(p) +end +minetest.register_on_dignode(on_dignode) + +function on_punchnode(p, node) +end +minetest.register_on_punchnode(on_punchnode) + +local function handle_give_command(cmd, giver, receiver, stackstring) + if not minetest.get_player_privs(giver)["give"] then + minetest.chat_send_player(giver, "error: you don't have permission to give") + return + end + minetest.debug("DEBUG: "..cmd..' invoked, stackstring="'..stackstring..'"') + minetest.log(cmd..' invoked, stackstring="'..stackstring..'"') + local itemstack = ItemStack(stackstring) + if itemstack:is_empty() then + minetest.chat_send_player(giver, 'error: cannot give an empty item') + return + elseif not itemstack:is_known() then + minetest.chat_send_player(giver, 'error: cannot give an unknown item') + return + end + local receiverref = minetest.env:get_player_by_name(receiver) + if receiverref == nil then + minetest.chat_send_player(giver, receiver..' is not a known player') + return + end + local leftover = receiverref:get_inventory():add_item("main", itemstack) + if leftover:is_empty() then + partiality = "" + elseif leftover:get_count() == itemstack:get_count() then + partiality = "could not be " + else + partiality = "partially " + end + -- The actual item stack string may be different from what the "giver" + -- entered (e.g. big numbers are always interpreted as 2^16-1). + stackstring = itemstack:to_string() + if giver == receiver then + minetest.chat_send_player(giver, '"'..stackstring + ..'" '..partiality..'added to inventory.'); + else + minetest.chat_send_player(giver, '"'..stackstring + ..'" '..partiality..'added to '..receiver..'\'s inventory.'); + minetest.chat_send_player(receiver, '"'..stackstring + ..'" '..partiality..'added to inventory.'); + end +end + +minetest.register_on_chat_message(function(name, message) + --print("default on_chat_message: name="..dump(name).." message="..dump(message)) + local cmd = "/giveme" + if message:sub(0, #cmd) == cmd then + local stackstring = string.match(message, cmd.." (.*)") + if stackstring == nil then + minetest.chat_send_player(name, 'usage: '..cmd..' stackstring') + return true -- Handled chat message + end + handle_give_command(cmd, name, name, stackstring) + return true + end + local cmd = "/give" + if message:sub(0, #cmd) == cmd then + local receiver, stackstring = string.match(message, cmd.." ([%a%d_-]+) (.*)") + if receiver == nil or stackstring == nil then + minetest.chat_send_player(name, 'usage: '..cmd..' name stackstring') + return true -- Handled chat message + end + handle_give_command(cmd, name, receiver, stackstring) + return true + end + local cmd = "/spawnentity" + if message:sub(0, #cmd) == cmd then + if not minetest.get_player_privs(name)["give"] then + minetest.chat_send_player(name, "you don't have permission to spawn (give)") + return true -- Handled chat message + end + if not minetest.get_player_privs(name)["interact"] then + minetest.chat_send_player(name, "you don't have permission to interact") + return true -- Handled chat message + end + local entityname = string.match(message, cmd.." (.*)") + if entityname == nil then + minetest.chat_send_player(name, 'usage: '..cmd..' entityname') + return true -- Handled chat message + end + print(cmd..' invoked, entityname="'..entityname..'"') + local player = minetest.env:get_player_by_name(name) + if player == nil then + print("Unable to spawn entity, player is nil") + return true -- Handled chat message + end + local p = player:getpos() + p.y = p.y + 1 + minetest.env:add_entity(p, entityname) + minetest.chat_send_player(name, '"'..entityname + ..'" spawned.'); + return true -- Handled chat message + end + local cmd = "/pulverize" + if message:sub(0, #cmd) == cmd then + local player = minetest.env:get_player_by_name(name) + if player == nil then + print("Unable to pulverize, player is nil") + return true -- Handled chat message + end + if player:get_wielded_item():is_empty() then + minetest.chat_send_player(name, 'Unable to pulverize, no item in hand.') + else + player:set_wielded_item(nil) + minetest.chat_send_player(name, 'An item was pulverized.') + end + return true + end +end) + +-- +-- Done, print some random stuff +-- + +--print("minetest.registered_entities:") +--dump2(minetest.registered_entities) + +-- END diff --git a/mods/default/textures/crack.png b/mods/default/textures/crack.png new file mode 100644 index 0000000000000000000000000000000000000000..499783982d553bfecbc596175b492dd0f2346a32 GIT binary patch literal 1076 zcmZvaTS$~q5XZ+YwIp5ZA+bWNP6dWN`A`qqZMU2fSwyIZS|XA%8?t(dZiHqLRIo!m zWCj&>p{O2|fi%0QU7+X&J`HRnl0`)YU7&|fvm3;&+Xv^IIUi@v??3-JM^Yfk(&CjZGCe1m(?5CLW&0z`2CJEWij!oUQCfX;5pNXx`~5oH!4MkMDvvl0m+TTG;gVgaJsY*M|7 z3JVhx5;}C^g_TJN867$HOiC!|*pVkxJK@lyOXjPNp`l1BkeL55&7Z$m(~=+?Khr$# zMU_P?5sB;stC9#ZTTH5UzXhmjv-271y?A965=JJ|%U($Zg{=N&nLm;a&{WTz@_s2wnG6;bk_aF)^Ky1%eJg}MsFi`S)UKSW{!DkFD ztzSFvY0Z;@fznB>jj#J!W4|e%UnlRBzYS>^H?DMeo+{`1b5pVfMt)bzRL*KkhzT(%n;7aUrm}q5thr ze#ND5Zu6pJb6NseURPaI+&)k>Yu=Ad16h?z8v8rix|=&YkH@Fv#sjB=cVgFeHBMgK z9`EfBmmTQ4dh_SHoEha&3@!`@cNU+Uda$jgH2X!*p3*ArDcKdBA9;2A%>FI0D?`hE zpD+1RPYb@BqWLp&QFK GwEO`}y7WW< literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_apple.png b/mods/default/textures/default_apple.png new file mode 100644 index 0000000000000000000000000000000000000000..9593f28f6068b7d932036f42b9eede227e1c1616 GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucLCF%=h?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ#}iF>xNjMB5O|<#}Etu rFv-zHn(2B^+6fOMh9}{Rk{B5x66~+@nMKbP0l+XkKikUki literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_book.png b/mods/default/textures/default_book.png new file mode 100644 index 0000000000000000000000000000000000000000..176fb6aa96154614c7edb3a7ed80064d23a8fceb GIT binary patch literal 292 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3HF+tk*dLq!^2X+?^QKos)S9vL>4nJ za0`PlBg3pY5H=O_SORIEGl9PEL@>IN;&oSg&%qUSfB_ zPkXmTybjkocrNfJsx0|IqP)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RW1_J>KEte|7$^ZZX=Sf6CR4C7- zQq61Aa2S5_%bTRBSzR$8Oxw#ktsn{=dYK1hc-f@`Jq&vAQkVp9$~^3%;1IkCK_-Yy z{{TTz4}P#BC?RO4;$ea^u~tzlOJ`!+^q0g#Yn>f};B$I;-mi!Ed4+S+qr`|ezq=uE zCIeB!t4CqT;435|qQrnEO9WChO(jVoZF6#=fNO8|;SYp>R~QS};^K4D zuuQ`OaCL{}==omBDckDBj-Ge){Ib17nVs8zq^<)<7bo%P_rP?qoV5Yq@X+}Ej}MO@ z3<1!)ENj(k@ybNJGSMr|4JUHLU4@;^reV#O*nElkjWyfN>6xcC zfESbFqpE$eJ~vpqdFh0W2Y51g7Qg{OO{VGYt;e&MPj(uPx#32;bRa{vGi!~g&e!~vBn4jTXf00(qQO+^RW1snq+G7BMy;s5{v?ny*JR4C6i z(o1g}WdMcYXD;@5E{@YwP1=eLv?)kz5GorgemW}@ghaRrsvuAmk;-wC#*r`a*q$#l zVG%_-tFwB~s}r5DWX$2;zh8av)d77l0}Xrc-qtU^j98MB&WI@4-+!{9CZeUsiY-mk z)MTI}%_$ggcJ_WtkIRQ9VUK!MH)P~o6aDe_mwwh?E|yuA#c|y4_v1KTE|$H1FN&hJ zZ9@n}QFL905JL1lBW~$EBw_mV5BWFW#k}V^EfFg|Ir}FrxuNTn;|nUNCPb`d7e)x$Z2@Qf@=nw z4H8O5q%j?HhU+y7u6fQ4JxZ$44lW-AMt`3CmiE%=$LVlqm?TME*Kr(YS(X?1X1$qA zKD_$;5Yvy--AB81T}OYhCE=2U0WI0_QS$l?p7D;)_>UEzo}Q#Bfh7qCME9S|`Wpfh z9&<%OMp>2dgg$#<%aj>+-QAYK{WcKsjPvn%S{xtURb{hnUhO}b&1PxWEf>oW!i&l2 qaA!E5&u?$rtl4hXo9i^~b>06UK-MLJs6x^J0000^X literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_cactus_side.png b/mods/default/textures/default_cactus_side.png new file mode 100644 index 0000000000000000000000000000000000000000..fc479fde6f9dc859180035ee3974c1ffb198136c GIT binary patch literal 279 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0WW zg+Z8+Vb&Z8pdfpRr>`sfZB`jZWp;PomG6K;D?MEtLo7~D4L-=rY{;P;c16+3{n-l% zo~ed;eP=Ez`Yn%(4-t`E_f#~I{kX%e3w8I{TaFg*RY{ut?$eCz{CxZyIx2VPG@9~r zZQ$N`V^(`YhJWbVie+|NxV1vH&%KG{n|R>FnR!nIIRDA$8gwV9DF68PV|r!x+xxa1 z7OQ5aKdf9aEA`u|RHvmWwkM{&$ri5PD)@0z=fB4(7Jq%hlfQ_~?wB+4)Kv-dyH9y{ X24^3`sfZB`jZNz+xuYT`hlI!_nJ5R21mgAWQGP~hmUw3wG%qH+91 z#ors@(R%K#RZo|4aJp!$z24aJ_IBg7*R{{RnoMW&Ft8p7NI$mX`sfZB9;hIl=nwBzd4vk*AAeh{pNkoQwno&J6}YAfphqlbKnV znOV}zVnKITw}1W5PpZt!V$YK{ItCOdNi|Q9XPS6}z2o!Y(^F^iuuB#EX1pBQC|p=6 zwVU_8-WnxeW@T%APN{qA&p*HNrNyA*D|6V=A9GsRFT^o_+tR|$z~CY;Ua=wf`9z@Y N44$rjF6*2UngFd7L+t4nJ z@ErkR#;MwT(m+8=PZ!4!i{9j%jD#QO9T*c56M(?NVObtK8=IO}j{A-SjWx_Go-{G1 oyeeDJ#O=l_VcO8x$W_V6aM+Y(d1R`kDbNrGPgg&ebxsLQ0N_w3A^-pY literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_chest_top.png b/mods/default/textures/default_chest_top.png new file mode 100644 index 0000000000000000000000000000000000000000..58c79674d95d1fb6e947b1239234853cccdec621 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m+82PZ!4!i{9j%jD#QO9T*c56M(?NVObtK8=IO}PI`ibX~LC;K;{I7 fNz$?>%o!N;B$$(RjvUDY>SgeB^>bP0l+XkKFy0~d literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_clay.png b/mods/default/textures/default_clay.png new file mode 100644 index 0000000000000000000000000000000000000000..3557429d81f05837cb54ea3a964392bf28b78440 GIT binary patch literal 613 zcmV-r0-F7aP)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RW1sn(m2F^1>Q2+n|_en%SR4C6q zkxOnPF$_d0iTbqKZNLtk`yVB@36MB(+-mDDauxz+$wh(n>WPn!4*;;%T5I=xmr@EL zh)5~5@B8ENaL%1hC#^LR{r>)9@4b}5%prtr+rGcQt+mcMBC^)Ly}gYwnE5ykM0Czc zV~jCojL~~X#LMNfEQ@oll+t_m-UC2u&00Ig007y0mr|ZiCu2;Ek%(f9wboJ!0C?}M zwch)mpPyRmvMe}zd+(V!r6hz1At0jG+BwI}r4&Sbe}6Bf5Rnu@AR;qQbgeZa_TH6J zM06Yn5h3E|=Vz@ICkFtGF~%6y+7JRW=bVi(Qc7m_-k;CsoHGEVlyHo397k)dlrqMc ze9Wwrsnp~nl)`=Ag%ESW|1i^ct(AxXAcQdWx7K9u{q=ga z*0k2Q+igmfQqHh3hKPg^x7%&oHYugtwryS4ZQCaIwr#c6S$&RMYhBlM-}fmLuh(m9 zO(~U9(pod~R58uWVzt)G<)V}V0Ljc#r&3Bv`FK3M_q}&x%=vs4LRf1j`V7nCIGl6y zzTfXDrFC6juUD-V0Ep;%y=tvP2!DTn&*$?W^X_;XQ#;Q+00000NkvXXu0mjfk1-eJ literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_clay_brick.png b/mods/default/textures/default_clay_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..e36648e48f68ab3c201132839093a18a7387a72f GIT binary patch literal 249 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3HF+tk*dLq!^2X+?^QKos)S9vL>4nJ z@Bt`9QzT_P~k`sfZB`i$4%x%!rWFB&QaoK8Lo7}wCrGd|^Gg(Z>O^jOV&5Yx zEPU8w3*!l?i;QN?5e1t2YJZyr#w94Z7T4DPt>422R<+SA*|Z_#tOT2hnVHd};F{;> xWZ4!m3r=TSbjh)##N^tFm|Z2B%2$Jx7`FaU%KpTr(hana!PC{xWt~$(69C^6KP~_O literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_cloud.png b/mods/default/textures/default_cloud.png new file mode 100644 index 0000000000000000000000000000000000000000..24091a37722e5918880372acee3b414c1c2a8d77 GIT binary patch literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|%*9TgAsieWw;%dH0CG7CJR*x3 z82FBWFymBhK53w!q^FBxh{nX^KmY&RGix?|z~N(s^dQ)R}0t6B!Co^whKH#ZtVD70v?FgjsSYC&NT z4mB+-2&m_YqM@ai?>1 zDOHn$=AbE96jFT1Ye}Jfb_>jhGL#meE3yZag28gDH^MMD)v|Lc$T|mKgUVokQlvP= zAbC8*TxbI3v$YUgWX-q-Kj+q+L+PhWev*?Bwi zVQOpS!jqf#&b)uHbL9H1?&P)%-wtmgVK;6_kB?m8;u4yJUm=n zTRr`>Mf+}xn+>+9)s+BD7K za7YkDp-}LBKOT>V!(rRDkB*MI-R{}hS*20|03075qse4a*L4iTXqwh_Jraq`&CLx4 z1Jg7!nT%l=mSv4bqhhfbjYd%vMb_5VD2nQII;LsH2yM&kSxnDFE6O?`wYWi80NZeKA*q7zCJ%cw{6>X-K(ps@$vDQnVHAO$CHzj!C){y zKM!b{4g>tYy|NF=)5?&<02)69mFXRTKAJg?boG7MuFhH0Ar0OzZD^ayEnC;$Ke07*qo IM6N<$g6jT@o&W#< literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_dirt.png b/mods/default/textures/default_dirt.png new file mode 100644 index 0000000000000000000000000000000000000000..7cb9c89a637584b4e53c82a7c6eb1ec7109befae GIT binary patch literal 1586 zcmZuw2~d+q6kb75sRsk0q?k5{zaXLY3W9(a3WY_b(ZE_-}~PC4=Mb- zCz@KD0stmLAJ5hNHZ$yTM*K|HggXOZ3=}K;y|~K;HygYd_n2W(N(mttV}uZdP!I$P z00964fB=912s~@VCrSY!0Aqj04-!kfDGG<2RUGpVzRQivgMAj}(tFLMbMMCqjgH1f~=b0x{+`qLjbS4M-_J z1vY{`BaC875Wx^5&KEO^D1ij?IuN6f5?&utYaJ`E5I?++&lCPA6vozrkn!cK!dARW;7ZAqYmil;Xk8x zOex()Ljl;>&otgTV{MB@b^GU|kY#+M@6QhfTqKscG$EO}~h?Y0SX~b!+=X-vW2P^CC zOE1gUWNA;A{T|`yqmErDI$N!&=)c?jWchZ_!nMl>&VLnMmSVE1;auPnn|(q-;%E9DAfn*VT5@WtYVs_RuFy`_69T&H;7zq$%~PLRE~nZ{ai_oo0qY?o}pv zkx_0ntu5BM^m2$(uI=?IY4OK7d;Vx^iKuUnpIhX(Q?OX->^C>e_eEm+nW#%geM*X3 zOHoAh%n6^m_38d?NK2AgJM`c5va@ghJwKDMqkkYKL6vbCr9@%nFQnfi|&H}rRuSHf>1##()ElxLbrMJId zpVWIcqWS5hyFCZ5_|9(3mo~82t0k>9i@%W^D{WTTtUK&jvi`KGJSuF}X1pZ4Lf6^< zV{gGVrQ1uJBfEk0s5W! A1poj5 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_fence.png b/mods/default/textures/default_fence.png new file mode 100644 index 0000000000000000000000000000000000000000..0b99f0eb5dd6b27c9f478cc1eb8a510b59a97ea6 GIT binary patch literal 539 zcmV+$0_6RPP)Px#32;bRa{vGf6951U69E94oEQKA00(qQO+^RW1s?%42*8A&2LJ#8tw}^dR5;7c zkw0(KP!vax?dRBmkQAG!NGT}lz<>%W5)uPak&qA)Ux6JlF*7i+AoXjoAXZoyU;_!1 zg|ed{k>I2v#f}@l=YNl(RosSV>cXAxJ@?+bkdv>#bqen>=~C zed1xyAKlYoln_QUl*)Pee#a01zbBd%D@QmAfn2)n-G@&&ZXL&U5yGx6Snr-eTP0-{ zl0=dhkMHUqgCTk9(Dns&x51a*H?Cj1O1wWKj%TDG;G^NX@Vr?v9WuMaq=CC@R3$?-Odape6*CW%BxC|1g6oFqpq^voqG6)i#~g3p5*N zdD|Nw06e=uTPE5BjOAi=q@k5ylqJStp8z=LT|t+MvQ(gprGVR88zfQ@#WN;=`f@YJ&>4Qa#d+Vy5DkK#!9ThMz@1w+ zj_K(K5%IpnEK;1&6xSZ1Gs%Pdo5ys|0gHNe`nyMxRF#EbPaoA?0Y)LN#az#u-uT1} d7Ipt0^%oDf&+9E}8chHI002ovPDHLkV1kTA0zYCH(cJGpl zPpdeQ@@00=uRp<8qGqcYOQ$n@K9I5c)n7Y(BV&e7y-}}Eb#_b%I-}FGRQlF!?t34z zW2Z5!Sk*D-i~xgi^0RBVwB*;f3!f;@bg+EhS-~^Q=C71?gTa!^5#KLd3X0$5Ud?me qq37cNL&vYb;dl665O&r1H{;aO=tch$pZ5VB$>8bg=d#Wzp$Pz+4`4|E literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_furnace_side.png b/mods/default/textures/default_furnace_side.png new file mode 100644 index 0000000000000000000000000000000000000000..63cb162fe5315f3b8c921c9e09be95c1a0ac573e GIT binary patch literal 236 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=sJPZ!4!i{9Sg)1nOuJgaTkPORve$NOc$*F?|moea~Cd^v1*%;GI0 z!+j~w+qLG#uf-fbIR`AUym#ejB+CJ%AB78=^g;xeHuD&^{=AcHpq%|=}SDOF; literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_glass.png b/mods/default/textures/default_glass.png new file mode 100644 index 0000000000000000000000000000000000000000..ade0196fe64e00c80496c9bfc914645d5b472bd2 GIT binary patch literal 978 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GA|hzm>B|mLR^7@ z%a)v6w&dK(WhYlGJF{xV*~N>mELwDR$>J+(*WTK?_3n-x_jc{Nf8fC5BS#(|JNER< znHLu?zPf(>&7C{%?%)6L@Zra&Pd~kW{q^I=pI^WJ{{H>fj~{=2{rdao&%b~F{sRpk z1*0J_m_r~WI*bSCKE{$DzhDN3XE)M7oFs2|7lsa2Sq~tGv%n*=n1O*?2!t6g-L3lr z6l5>)^mS#w&CM^YBGzz7?t<8 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_grass.png b/mods/default/textures/default_grass.png new file mode 100644 index 0000000000000000000000000000000000000000..3610bb2bc54cc561abd9d59f2ee78c9ea9d1a5a0 GIT binary patch literal 874 zcmV-w1C{)VP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipW3 z6(ux?$W3AZ00QbsL_t(I%O%KLZsSw{fZ^Zv@!d%r$8l(&9oiXb$^#NeY=9N85H^9t z?%)+^Kt(g@HEj~xapD}?@#XNq_xNeQ{{Ev1Mm}z6(JPH|Cvj{OSv9=B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AnTSVuifIegqp{kzvXd#-cz0hs z&XvTo$$VrM!`eutCSKra*EC8}2BNVaGwGgb*vJiBHV7h+{GqIkbw20~`aDdKe)Ycq zXEUmUB^H)~`Oi`+mvQ>APRqEqv4SJWmsIsxQo0!8kA>mSiNxQ3?M_d@upt^hvUrJ4 zZ4H+Kmhz!|Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipQ0 z4j~36msoB900QnwL_t(I%O%KLa@$k@fZ_j0N3!mYX$gww9>;LFdjFcL?CG__Fh|_|lQFx9aKer}Z8&B%Q5-X#&j}I_ z*_}YxhA_Jm9XlO4Hg|U=S{lMfq9cb*S|9?c-`<2M1-rB$T{e_ui}AQyi9=eTg`n&@ zv0fiUqdQ@F9-GIKtD6~i*s$3gg)}Wum#vukBjK5ic>Q%GK^c?eom(vN-8L|3u!j0(~--oF^TUJ zg)TiOgf>|IQPBxatt#S$i!xfutR-2*pbBJBmn3Hv{>;R-LDdG&`HoXpF!ChAGk7`k zskOkdeD;SO@2)2dBa{2PXN;$ZmRTG!9gjI|3m(%g{m@dE;M)OLZ>AKgqilODThccc zi}?ljf2IV^fI%%ulK;asHSsi{&Lk7hrq3bt7vwvKr?lbs-0l&+0voo6-5dZ)H07*qoM6N<$ Ef()6G;s5{u literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_gravel.png b/mods/default/textures/default_gravel.png new file mode 100644 index 0000000000000000000000000000000000000000..f08666ad9347cd736071d5cfb2ce951f956ce45c GIT binary patch literal 591 zcmV-V0Y|~WEQD@c`Vf7AK0x2YrAyc2Vyp}W7j-e(G?eKKp&6r7{JWQeHW>nxV5IFVh~sWJ<^l_{m< zbT+q5F`dnc2n{F^k^a&WX_mK|!n-(se0tu7QQNXxP4V+rY@31`^)$;LpPpMyfo2V6 zh-k4~ZNrF&l#<&p>bg#xNM_M>oqn%F|DGxltv5SJVY)0UB}*LyL{$0w=_7ie@P{5k zr6gd$IyRZk=K8~*eead~`(Y3DV!4vX6IdBFYFqX;jEou?M*Z^YdNLkW0)N0PFg{MC zZ3>*F8D@c%Aka#$FyjxsuIqp`2Ejc}+Z0+^_@DYVjPQ{-kzj~T{Gq46dpl4{8b&?v zy@TA}-re8c-KSZeW_jRyo15?;_aB1y-+zS6!a94QYZ`H*UKF`Jo{A!m6WO-x{XyEM zkjGQtdtbhO+uVe0%T`Lt<4Heji8RX*6A^~BExRakkg-hxR%w5`T?RBY)^=fHN77a82bkPsSr=!7Tit2Oi8~z1dZPtR%Zwu9yW7AvvAR d%S-6G&R?|RF*S&NQ40V7002ovPDHLkV1nn54afih literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_iron_lump.png b/mods/default/textures/default_iron_lump.png new file mode 100644 index 0000000000000000000000000000000000000000..edb931018b41ea9b8c5090f6cfa38cff69008b65 GIT binary patch literal 936 zcmZvaKWLOe5XI+=iUgylRX7L%SuE^C5z$JyU5t-20=0dLZ zYV6ya^YrhyA~GiP7Z+!88@&;|C2|+l=k8`k5`e0fQe4DDC;|}`DVa6$%U#Tb6hKs^ z{O^#9n;3-F1?^JIHMAHZ`RrxQ8EcP6nOJ zZGS0MlY{1%!e|R7N9G#2b6-ra;rDOFgVq+b1KL>2VaBAV1H7i zIK?1&Jj7gR0_L-|5PC|G1ogg;$9C<`U|E~z7EixhZcXkPJ2-hwKX>l^o!+|i;lcaa z=e0MDPqkCGmfEkr{F!>(ecinC4KF+KtI@u(@Z;uHY^})p=JEYMH@goHJ^Fffb>&2T s>h_D1_4@~oUVqxU`?mXib@EB)aBZV~e()ri+n`6JN%O zFJHyPi7zRRd!n0&mwOwQ60#pWi8&7S=l{oJn30syMK!7CKS<|c+d4FIyV z{AUsM9WHGdF74+A>TJWHIPv9AiE-jfV^|0PPRA=8*W}Js-hj|Op;F;lbAwS#7bEUE zU5t8Y)ErH%I<|Cvw{-^q*sjhZh`e4i;wVmhDO4xfqxH#i-ysCRcU3&8Oj08o+P7{7i`d*rrthj3|2b=fo`Y)B|= z=5}=!)SYboxo1UK#w;xnL>_|3!}@bCthpiU-MuH>EO_s6!U&4ZO|*4~@2`T{CZY&3 zsWM%RWR*8eI#;8vV@pR6d3;y|-*HWxj#spGhq0yeU1(Wa@-5W6yJ+hUSz11kcgQXv zl7q-&zBH=z{Z$}b+H!2^y#)H!ySoS?4~}axiE-jfEnM2taZLb^8yH(U#+HsMZ+fzl zD(cwGa=5gm3X`OyqQr-~16f)=ZehDR3u3;lJ2b^rhYm`OxIR5*=&ld(&~Kp4e;h7Mgy>0$zQ z5R%CvLPaPPlnyQ`LcyiDS@bUuih^swt)n2gl`euH>Y!k8C={eZ5uFlnu#mWv(xsaY z`du%L`lj!4-@W&~m%FL`^73ag5eML?cFTg3qFO0p*(Nua9R|Y@g1d)jx^AD&{Q*0B zCsZp%4B0%Y-2%{c`&hO~quwH$NmIxwPGaWFk&Bla9EFS+=Q^eJ?=Pz21jv%4X8P*1$Lefc4$8 z(B|t~U)4`9@2d8_fYNq;Oi-;9@x6fmu(r7v$t0PG6Pr|@B$AnLE<3h($07*qoM6N<$f?HDLB>(^b literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_jungletree_top.png b/mods/default/textures/default_jungletree_top.png new file mode 100644 index 0000000000000000000000000000000000000000..2a9b51373d939d19e3486f735761bf57c88614a9 GIT binary patch literal 507 zcmVb^rhYok>JNR5*=wld(%eQ5431@8wWIge|(% z;+q1KaLCDcK@ACo|H6}&rXWEQf*>%0f~J;7ZqXPBuc1IO2wEJZDSFM-Bw|6E4RWsc zJ?)$BJ?Gr>efPWP8lLO)%jX`|ONYB!i^Ge11Su;@rIaV0h@nI3JlDa@?Nq5=I{b(7 z=`Ek{UuysP{zbRa-E zs01)lRkMg;}Q4Bm{YLVb`Bb zJkVhR9Pe!em>-%i0qNm`dQJ_}U9F`iQopS literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_ladder.png b/mods/default/textures/default_ladder.png new file mode 100644 index 0000000000000000000000000000000000000000..11056359df244d768e3aa827f5de09feed10aabe GIT binary patch literal 395 zcmV;60d)R}P)Px$MM*?KR5;7UlEF#>Q51&1duJS-29h9YQAkU7QM+Emmk12nxop)Y0yjZELJ-w6 zw6Appp=C6ds5wr~=)H5>L{!2^wD8{@`1ttG;lO9=m6EBJi-sAgmW!rdDSdJFZ=klb zVLaC+XG;hDQ2zk zeU|()Qw>h`wv18f2mqH7b4HGVIm|29Y$+%-FdqlEjGg%Ds%h$n`zO0cBB z%ZYTs;n~BSZ*aW3X}ugS3Hz9y!0b%DQLC3>4K}9CvsWIC{9?&O0IhW pVWbg45Js9p-bxo7UHt72J^%*@kP&HWYm)!~002ovPDHLkV1h?Jt1tin literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_lava.png b/mods/default/textures/default_lava.png new file mode 100644 index 0000000000000000000000000000000000000000..cb02ada1318a66f6af28e2095b73d79b103080ed GIT binary patch literal 357 zcmV-r0h<1aP)%zc|Y{#jr1B^>+6sq2y-UJeo#sYAsAzX5QLE9I0^s( z00V#kfB2IDaSKR~kLzDH$L81Ml6 zFy+8d<=Am>D*7Vxm{5cXM3{pJaP%Xs0V6s{Zh#2=C<0=_BTOM;HNb#FL(|pw2<8c* z7!p=F2oTG2Xg5GGv_6a^pcoJYm^%*$1(*PYS=$mGV9F=}1~f2g-3&*tzYq<@3!~>% z8>_1$B&$C)ZPLC`bu}hEHlHO?$_Ex$8q z&zSQUbNm9X1Xms&w=31%qDgBJ$QK)XcqTT8f+gkWy5B0c?wZ@Yzc4Cpky%F7I18ui zu9Aam+RCN%eyWc1U)1f>y6XiSU!+;~6jt3zwl6N2p^)XywovRz zP{>!huDGn}*iG!Er;)~etd0z%CbyR;fx2D_WAF0 zsche2;BoS3oRQ|amlKJIZ;X>3EW2pz>fElmYWt_V=1jxuJg3-Pn*-DAZ-3nq89r-G zN4WidyTa4IN+yWJo}s%RR7_i3%1Oq5_xC3CWA7osy7Py&4|7h5| z?Xpv&u<}_m&|0f&gCzqao@Cfp6ae$ z9CE{7DomOu zKDjsDFRiQBb99WYSLdwrRSubfUx239Gu33y6z7S{F3{Rz+A}i<5C~27-SqWR=8B#7 zWxZS4B6*<1Q*VeSZ$F_b@_N$rZ1m^RN6_2R`PY8J>w`KM=sy|^2p5<6txW$9kV@mw7e=I?u* wcgxak^2HMQv>FVdQ&MBb@03HZMp8x;= literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mineral_coal.png b/mods/default/textures/default_mineral_coal.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff9692fb483347662c6b1aa37ff7214d1bd125d GIT binary patch literal 952 zcmZvaKWJ1z5XQ%xsD!&2!&3e#v|D=LT>M87T& zL9kFyh#)#jnj98E44QNzLprfEimfotyFj?h^TF=UK6du^%{O~*Z1iNUe^);d)nuf8 zHrMUN*tR9-J%8d7QH91%HygQ)&WO$uxr^d+cQXT^sv^S7PGm$NQX(PZ%qsnICo=*_ zl|+dDcgV?&3#PQLpFnwWJ16WcR|-nQmShxQ@)`u2EA;f;;$< zbJXixZo5k&$HS|?W@7&K z^o@x#`}oO~m#sIg!*?!!{MNqusEXgyFD}$tL#GD&XmZET0eb%S)A;iI@_~3Z)tLLR z|J?2`$L_AoP9EAheDjsOUR@e|IQ4Ymd-eQ6d*$oG-}fWe-fdmb%7 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mineral_iron.png b/mods/default/textures/default_mineral_iron.png new file mode 100644 index 0000000000000000000000000000000000000000..51b15d95da3315794e1bd43d8a47b0de6f1609a3 GIT binary patch literal 1614 zcmZuwe^As#6kp{|e#?(AgfUS03aEuzn1?CM*&VnFr-(Nwe~1W~BrC+Bf;yt-4}MPM z6VpPIniLC!(pU%#wLpX8hlXe9$|3$hCk>TL6Y==Ahcga{JF~lQci!92=Y8JWti`Gj zdmDEfgpfU+uUNu&NAt8A#aBA_yV? zBZOiM+$Mx!Ou2zE<142sGRi1WAV4s|0v4!9fdQce0~Uw?A`nI}#R3RKB$#mz0gG4| zh-d5-G)(DWKmza*lk4*WmUA&9bNu1ri6UhTDCL2e5bgnt5lS%tw+UnXeQsdJ_$r9Q z*o#zTz$l@BfpEScGQudP!1Ev?!;JF$u*i7c=IEhdT$#amT)>x*ytpq=ITa2(06$DQ zG*mf$9Gr@|$RbcifMNmyCP-kfXpK10L2@HP*((tks7Qce!fOCXAVbqN_XvoTFu;^o z4kN!E3F z>_;x=(i1mnjA^X}>?q#*xhf;&>eY*K`9Y}5%$8YI-TloWINT-fN$J0*lZvh{2%n{` zRL_>Fe0E5GQXSe5nsC&!_dwS@@A!34&{g9%QLXTl9Xu(^$S~e?dXWBfM4hFw|M$1e;%=Hb{ZIc=(` z+u5+497r z+)Q`(_Ec?ET4S9?=UY>lNA*WjFT}m?QIwvnjZyrV0s3>hLyKIW=H{Z*-(_F)J|A^w z`?Uu3ryKA2)RtFt#QBeF&_C@pZ(SO9i{ga{)bEr6D;cT zR@FOse4kyir?c^Pv+I3#w>dwcGY{19DblFvJLB!!48MdWcrSR{Ie7W}Ca0z91h(2Q zu;qNmmdT?_Tw=;_{tQx_7%Q>!+qX3zMX!wypS*v1_1yfgmw%XZBr{>F-#gcrkC1HZ zkCuMdYJ2nS*#FA6sGPNV$@UXgtk|5j@5q=clZWw<#MPrjm)_NRxiLb!J*+oIx?iV! zwB~SI0?1p=CaWC(Dmxvrab^9Nh0WcaHOEr^ZhWSdXx;1MM(StbWws|yRx8)Mt9?&f z*!}T^3hUJ8zFD^d=2Zkr$4i}O-4AwEcFf!!I7V)lk$O33&s;CBO(t)ok9vc3H?+n? z`+5~E>gy@~HukZvi_NKr*NiFa`p@ir99G}iVfW{_h1<3ShFt!`N^PHMt(M1EM9E}! zn=P8Bl_lLV%-y|YWsvDJ-~7>THoFpS`)d6i%2)558fj3rUpX5njq<*6d~I2H_ocLp zh7We^pLwpnFKE|#2VIV?r}{yn)ghamB32|LE|E-zk-+`4XMd`ei+W!G`nFE#p literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_mossycobble.png b/mods/default/textures/default_mossycobble.png new file mode 100644 index 0000000000000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`G{zF7el5nsn%j+cr(14V6B1T^lX>Od1MPR!9X`iz wIJjx|Wc7H=9e0#pEpvADlR;9$FbqZCx66gvE6|Iu zu)_`LMTiy7R8G`dEaHTibQlKBcw^~*Ju4BMFAn_goG&iG@1GO#IDjhm>%?ynj|qTT zlQ=AwWg4MI;xXao55>xnQVNn*qp&7DAUS4+vL1+q*@)EV4qcH%trasPWZ|oSWtt}3 z_hg6NO^ad%RHP@MJ`}g6ax3rP0T;OY4)Z4^%yl_ug1dtvwbACB8HVAZIHg2NslyKt zIy^}`+{JL)-QBqb&GlpXATx^$0ReIA1Y6_O{552PJR&M>0A0uBor^f<{7u))#Vl=8 z?~!qDpR%qwv$4(U_1ob7IT23-R>lrhR8Z_^q9=y*!fpF21Kh8L!)b#^K-3v;J5$Yj zz*@BlcgJjGvJp||E)HgfwI}YE?fGrLriy=BXFXs13k7}4h*nSCQ~&?~07*qoM6N<$ Ef`X^5s{jB1 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_nc_rb.png b/mods/default/textures/default_nc_rb.png new file mode 100644 index 0000000000000000000000000000000000000000..7ebc9930d42866f70bba6e07a6f7c4affd0bc3da GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=snPZ!4!i{7P|14SDY1Y9mknobN`&^4oxsqBJJnqgCRbFIAf{sXBG z8t%HS5U3C0I+J^a;nXAT`2y?=TbOena6EV4@i~!A;hxg|Bkt=MZ#aZ6IdE+uBjb$) u>n#foTRSjFUr4`oe=}RavQtT(zZf4Ts++F4S*!-Mn8DN4&t;ucLK6U8heQhi literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_nc_side.png b/mods/default/textures/default_nc_side.png new file mode 100644 index 0000000000000000000000000000000000000000..f954045fbd9ce5fbc95a8da665575ed0574d4eb5 GIT binary patch literal 260 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=swo-U3d7QJ(WZ}T2D;IJuBTXltZQs6I%h4)l)-MX%HN?o2Gw$x0` z&u>$Uz;os!jLsqqzwZgOGMxBSlfZxIVUM4Bg`KJ3<-%WuF`sHpl4DPwSm-%@wXF6O z`4BE&Mg||3*&I6=x;y-ftX?r}Fg^N8LVnMT11=}S)|D=q$l@b(ZEC4qeA1zy_ZNfC zO@A>-=BfU_JsZAG;nsg4o$p?+o$Iym?A)%;4$j=d#Wzp$P!f C^vL>4nJ za0`PlBg3pY5H=O_SKve#96}gV#iqlw;`sfZ8j!h8TlvGX3u~^k|nMYCC>S|xv6<249-QVi6yBi3gww4 z84B*6z5(HleBwYww>@1PLo7}w$NbQk_)zum)BpPRHc2lo)}Gw)qEN_h-;M^E`sQ-fP#!OO#8CHBS# z{=^hT{;@x~ae?}Svkg=9BsirSbe}%_Y<%@FFaUlPx#32;bRa{vGf6951U69E94oEQKA0ia1lK~y-)&6B@N98na7zxU=j>tw-1NU+dC z$R7|iDkRvYlN13FYq7KtBq?H-#uQ1DLLq{r2&pX$1_VLKkH%H8P!L5{QJk!+E9*{n zX7{~$DP}X0Dv+e`l=mJ!?mgTK4J|D%+M(e=%O5l}JZP7e7gL`C`1G$_s@G%;@gRCt94BK9S=tc{8B`VrwD5XzZ8-yC%%tU5AEa0 zZ%GDwheg^NfZc;4K{aOo$Uz8D5~8}Lreho_z)O6&E&n=Y@L{qqCC-d@S?->n;GR+yChoegbuB)%daag-!qf002ovPDHLkV1f&}+gAVp literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_rail_crossing.png b/mods/default/textures/default_rail_crossing.png new file mode 100644 index 0000000000000000000000000000000000000000..98464057704a84ab9dfeac63f13e9b1af8d6f1ae GIT binary patch literal 555 zcmV+`0@VG9P)Px#32;bRa{vGf6951U69E94oEQKA0nkZAK~y-)rIO1_TTu{)f0KKoRRR_lqV;bm zr9MLUuEdQf>aH763q==-RD)0`2t`A5A%f3E>!UtMqfi%uOLtnqN=hSIF*o-pii$|c z>ty({&l`wmn9nC&tD zH{AA?^Bi{ARl;OvDH8~}ISS4$W0-b1*|(SCzIB!H`>z{h1AxD~y6j~C@EDu^AQFir zb^-#M{vfve8te*TV<#xNKLOpG!k0OXZZF(EopQ4kgia&yEa^1#>zHD30}NnbSxBzm zt5e1?UWF6L&&!s%F#la8LLGMC{;szre zHPGi3)H|ab;?J8O#A-SS!%Zm%xl t#n10DZ{q#v_X+}p%soCq9-m0t(KTmX;6MA&eM$fT002ovPDHLkV1jh{_{snP literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_rail_curved.png b/mods/default/textures/default_rail_curved.png new file mode 100644 index 0000000000000000000000000000000000000000..62afa3d2b81c4dc6f85275ea6de89ffb43a1be8b GIT binary patch literal 545 zcmV++0^a?JP)Px#32;bRa{vGf6951U69E94oEQKA0mey0K~y-)y^~K!lW`cwKfi6gPR1Y?nzVF- zL=q2^R^-8Bdg>w+Aq8Qg{Si8hC?ObxLVpgHC@34dc#&995Eu+Rb&64R=o+CI6;86b zcguHwo(|)kdubEB^xS?Ae811<`SXMS84s_Wl*N0er8?(0h{2Cdo#5qZ5(89B)PBW@ zm1O~lMq-w{I;gPCNaFW;xIOnt)otPaP=|E+nrP{NP!YzTzf=I@=Z}lWt?fMn!!Rmh zQ)q_AeTYH_F*VOk^mUQM1u{%N8#a0vw^6wU^t5@eIF8V}k&^XrY=El>H z3LrGtF5cF|WrFaPPMI3+mU<+Q;;Tx}8tB;^ixX!Az$geVr=v`8_kvH(-JB;HiE*jx z8+xutNlFYq`CuUl4YteCBQ6@98t*nbtSy-MZAKE8)6TCMdY=pOS*XikO-TO1mzFFTjQ;6NB jK=T98eWHb{kCW;zgEX_2=&9K_00000NkvXXu0mjfyq^6z literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_rail_t_junction.png b/mods/default/textures/default_rail_t_junction.png new file mode 100644 index 0000000000000000000000000000000000000000..9985f63cd49ce29f636e72fe3b168fe1b6bad236 GIT binary patch literal 542 zcmV+(0^$9MP)Px#32;bRa{vGf6951U69E94oEQKA0mDf|K~y-)m6J_KRB;r=fB$)ZUZZ_L8#mDh z6@df|6=4fE5w?gnGRPpb3DLkd89|F;KxiSMsTeWLFzblP3<84zTeORaAX>G1evpBZ zito*PZ+!2znCAKQ)V#}c?>U@vxflLbd1_KRGHGFt>d2&}JT)23X@FNxS|T8K|Du>W zf$aq-AQaGsqPiAh>I5I>YjeZB7o_jycclS7eVe2GTCMTZTI6t}W^vi)P=lu81vDlN zTtCF|0yuISfb;1A%4tMxj8MoIDZL(7an|d$3;E(ETJI_k< z$)hy2^+&|Iv#pDc74UsOBJUKbUWquctv5#@UnJG=gE!f$vM+&+%UoEhVEtZZ^j=E# z<)B_8@21tS1&5VYm*T_A@?Qd5a}SPN%643=`4w_~mn2pod;8q3IR{FXvK=4Wsch?M z0N3>*Ak#d@tw&cRl#n~mzD7=l-dgHG`w78Z{|SI?mw4R&!oj4$pVca@sbf^UfaC## z&ZnO@-9dLxSNt73pO}tB6-YGzQ!7f@7Fn{_D9_f&A70#Lcw$EFddg$(XV=9PVk8up gr)tl1rU{tgFLW2g;W?8CasU7T07*qoM6N<$g8pIiBme*a literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_sand.png b/mods/default/textures/default_sand.png new file mode 100644 index 0000000000000000000000000000000000000000..15101a7eb0ba9b929426eacdf144628dc6382bc7 GIT binary patch literal 1381 zcmZuve@xp&6n|qdk%Xk($kvgWP53rh$v_({YJ#%4)^T(p*zt!zFgUWIXuKtE*6c_BQBsM8rUMX!DVFQkZfVIadl~s0df2|uU)bL^^&`L@ABS# zKJW9MyC8pGVnT8P03@@u7-;_&BtUTB1cZPLn5KS;N{fbNUoN1(?L?%>(#w61s z`9iEgW1O!9M52e7N}mU?ic1(-;YW)nB^QD?SBVT!MUW84IU`aw3Zed21`|S^nv7yE zxfCQga$SI!T<&~LXx8(##QGSpsI8A zG%#4*A4L)b0Y^~b61V{3fTYHjOCX^rfC7pve_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ZHD6ffbdS!KFMHb18@KbGC7yZ#t_=L z>Wx?67(0<2c^!15Xk5ljPW71fRMJqKA5h&>=FP7UK&#tJWN+;#USvRdDZ_JH;;!EV zP%21dHlKh$ZDDoSGWsF+$#HmgC|9sKTcTEPQ9JjoAJ_ObJXa7J7{$OD(AQm*)(A5| s>2!cdOE`{0-xb77=u7c;1;6#+6$BBHfbwSG5dZ)H07*qoM6N<$g7oy!xBvhE literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_scorched_stuff.png b/mods/default/textures/default_scorched_stuff.png new file mode 100644 index 0000000000000000000000000000000000000000..9ced2fbe89e84a0abf5ca13f71c10a0b3b11170a GIT binary patch literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=s(PZ!4!i{7(Aw|N^Bc=kx8CrU3%m7ccJUaVj2!iQ90r^Y+Y%n!~l zom|)Ll3BBU4pYMIlOi=fAyZ{}=IGoMZIBXd{JTfxa{^CC8{e+VMfdi0Tv)gvX{GPZ z)z$Y4E=g@Wwjk*7F5x9tOqZ+M98qYlWvJS;YO{IJ(;$YV{|-G*blK-~%Cl78x&8Ie aRy{$3__d~{M>YYS#o+1c=d#Wzp$Py!<5X<` literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_sign_wall.png b/mods/default/textures/default_sign_wall.png new file mode 100644 index 0000000000000000000000000000000000000000..06eac1ee902967573d7036eadac70fb849dd4800 GIT binary patch literal 489 zcmVR%n@p0)WHK>{ zkEj(ZVp|Xj1rdvg2uh1C?XH{d`wRRH{sDKcU6j_nh$|PR`xYeC)>mUN(J}M7-kIyl zl;Wz}(z80NkMF>N{}K0P?afoI5{V!AyqtcVr)a$=cVUy5RG#fW$b%uhG!zpR3+;4*};5Z6t1s<~tub5g~ zLDtQl~ zCDlria@9tpiX8rIptZ;Fkkd8j0$OdKCy$5te&`XzA)Ux06-VS6A*RtrtALxp;Mh$_ fMCWg=^3UfEi;JE*l@59z00000NkvXXu0mjf64ck$ literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_steel_block.png b/mods/default/textures/default_steel_block.png new file mode 100644 index 0000000000000000000000000000000000000000..8e2020081b0ac3a2a4184ec1dfee15f0726b2f4e GIT binary patch literal 219 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=slPZ!4!i{7O{2L%r(a4epuobrFA%wgF#r{yjsyfM|coGdV9^;WYt z?5k!*zW>|7lkkvf!yylbB^8fS4+y0uWffSRGdq}Bp1I)2rH0PO%%=s*9$h&gyjWw| zqUsM%)y0_g=W##HuAjFe^7)QUK7UjKHa?!ao?AI3p;xPWsgF&bdcRw!z)$O$K!-4R My85}Sb4q9e0IR4^OaK4? literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_steel_ingot.png b/mods/default/textures/default_steel_ingot.png new file mode 100644 index 0000000000000000000000000000000000000000..f6c9414e781fd31cc2a437620e2b6887424b6b59 GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3HF+tk*dLq*#ibJVQ8upoSx*1IXtr@Q5sC zVBiDF@f~5Ds?8@26fE>~aSXBOeLL|Y=K%#C*7+9>&N*gjgn=ROCNZsrnrC`pX>$m8ylWdpQ{PmNOjSNl6v%HBHD~dPG;CRcYeP zZs`c;RZ?BY%2<_V)o)~*_efAlYVFo9p>}6@-JQ&3-fXgu1zOJF>FVdQ&MBb@0LfuQ Ah5!Hn literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_stick.png b/mods/default/textures/default_stick.png new file mode 100644 index 0000000000000000000000000000000000000000..2d31797f00678eaf60a7c84536b20b3e30d743d1 GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=roPZ!4!i{9h}i6Vt-VNdJVtUXmPF~2qBtp9vFSHWZz_s{#P??3$2 zVZ<;!Z4u9b1KIqEP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipV% z3KcaP;_fX?ka8=iuPr>FJ3&J3Au?LesQ$uq=xp2;cVs06fnpNm8v=34&l* zcClDA8Vxc{Q;y?wUEkZ=gAf))0U^W~V~ly8FUykSxG0K-!(oynJkJBuG$Dj(nyRY0 zSS(&%UIal91R=|^@9%HJFnr%{x7(}LYCfMwQAC}boCtz&b#;}d>GAP#Q52FS&FAyU zWMWy?-{0SCHX{gPdwY92of?Kg^?E%)5HwBebUFZlX0utV)f7dsZJXn`BuSdh=5o2L zR;zDsZ?Y^C7Z(?6k@xp^-}iZ*uh;9kt}_h7^ZeuEqa;a1QLJZ%VSr&6pP!$O;~X6w zK?t9ppUbk8WjV{T`}=!>Aaq?HkH=vc20@UfDaf)+Q51$@Mx)W`>FJs*3_}3GYPE{v zm|++I0LC~?QBa>sglZJTC~sKSH@@m}x`>kN^Mx07*qoM6N<$g5_{z;{X5v literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tnt_bottom.png b/mods/default/textures/default_tnt_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..8ba2fca0be5b58ab656f61743204358e8d8152f8 GIT binary patch literal 161 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m+9HPZ!4!i{9jz#S1^qXXN6$yW?QO@`VQ-xaM~@0)b@=2s7$Ag7{7c uW*k58Vg3fAI}NQN_Wf-KGbDH}8vxDda%<*zA(RC)j=|H_&t;ucLK6U;Lohf1 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tnt_side.png b/mods/default/textures/default_tnt_side.png new file mode 100644 index 0000000000000000000000000000000000000000..d9a2bc4ebee1e8046f98d7fd48deb545b7aa4896 GIT binary patch literal 186 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=r&PZ!4!i{9jz#S1_FKh-PE0|M_QBqZLLm`Hd$G&T(2XlrEb`40sC zqT&WdMu!Z0`gPiUdAk@5+7+xhA{F&aD-J&ZN=vjo_`+o8{DHBHd19f7W^f(@gTf`7 V-v-t5ZGrYMc)I$ztaD0e0ssynH*^31 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tnt_top.png b/mods/default/textures/default_tnt_top.png new file mode 100644 index 0000000000000000000000000000000000000000..a84ffc9af486b0869b64c649700eafb6aab959e9 GIT binary patch literal 264 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=sgo-U3d7QJUDALMOO5OAHptF>YY*SR=fpEpfnJ-QL>o#E%BS?}(c zp4c3j_+;CACj0pYXP#WHNcL+f=ZHvNaZ%U7{Ci39f77gz?n5F>kE>Gt9y>U*w2`-9 zlUvND`b=A3jvUcZ!Db1c~6CPz3 zO$fU){o!$TRrZfBe;cK24mjg@#-THb???Ck1q=VN_VO>g7J2Z4nJ z@ErkR#;MwT(m=s^o-U3d7QIU+ZWKIZAixsN!1E$K10avvQR6XaE8g6bhf>3DDVqtW`pwxoG zARKC1SP)Rp6GcNyo$o$IQ?pSZ$U|oObAU}P6*>8B^CHZhW|^o!o}fF-l*}0Jd4C4# zo^y$o`mk`i!Kg&)WjNf_m~|jr-LgIn&$_GZCM=y9<)wj#$ZYNbHKioD#S=ci$aQzc`Ye)#BPE4SccL9bVc@nQqU~7dLs;jQ!P8Ef~>Ro8dRG7Ns;0d zgXHlLbD;^C&(=cdDM1oce><~Bk7aOMyVq71w(qT-*&pt`yC1&>^Cx#7{`_*`pkm!kUN*=UJn1PZ)|kFZC-vb{F|+Ke(v#Gn~lvE3$gQR{>Rn5*Mp~9 ew?6HEUOF#wWai4?{pqjYE1WJaci&uJTmJ_m__J03 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_steelpick.png b/mods/default/textures/default_tool_steelpick.png new file mode 100644 index 0000000000000000000000000000000000000000..7982dafebf650bcc5d6492e33212365f57625d7c GIT binary patch literal 271 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=tDo-U3d7QIU+>=it$z|%Va^3wKs%iJ{v$cBhWKy>$!`r>f60ESO@&dRx}wd5}`_8NC&f z#_XAE6_@Im_#UwM!ozU>4nJ z@ErkR#;MwT(m=r~PZ!4!i{7{AHgX;@;Awq$|9b3eL8q)zJ!ZA)6dwPDOKqCjKXUET zYPaOL7`v)@k5|)o&Vxr;@&iM2=X-1BKet-2YFdz!OU7Ep3B`O2{qY|puCs3qlP(uj zJoe&uLUh{gi|S>m(P`1kmot93_jXNv$NqD@|Jj&h4jtg$%4+#_|D2f`Kvyt$y85}S Ib4q9e0DUM+nE(I) literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_steelsword.png b/mods/default/textures/default_tool_steelsword.png new file mode 100644 index 0000000000000000000000000000000000000000..a74581238cad9a6f90e319a980b4c83eda9e8e2e GIT binary patch literal 291 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=tZo-U3d7QIU+EAkz35ODo3XOs$>?^fg~>&w^z4~5A+G0@d`ek1r4GE+ z@AubS<%pdz^WYgb(GUD`JQ7XyOs{y2H(xx!VDMHdavEa;*E?CoUS&&}^D9n zw|mmrB)w}Z3>2AkEHL79#@tQC ieBZBI|JdpFn)%q8QW-YJTvnim7(8A5T-G@yGywnaK z6XP|X>E@=$n5-_ZE!8%AU-p))T{a^k+?^xO(1 zM16V&!{Icd^fCkC=Bzr9Vc}JuWmMfw_8_dB>F1S!$H;2#5w)ZgxQ8EcP6nN;ZGS0E zlan5x8>j}+81h<5XrJ8zkD&~sCm4q60Yx!bZu3T%j-YvU&IDEG;A=1$>`#f5pg5$C zr+5fmz$Z4#t@Y{F#>}7B`}>Cr^Y_oTcU~<#c=B!fN_%JX zQm4Z=dwW~kcgALF{O)$I-~D)dV*UK`ZfpD3;la~;^B*2R9Dna~`QlkCXI1~s-n?+* f%f+|PU+$bcB?sSI`gP*xj|OQ=D~s>i8(aSX%Pp|1 literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_stonepick.png b/mods/default/textures/default_tool_stonepick.png new file mode 100644 index 0000000000000000000000000000000000000000..b34de6f327a633d5127acaf39974c4a8aac219ec GIT binary patch literal 262 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=r#o-U3d7QIU+ZWKJMz~gHFa+BM+o`-7H6)c84Jde*A?|7~^x2jxo zYL^TfkIJ7e=U@Kvj67bg&0E7BH5s}+eJko9Ajrv(v37UD^j3zhMAZP}G%hd2?P3pZ zgvF@up3}e;#ta7I3?bon#J0JDOG9?x7;GSUNDi~l?o;_2& z((YZ*Yegl_^A@T|BF$yVX4~%bTfmetDnm{r-UW| DzUy3W literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_stoneshovel.png b/mods/default/textures/default_tool_stoneshovel.png new file mode 100644 index 0000000000000000000000000000000000000000..ba5243101a1180a6f5f07f0fb791dae2c1e9416f GIT binary patch literal 203 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=snPZ!4!i{7^rHu5$Y@UZBY_&ktH?KOGx(9p4nJ z@ErkR#;MwT(m=uUo-U3d7QIU^EAkyO5Mg_;zooEgW~$KPBX3yPHA3$&^{08-)|o%x z64u|m!_%$l;Dk=8yatUd-)*MZ(`~QrdGdSm_ghTd-Dg>yIPT8v>{$Ekka4)EV_Tk%?I{rmiH&!b}M*B&k?-1RTuCeUjPp00i_>zopr05S$~;Q#;t literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_woodaxe.png b/mods/default/textures/default_tool_woodaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..3daa4af72bb200b80ad57b1ee801d21ee1115c71 GIT binary patch literal 927 zcmZvav1?R85XOgSL=OT-3OTe8VG*=35EL7g92a#^&Y*{dAS4KOpEg3Y(n~-{>1P)k z@ei=Dm`X%Z3$aieEv5*>!pcTd*^Kip5bo~zV0UL9JNx_Qn_XMzo}X$QXo$#^Ug%uO zwONh5dvZSXCzeEZ$-<@Hd~RbfVz5N+qWaw3%t!)I)l!O!m0ys4H}$A_7d22d5H1nGdOGGoA1Edy20Ii-f18;u|oTC`XgoiHf1 zpfCuBniduW)bm8q&@#w(AET++Fc9PpGyU1drk0AF{JMD&=1#LrR3J~#9cD^q4EMZ0 z19i{2L`{8IINe}WBK0yHZfeXr5Uy@npN41MRrV+>of+n(fjh`-?lv{0BzSwlf&=f2RDL&@4q|hO|1?FQJN(;~x*#kFt^6Uz2wae!bE8BCUIWw~ls?&oqCp kJemIa;N|l>z1h#rG2xPUpLw7wyHBfAUJKAOHXW literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_woodpick.png b/mods/default/textures/default_tool_woodpick.png new file mode 100644 index 0000000000000000000000000000000000000000..ea728cca3fd583d1cc76a702ea48b7f0961fd51a GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=uKo-U3d7QM*{3j_=fNwC&Q{hz3+mb2?%$4Z%g#uEoTJ3sHA*Jl&h zCb)(5ra=yyp`cO1{k`vd^6&potoZ$pzs}4m?{`e^}GcfQ6hDW^HyMP_&L4nJ z@ErkR#;MwT(m=snPZ!4!i{9jf1p)>_t1ozVezxz~`~F_}4!cD>1woJg=r$<2J4TiHs2smVcZ- rp=!=7PqxLg+I!O2*sjF5@i8!{=NsfmUUzv2w3xxu)z4*}Q$iB}C{jIg literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tool_woodsword.png b/mods/default/textures/default_tool_woodsword.png new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u?c^e43`+RWko%^_RzcXj<%fafc*>0~ZBD1#AzgO$2W}N8M zyznO0O`urMsJ3A4G1SKL2s& R)#6?Qv8C1i_RWnK{{T9=sXG7w literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tree.png b/mods/default/textures/default_tree.png new file mode 100644 index 0000000000000000000000000000000000000000..65abfc243e868f5e03a058bdd26ab473adae4f6d GIT binary patch literal 1445 zcmZux4NR6*6u$f|q)?U+NQQwg0WvcXnUSc-j~*i+#D+gHXb$*-1ENSkn#Hj4o8#vc ztSL(BfQ1Rz=z>y!k`ihBm_+Q>vZZ|i3Pg-#K)3th=J@Gu_ug~fopYb(Jm>5^8WFbH z+RD+2F=h>0f+E#zW89Xe>MSTs^kvM9MTABLD_2f$IekgxN#hbiaL$Pc5dlEcG{G2W zj2J`4fH6&F&HE$-BY9t8-0tbyWln6paXdpqG&KF`18gM=n z5Q!dPDt#WpDlSH3g+E_BDY+2Dxk>~?6+uEE=Rl-v6hghP3=l${nw-a8aw$k~KHdzuE zNF0zfK&FW~S~Ep-hTIIfn3Dm-C6WMCJs_sx>~f7WLXx8(;Hq=LP}Mnm8i392k0Qwg zF^)`yOU4Bw&XCmDa>+<23QPe_uZ|U_=8T!fLQp`Idxynkks^E@SnP;lN9~>HjHJif zuKK1oziZOaw|KNFyr#z~!@oAM@XNHb(O-OK=HWDP=)q9_VatyiFIwpTePzKpL)%X+ zgWo6hpO4e+%nn^YIX>J`VKDo3cc_fY}u7$s!#RY-fWw>)}zvX%6-Ujyz2Buhp+%I$BTak_Bv&(xoo(Q z`e5WctA>^rLTliO@wU5}**&+S?alLx{0v1^!#%6cyZz-|yjAbt8yy}yHu(09xVuwL z%lF7XJ~{QAr)}Rv;+cVxu9Actoh@D;^i}_ew=%|lwBDcE*83sqyaHC*)0Q&b%ioMe z)S2$yq^t3D$sF_Odh^@Kzccaa43mZ~ha~Uz@{q&>r(*6;oqckne@py@*ubE?c#%*V zvaRtQzd+lQOTrGI_dsfj>9wfU@t(Ydr0q@Iw72u)1qt@xy1d|U`Y(I#cjxv+YMVFQ81cF7+LWt{@rPZe6+5eATGyrQ zD|h|+*!rvunQl5t4fYM_c6hPxUDTC*&N00!*8I~Lk@6L+?fKj) z{lx9KYIBo)Z?qgw%=^^g%xKi<)arq>)@Svl!&|fMGM?GK$T)Nm92QiyDK_UniaxM? literal 0 HcmV?d00001 diff --git a/mods/default/textures/default_tree_top.png b/mods/default/textures/default_tree_top.png new file mode 100644 index 0000000000000000000000000000000000000000..2cdd94f80c0c991c90309ffff6f1d91f0ad188c9 GIT binary patch literal 1024 zcmZuvO-R&H5TAC7a?7+LBBAK;Ac>%heL;{LYc(cfBC=qCrA3AVK|~%bN)K6=Z0Zml z!h?r8B++4#1kI=}9t1%W22s|d2cx7S&}sfF$gbOi_ujn6%=>-JdstU{rZ`cS0DxjV zo2vJ{G@6@YzV<%3b_5^}bu|rDezfeg>}GzlXsD`)Ff$P$VhBM21b_hu00Dwm6j5i64SfFV%6+~|+6 z2`Qs^=Mczs=KltS{QfvePzE9JbOTXf0b>8QV!-MYz=5)3{6K8I2Sb=jHk6OIRMb7Y zyl=zX%JPjD_jXm6Tv(1x&i0M{T%2B*nHib;=JD;>AG=-^mrf=oItLq0cKj{+f~Au; z&bQvXn%I1|ZOggm>F-lp-!~>-JZ|dwJwG&_ZvS|tD0MgF2NC00`uqs5Srq)RZ01*DEmrFtxl#txZjZ zi2=AlzW(@LQm)#dnzv}p^1kC7^27p}_~Jb<)qs8G|qMHXguL+~Z0v~I07KA~%CM=db{m_m?YU}6?GdM|!r zCK(415s~<(3siHAd5Zw@zB4<&%xVVJdoEgAM;QGC<`c=x+#unym>CE}RQKF{9tiiG z0f?FcaN@#c3G?#j<;BeWGK-(^*~mNVWM*%#ukENE?6J|0u$;E1!%>Qv0W^QPs@Y?k ziSix+bO8X8Z(G0M2I-;JT;3xmzs%zt{aUA`*GE}SBpC+3 z%-UMn(=>-M_!46~8UQnOZcuGz)*A#s#yJ2eDQQ*J7A}`zn#_vUCgb?+`8mZsuIm)S zheOYShS0YT0k?X4T;=< zgAfiaO9^NQk$Q=u;U|GPOjyXvV`joK#S(!qp11qq=6H0sd+#}S=iJ}#{Lc9(%(!ux zjiU_!EMu<)hpT(JdFw3InO_j^2e1gjLL>Fcl`~t;TvB<`yog8$fry-Q#+asQ1Rwwq zfCDf9O=T^3A_5@*5jY3NK>NQS0umq)kOODHH1*Shw1x0e2tpK`BV%0CBqDJx7(-=q zPK*gnR&g;SEBuAxNhyd>2$jeM@ zI10v5V;nS^r!^>|v*ZRYXkG?GAvqG`ss{)fpIfeZMo&cyE2=e}yZ)>QMxs+u*uhSkSI!@fz+bK7oj z%-YiLeRz|rbwXmE=j2HD63Zmro%+OHw~AX&t^UwyiD&1D9y^cx_0wNB>PgdZOzgyP!H+a=F>Ok(dIuP%ifpObbIC!15Sz+1; znGw$=l${+se_>I|^z>gY?#1uLykz?#{Mz;LsPXFzzheQ;cxvgLh}^`N%llZ-p()db zkqGbR&36MAe_rVKc3(lSuWxb8&_69H|L$|JJASpetZLvsJ^Bgg~F}OPD%@6(q D@ROia literal 0 HcmV?d00001 diff --git a/mods/default/textures/heart.png b/mods/default/textures/heart.png new file mode 100644 index 0000000000000000000000000000000000000000..6bc183e04f21cba17b52009e89bb52072d5a0afd GIT binary patch literal 308 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=s$o-U3d7QJUL+4?aX3bZ{u&cS(V$)cxh1tNJ2vYID(cQC4!aH^jO zTKbe@Cu4}mN{-MK5?p%@>fBq>5-wHw=HmCtKZoNdpE}8Fc;YA5EbMrlR z)&5IMHc%_&&C=QMMmtW>f9mdxWZyGgpTlPg%G7H&NKVA726BgIKuyzdyDTDz{; zB>KqJ^gYUZ#hciDs^yk^m-q2xce$nXPrimpG%Q=}%J~&KKp!%Ay85}Sb4q9e0D|Ik A#{d8T literal 0 HcmV?d00001 diff --git a/mods/default/textures/player.png b/mods/default/textures/player.png new file mode 100644 index 0000000000000000000000000000000000000000..90adf97476ecd3442dcd435201658ebfaef9d7ab GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<5!3HFyJAa%3Qk(@Ik;M!Qd`Cc-ajG_-G*Gb3 z)5S5wqx0?5i+l|V9IpE7_@AGDxzu!df$HkDQ8{*;>|eN;w$D1Wz~EWXr3D9`1Wfq$ z&#qzWU56#N7Nqwkq*_%tm@SBGRNBZj>-5yg6K^<`3x}Rrz2T&0@IlchUu6F@@H5Tn zyd3$sIM6uN==W8L_s1*>{C}8;#&JsYo3w7oKPR7gZ#Rd6_U;#|MxT$kz5%+3!PC{x JWt~$(698}dQLF#} literal 0 HcmV?d00001 diff --git a/mods/default/textures/player_back.png b/mods/default/textures/player_back.png new file mode 100644 index 0000000000000000000000000000000000000000..530aa7519b95a650ce4fea2612b2dced58becdbc GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0zj<5!3HFyJAa%3Qk(@Ik;M!Qd`Cc-ajG_-G*GbG z)5S5wqx0?5yL=4_9IgE4*q@($xy+Q?CCN0mJK9pdzU#p1V*&<8iZv4hj=z}Jv2{Q1 zhfDh$R#+Bfzdh&`wZ_O|@?q5@%O2dQaj4^}*4I$YQ}|r{f%zJ7 x;mg(Eu-fW+wwqS6JGO6UQ3g7L!PC{xWt~$(698t?OI!c| literal 0 HcmV?d00001 diff --git a/mods/default/textures/treeprop.png b/mods/default/textures/treeprop.png new file mode 100644 index 0000000000000000000000000000000000000000..77ea4d6d4ad6c245b9fe60b0a65238b8c3fe4186 GIT binary patch literal 1055 zcmV+)1mOFLP)&q*N4WMI|IaFodZrh=C;|Vqs>34aTkrRV*L|mM~CAP-qk?kxD^P z6N4Scb`mGf`Rw!A_c5I7*oiBI7+CzDzW2WO-uHk1d-tG=F1qNVi!Qq8;(vztFUfOX z3c0lyVkc>$I6mSNI`=*||5eRqaAMw&t%dd;nq0dTVP*A@wNE<}P0Sk-Alj?3lP}=z z1_9_9QJOLTM99}_Jaws$oqPc+?b1JP@L;J<5CbsVlHR_JOsyIKZB{6Tv(KnH~jS2_FDy6g}G3TeOo9sO_d3si5 z`a|TSZUIuO20KZU+(w0gDaqbZ1pwDFa4mykw#*Tgrbd{#^VS0Rt-+(T)$;d)=lD5ehv?Gv@00^ z`ont1#sC(+hVcu-DDe>kCD0f$75qVsi5ZV&;G)g+4TT=9#>y9t*jfw$FnO_$ie17= zyP$HaGuJvz@>DZp26sN#77F`3Rz6=yu(j-RWZ3|`I_Enjf2Yn+L9B<5hv!6N`#l6Bbr-oYBM znV2z<(ng2?nT*Nx-AR&;!`;PA0r2k2lQQWzq=qt7T@Y319R%OX?NW153?}2!Dmc78 zdx>A78_nVaqh9fEKXL@XpN+ln;&Ws2rDr32_04^;J!(oJAieA$@(_4MWj|YPiVz5T zc4SH+v*1$hhuE+}+do&fbbPuWRdGAYb`m|R!;sq3xc7V`GvE(GpB6w@^=53-R>7~U zj9>PiZX-~0k1$*ppR9MBhm-iLAh6tA=0bu@wFoE-NO`Z=a|b4yr-&nHn;DeAj9pIyz3H Z?%$Vo+vX;7F7p5Y002ovPDHLkV1o8x;|>4- literal 0 HcmV?d00001 diff --git a/mods/default/textures/wieldhand.png b/mods/default/textures/wieldhand.png new file mode 100644 index 0000000000000000000000000000000000000000..c4549e5ede15586602c9223d5b5e3d9ca92b88f4 GIT binary patch literal 384 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^J5B z%x1`EtPMN^6yYrJh%9Dc;5!1sj8nDwq=AC$C7!;n?6-NCc)1n0r*TdLn!@1e;uvCa zIyqs1fWf3y2M-@+K6h_pGCQ;I%2}sRpAO_nR0{okv|HTsJJYUbvesn=Z*FX4-p*L8 z{WtK3R~~DGX|m}8m0R!Z&74i2vPg!{|KGW2W+M==`WiC>LG#*9wq^!?^_V}0r@!ZE zKY!=P{^a9|Jlq$VKki@OtO$}i+^&EBVUxk(4LkYr4t$%ZA;Os=ZU6*7tR#|n6Vzrr z+xvX}gI=KELWvD~)w>*>yu@4;cRk{d-q548c4rXYqq#X RH86M>JYD@<);T3K0RXO_i`)PJ literal 0 HcmV?d00001 diff --git a/mods/experimental/depends.txt b/mods/experimental/depends.txt new file mode 100644 index 00000000..3a7daa1d --- /dev/null +++ b/mods/experimental/depends.txt @@ -0,0 +1,2 @@ +default + diff --git a/mods/experimental/init.lua b/mods/experimental/init.lua new file mode 100644 index 00000000..e1108627 --- /dev/null +++ b/mods/experimental/init.lua @@ -0,0 +1,652 @@ +-- +-- Experimental things +-- + +-- For testing random stuff + +experimental = {} + +timers_to_add = {} +timers = {} +minetest.register_globalstep(function(dtime) + for indes, timer in ipairs(timers_to_add) do + table.insert(timers, timer) + end + timers_to_add = {} + for index, timer in ipairs(timers) do + timer.time = timer.time - dtime + if timer.time <= 0 then + timer.func() + timers[index] = nil + end + end +end) + +after = function(time, func) + table.insert(timers_to_add, {time=time, func=func}) +end + +--[[ +stepsound = -1 +function test_sound() + print("test_sound") + stepsound = minetest.sound_play("default_grass_footstep", {gain=1.0}) + after(2.0, test_sound) + --after(0.1, test_sound_stop) +end +function test_sound_stop() + print("test_sound_stop") + minetest.sound_stop(stepsound) + after(2.0, test_sound) +end +test_sound() +--]] + +function on_step(dtime) + -- print("experimental on_step") + --[[ + objs = minetest.env:get_objects_inside_radius({x=0,y=0,z=0}, 10) + for k, obj in pairs(objs) do + name = obj:get_player_name() + if name then + print(name.." at "..dump(obj:getpos())) + print(name.." dir: "..dump(obj:get_look_dir())) + print(name.." pitch: "..dump(obj:get_look_pitch())) + print(name.." yaw: "..dump(obj:get_look_yaw())) + else + print("Some object at "..dump(obj:getpos())) + end + end + --]] + --[[ + if experimental.t1 == nil then + experimental.t1 = 0 + end + experimental.t1 = experimental.t1 + dtime + if experimental.t1 >= 2 then + experimental.t1 = experimental.t1 - 2 + minetest.log("time of day is "..minetest.env:get_timeofday()) + if experimental.day then + minetest.log("forcing day->night") + experimental.day = false + minetest.env:set_timeofday(0.0) + else + minetest.log("forcing night->day") + experimental.day = true + minetest.env:set_timeofday(0.5) + end + minetest.log("time of day is "..minetest.env:get_timeofday()) + end + --]] +end +minetest.register_globalstep(on_step) + +-- An example furnace-thing implemented in Lua + +--[[ +minetest.register_node("experimental:luafurnace", { + tile_images = {"default_lava.png", "default_furnace_side.png", + "default_furnace_side.png", "default_furnace_side.png", + "default_furnace_side.png", "default_furnace_front.png"}, + --inventory_image = "furnace_front.png", + inventory_image = minetest.inventorycube("default_furnace_front.png"), + paramtype = "facedir_simple", + metadata_name = "generic", + material = minetest.digprop_stonelike(3.0), +}) + +minetest.register_on_placenode(function(pos, newnode, placer) + if newnode.name == "experimental:luafurnace" then + local meta = minetest.env:get_meta(pos) + meta:inventory_set_list("fuel", {""}) + meta:inventory_set_list("src", {""}) + meta:inventory_set_list("dst", {"","","",""}) + meta:set_inventory_draw_spec( + "invsize[8,9;]" + .."list[current_name;fuel;2,3;1,1;]" + .."list[current_name;src;2,1;1,1;]" + .."list[current_name;dst;5,1;2,2;]" + .."list[current_player;main;0,5;8,4;]" + ) + + local total_cooked = 0; + meta:set_string("total_cooked", total_cooked) + meta:set_infotext("Lua Furnace: total cooked: "..total_cooked) + end +end) + +minetest.register_abm({ + nodenames = {"experimental:luafurnace"}, + interval = 1.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + local meta = minetest.env:get_meta(pos) + for i, name in ipairs({ + "fuel_totaltime", + "fuel_time", + "src_totaltime", + "src_time" + }) do + if not meta:get_string(name) then + meta:set_string(name, 0) + end + end + + local inv = meta:get_inventory() + + local fuelitem = inv:get_stack("fuel", 1):peek_item() + local srcitem = inv:get_stack("src", 1):peek_item() + --print("fuelitem="..dump(fuelitem)) + --print("srcitem="..dump(srcitem)) + + local was_active = false + + local src_cooktime = -1 + local result_stackstring = nil + + if srcitem then + local prop = get_item_definition(srcitem) + if prop and prop.cookresult_itemstring ~= "" then + result_stackstring = prop.cookresult_itemstring + src_cooktime = prop.furnace_cooktime or 3 + end + end + + print("src_cooktime="..dump(src_cooktime)) + print("result_stackstring="..dump(result_stackstring)) + + if tonumber(meta:get_string("fuel_time")) < tonumber(meta:get_string("fuel_totaltime")) then + was_active = true + meta:set_string("fuel_time", tonumber(meta:get_string("fuel_time")) + 1) + meta:set_string("src_time", tonumber(meta:get_string("src_time")) + 1) + --print("result_stackstring="..dump(result_stackstring)) + --print('tonumber(meta:get_string("src_time"))='..dump(tonumber(meta:get_string("src_time")))) + --print("src_cooktime="..dump(src_cooktime)) + if result_stackstring and tonumber(meta:get_string("src_time")) >= src_cooktime and src_cooktime >= 0 then + -- Put result in "dst" list + success = inv:autoinsert_stackstring("dst", result_stackstring) + if not success then + print("Could not autoinsert '"..result_stackstring.."'") + end + -- If succeeded, take stuff from "src" list + if success then + srcstack = inv:get_stack("src", 1) + srcstack:take_item() + inv:set_stack("src", 1, srcstack) + end + meta:set_string("src_time", 0) + end + end + + if tonumber(meta:get_string("fuel_time")) < tonumber(meta:get_string("fuel_totaltime")) then + meta:set_infotext("Furnace active: "..(tonumber(meta:get_string("fuel_time"))/tonumber(meta:get_string("fuel_totaltime"))*100).."%") + return + end + + local srcitem = inv:get_stack("src", 1):peek_item() + + local src_cooktime = 0 + local result_stackstring = nil + + if srcitem then + local prop = get_item_definition(srcitem) + if prop and prop.cookresult_itemstring ~= "" then + result_stackstring = prop.cookresult_itemstring + src_cooktime = prop.furnace_cooktime or 3 + end + end + + local fuelitem = inv:get_stack("fuel", 1):peek_item() + + if not result_stackstring or not fuelitem then + if was_active then + meta:set_infotext("Furnace is empty") + end + return + end + + local burntime = -1 + if fuelitem then + local prop = get_item_definition(fuelitem) + if prop then + burntime = prop.furnace_burntime or -1 + end + end + + if burntime <= 0 then + meta:set_infotext("Furnace out of fuel") + return + end + + meta:set_string("fuel_totaltime", burntime) + meta:set_string("fuel_time", 0) + + local stack = inv:get_stack("fuel", 1) + stack:take_item() + inv:set_stack("fuel", 1, stack) + end, +}) +minetest.register_abm({ + nodenames = {"experimental:luafurnace"}, + interval = 1.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + local meta = minetest.env:get_meta(pos) + local fuellist = meta:inventory_get_list("fuel") + local srclist = meta:inventory_get_list("src") + local dstlist = meta:inventory_get_list("dst") + if fuellist == nil or srclist == nil or dstlist == nil then + return + end + _, srcitem = stackstring_take_item(srclist[1]) + _, fuelitem = stackstring_take_item(fuellist[1]) + if not srcitem or not fuelitem then return end + if fuelitem.type == "node" then + local prop = minetest.registered_nodes[fuelitem.name] + if prop == nil then return end + if prop.furnace_burntime < 0 then return end + else + return + end + local resultstack = nil + if srcitem.type == "node" then + local prop = minetest.registered_nodes[srcitem.name] + if prop == nil then return end + if prop.cookresult_item == "" then return end + resultstack = prop.cookresult_item + else + return + end + + if resultstack == nil then + return + end + + dstlist[1], success = stackstring_put_stackstring(dstlist[1], resultstack) + if not success then + return + end + + fuellist[1], _ = stackstring_take_item(fuellist[1]) + srclist[1], _ = stackstring_take_item(srclist[1]) + + meta:inventory_set_list("fuel", fuellist) + meta:inventory_set_list("src", srclist) + meta:inventory_set_list("dst", dstlist) + + local total_cooked = meta:get_string("total_cooked") + total_cooked = tonumber(total_cooked) + 1 + meta:set_string("total_cooked", total_cooked) + meta:set_infotext("Lua Furnace: total cooked: "..total_cooked) + end, +}) +minetest.register_craft({ + output = 'node "experimental:luafurnace" 1', + recipe = { + {'node "default:cobble"', 'node "default:cobble"', 'node "default:cobble"'}, + {'node "default:cobble"', 'node "default:steel_ingot"', 'node "default:cobble"'}, + {'node "default:cobble"', 'node "default:cobble"', 'node "default:cobble"'}, + } +}) +--]] + +-- +-- Random stuff +-- + +--[[ +minetest.register_tool("experimental:horribletool", { + image = "default_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 +}) +--]] + +-- +-- TNT (not functional) +-- + +minetest.register_craft({ + output = 'experimental:tnt', + recipe = { + {'default:wood'}, + {'default:coal_lump'}, + {'default:wood'} + } +}) + +minetest.register_node("experimental:tnt", { + tile_images = {"default_tnt_top.png", "default_tnt_bottom.png", + "default_tnt_side.png", "default_tnt_side.png", + "default_tnt_side.png", "default_tnt_side.png"}, + inventory_image = minetest.inventorycube("default_tnt_top.png", + "default_tnt_side.png", "default_tnt_side.png"), + drop = '', -- Get nothing + material = { + diggability = "not", + }, +}) + +minetest.register_on_punchnode(function(p, node) + if node.name == "experimental:tnt" then + minetest.env:remove_node(p) + minetest.env:add_entity(p, "experimental:tnt") + nodeupdate(p) + end +end) + +local TNT = { + -- Static definition + physical = true, -- Collides with things + -- weight = 5, + collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5}, + visual = "cube", + textures = {"default_tnt_top.png", "default_tnt_bottom.png", + "default_tnt_side.png", "default_tnt_side.png", + "default_tnt_side.png", "default_tnt_side.png"}, + -- Initial value for our timer + timer = 0, + -- Number of punches required to defuse + health = 1, + blinktimer = 0, + blinkstatus = true, +} + +-- Called when a TNT object is created +function TNT:on_activate(staticdata) + print("TNT:on_activate()") + self.object:setvelocity({x=0, y=4, z=0}) + self.object:setacceleration({x=0, y=-10, z=0}) + self.object:settexturemod("^[brighten") + self.object:set_armor_groups({immortal=1}) +end + +-- Called periodically +function TNT:on_step(dtime) + --print("TNT:on_step()") + self.timer = self.timer + dtime + self.blinktimer = self.blinktimer + dtime + if self.blinktimer > 0.5 then + self.blinktimer = self.blinktimer - 0.5 + if self.blinkstatus then + self.object:settexturemod("") + else + self.object:settexturemod("^[brighten") + end + self.blinkstatus = not self.blinkstatus + end +end + +-- Called when object is punched +function TNT:on_punch(hitter) + print("TNT:on_punch()") + self.health = self.health - 1 + if self.health <= 0 then + self.object:remove() + hitter:get_inventory():add_item("main", "experimental:tnt") + --hitter:set_hp(hitter:get_hp() - 1) + end +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("experimental:tnt", TNT) + +-- Add TNT's old name also +minetest.register_alias("TNT", "experimental:tnt") + +-- +-- The dummyball! +-- + +minetest.register_entity("experimental:dummyball", { + -- Static definition + hp_max = 20, + physical = false, + collisionbox = {-0.4,-0.4,-0.4, 0.4,0.4,0.4}, + visual = "sprite", + visual_size = {x=1, y=1}, + textures = {"experimental_dummyball.png"}, + spritediv = {x=1, y=3}, + initial_sprite_basepos = {x=0, y=0}, + -- Dynamic variables + phase = 0, + phasetimer = 0, + + on_activate = function(self, staticdata) + minetest.log("Dummyball activated!") + end, + + on_step = function(self, dtime) + self.phasetimer = self.phasetimer + dtime + if self.phasetimer > 2.0 then + self.phasetimer = self.phasetimer - 2.0 + self.phase = self.phase + 1 + if self.phase >= 3 then + self.phase = 0 + end + self.object:setsprite({x=0, y=self.phase}) + phasearmor = { + [0]={cracky=3}, + [1]={crumbly=3}, + [2]={fleshy=3} + } + self.object:set_armor_groups(phasearmor[self.phase]) + end + end, + + on_punch = function(self, hitter) + end, +}) + +minetest.register_on_chat_message(function(name, message) + local cmd = "/dummyball" + if message:sub(0, #cmd) == cmd then + if not minetest.get_player_privs(name)["give"] then + minetest.chat_send_player(name, "you don't have permission to spawn (give)") + return true -- Handled chat message + end + if not minetest.get_player_privs(name)["interact"] then + minetest.chat_send_player(name, "you don't have permission to interact") + return true -- Handled chat message + end + local player = minetest.env:get_player_by_name(name) + if player == nil then + print("Unable to spawn entity, player is nil") + return true -- Handled chat message + end + local entityname = "experimental:dummyball" + local p = player:getpos() + p.y = p.y + 1 + minetest.env:add_entity(p, entityname) + minetest.chat_send_player(name, '"'..entityname + ..'" spawned.'); + return true -- Handled chat message + end +end) + +-- +-- A test entity for testing animated and yaw-modulated sprites +-- + +minetest.register_entity("experimental:testentity", { + -- Static definition + physical = true, -- Collides with things + -- weight = 5, + collisionbox = {-0.7,-1.35,-0.7, 0.7,1.0,0.7}, + --collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5}, + visual = "sprite", + visual_size = {x=2, y=3}, + textures = {"dungeon_master.png^[makealpha:128,0,0^[makealpha:128,128,0"}, + spritediv = {x=6, y=5}, + initial_sprite_basepos = {x=0, y=0}, + + on_activate = function(self, staticdata) + print("testentity.on_activate") + self.object:setsprite({x=0,y=0}, 1, 0, true) + --self.object:setsprite({x=0,y=0}, 4, 0.3, true) + + -- Set gravity + self.object:setacceleration({x=0, y=-10, z=0}) + -- Jump a bit upwards + self.object:setvelocity({x=0, y=10, z=0}) + end, + + on_punch = function(self, hitter) + self.object:remove() + hitter:add_to_inventory('craft testobject1 1') + end, +}) + +-- +-- More random stuff +-- + +minetest.register_on_respawnplayer(function(player) + print("on_respawnplayer") + -- player:setpos({x=0, y=30, z=0}) + -- return true +end) + +minetest.register_on_generated(function(minp, maxp) + --print("on_generated: minp="..dump(minp).." maxp="..dump(maxp)) + --cp = {x=(minp.x+maxp.x)/2, y=(minp.y+maxp.y)/2, z=(minp.z+maxp.z)/2} + --minetest.env:add_node(cp, {name="sand"}) +end) + +-- Example setting get +--print("setting max_users = " .. dump(minetest.setting_get("max_users"))) +--print("setting asdf = " .. dump(minetest.setting_get("asdf"))) + +minetest.register_on_chat_message(function(name, message) + --[[print("on_chat_message: name="..dump(name).." message="..dump(message)) + local cmd = "/testcommand" + if message:sub(0, #cmd) == cmd then + print(cmd.." invoked") + return true + end + local cmd = "/help" + if message:sub(0, #cmd) == cmd then + print("script-overridden help command") + minetest.chat_send_all("script-overridden help command") + return true + end]] +end) + +-- Grow papyrus on TNT every 10 seconds +--[[minetest.register_abm({ + nodenames = {"TNT"}, + interval = 10.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + print("TNT ABM action") + pos.y = pos.y + 1 + minetest.env:add_node(pos, {name="papyrus"}) + end, +})]] + +-- Replace texts of alls signs with "foo" every 10 seconds +--[[minetest.register_abm({ + nodenames = {"sign_wall"}, + interval = 10.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + print("ABM: Sign text changed") + local meta = minetest.env:get_meta(pos) + meta:set_text("foo") + end, +})]] + +--[[local ncpos = nil +local ncq = 1 +local ncstuff = { + {2, 1, 0, 3}, {3, 0, 1, 2}, {4, -1, 0, 1}, {5, -1, 0, 1}, {6, 0, -1, 0}, + {7, 0, -1, 0}, {8, 1, 0, 3}, {9, 1, 0, 3}, {10, 1, 0, 3}, {11, 0, 1, 2}, + {12, 0, 1, 2}, {13, 0, 1, 2}, {14, -1, 0, 1}, {15, -1, 0, 1}, {16, -1, 0, 1}, + {17, -1, 0, 1}, {18, 0, -1, 0}, {19, 0, -1, 0}, {20, 0, -1, 0}, {21, 0, -1, 0}, + {22, 1, 0, 3}, {23, 1, 0, 3}, {24, 1, 0, 3}, {25, 1, 0, 3}, {10, 0, 1, 2} +} +local ncold = {} +local nctime = nil + +minetest.register_abm({ + nodenames = {"dirt_with_grass"}, + interval = 100000.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + if ncpos ~= nil then + return + end + + if pos.x % 16 ~= 8 or pos.z % 16 ~= 8 then + return + end + + pos.y = pos.y + 1 + n = minetest.env:get_node(pos) + print(dump(n)) + if n.name ~= "air" then + return + end + + pos.y = pos.y + 2 + ncpos = pos + nctime = os.clock() + minetest.env:add_node(ncpos, {name="nyancat"}) + end +}) + +minetest.register_abm({ + nodenames = {"nyancat"}, + interval = 1.0, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + if ncpos == nil then + return + end + if pos.x == ncpos.x and pos.y == ncpos.y and pos.z == ncpos.z then + clock = os.clock() + if clock - nctime < 0.1 then + return + end + nctime = clock + + s0 = ncstuff[ncq] + ncq = s0[1] + s1 = ncstuff[ncq] + p0 = pos + p1 = {x = p0.x + s0[2], y = p0.y, z = p0.z + s0[3]} + p2 = {x = p1.x + s1[2], y = p1.y, z = p1.z + s1[3]} + table.insert(ncold, 1, p0) + while #ncold >= 10 do + minetest.env:add_node(ncold[#ncold], {name="air"}) + table.remove(ncold, #ncold) + end + minetest.env:add_node(p0, {name="nyancat_rainbow"}) + minetest.env:add_node(p1, {name="nyancat", param1=s0[4]}) + minetest.env:add_node(p2, {name="air"}) + ncpos = p1 + end + end, +})--]] + +minetest.log("experimental modname="..dump(minetest.get_current_modname())) +minetest.log("experimental modpath="..dump(minetest.get_modpath("experimental"))) +minetest.log("experimental worldpath="..dump(minetest.get_worldpath())) + +-- END diff --git a/mods/experimental/textures/experimental_dummyball.png b/mods/experimental/textures/experimental_dummyball.png new file mode 100644 index 0000000000000000000000000000000000000000..0846765528b0c40fe3a5adbc6a732203dfd35e11 GIT binary patch literal 838 zcmV-M1G)T(P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyY* z6BryD`kIjd0013nR9JLFZ*6U5Zgc_CX>@2HM@dakWG-a~0007= zNklz@Z0xKpgxJ_vS}O=C#j6C{vj_-_rIl7< zCzz;QBQ{#-9jqVU0-HuRKX+bsEH*PYGdr^+#t%YfX5V|?o7wN11(pnAdO#_q z5|9uwmjELMLBQ9dD1z&{Y)tC)I)7#rk)tT$&0Iusw&McMOZnrscM&SQ!&G&sS zvLdPlK_CH{3o+EWrJjKZVA<8^bUJ2%qHJLp<}j9MUnQvFd0tM$TBK;gFofrM|1O~0 zhE)UW2Vyp9tefXbSp*3CmdpHT zG+#5R*^=Sdd>@3}UXGxKv%Z!SS*V?p;TX>P+H&{7+zyiASOT;0(Ql~?q}NE2;h3s> zHjwrA!M&TC06^6&Y6Cudb7*eo<13c|0F#4neC=mSv0-J= zb)b?5bVerGKLG5EWM^FMT{*iCUMLM%C5jUQd{2RwspdY|P33HiB!)WAm9hw^8ZP~K z-eyv>#hL=OMEe6;+==H&USy$mj%g;c)O|3wgP6)-HjYhauw5w=Mq*%QS0!I9*+lE$ zL8U|(Fa~f)vtKNb@2swn!d_q^L7Jt#G;1I>|1qWJ``~#+)-#bG9-r0wU-f!&JmT1T Qz5oCK07*qoM6N<$g2Co(?f?J) literal 0 HcmV?d00001 diff --git a/mods/give_initial_stuff/depends.txt b/mods/give_initial_stuff/depends.txt new file mode 100644 index 00000000..3a7daa1d --- /dev/null +++ b/mods/give_initial_stuff/depends.txt @@ -0,0 +1,2 @@ +default + diff --git a/mods/give_initial_stuff/init.lua b/mods/give_initial_stuff/init.lua new file mode 100644 index 00000000..9cf6b51b --- /dev/null +++ b/mods/give_initial_stuff/init.lua @@ -0,0 +1,12 @@ +minetest.register_on_newplayer(function(player) + print("on_newplayer") + if minetest.setting_getbool("give_initial_stuff") then + print("giving give_initial_stuff to player") + player:get_inventory():add_item('main', 'default:pick_steel') + player:get_inventory():add_item('main', 'default:torch 99') + player:get_inventory():add_item('main', 'default:axe_steel') + player:get_inventory():add_item('main', 'default:shovel_steel') + player:get_inventory():add_item('main', 'default:cobble 99') + end +end) + diff --git a/mods/legacy/depends.txt b/mods/legacy/depends.txt new file mode 100644 index 00000000..3a7daa1d --- /dev/null +++ b/mods/legacy/depends.txt @@ -0,0 +1,2 @@ +default + diff --git a/mods/legacy/init.lua b/mods/legacy/init.lua new file mode 100644 index 00000000..7f9088ce --- /dev/null +++ b/mods/legacy/init.lua @@ -0,0 +1,132 @@ +-- 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/mods/legacy/textures/apple_iron.png b/mods/legacy/textures/apple_iron.png new file mode 100644 index 0000000000000000000000000000000000000000..2dffdf014384dc17d0b646c294c15ce0436692d4 GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DjSK$uZf!>a)(C|TkfQ4*Y=R#Ki=l*$m0n3-3i=jR%tP-d)Ws%K$t-4F{@4nJ z@ErkR#;MwT(m=t9o-U3d7QJVKqInM}2xzBh2{bVBBry0_96G?0kifLzpxuewC&!W% zBRADeeR3;XpJ9LFHJ!I)wt|enSA|Z?Hqo?4;cQcy?k98J gQ(9m5^L+tRu)W@od+PaZK*uq7y85}Sb4q9e0K#%s{r~^~ literal 0 HcmV?d00001 diff --git a/mods/legacy/textures/dungeon_master.png b/mods/legacy/textures/dungeon_master.png new file mode 100644 index 0000000000000000000000000000000000000000..3457c8228fce6572daa79e219e0bb22f568062ea GIT binary patch literal 6636 zcmd6sRZtvU)8}Uh?)C(S85|NUcwlhXVIYv;1PB(K;E=(c5Ind`2$lqg!4jMR!4d|y z!CeQL<#~6vcE6ji_HyggIo+pERrk%QuHU~p2CAbt002nT)s$clw(DUZ;p0A> zhGkBl9}LhFrm6s_`Ng>XaKU}8sj39P{JRP|%2OU91a4}tJOKbAs(&{Skd;IG5XAFR z*H*?u5|R;1(wk!SvH$>dZ`GCL4SeVJ&7?d{W+`NvJxzpi>7!mO>+qZqrNZ2H>2}Em zI2KAQ2W|iPrpA_TxXqcT&QPIg`gx$lsvkM%B9X!h^DhHEe#w|~`S-NBD_EG;1P~JN z>mc|>Vho4-yuuhOH5oO0YGMV&>LyUc2a#jpV=DkcK(Knz0U-HhFi-ESErkYtDjnlT(?lTA_?u9${KRv~qG*7X zhSEP?@jb}qw^`pBnh0d1Zf#|0$pU#pWXQNYjksbH|(vTfl9VXU0EuU1C zS{iOq6V=?se@+?*nAe87L!?34*M;Ytl&q=Fnmpz}cC?&ja&3~DpMR*3>Y{Rc`t>Gd^E`tnk_G)%H=^??ZWvRd$ba zsPaq;c0McP(Ajw62CupJJ+uDOc%xp+G;g#fg>HYp?!~2rv~Dz@@+4-k#nC^SG0aOc zgqgV13mLeWKgbOw^U#8Ge;T8Pm{bb_C*b;|2w(^!TfAs+>BvX83=31_n0tIf8tv{eV6LH1oN~Ny z7P^LtXKb{~%ZJceRD*0a!;bD~SxNakTU$yvcL${pSmq8Md*oF0M#o^)W5=)pc=;N( zxJ$kAg*;@%FE1rXj=dq0QExN{7@txMOzBoYmkOm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#3BFy002ovPDHLkV1kKC{yG2v literal 0 HcmV?d00001 diff --git a/mods/legacy/textures/firefly.png b/mods/legacy/textures/firefly.png new file mode 100644 index 0000000000000000000000000000000000000000..40df7fa1cc62fd8daf90ba6ae24a93992551b9fd GIT binary patch literal 116 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|^gLZ0Lo7}w zCrGd!W-xd(>4LH0@AC%^94N?}Zq5t>-2t{?TYVNMT5w57NHDB<$-=Tymis4ACxfS} KpUXO@geCxZJRmm! literal 0 HcmV?d00001 diff --git a/mods/legacy/textures/oerkki1.png b/mods/legacy/textures/oerkki1.png new file mode 100644 index 0000000000000000000000000000000000000000..33cbac9e76114d9ce2de4006b616fe2fd17f9f21 GIT binary patch literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY^(zo*^7SP{WbZ0pxQQctjR6 zFz_7#VaBQ2e9}O{Ii4<#ArY-_rv`F0C!uc`XMG3kAFb~czF}QE!=mxd%fmZbuIO;DiD^F)>h+i1uJSqO^a)bj hD>gQu5I^@GVEkmGY|--Zb{x>144$rjF6*2UngBQXU!MQ~ literal 0 HcmV?d00001 diff --git a/mods/legacy/textures/oerkki1_damaged.png b/mods/legacy/textures/oerkki1_damaged.png new file mode 100644 index 0000000000000000000000000000000000000000..9b777387cf85645bb2bb588fddbf99d3cb85befd GIT binary patch literal 341 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QY^(zo*^7SP{WbZ0pxQQctjR6 zFz_7#VaBQ2e9}O{@18D>ArY-_r@iJotiaKl`m*`+vv>S@JqcT@WFikuH;HSOanYUX zT<|dKR!NfVj=;AT;{UXk^2G{gt+8A$Yxa0;%i7;gl38Eo$oH;g5>6t#`pvbH&~DgK@HH;j+4iHx z+Jc*XYEGq<;Ixgh%kTb*oiFwK#}m1vbn&Xi_0)QP;U;ZD(%(O1rixUHDjE!*ajM;=}Tr?ndjx91ynISg(3Onbl=7(;`pC ki%S|Zf*edV6=s=>9&eF;u0QV)FbEhtUHx3vIVCg!0A9g|9smFU literal 0 HcmV?d00001 diff --git a/mods/legacy/textures/rat.png b/mods/legacy/textures/rat.png new file mode 100644 index 0000000000000000000000000000000000000000..d1a0e2ae26ad41a751c99ea84e79f45e58c1970b GIT binary patch literal 920 zcmZvaJ!n-y5QPULFCirUU?XA`wh*xjSlMWNAr450`asJBZ6q8>WvisK2!UfERspe) z1X7NzKa~VcD-76Jh=uTwfDaMIxi=8reb)=SJA2vL@64Hfy0o}3J$Y_YM5gsd_jazQ za!gEga_&ER{9I&AmTvaua~t)DdWqac^|`y5kp!Tsr4$!25sE-WMM`G1ez}X8kOGLR zl>Z%aaTB8u0u?QJQ!A~F4>KnXpejlU(g9Ot#(=9@2CANON)0zR8bK(uXt6LlVNhy8 zVGs^AEi4GA=ZT`BrOtOBp{dz05abav{W-*@mWrJGws{fePP0r@AWzU8W=duZ_q;y? zbKK%5-<(=)Bsg>TXmBGm~SI56h&E4I5{qp_WweKe$eqQ+98QWd!A3PXr aZfsua$n2l