Move *.png to pyutest-*.png because it is a good practice

This commit is contained in:
IamPyu 2024-07-27 20:07:54 -06:00
parent b9e3267ad3
commit 7dfb1aa875
178 changed files with 204 additions and 186 deletions

View File

@ -179,148 +179,152 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups
})
end
PyuTestCore.make_building_blocks("pyutest_core:grass", "Grass", {"grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:grass", "Grass", {"pyutest-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:dark_grass", "Dark Grass", {"dark-grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:dark_grass", "Dark Grass", {"pyutest-dark-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:swampy_grass", "Swampy Grass", {"swampy-grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:swampy_grass", "Swampy Grass", {"pyutest-swampy-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
sugarcane_spawn_on = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:savanna_grass", "Savanna Grass", {"savanna-grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:savanna_grass", "Savanna Grass", {"pyutest-savanna-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
sugarcane_spawn_on = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:aspen_grass", "Aspen Grass", {"aspen-grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:aspen_grass", "Aspen Grass", {"pyutest-aspen-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:jungle_grass", "Jungle Grass", {"jungle-grass.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:jungle_grass", "Jungle Grass", {"pyutest-jungle-grass.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
grass = 1
})
PyuTestCore.make_building_blocks("pyutest_core:dirt", "Dirt", {"dirt.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:dirt", "Dirt", {"pyutest-dirt.png"}, nil, {
ground = 1,
acid_vulnerable = 1
})
PyuTestCore.make_building_blocks("pyutest_core:podzol", "Podzol", {"podzol.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:podzol", "Podzol", {"pyutest-podzol.png"}, nil, {
ground = 1,
acid_vulnerable = 1
})
PyuTestCore.make_building_blocks("pyutest_core:stone", "Stone", {"stone.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:stone", "Stone", {"pyutest-stone.png"}, nil, {
ground = 1,
stone = 1,
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE,
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:snow", "Snow", {"snow.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:snow", "Snow", {"pyutest-snow.png"}, nil, {
ground = 1,
acid_vulnerable = 1
})
PyuTestCore.make_building_blocks("pyutest_core:sand", "Sand", {"sand.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:sand", "Sand", {"pyutest-sand.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
falling_node = 1,
sugarcane_spawn_on = 1
})
PyuTestCore.make_building_blocks("pyutest_core:sandstone", "Sandstone", {"sandstone.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:sandstone", "Sandstone", {"pyutest-sandstone.png"}, nil, {
ground = 1,
acid_vulnerable = 1
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:ice", "Ice", {"ice.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:ice", "Ice", {"pyutest-ice.png"}, nil, {
ground = 1,
acid_vulnerable = 1,
slippery = 4
})
PyuTestCore.make_building_blocks("pyutest_core:mushroom", "Mushroom", {"mushroom.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:mushroom", "Mushroom", {"pyutest-mushroom.png"}, nil, {
flammable = 1
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:mushroom_stem", "Mushroom Stem", {"mushroom-stem.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:mushroom_stem", "Mushroom Stem", {"pyutest-mushroom-stem.png"}, nil, {
flammable = 1
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:mycelium", "Mycelium", {"mycelium.png"}, nil, {ground = 1})
PyuTestCore.make_building_blocks("pyutest_core:molten_rock", "Molten Rock", {"molten-rock.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:mycelium", "Mycelium", {"pyutest-mycelium.png"}, nil, {ground = 1})
PyuTestCore.make_building_blocks("pyutest_core:molten_rock", "Molten Rock", {"pyutest-molten-rock.png"}, nil, {
ground = 1,
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:basalt", "Basalt", {"basalt.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:basalt", "Basalt", {"pyutest-basalt.png"}, nil, {
ground = 1,
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:obsidian", "Obsidian", {"obsidian.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:obsidian", "Obsidian", {"pyutest-obsidian.png"}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_VERYLONG
}, {is_ground_content = false})
PyuTestCore.make_building_blocks("pyutest_core:haybale", "Haybale", {"haybale-top-bottom.png", "haybale-top-bottom.png", "haybale.png"}, nil)
PyuTestCore.make_building_blocks("pyutest_core:haybale", "Haybale", {
"pyutest-haybale-top-bottom.png",
"pyutest-haybale-top-bottom.png",
"pyutest-haybale.png"
}, nil)
-- keeping old ID for backwards compatibility
PyuTestCore.make_building_blocks("pyutest_core:crying_obsidian", "Enchanted Obsidian", {
"enchanted-obsidian.png"
"pyutest-enchanted-obsidian.png"
}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_VERYLONG
}, {
is_ground_content = false
})
PyuTestCore.make_building_blocks("pyutest_core:brick", "Brick", {"bricks.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:brick", "Brick", {"pyutest-bricks.png"}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {
is_ground_content = false
})
PyuTestCore.make_building_blocks("pyutest_core:stone_bricks", "Stone Bricks", {"stone-bricks.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:stone_bricks", "Stone Bricks", {"pyutest-stone-bricks.png"}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {
is_ground_content = false
})
PyuTestCore.make_building_blocks("pyutest_core:slime", "Slime", {"slime.png"}, nil, {bouncy = 85})
PyuTestCore.make_building_blocks("pyutest_core:slime", "Slime", {"pyutest-slime.png"}, nil, {bouncy = 85})
PyuTestCore.make_building_blocks("pyutest_core:clay", "Clay", {"clay-block.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:clay", "Clay", {"pyutest-clay-block.png"}, nil, {
acid_vulnerable = 1
})
PyuTestCore.make_building_blocks("pyutest_core:gravel", "Gravel", {"gravel.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:gravel", "Gravel", {"pyutest-gravel.png"}, nil, {
falling_node = 1,
acid_vulnerable = 1
})
PyuTestCore.make_building_blocks("pyutest_core:crystal_lantern", "Crystal Lantern", {"crystal-lantern.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:crystal_lantern", "Crystal Lantern", {"pyutest-crystal-lantern.png"}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {
light_source = minetest.LIGHT_MAX
})
PyuTestCore.make_building_blocks("pyutest_core:bone", "Bone", {
"bone-block-top-bottom.png",
"bone-block-top-bottom.png",
"bone-block.png"
"pyutest-bone-block-top-bottom.png",
"pyutest-bone-block-top-bottom.png",
"pyutest-bone-block.png"
}, nil, {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
})
@ -329,7 +333,7 @@ PyuTestCore.make_node("pyutest_core:light", "Light", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT,
light = 1
}, {
"light.png"
"pyutest-light.png"
}, {
drawtype = "torchlike",
walkable = false,
@ -343,9 +347,9 @@ PyuTestCore.make_node("pyutest_core:torch", "Torch", {
light = 1,
attached_node = 1
}, {
"torch.png",
"torch.png^[transform6",
"torch.png^[transform1"
"pyutest-torch.png",
"pyutest-torch.png^[transform6",
"pyutest-torch.png^[transform1"
}, {
light_source = minetest.LIGHT_MAX,
walkable = false,
@ -357,15 +361,11 @@ PyuTestCore.make_node("pyutest_core:torch", "Torch", {
PyuTestCore.make_node("pyutest_core:sponge", "Sponge", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT
}, {"sponge.png"}, {
on_timer = function(pos)
end
})
}, {"pyutest-sponge.png"})
PyuTestCore.make_node("pyutest_core:glass", "Glass", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT
}, {"glass.png"}, {
}, {"pyutest-glass.png"}, {
drawtype = "glasslike_framed",
paramtype = "light",
sunlight_propagates = true
@ -374,16 +374,20 @@ PyuTestCore.make_node("pyutest_core:glass", "Glass", {
PyuTestCore.make_node("pyutest_core:tree_sapling", "Tree Sapling", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT,
flammable = 1
}, {"sapling.png"}, {
}, {
"pyutest-sapling.png"
}, {
drawtype = "plantlike",
walkable = false,
waving = 1,
buildable_to = true,
paramtype = "light",
sunlight_propagates = true,
inventory_image = "sapling.png",
inventory_image = "pyutest-sapling.png",
on_timer = function (pos)
-- FIXME: Update to new tree schematic names
local trees = {
"tree",
"tree2",
@ -410,10 +414,11 @@ PyuTestCore.make_node("pyutest_core:tree_sapling", "Tree Sapling", {
end
})
-- FIXME: This has been in the game for a month, implement it already!
PyuTestCore.make_node("pyutest_core:trapdoor", "Trapdoor", {
block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY,
flammable = 1
}, {"trapdoor.png"}, {
}, {"pyutest-trapdoor.png"}, {
drawtype = "nodebox",
paramtype = "light",
sunlight_propagates = true,
@ -425,7 +430,7 @@ PyuTestCore.make_node("pyutest_core:trapdoor", "Trapdoor", {
PyuTestCore.make_node("pyutest_core:contagious_acid", "Contagious Acid", {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE,
}, {"acid.png"}, {})
}, {"pyutest-acid.png"}, {})
PyuTestCore.make_node("pyutest_core:barrier", "Barrier", {
block = PyuTestCore.BLOCK_BREAKABLE_FOREVER
@ -434,13 +439,13 @@ PyuTestCore.make_node("pyutest_core:barrier", "Barrier", {
walkable = true,
paramtype = "light",
sunlight_propagates = true,
inventory_image = "barrier.png",
wield_image = "barrier.png"
inventory_image = "pyutest-barrier.png",
wield_image = "pyutest-barrier.png"
})
PyuTestCore.make_node("pyutest_core:fire", "Fire", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT
}, {"fire.png"}, {
}, {"pyutest-fire.png"}, {
drawtype = "firelike",
walkable = false,
buildable_to = true,
@ -454,9 +459,9 @@ PyuTestCore.make_node("pyutest_core:fire", "Fire", {
PyuTestCore.make_node("pyutest_core:tnt", "TNT", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT
}, {
"tnt-top-bottom.png",
"tnt-top-bottom.png",
"tnt-side.png" -- Affects all other sides
"pyutest-tnt-top-bottom.png",
"pyutest-tnt-top-bottom.png",
"pyutest-tnt-side.png" -- Affects all other sides
}, {
on_rightclick = function (pos, _, clicker)
local timer = minetest.get_node_timer(pos)
@ -472,7 +477,7 @@ PyuTestCore.make_node("pyutest_core:tnt", "TNT", {
PyuTestCore.make_node("pyutest_core:crate", "Crate", {
block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY
}, {"crate.png"}, {
}, {"pyutest-crate.png"}, {
on_construct = function (pos)
local meta = minetest.get_meta(pos)
local inventory = meta:get_inventory()
@ -506,7 +511,11 @@ PyuTestCore.make_node("pyutest_core:crate", "Crate", {
PyuTestCore.make_node("pyutest_core:workbench", "Workbench", {
block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY
}, {"workbench-top.png", "workbench-bottom.png", "workbench-sides.png"}, {
}, {
"pyutest-workbench-top.png",
"pyutest-workbench-bottom.png",
"pyutest-workbench-sides.png"
}, {
on_rightclick = function(pos, node, clicker)
minetest.show_formspec(clicker:get_player_name(), "pyutest_core:workbench", table.concat({
"size[8,9]",
@ -518,7 +527,7 @@ PyuTestCore.make_node("pyutest_core:workbench", "Workbench", {
PyuTestCore.make_node("pyutest_core:ladder", "Ladder", {
block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY
}, {"ladder.png"}, {
}, {"pyutest-ladder.png"}, {
drawtype = "signlike",
paramtype = "light",
walkable = false,
@ -529,5 +538,5 @@ PyuTestCore.make_node("pyutest_core:ladder", "Ladder", {
selection_box = {
type = "wallmounted"
},
inventory_image = "ladder.png"
inventory_image = "pyutest-ladder.png"
})

View File

@ -14,7 +14,7 @@ PyuTestCore.make_sword = function (nsname, desc, texture, damage, durability, at
})
end
PyuTestCore.make_sword("pyutest_core:wooden_sword", "Wooden Sword", "wooden-sword.png", 4, 200, 1.8)
PyuTestCore.make_sword("pyutest_core:stone_sword", "Stone Sword", "stone-sword.png", 5, 450, 1.5)
PyuTestCore.make_sword("pyutest_core:iron_sword", "Iron Sword", "iron-sword.png", 7, 750, 1.2)
PyuTestCore.make_sword("pyutest_core:diamond_sword", "Diamond Sword", "diamond-sword.png", 12, 1200, 0.8)
PyuTestCore.make_sword("pyutest_core:wooden_sword", "Wooden Sword", "pyutest-wooden-sword.png", 4, 200, 1.8)
PyuTestCore.make_sword("pyutest_core:stone_sword", "Stone Sword", "pyutest-stone-sword.png", 5, 450, 1.5)
PyuTestCore.make_sword("pyutest_core:iron_sword", "Iron Sword", "pyutest-iron-sword.png", 7, 750, 1.2)
PyuTestCore.make_sword("pyutest_core:diamond_sword", "Diamond Sword", "pyutest-diamond-sword.png", 12, 1200, 0.8)

View File

@ -1,3 +1,5 @@
-- TODO: Bring electricity back one day.
PyuTestCore.ELECTRICITY_UPDATE_TIME = 0.1
local function set_electrified(pos, value)
@ -228,7 +230,7 @@ PyuTestCore.make_device("pyutest_core:freezer", "Freezer Device", "skyblue", "py
PyuTestCore.dorange(pos, 3, function(p)
local node = minetest.get_node_or_nil(p)
if node == nil then return end
if minetest.get_item_group(node.name, "water") ~= 0 then
minetest.set_node(p, {name = "pyutest_core:ice_block"})
elseif minetest.get_item_group(node.name, "lava") ~= 0 then

View File

@ -31,23 +31,23 @@ PyuTestCore.make_flower = function (name, desc, texture, dye, add_to_registry, d
end
-- Plants from before the floral update
PyuTestCore.make_flower("pyutest_core:rose", "Rose", "flower.png", "pyutest_core:red_dye", true)
PyuTestCore.make_flower("pyutest_core:dandelion", "Dandelion", "flower2.png", "pyutest_core:yellow_dye", true)
PyuTestCore.make_flower("pyutest_core:blue_daisy", "Blue Daisy", "flower3.png", "pyutest_core:blue_dye", true)
PyuTestCore.make_flower("pyutest_core:lavender", "Lavender", "flower4.png", "pyutest_core:purple_dye", true)
PyuTestCore.make_flower("pyutest_core:rose", "Rose", "pyutest-flower.png", "pyutest_core:red_dye", true)
PyuTestCore.make_flower("pyutest_core:dandelion", "Dandelion", "pyutest-flower2.png", "pyutest_core:yellow_dye", true)
PyuTestCore.make_flower("pyutest_core:blue_daisy", "Blue Daisy", "pyutest-flower3.png", "pyutest_core:blue_dye", true)
PyuTestCore.make_flower("pyutest_core:lavender", "Lavender", "pyutest-flower4.png", "pyutest_core:purple_dye", true)
minetest.register_alias("pyutest_core:flower", "pyutest_core:rose")
minetest.register_alias("pyutest_core:flower2", "pyutest_core:dandelion")
minetest.register_alias("pyutest_core:flower3", "pyutest_core:blue_daisy")
minetest.register_alias("pyutest_core:flower4", "pyutest_core:lavender")
PyuTestCore.make_flower("pyutest_core:deadbush", "Deadbush", "deadbush.png", "pyutest_core:brown_dye")
PyuTestCore.make_flower("pyutest_core:grass_plant", "Grass", "grass-plant.png", "pyutest_core:green_dye")
PyuTestCore.make_flower("pyutest_core:sugarcane", "Sugarcane", "sugarcane.png", "pyutest_core:green_dye", false, nil)
PyuTestCore.make_flower("pyutest_core:deadbush", "Deadbush", "pyutest-deadbush.png", "pyutest_core:brown_dye")
PyuTestCore.make_flower("pyutest_core:grass_plant", "Grass", "pyutest-grass-plant.png", "pyutest_core:green_dye")
PyuTestCore.make_flower("pyutest_core:sugarcane", "Sugarcane", "pyutest-sugarcane.png", "pyutest_core:green_dye", false, nil)
PyuTestCore.make_node("pyutest_core:lilypad", "Lily Pad", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT
}, {"lilypad.png"}, {
}, {"pyutest-lilypad.png"}, {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
@ -60,15 +60,15 @@ PyuTestCore.make_node("pyutest_core:lilypad", "Lily Pad", {
})
-- Plants after the floral update
PyuTestCore.make_flower("pyutest_core:maybell", "Maybell", "maybell.png", "pyutest_core:white_dye", true)
PyuTestCore.make_flower("pyutest_core:orange_tulip", "Orange Tulip", "orange-tulip.png", "pyutest_core:orange_dye", true)
PyuTestCore.make_flower("pyutest_core:black_rose", "Black Rose", "black-rose.png", "pyutest_core:black_dye", true)
PyuTestCore.make_flower("pyutest_core:maybell", "Maybell", "pyutest-maybell.png", "pyutest_core:white_dye", true)
PyuTestCore.make_flower("pyutest_core:orange_tulip", "Orange Tulip", "pyutest-orange-tulip.png", "pyutest_core:orange_dye", true)
PyuTestCore.make_flower("pyutest_core:black_rose", "Black Rose", "pyutest-black-rose.png", "pyutest_core:black_dye", true)
PyuTestCore.make_node("pyutest_core:vines", "Vines", {
block = PyuTestCore.BLOCK_BREAKABLE_INSTANT,
attached_node = 1,
flammable = 1
}, {"vines.png"}, {
}, {"pyutest-vines.png"}, {
drawtype = "signlike",
paramtype = "light",
walkable = false,
@ -79,21 +79,21 @@ PyuTestCore.make_node("pyutest_core:vines", "Vines", {
selection_box = {
type = "wallmounted"
},
inventory_image = "vines.png"
inventory_image = "pyutest-vines.png"
})
PyuTestCore.make_flower("pyutest_core:kelp", "Kelp", "kelp.png", "pyutest_core:green_dye", false, "plantlike_rooted", {
PyuTestCore.make_flower("pyutest_core:kelp", "Kelp", "pyutest-kelp.png", "pyutest_core:green_dye", false, "plantlike_rooted", {
paramtype2 = "leveled",
place_param2 = 128,
wield_image = "kelp.png",
wield_image = "pyutest-kelp.png",
special_tiles = {
{
image = "kelp.png",
image = "pyutest-kelp.png",
tileable_vertical = true
},
},
tiles = {
"gravel.png"
"pyutest-gravel.png"
},
walkable = true
@ -102,7 +102,7 @@ PyuTestCore.make_flower("pyutest_core:kelp", "Kelp", "kelp.png", "pyutest_core:g
PyuTestCore.make_flower("pyutest_core:small_mushroom",
"Small Mushroom",
"mushroom-small.png",
"pyutest-mushroom-small.png",
"pyutest_core:red_dye",
false, nil, {
groups = {

View File

@ -18,12 +18,12 @@ end
PyuTestCore.make_node("pyutest_core:furnace", "Furnace", {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
}, {
"furnace-top-bottom.png",
"furnace-top-bottom.png",
"furnace-sides.png",
"furnace-sides.png",
"furnace-sides.png",
"furnace-front.png",
"pyutest-furnace-top-bottom.png",
"pyutest-furnace-top-bottom.png",
"pyutest-furnace-sides.png",
"pyutest-furnace-sides.png",
"pyutest-furnace-sides.png",
"pyutest-furnace-front.png",
}, {
is_ground_content = false,
paramtype2 = "facedir",
@ -42,7 +42,7 @@ PyuTestCore.make_node("pyutest_core:furnace", "Furnace", {
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
local function smelt()
local src = inv:get_stack("src", 1)
local fuel = inv:get_stack("fuel", 1)

View File

@ -15,23 +15,23 @@ PyuTestCore.make_item = function (nsname, desc, groups, wield_image, extra_conf)
minetest.register_craftitem(nsname, conf)
end
PyuTestCore.make_item("pyutest_core:stick", "Stick", {}, "stick.png")
PyuTestCore.make_item("pyutest_core:stick", "Stick", {}, "pyutest-stick.png")
PyuTestCore.make_item("pyutest_core:bone", "Bone", {}, "bone.png", {
PyuTestCore.make_item("pyutest_core:bone", "Bone", {}, "pyutest-bone.png", {
stack_max = 99
})
PyuTestCore.make_item("pyutest_core:gunpowder", "Gunpowder", {}, "powder.png", {
PyuTestCore.make_item("pyutest_core:gunpowder", "Gunpowder", {}, "pyutest-powder.png", {
color = "dimgray",
})
PyuTestCore.make_item("pyutest_core:ash", "Ash", {}, "powder.png", {
PyuTestCore.make_item("pyutest_core:ash", "Ash", {}, "pyutest-powder.png", {
color = "gray",
})
PyuTestCore.make_item("pyutest_core:sugar", "Sugar", {}, "powder.png")
PyuTestCore.make_item("pyutest_core:sugar", "Sugar", {}, "pyutest-powder.png")
PyuTestCore.make_item("pyutest_core:coin", "Coin", {}, "coin.png", {
PyuTestCore.make_item("pyutest_core:coin", "Coin", {}, "pyutest-coin.png", {
on_secondary_use = function (_, user)
local pos = user:get_pos()
minetest.sound_play({name = "coin", gain = 1}, {
@ -41,15 +41,15 @@ PyuTestCore.make_item("pyutest_core:coin", "Coin", {}, "coin.png", {
end
})
PyuTestCore.make_item("pyutest_core:wheat", "Wheat", {}, "wheat.png")
PyuTestCore.make_item("pyutest_core:string", "String", {}, "string.png")
PyuTestCore.make_item("pyutest_core:egg", "Egg", {}, "egg.png", {
PyuTestCore.make_item("pyutest_core:wheat", "Wheat", {}, "pyutest-wheat.png")
PyuTestCore.make_item("pyutest_core:string", "String", {}, "pyutest-string.png")
PyuTestCore.make_item("pyutest_core:egg", "Egg", {}, "pyutest-egg.png", {
color = "peachpuff"
})
PyuTestCore.make_item("pyutest_core:clay", "Clay Ball", {}, "clay.png")
PyuTestCore.make_item("pyutest_core:glass_bottle", "Glass Bottle", {}, "glass-bottle.png", {
PyuTestCore.make_item("pyutest_core:clay", "Clay Ball", {}, "pyutest-clay.png")
PyuTestCore.make_item("pyutest_core:glass_bottle", "Glass Bottle", {}, "pyutest-glass-bottle.png", {
stack_max = 16
})
PyuTestCore.make_item("pyutest_core:brick", "Brick", {}, "brick.png")
PyuTestCore.make_item("pyutest_core:snowball", "Snowball", {}, "snowball.png")
PyuTestCore.make_item("pyutest_core:bone", "Bone", {}, "bone.png")
PyuTestCore.make_item("pyutest_core:brick", "Brick", {}, "pyutest-brick.png")
PyuTestCore.make_item("pyutest_core:snowball", "Snowball", {}, "pyutest-snowball.png")
PyuTestCore.make_item("pyutest_core:bone", "Bone", {}, "pyutest-bone.png")

View File

@ -27,9 +27,9 @@ PyuTestCore.make_leaves = function (id, desc, tiles)
})
end
PyuTestCore.make_leaves(nil, nil, {"leaves.png"})
PyuTestCore.make_leaves("pyutest_core:snowy", "Snowy", {"snowy-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:cherry", "Cherry", {"cherry-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:dark", "Dark", {"dark-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:aspen", "Aspen", {"aspen-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:red_aspen", "Red Aspen", {"red-aspen-leaves.png"})
PyuTestCore.make_leaves(nil, nil, {"pyutest-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:snowy", "Snowy", {"pyutest-snowy-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:cherry", "Cherry", {"pyutest-cherry-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:dark", "Dark", {"pyutest-dark-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:aspen", "Aspen", {"pyutest-aspen-leaves.png"})
PyuTestCore.make_leaves("pyutest_core:red_aspen", "Red Aspen", {"pyutest-red-aspen-leaves.png"})

View File

@ -48,18 +48,18 @@ end
PyuTestCore.make_liquid("pyutest_core:water", "Water", {
water = 1
}, "water.png", 1, {
}, "pyutest-water.png", 1, {
post_effect_color = {a=60, r=24.7, g=46.3, b=89.4},
paramtype2 = "color",
})
PyuTestCore.make_liquid("pyutest_core:lava", "Lava", {
lava = 1
}, "lava.png", 5, {
}, "pyutest-lava.png", 5, {
damage_per_second = 2,
light_source = 8
})
PyuTestCore.make_liquid("pyutest_core:oil", "Oil", {}, "oil.png", 3)
PyuTestCore.make_liquid("pyutest_core:liquid_acid", "Acid", {}, "acid.png", 7, {
PyuTestCore.make_liquid("pyutest_core:oil", "Oil", {}, "pyutest-oil.png", 3)
PyuTestCore.make_liquid("pyutest_core:liquid_acid", "Acid", {}, "pyutest-acid.png", 7, {
damage_per_second = 2
})

View File

@ -6,7 +6,7 @@ PyuTestCore.make_lootbox = function (name, dname, items)
block = PyuTestCore.BLOCK_BREAKABLE_CHOPPY,
not_in_creative_inventory = 1
},
tiles = {"crate.png"},
tiles = {"pyutest-crate.png"},
sounds = PyuTestCore.make_node_sounds(),
on_rightclick = function (pos, _, clicker)
if clicker == nil then return end
@ -20,7 +20,8 @@ PyuTestCore.make_lootbox = function (name, dname, items)
gain = 1
})
minetest.remove_node(pos)
end
end,
color = "green"
})
end

View File

@ -1,4 +1,4 @@
PyuTestCore.make_item("pyutest_core:magic_shards", "Magic Shards", {}, "magic-shards.png")
PyuTestCore.make_item("pyutest_core:magic_shards", "Magic Shards", {}, "pyutest-magic-shards.png")
minetest.override_item("pyutest_core:crying_obsidian_block", {
drop = {
max_items = 1,
@ -20,7 +20,7 @@ PyuTestCore.make_spellbook = function (nsname, desc, color, craftitem, action)
action = function(_, _, _)end
end
PyuTestCore.make_item(nsname, desc, {}, "spellbook.png", {
PyuTestCore.make_item(nsname, desc, {}, "pyutest-spellbook.png", {
stack_max = 1,
color = color,
on_use = function (itemstack, user, pointed_thing)
@ -68,7 +68,7 @@ PyuTestCore.make_spellbook("pyutest_core:fire_spellbook", "Spellbook of Fire", "
end)
PyuTestCore.make_item("pyutest_core:enchanted_shard", "Enchanted Shard", {}, "shard.png", {
PyuTestCore.make_item("pyutest_core:enchanted_shard", "Enchanted Shard", {}, "pyutest-shard.png", {
color = "indigo",
})
@ -81,7 +81,7 @@ minetest.register_craft({
}
})
PyuTestCore.make_tool("pyutest_core:enchanted_pickaxe", "Enchanted Pickaxe", {}, "enchanted-pickaxe.png", {
PyuTestCore.make_tool("pyutest_core:enchanted_pickaxe", "Enchanted Pickaxe", {}, "pyutest-enchanted-pickaxe.png", {
stack_max = 1,
tool_capabilities = {
groupcaps = {
@ -112,7 +112,7 @@ minetest.register_craft({
}
})
PyuTestCore.make_sword("pyutest_core:enchanted_sword", "Enchanted Sword", "enchanted-sword.png", 15, 3600, 0.6)
PyuTestCore.make_sword("pyutest_core:enchanted_sword", "Enchanted Sword", "pyutest-enchanted-sword.png", 15, 3600, 0.6)
minetest.register_craft({

View File

@ -1,10 +1,10 @@
PyuTestCore.make_building_blocks("pyutest_core:granite", "Granite", {"granite.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:granite", "Granite", {"pyutest-granite.png"}, nil, {
ground = 1,
stone = 1,
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
})
PyuTestCore.make_building_blocks("pyutest_core:andesite", "Andesite", {"andesite.png"}, nil, {
PyuTestCore.make_building_blocks("pyutest_core:andesite", "Andesite", {"pyutest-andesite.png"}, nil, {
ground = 1,
stone = 1,
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE
@ -123,7 +123,7 @@ PyuTestCore.make_ore = function (id, desc, ifix, idfix, btxt, itxt, color, y_max
y_min = PyuTestCore_WorldBottom,
})
PyuTestCore.make_building_blocks(id, desc, {"metal.png"}, color, {block = block_type}, bconf or {})
PyuTestCore.make_building_blocks(id, desc, {"pyutest-metal.png"}, color, {block = block_type}, bconf or {})
local bid = id.."_block"
minetest.register_craft({
@ -144,17 +144,17 @@ PyuTestCore.make_ore = function (id, desc, ifix, idfix, btxt, itxt, color, y_max
end
-- Useful Ores
PyuTestCore.make_ore("pyutest_core:coal", "Coal", "lump", "Lump", "ore-coal.png", "lump.png", {r = 32, g = 32, b = 32}, 48, 8, 2, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:copper", "Copper", "ingot", "Ingot", "ore-copper.png", "ingot.png", "darkgoldenrod", 18, 11, 2, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:tin", "Tin", "ingot", "Ingot", "ore-tin.png", "ingot.png", "#8e8591", 18, 11, 1, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:iron", "Iron", "ingot", "Ingot", "ore-iron.png", "ingot.png", nil, 18, 11, 1)
PyuTestCore.make_ore("pyutest_core:gold", "Gold", "ingot", "Ingot", "ore-gold.png", "ingot.png", "gold", -75, 15.5, 1)
PyuTestCore.make_ore("pyutest_core:diamond", "Diamond", "shard", "Shard", "ore-diamond.png", "shard.png", "cyan", -90, 16.7, 1)
PyuTestCore.make_ore("pyutest_core:emerald", "Emerald", "shard", "Shard", "ore-emerald.png", "shard.png", "seagreen", -120, 18.3, 1)
PyuTestCore.make_ore("pyutest_core:coal", "Coal", "lump", "Lump", "pyutest-ore-coal.png", "pyutest-lump.png", {r = 32, g = 32, b = 32}, 48, 8, 2, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:copper", "Copper", "ingot", "Ingot", "pyutest-ore-copper.png", "pyutest-ingot.png", "darkgoldenrod", 18, 11, 2, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:tin", "Tin", "ingot", "Ingot", "pyutest-ore-tin.png", "pyutest-ingot.png", "#8e8591", 18, 11, 1, PyuTestCore.BLOCK_BREAKABLE_MIDDLE)
PyuTestCore.make_ore("pyutest_core:iron", "Iron", "ingot", "Ingot", "pyutest-ore-iron.png", "pyutest-ingot.png", nil, 18, 11, 1)
PyuTestCore.make_ore("pyutest_core:gold", "Gold", "ingot", "Ingot", "pyutest-ore-gold.png", "pyutest-ingot.png", "gold", -75, 15.5, 1)
PyuTestCore.make_ore("pyutest_core:diamond", "Diamond", "shard", "Shard", "pyutest-ore-diamond.png", "pyutest-shard.png", "cyan", -90, 16.7, 1)
PyuTestCore.make_ore("pyutest_core:emerald", "Emerald", "shard", "Shard", "pyutest-ore-emerald.png", "pyutest-shard.png", "seagreen", -120, 18.3, 1)
-- Ores without any special uses
PyuTestCore.make_ore("pyutest_core:zinc", "Zinc", "ingot", "Ingot", "ore-zinc.png", "ingot.png", "#bed3d4", 18, 13, 1)
PyuTestCore.make_ore("pyutest_core:lapis_lazuli", "Lapis Lazuli", "lump", "Lump", "ore-lapis.png", "lump.png", "#3848AC", -25, 13.4, 1)
PyuTestCore.make_ore("pyutest_core:amethyst_quartz", "Amethyst Quartz", "shard", "Shard", "ore-amethyst.png", "shard.png", "#9f7ba9", -50, 14.1, 1)
PyuTestCore.make_ore("pyutest_core:pink_quartz", "Pink Quartz", "shard", "Shard", "ore-pink-quartz.png", "shard.png", "#dbafdc", -50, 14.1, 1)
PyuTestCore.make_ore("pyutest_core:ruby", "Ruby", "shard", "Shard", "ore-ruby.png", "shard.png", "#992727", -75, 15.5, 1)
PyuTestCore.make_ore("pyutest_core:zinc", "Zinc", "ingot", "Ingot", "pyutest-ore-zinc.png", "pyutest-ingot.png", "#bed3d4", 18, 13, 1)
PyuTestCore.make_ore("pyutest_core:lapis_lazuli", "Lapis Lazuli", "lump", "Lump", "pyutest-ore-lapis.png", "pyutest-lump.png", "#3848AC", -25, 13.4, 1)
PyuTestCore.make_ore("pyutest_core:amethyst_quartz", "Amethyst Quartz", "shard", "Shard", "pyutest-ore-amethyst.png", "pyutest-shard.png", "#9f7ba9", -50, 14.1, 1)
PyuTestCore.make_ore("pyutest_core:pink_quartz", "Pink Quartz", "shard", "Shard", "pyutest-ore-pink-quartz.png", "pyutest-shard.png", "#dbafdc", -50, 14.1, 1)
PyuTestCore.make_ore("pyutest_core:ruby", "Ruby", "shard", "Shard", "pyutest-ore-ruby.png", "pyutest-shard.png", "#992727", -75, 15.5, 1)

View File

@ -47,7 +47,7 @@ end)
-- player hand
minetest.register_item(":", {
type = "none",
wield_image = "hand.png"
wield_image = "pyutest-hand.png"
})
if minetest.is_creative_enabled("") then

View File

@ -30,7 +30,7 @@ PyuTestCore.make_food = function (nsname, desc, wield_image, health_fill, extra_
})
end
PyuTestCore.make_tool("pyutest_core:wooden_pickaxe", "Wooden Pickaxe", {}, "wooden-pickaxe.png", {
PyuTestCore.make_tool("pyutest_core:wooden_pickaxe", "Wooden Pickaxe", {}, "pyutest-wooden-pickaxe.png", {
stack_max = 1,
tool_capabilities = {
groupcaps = {
@ -49,7 +49,7 @@ PyuTestCore.make_tool("pyutest_core:wooden_pickaxe", "Wooden Pickaxe", {}, "wood
}
})
PyuTestCore.make_tool("pyutest_core:stone_pickaxe", "Stone Pickaxe", {}, "stone-pickaxe.png", {
PyuTestCore.make_tool("pyutest_core:stone_pickaxe", "Stone Pickaxe", {}, "pyutest-stone-pickaxe.png", {
stack_max = 1,
tool_capabilities = {
groupcaps = {
@ -71,7 +71,7 @@ PyuTestCore.make_tool("pyutest_core:stone_pickaxe", "Stone Pickaxe", {}, "stone-
}
})
PyuTestCore.make_tool("pyutest_core:iron_pickaxe", "Iron Pickaxe", {}, "iron-pickaxe.png", {
PyuTestCore.make_tool("pyutest_core:iron_pickaxe", "Iron Pickaxe", {}, "pyutest-iron-pickaxe.png", {
stack_max = 1,
tool_capabilities = {
groupcaps = {
@ -93,7 +93,7 @@ PyuTestCore.make_tool("pyutest_core:iron_pickaxe", "Iron Pickaxe", {}, "iron-pic
}
})
PyuTestCore.make_tool("pyutest_core:diamond_pickaxe", "Diamond Pickaxe", {}, "diamond-pickaxe.png", {
PyuTestCore.make_tool("pyutest_core:diamond_pickaxe", "Diamond Pickaxe", {}, "pyutest-diamond-pickaxe.png", {
stack_max = 1,
tool_capabilities = {
groupcaps = {
@ -115,7 +115,7 @@ PyuTestCore.make_tool("pyutest_core:diamond_pickaxe", "Diamond Pickaxe", {}, "di
}
})
PyuTestCore.make_item("pyutest_core:bomb", "Bomb", {}, "bomb.png", {
PyuTestCore.make_item("pyutest_core:bomb", "Bomb", {}, "pyutest-bomb.png", {
stack_max = 16,
on_use = function (_, user)
if user == nil then
@ -130,7 +130,7 @@ PyuTestCore.make_item("pyutest_core:bomb", "Bomb", {}, "bomb.png", {
end
})
PyuTestCore.make_item("pyutest_core:windball", "Windball", {}, "windball.png", {
PyuTestCore.make_item("pyutest_core:windball", "Windball", {}, "pyutest-windball.png", {
stack_max = 16,
on_use = function (_, user)
if user == nil then
@ -156,6 +156,6 @@ PyuTestCore.make_item("pyutest_core:windball", "Windball", {}, "windball.png", {
})
PyuTestCore.make_food("pyutest_core:apple", "Apple", "apple.png", 5)
PyuTestCore.make_food("pyutest_core:bread", "Bread", "bread.png", 3)
PyuTestCore.make_food("pyutest_core:water_bottle", "Water Bottle", "water-bottle.png", 2)
PyuTestCore.make_food("pyutest_core:apple", "Apple", "pyutest-apple.png", 5)
PyuTestCore.make_food("pyutest_core:bread", "Bread", "pyutest-bread.png", 3)
PyuTestCore.make_food("pyutest_core:water_bottle", "Water Bottle", "pyutest-water-bottle.png", 2)

View File

@ -42,49 +42,49 @@ PyuTestCore.make_wood = function (id, desc, ltiles, btiles)
end
PyuTestCore.make_wood("pyutest_core:wooden", "Oak", {
"log-top-bottom.png",
"log-top-bottom.png",
"log.png"
"pyutest-log-top-bottom.png",
"pyutest-log-top-bottom.png",
"pyutest-log.png"
}, {
"wood.png"
"pyutest-wood.png"
})
PyuTestCore.make_wood("pyutest_core:savanna", "Savanna", {
"savanna-log-top-bottom.png",
"savanna-log-top-bottom.png",
"savanna-log.png"
"pyutest-savanna-log-top-bottom.png",
"pyutest-savanna-log-top-bottom.png",
"pyutest-savanna-log.png"
}, {
"savanna-wood.png"
"pyutest-savanna-wood.png"
})
PyuTestCore.make_wood("pyutest_core:birch", "Birch", {
"birch-log-top-bottom.png",
"birch-log-top-bottom.png",
"birch-log.png"
"pyutest-birch-log-top-bottom.png",
"pyutest-birch-log-top-bottom.png",
"pyutest-birch-log.png"
}, {
"birch-wood.png"
"pyutest-birch-wood.png"
})
PyuTestCore.make_wood("pyutest_core:cherry", "Cherry", {
"cherry-log-top-bottom.png",
"cherry-log-top-bottom.png",
"cherry-log.png"
"pyutest-cherry-log-top-bottom.png",
"pyutest-cherry-log-top-bottom.png",
"pyutest-cherry-log.png"
}, {
"cherry-wood.png"
"pyutest-cherry-wood.png"
})
PyuTestCore.make_wood("pyutest_core:redwood", "Redwood", {
"redwood-log-top-bottom.png",
"redwood-log-top-bottom.png",
"redwood-log.png"
"pyutest-redwood-log-top-bottom.png",
"pyutest-redwood-log-top-bottom.png",
"pyutest-redwood-log.png"
}, {
"redwood.png"
"pyutest-redwood.png"
})
PyuTestCore.make_wood("pyutest_core:jungle", "Jungle", {
"jungle-log-top-bottom.png",
"jungle-log-top-bottom.png",
"jungle-log.png"
"pyutest-jungle-log-top-bottom.png",
"pyutest-jungle-log-top-bottom.png",
"pyutest-jungle-log.png"
}, {
"jungle-wood.png"
"pyutest-jungle-wood.png"
})

View File

@ -1,18 +1,18 @@
PyuTestCore.make_colored_blocks = function(name, desc, color)
PyuTestCore.make_building_blocks(name.."_wool", desc.." Wool", {
"wool.png"
"pyutest-wool.png"
}, color or "white", {
colored = 1
})
PyuTestCore.make_building_blocks(name.."_terracotta", desc .. " Terracotta", {
"terracotta.png"
"pyutest-terracotta.png"
}, color or "white", {
block = PyuTestCore.BLOCK_BREAKABLE_MIDDLE,
colored = 1
})
PyuTestCore.make_item(name.."_dye", desc.." Dye", {}, "dye.png", {
PyuTestCore.make_item(name.."_dye", desc.." Dye", {}, "pyutest-dye.png", {
color = color or "white"
})

View File

@ -8,7 +8,7 @@ PyuTestMapgen.register_structure = function (name, schematic, def)
not_in_creative_inventory = 1
},
tiles = {
"stick.png"
"pyutest-stick.png"
},
walkable = false,
pointable = false,

View File

@ -21,7 +21,7 @@ PyuTestMobs.create_boss_egg = function(mob_id, desc, texture, addegg, no_creativ
local cage_id = "pyutest_mobs:"..mob_name.."_spawn_cage"
PyuTestCore.make_node(cage_id, desc:gsub("Spawn Egg", "") .. "Boss Spawner Cage", {
block = PyuTestCore.BLOCK_BREAKABLE_LONG
}, {"cage.png"}, {
}, {"pyutest-cage.png"}, {
drawtype = "glasslike",
on_rightclick = function(pos)
mobs:add_mob(vector.add(pos, vector.new(0, 1, 0)), {

View File

@ -24,7 +24,7 @@ mobs:register_mob("pyutest_mobs:monster", {
makes_footstep_sound = true,
textures = {
"monster.png", "monster_back.png"
"pyutest-monster.png", "pyutest-monster_back.png"
},
drops = {
@ -36,7 +36,7 @@ mobs:register_mob("pyutest_mobs:monster", {
}
}
})
mobs:register_egg("pyutest_mobs:monster", "Monster Spawn Egg", "egg.png^[multiply:darkgreen", 0)
mobs:register_egg("pyutest_mobs:monster", "Monster Spawn Egg", "pyutest-egg.png^[multiply:darkgreen", 0)
mobs:register_mob("pyutest_mobs:human", {
type = "npc",
@ -71,7 +71,7 @@ mobs:register_mob("pyutest_mobs:human", {
}
}
})
mobs:register_egg("pyutest_mobs:human", "Human Spawn Egg", "egg.png^[multiply:peachpuff", 0)
mobs:register_egg("pyutest_mobs:human", "Human Spawn Egg", "pyutest-egg.png^[multiply:peachpuff", 0)
mobs:register_mob("pyutest_mobs:mimic", {
type = "monster",
@ -91,12 +91,19 @@ mobs:register_mob("pyutest_mobs:mimic", {
collisionbox = {
-0.25, -0.5, -0.25, 0.25, 0.5, 0.25
},
textures = {"crate.png", "crate.png", "crate.png", "crate.png", "crate.png", "crate.png"},
textures = {
"pyutest-crate.png",
"pyutest-crate.png",
"pyutest-crate.png",
"pyutest-crate.png",
"pyutest-crate.png",
"pyutest-crate.png"
},
view_range = 12,
blood_amount = PyuTestMobs.ENTITY_BLOOD_AMOUNT,
reach = 2,
})
mobs:register_egg("pyutest_mobs:mimic", "Mimic Spawn Egg", "egg.png^[multiply:brown", 0)
mobs:register_egg("pyutest_mobs:mimic", "Mimic Spawn Egg", "pyutest-egg.png^[multiply:brown", 0)
mobs:register_mob("pyutest_mobs:firefly", {
type = "animal",
@ -115,8 +122,8 @@ mobs:register_mob("pyutest_mobs:firefly", {
collisionbox = {
-0.0, -0.0, -0.0, 0.0, 0.0, 0.0
},
textures = {"firefly.png"},
textures = {"pyutest-firefly.png"},
blood_amount = PyuTestMobs.ENTITY_BLOOD_AMOUNT,
glow = 7,
})
mobs:register_egg("pyutest_mobs:firefly", "Firefly Spawn Egg", "egg.png^[multiply:yellow", 0)
mobs:register_egg("pyutest_mobs:firefly", "Firefly Spawn Egg", "pyutest-egg.png^[multiply:yellow", 0)

View File

@ -7,7 +7,7 @@ end
mobs:register_arrow("pyutest_mobs:arrow_necroball", {
visual = "sprite",
visual_size = {x = 1, y = 1},
textures = {"necroball.png"},
textures = {"pyutest-necroball.png"},
hit_player = necroball_hit_player,
hit_mob = necroball_hit_player,
@ -60,7 +60,7 @@ mobs:register_mob("pyutest_mobs:necromancer", {
},
makes_footstep_sound = true,
textures = {
"necromancer.png", "necromancer_back.png"
"pyutest-necromancer.png", "pyutest-necromancer_back.png"
},
drops = {
{
@ -83,5 +83,5 @@ mobs:register_mob("pyutest_mobs:necromancer", {
dogshoot_count2_max = 6,
})
PyuTestMobs.create_boss_egg("pyutest_mobs:necromancer", "Necromancer Spawn Egg",
"egg.png^[multiply:dimgray", 0, nil,
"pyutest-egg.png^[multiply:dimgray", 0, nil,
"pyutest_core:bone")

View File

@ -7,7 +7,7 @@ end
mobs:register_arrow("pyutest_mobs:arrow_snowball", {
visual = "sprite",
visual_size = {x = 1, y = 1},
textures = {"snowball.png"},
textures = {"pyutest-snowball.png"},
hit_node = function (self, pos)
PyuTestCore.create_explosion(pos, 1, false, 9, self.object, false)
end,
@ -53,7 +53,7 @@ mobs:register_mob("pyutest_mobs:snowman", {
dogshoot_count2_max = 6,
textures = {
"snowman.png", "snowman_back.png"
"pyutest-snowman.png", "pyutest-snowman_back.png"
},
drops = {
@ -73,5 +73,5 @@ mobs:register_mob("pyutest_mobs:snowman", {
}
})
PyuTestMobs.create_boss_egg("pyutest_mobs:snowman", "Snowman Spawn Egg",
"egg.png^[multiply:skyblue", 0, nil,
"pyutest-egg.png^[multiply:skyblue", 0, nil,
"pyutest_core:snow_block")

View File

@ -14,7 +14,7 @@ end
mobs:register_arrow("pyutest_mobs:arrow_windball", {
visual = "sprite",
visual_size = {x = 1, y = 1},
textures = {"windball.png"},
textures = {"pyutest-windball.png"},
hit_player = windball_hit_player,
hit_mob = windball_hit_player,
velocity = 9,
@ -56,7 +56,7 @@ mobs:register_mob("pyutest_mobs:wind_warrior", {
dogshoot_count2_max = 6,
textures = {
"wind-warrior.png", "wind-warrior_back.png"
"pyutest-wind-warrior.png", "pyutest-wind-warrior_back.png"
},
drops = {
@ -76,6 +76,6 @@ mobs:register_mob("pyutest_mobs:wind_warrior", {
}
})
PyuTestMobs.create_boss_egg("pyutest_mobs:wind_warrior", "Wind Warrior Spawn Egg",
"egg.png^[multiply:white", 0, nil,
"pyutest-egg.png^[multiply:white", 0, nil,
-- just a place holder until more wind-related items come.
"pyutest_core:iron_ingot")

View File

@ -1 +0,0 @@
wood.png

View File

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

View File

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 280 B

View File

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

View File

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 259 B

View File

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 287 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 246 B

View File

Before

Width:  |  Height:  |  Size: 185 B

After

Width:  |  Height:  |  Size: 185 B

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 146 B

View File

Before

Width:  |  Height:  |  Size: 205 B

After

Width:  |  Height:  |  Size: 205 B

View File

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 193 B

View File

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 168 B

View File

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

View File

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

View File

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 164 B

View File

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

View File

Before

Width:  |  Height:  |  Size: 185 B

After

Width:  |  Height:  |  Size: 185 B

View File

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

View File

Before

Width:  |  Height:  |  Size: 118 B

After

Width:  |  Height:  |  Size: 118 B

View File

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 340 B

View File

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View File

Before

Width:  |  Height:  |  Size: 235 B

After

Width:  |  Height:  |  Size: 235 B

View File

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

View File

Before

Width:  |  Height:  |  Size: 269 B

After

Width:  |  Height:  |  Size: 269 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 175 B

View File

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 220 B

View File

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 206 B

View File

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

View File

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 276 B

View File

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 182 B

View File

Before

Width:  |  Height:  |  Size: 172 B

After

Width:  |  Height:  |  Size: 172 B

View File

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 277 B

View File

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 239 B

View File

Before

Width:  |  Height:  |  Size: 381 B

After

Width:  |  Height:  |  Size: 381 B

View File

Before

Width:  |  Height:  |  Size: 152 B

After

Width:  |  Height:  |  Size: 152 B

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 303 B

View File

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 245 B

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

View File

Before

Width:  |  Height:  |  Size: 74 B

After

Width:  |  Height:  |  Size: 74 B

View File

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 197 B

View File

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 161 B

View File

Before

Width:  |  Height:  |  Size: 144 B

After

Width:  |  Height:  |  Size: 144 B

View File

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 160 B

View File

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

View File

Before

Width:  |  Height:  |  Size: 134 B

After

Width:  |  Height:  |  Size: 134 B

View File

Before

Width:  |  Height:  |  Size: 110 B

After

Width:  |  Height:  |  Size: 110 B

View File

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 170 B

View File

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View File

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 305 B

View File

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 253 B

View File

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 304 B

View File

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View File

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

View File

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 217 B

View File

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

View File

Before

Width:  |  Height:  |  Size: 258 B

After

Width:  |  Height:  |  Size: 258 B

View File

Before

Width:  |  Height:  |  Size: 180 B

After

Width:  |  Height:  |  Size: 180 B

View File

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

View File

Before

Width:  |  Height:  |  Size: 235 B

After

Width:  |  Height:  |  Size: 235 B

View File

Before

Width:  |  Height:  |  Size: 260 B

After

Width:  |  Height:  |  Size: 260 B

View File

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View File

Before

Width:  |  Height:  |  Size: 236 B

After

Width:  |  Height:  |  Size: 236 B

View File

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 146 B

View File

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 208 B

View File

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B

View File

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 285 B

View File

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View File

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

View File

Before

Width:  |  Height:  |  Size: 179 B

After

Width:  |  Height:  |  Size: 179 B

View File

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

View File

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 175 B

View File

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

View File

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 230 B

Some files were not shown because too many files have changed in this diff Show More