296 lines
7.7 KiB
Lua
296 lines
7.7 KiB
Lua
PyuTest.make_building_blocks("pyutest_blocks:dirt", "Dirt", { "pyutest-dirt.png" }, nil, {
|
|
ground = 1,
|
|
dirt = 1,
|
|
acid_vulnerable = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:podzol", "Podzol", { "pyutest-dirt.png" }, nil, {
|
|
ground = 1,
|
|
dirt = 1,
|
|
acid_vulnerable = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
}, {
|
|
overlay_tiles = { { name = "pyutest-ore-overlay.png", color = "#54623c" } }
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:snow", "Snow", { "pyutest-snow.png" }, nil, {
|
|
ground = 1,
|
|
snow = 1,
|
|
acid_vulnerable = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:sand", "Sand", { "pyutest-sand.png" }, nil, {
|
|
ground = 1,
|
|
acid_vulnerable = 1,
|
|
falling_node = 1,
|
|
sugarcane_spawn_on = 1,
|
|
sand = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:mycelium", "Mycelium", {
|
|
{ name = "pyutest-grass-top.png", color = "#5c455e" }, "pyutest-dirt.png"
|
|
}, nil, {
|
|
ground = 1,
|
|
dirt = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
}, {
|
|
overlay_tiles = { "", "", { name = "pyutest-grass-side.png", color = "#5c455e" } }
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:clay", "Clay", { "pyutest-clay-block.png" }, nil, {
|
|
acid_vulnerable = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:gravel", "Gravel", { "pyutest-gravel.png" }, nil, {
|
|
falling_node = 1,
|
|
acid_vulnerable = 1,
|
|
crumbly = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
-- Cracky
|
|
PyuTest.make_building_blocks("pyutest_blocks:stone", "Stone", { "pyutest-stone.png" }, nil, {
|
|
ground = 1,
|
|
stone = 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,
|
|
cobble = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = true,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:mossy_cobblestone", "Mossy Cobblestone", { "pyutest-mossy-cobblestone.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:cobbled_darkstone", "Cobbled Darkstone", { "pyutest-cobbled-darkstone.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:darkstone", "Darkstone", { "pyutest-darkstone.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = true,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:granite", "Granite", { "pyutest-granite.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:andesite", "Andesite", { "pyutest-andesite.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:diorite", "Diorite", { "pyutest-diorite.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:tuff", "Tuff", { "pyutest-tuff.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:calcite", "Calcite", { "pyutest-calcite.png" }, nil, {
|
|
ground = 1,
|
|
stone = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:stone_bricks", "Stone Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#82807c", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:darkstone_bricks", "Darkstone Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#3c3b3a", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:granite_bricks", "Granite Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#9d6658", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:andesite_bricks", "Andesite Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#525252", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:diorite_bricks", "Diorite Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#b4b3b1", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:tuff_bricks", "Tuff Bricks", {
|
|
"pyutest-bricks2.png"
|
|
}, "#e5b88c", {
|
|
bricks = 1,
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:sandstone", "Sandstone", { "pyutest-sandstone.png" }, nil, {
|
|
ground = 1,
|
|
acid_vulnerable = 1,
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 2
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:ice", "Ice", { "pyutest-ice.png" }, nil, {
|
|
ground = 1,
|
|
acid_vulnerable = 1,
|
|
slippery = 4,
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
thawable = 1,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:molten_rock", "Molten Rock", { "pyutest-molten-rock.png" }, nil, {
|
|
ground = 1,
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
fire_persist = 1,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 2
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:basalt", "Basalt", { "pyutest-basalt.png" }, nil, {
|
|
ground = 1,
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:obsidian", "Obsidian", { "pyutest-obsidian.png" }, nil, {
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:crystal_lantern", "Crystal Lantern", { "pyutest-crystal-lantern.png" }, nil,
|
|
{
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
}, {
|
|
light_source = core.LIGHT_MAX,
|
|
paramtype = "light"
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:bone", "Bone", {
|
|
"pyutest-bone-block-top-bottom.png",
|
|
"pyutest-bone-block-top-bottom.png",
|
|
"pyutest-bone-block.png"
|
|
}, nil, {
|
|
cracky = PyuTest.BLOCK_FAST,
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:brick", "Bricks", { "pyutest-bricks.png" }, nil, {
|
|
cracky = PyuTest.BLOCK_NORMAL,
|
|
}, {
|
|
is_ground_content = false,
|
|
_pyutest_blast_resistance = 3
|
|
})
|
|
|
|
-- Choppy
|
|
PyuTest.make_building_blocks("pyutest_blocks:mushroom", "Mushroom", { "pyutest-mushroom.png" }, nil, {
|
|
flammable = 1,
|
|
choppy = PyuTest.BLOCK_FAST,
|
|
}, { is_ground_content = false })
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:mushroom_stem", "Mushroom Stem", { "pyutest-mushroom-stem.png" }, nil, {
|
|
flammable = 1,
|
|
choppy = PyuTest.BLOCK_FAST,
|
|
}, { is_ground_content = false })
|
|
|
|
-- Breakable by hand
|
|
PyuTest.make_building_blocks("pyutest_blocks:haybale", "Haybale", {
|
|
"pyutest-haybale-top-bottom.png",
|
|
"pyutest-haybale-top-bottom.png",
|
|
"pyutest-haybale.png"
|
|
}, nil, {
|
|
oddly_breakable_by_hand = PyuTest.BLOCK_FAST
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:slime", "Slime", { "pyutest-slime.png" }, nil, {
|
|
bouncy = 85,
|
|
oddly_breakable_by_hand = PyuTest.BLOCK_FAST
|
|
})
|
|
|
|
PyuTest.make_building_blocks("pyutest_blocks:superslime", "Superslime", { "pyutest-slime.png" }, "cyan", {
|
|
bouncy = 115,
|
|
oddly_breakable_by_hand = PyuTest.BLOCK_FAST
|
|
})
|