From fbaf2647325a2d01fab336894a27162b9c38f2b3 Mon Sep 17 00:00:00 2001 From: IamPyu Date: Fri, 12 Jul 2024 16:22:40 -0600 Subject: [PATCH] Add Terracotta, the update is finished --- CHANGELOG.md | 6 +-- mods/pyutest_core/blocks.lua | 17 ++++--- mods/pyutest_core/crafts.lua | 8 +++ mods/pyutest_core/init.lua | 14 +++--- mods/pyutest_core/overrides.lua | 4 ++ mods/pyutest_core/textures/terracotta.png | Bin 0 -> 288 bytes mods/pyutest_core/wool.lua | 57 ++++++++++++++++++---- 7 files changed, 80 insertions(+), 26 deletions(-) create mode 100644 mods/pyutest_core/textures/terracotta.png diff --git a/CHANGELOG.md b/CHANGELOG.md index 661e602..9b4df34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Jun 11th - **STILL UNDER DEVELOPMENT** 2024] Update: Smithing Update +## [Jul 11th - Jul 12th 2024] Update: Smithing Update - Updated Unified Inventory and Mobs Redo - Added furnaces @@ -10,13 +10,13 @@ - Fire now spreads instead of just sitting there and damaging entities. - Add terracotta that I forgot to add in the "Adventure and Magic Update" -## [Jun 10th 2024] Minor Update: Fence Update +## [Jul 10th 2024] Minor Update: Fence Update - Added fences - Humans no longer spawn below sea-level - Fix birch forests being too small -## [Jun 10th 2024] Update: Cave Update +## [Jul 10th 2024] Update: Cave Update - Added andesite and granite - Added various gemstones and metals diff --git a/mods/pyutest_core/blocks.lua b/mods/pyutest_core/blocks.lua index 9f8094d..9ef5823 100644 --- a/mods/pyutest_core/blocks.lua +++ b/mods/pyutest_core/blocks.lua @@ -71,7 +71,7 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups groups = groups, econf = econf }) - + minetest.register_node(id_block, PyuTestCore.util.tableconcat({ description = Translate(desc.." Block"), tiles = tex, @@ -217,7 +217,8 @@ PyuTestCore.make_building_blocks("pyutest_core:wooden_log", "Oak Wooden Log", { block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1, wooden_log = 1, - flammable = 1 + flammable = 1, + fuel = 1 }, { is_ground_content = false, }) @@ -230,7 +231,8 @@ PyuTestCore.make_building_blocks("pyutest_core:savanna_wooden_log", "Savanna Woo block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1, wooden_log = 1, - flammable = 1 + flammable = 1, + fuel = 1 }, { is_ground_content = false, }) @@ -243,7 +245,8 @@ PyuTestCore.make_building_blocks("pyutest_core:birch_wooden_log", "Birch Wooden block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1, wooden_log = 1, - flammable = 1 + flammable = 1, + fuel = 1 }, { is_ground_content = false, }) @@ -256,7 +259,8 @@ PyuTestCore.make_building_blocks("pyutest_core:cherry_wooden_log", "Cherry Woode block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1, wooden_log = 1, - flammable = 1 + flammable = 1, + fuel = 1 }, { is_ground_content = false, }) @@ -264,7 +268,8 @@ PyuTestCore.make_building_blocks("pyutest_core:cherry_wooden_log", "Cherry Woode PyuTestCore.make_building_blocks("pyutest_core:wooden", "Wooden", {"wood.png"}, nil, { block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY, acid_vulnerable = 1, - flammable = 1 + flammable = 1, + fuel = 1 }, {is_ground_content = false}) PyuTestCore.make_building_blocks("pyutest_core:snow", "Snow", {"snow.png"}, nil, { diff --git a/mods/pyutest_core/crafts.lua b/mods/pyutest_core/crafts.lua index 5cd3719..c100d20 100644 --- a/mods/pyutest_core/crafts.lua +++ b/mods/pyutest_core/crafts.lua @@ -201,6 +201,14 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "pyutest_core:clay_block 4", + recipe = { + {"pyutest_core:clay", "pyutest_core:clay"}, + {"pyutest_core:clay", "pyutest_core:clay"} + } +}) + minetest.register_craft({ type = "cooking", output = "pyutest_core:glass", diff --git a/mods/pyutest_core/init.lua b/mods/pyutest_core/init.lua index bcd9215..06843da 100644 --- a/mods/pyutest_core/init.lua +++ b/mods/pyutest_core/init.lua @@ -1,12 +1,12 @@ Translate = minetest.get_translator("pyutest_core") PyuTestCore = { - BLOCK_BREAKABLE_INSTANT = 7, - BLOCK_BREAKABLE_NORMAL = 6, - BLOCK_BREAKABLE_CHOPPY = 5, - BLOCK_BREAKABLE_MIDDLE = 4, - BLOCK_BREAKABLE_LONG = 3, - BLOCK_BREAKABLE_VERYLONG = 2, - BLOCK_BREAKABLE_FOREVER = 1, + BLOCK_BREAKABLE_INSTANT = 7, -- Flowers, Torches, etc. + BLOCK_BREAKABLE_NORMAL = 6, -- Grass, Dirt, Gravel, etc. + BLOCK_BREAKABLE_CHOPPY = 5, -- Wood + BLOCK_BREAKABLE_MIDDLE = 4, -- Stone, Coal, etc. + BLOCK_BREAKABLE_LONG = 3, -- Iron, Zinc, etc. + BLOCK_BREAKABLE_VERYLONG = 2, -- Obsidian, etc. + BLOCK_BREAKABLE_FOREVER = 1, -- Barriers. } PyuTestCore.get_schem_path = function (name) diff --git a/mods/pyutest_core/overrides.lua b/mods/pyutest_core/overrides.lua index ef79de5..59e1a3b 100644 --- a/mods/pyutest_core/overrides.lua +++ b/mods/pyutest_core/overrides.lua @@ -14,6 +14,10 @@ minetest.override_item("pyutest_core:leaves_block", { } }) +minetest.override_item("pyutest_core:clay_block", { + drop = "pyutest_core:clay 3" +}) + minetest.override_item("pyutest_core:coal_lump", { groups = { fuel = 1 diff --git a/mods/pyutest_core/textures/terracotta.png b/mods/pyutest_core/textures/terracotta.png new file mode 100644 index 0000000000000000000000000000000000000000..7efee0c3b63e8d4c0f90c84b79ff9ec03d446bab GIT binary patch literal 288 zcmV+*0pI?KP)-}43`Ac%6rK^C@85DSN(y&qMqN^^BOCIYxB_`4y_MkWIF4`raW;T`-)XG@5E0Z` zhoJY4nE_03fb%>lYsFeC5%GvA9uf53$6WzvtxZ9ZyuH_2F|(oHBv27E8>qc^T5FRn zJ-hoa!JCCo$-0{e^3VXxY_bs%xI6AXl3xpG;=mBAbG9a3QT2$J{IA%VFcTDs^Qy8> zcOSOi<}z8x$*ZNeMFF1pMRp2 mL}vrIu4@GD`+kT%-TeTGv&YyIf{g0`0000