Add Cobblestone

This commit is contained in:
IamPyu 2024-11-27 16:06:53 -06:00
parent 7bf2caa3d6
commit 27b3833f05
7 changed files with 42 additions and 9 deletions

View File

@ -35,6 +35,7 @@ I should just start giving updates a version number to avoid naming updates.
- Make Apple texture look more like other food textures
- Add a light fog to snowy biomes
- Make Taigas more dense
- Added Cobblestone
## [Oct 20th - Nov 2nd] Update: The Something Update

View File

@ -52,6 +52,16 @@ PyuTest.make_building_blocks("pyutest_blocks:gravel", "Gravel", { "pyutest-grave
-- Cracky
PyuTest.make_building_blocks("pyutest_blocks:stone", "Stone", { "pyutest-stone.png" }, nil, {
ground = 1,
stone = 1,
cobble = 1,
cracky = PyuTest.BLOCK_NORMAL,
}, {
is_ground_content = true,
_pyutest_blast_resistance = 3
})
PyuTest.make_building_blocks("pyutest_blocks:cobblestone", "Cobblestone", { "pyutest-cobblestone.png" }, nil, {
ground = 1,
stone = 1,
cracky = PyuTest.BLOCK_NORMAL,

View File

@ -57,3 +57,14 @@ core.register_abm({
core.remove_node(pos)
end
})
core.register_abm({
label = "Fire Extinguish",
nodenames = {"pyutest_blocks:fire"},
neighbors = {"group:destroys_fire"},
interval = 1,
chance = 1,
action = function (pos)
core.remove_node(pos)
end
})

View File

@ -1,7 +1,8 @@
PyuTest.make_liquid("pyutest_blocks:water", "Water", {
water = 1,
freezable = 1,
heatable = 1
heatable = 1,
destroys_fire = 1
}, "pyutest-water.png", 1, {
post_effect_color = { a = 60, r = 24.7, g = 46.3, b = 89.4 },
paramtype2 = "color",

View File

@ -28,7 +28,7 @@ core.register_craft({
core.register_craft({
output = "pyutest_tools:stone_pickaxe",
recipe = {
{ "group:stone", "group:stone", "group:stone" },
{ "group:cobble", "group:cobble", "group:cobble" },
{ "", "pyutest_tools:stick", "" },
{ "", "pyutest_tools:stick", "" }
}
@ -37,8 +37,8 @@ core.register_craft({
core.register_craft({
output = "pyutest_tools:stone_axe",
recipe = {
{ "group:stone", "group:stone", "" },
{ "group:stone", "pyutest_tools:stick", "" },
{ "group:cobble", "group:cobble", "" },
{ "group:cobble", "pyutest_tools:stick", "" },
{ "", "pyutest_tools:stick", "" }
}
})
@ -46,8 +46,8 @@ core.register_craft({
core.register_craft({
output = "pyutest_tools:stone_sword",
recipe = {
{ "", "group:stone", "" },
{ "", "group:stone", "" },
{ "", "group:cobble", "" },
{ "", "group:cobble", "" },
{ "", "pyutest_tools:stick", "" }
}
})
@ -153,9 +153,9 @@ core.register_craft({
core.register_craft({
output = "pyutest_furnace:furnace",
recipe = {
{ "group:stone", "group:stone", "group:stone" },
{ "group:stone", "", "group:stone" },
{ "group:stone", "group:stone", "group:stone" }
{ "group:cobble", "group:cobble", "group:cobble" },
{ "group:cobble", "", "group:cobble" },
{ "group:cobble", "group:cobble", "group:cobble" }
}
})
@ -341,3 +341,9 @@ core.register_craft({
output = "pyutest_blocks:brick",
recipe = "pyutest_tools:clay",
})
core.register_craft({
type = "cooking",
output = "pyutest_blocks:stone_block",
recipe = "pyutest_tools:cobblestone_block",
})

View File

@ -2,6 +2,10 @@ core.override_item("pyutest_blocks:clay_block", {
drop = "pyutest_tools:clay 3"
})
core.override_item("pyutest_blocks:stone_block", {
drop = "pyutest_blocks:cobblestone_block"
})
core.override_item("pyutest_blocks:bone_block", {
paramtype2 = "facedir",
on_place = core.rotate_node

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B