From 6eb46569c2f237aed1d370f4583fe8c765ec7ed3 Mon Sep 17 00:00:00 2001 From: IamPyu Date: Thu, 8 Aug 2024 13:29:51 -0600 Subject: [PATCH] Unnamed Minor Update --- API.md | 2 -- CHANGELOG.md | 7 +++++++ mods/pyutest/pyutest_core/furnace.lua | 7 ++++--- mods/pyutest/pyutest_core/ores.lua | 26 +++++++++++++++++++------- mods/pyutest/pyutest_core/tools.lua | 2 +- textures/pyutest-crate.png | Bin 220 -> 224 bytes textures/pyutest-flower2.png | Bin 161 -> 154 bytes 7 files changed, 31 insertions(+), 13 deletions(-) diff --git a/API.md b/API.md index bbfeaf4..424c8fb 100644 --- a/API.md +++ b/API.md @@ -1,5 +1,3 @@ # API Documentation ## Blocks - - diff --git a/CHANGELOG.md b/CHANGELOG.md index c06c765..0354a5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +# [Aug 8th 2024] Unnamed Minor Update + +- New dandelion texture +- New crate and mimic texture +- Emeralds are now level 3 instead of 4 +- Added raw tin and zinc + # [Aug 4th - Aug 7th 2024] Update: Balancing Update - Try to balance the game diff --git a/mods/pyutest/pyutest_core/furnace.lua b/mods/pyutest/pyutest_core/furnace.lua index 23b9936..27d1bf5 100644 --- a/mods/pyutest/pyutest_core/furnace.lua +++ b/mods/pyutest/pyutest_core/furnace.lua @@ -16,7 +16,8 @@ local function furnace_formspec(pos) end PyuTestCore.make_node("pyutest_core:furnace", "Furnace", { - cracky = PyuTestCore.BLOCK_NORMAL + cracky = PyuTestCore.BLOCK_NORMAL, + level = 1 }, { "pyutest-furnace-top-bottom.png", "pyutest-furnace-top-bottom.png", @@ -59,11 +60,11 @@ PyuTestCore.make_node("pyutest_core:furnace", "Furnace", { } }) - + if output.item:is_empty() then return end - + inv:add_item("dst", output.item) src:set_count(src:get_count() - output.item:get_count()) fuel:set_count(fuel:get_count() - 1) diff --git a/mods/pyutest/pyutest_core/ores.lua b/mods/pyutest/pyutest_core/ores.lua index 522c0d2..66b2d24 100644 --- a/mods/pyutest/pyutest_core/ores.lua +++ b/mods/pyutest/pyutest_core/ores.lua @@ -101,18 +101,18 @@ PyuTestCore.make_ore = function(id, desc, item_id_suffix, item_description_suffi for k, v in pairs(options) do conf[k] = v end - + for k, v in pairs(default_options) do if conf[k] == nil then conf[k] = v end end - + local oid = id.."_ore" local iid = id.."_"..item_id_suffix local rid = conf.make_raw and id.."_raw" or nil - + minetest.register_node(oid, PyuTestCore.util.tableconcat({ description = Translate(desc .. " Ore"), groups = PyuTestCore.util.tableconcat({ @@ -212,11 +212,11 @@ end PyuTestCore.make_ore("pyutest_core:coal", "Coal", "lump", "Lump", { scarcity = 8 * 8 * 8, y_max = 48, - + ore_strength = PyuTestCore.BLOCK_NORMAL, ore_drop_count = 2, ore_tiles = {"pyutest-ore-coal.png"}, - + item_texture = "pyutest-lump.png", item_conf = { color = {r = 32, g = 32, b = 32} @@ -311,7 +311,7 @@ PyuTestCore.make_ore("pyutest_core:emerald", "Emerald", "shard", "Shard", { ore_strength = PyuTestCore.BLOCK_NORMAL, ore_tiles = {"pyutest-ore-emerald.png"}, - ore_level = 4, + ore_level = 3, item_texture = "pyutest-shard.png", item_conf = { @@ -327,7 +327,7 @@ PyuTestCore.make_ore("pyutest_core:emerald", "Emerald", "shard", "Shard", { PyuTestCore.make_ore("pyutest_core:zinc", "Zinc", "ingot", "Ingot", { scarcity = 11 * 11 * 11, y_max = 18, - + ore_strength = PyuTestCore.BLOCK_NORMAL, ore_tiles = {"pyutest-ore-zinc.png"}, ore_level = 2, @@ -337,6 +337,12 @@ PyuTestCore.make_ore("pyutest_core:zinc", "Zinc", "ingot", "Ingot", { color = "#bed3d4" }, + make_raw = true, + raw_texture = "pyutest-lump.png", + raw_conf = { + color = "#bed3d4" + }, + block_tiles = {"pyutest-metal.png"}, block_color = "#bed3d4" }) @@ -354,6 +360,12 @@ PyuTestCore.make_ore("pyutest_core:tin", "Tin", "ingot", "Ingot", { color = "#8e8591" }, + make_raw = true, + raw_texture = "pyutest-lump.png", + raw_conf = { + color = "#8e8591" + }, + block_tiles = {"pyutest-metal.png"}, block_color = "#8e8591" }) diff --git a/mods/pyutest/pyutest_core/tools.lua b/mods/pyutest/pyutest_core/tools.lua index d5bd574..595fa05 100644 --- a/mods/pyutest/pyutest_core/tools.lua +++ b/mods/pyutest/pyutest_core/tools.lua @@ -73,7 +73,7 @@ PyuTestCore.make_tool("pyutest_core:diamond_pickaxe", "Diamond Pickaxe", {}, "py tool_capabilities = PyuTestCore.tool_caps({ uses = 1345, attack_uses = 1345 / 2, - maxlevel = 4, + maxlevel = 3, groupcaps = { cracky = { times = { diff --git a/textures/pyutest-crate.png b/textures/pyutest-crate.png index cb9d8a282bd4b16670ab7b581d22c320aa161a72..5d70aeaa5dc54e9acd66ac01f9ddf46431f70c27 100644 GIT binary patch delta 196 zcmV;#06YKO0pJ0UB!8z#L_t(Ijir-43c^4TMxU~QAi)?ctUZVK@LFEY3y6i4pu|`O zQfLu2nH|Ia#Mdkg%*VG6W^pBkVf}?)X4w<0000u1G)a_*OTYoR|9L17_$dZkWa)gj98-4hRk6B_F14 zP!XP(O+;e zR=!gh>aiLC(+mURqQ9_eCdvhb3}M1$05VAL`HWKzrwbSu7#O@W^-%(F>-39w)#Ee- f-5`<;z$Xs?BIG958!sUi00000NkvXXu0mjf@8mR& delta 132 zcmbQmxR7yzN^ORxi(`mIZ*qdfy$9dbH~-&nKlAVLM^ea8xW{{>X8d# i6A;_$iR^DSVhI?s-F%65O})!xvX