Unnamed Minor Update

This commit is contained in:
IamPyu 2024-08-08 13:29:51 -06:00
parent 1d8b476861
commit 6eb46569c2
7 changed files with 31 additions and 13 deletions

2
API.md
View File

@ -1,5 +1,3 @@
# API Documentation
## Blocks

View File

@ -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

View File

@ -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)

View File

@ -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"
})

View File

@ -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 = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 154 B