Ben wrote:The screenshot does not seem to work – calling the URL directly gives something of an "invalid cookie" error. Did you maybe link to a version that requires you to be logged in?
Napiophelios wrote:we need some rainbow armor now :)
Krock wrote:That's true. Add a soft-dependency on 3d_armor and add the items if the mod is enabled.
Krock wrote:That's true. Add a soft-dependency on 3d_armor and add the items if the mod is enabled.
-- Register helmets:
minetest.register_tool("rainbowore:helmet_warrior", {
description = "Rainbow Warrior's Helmet",
inventory_image = "rainbow_inv_helmet_warrior.png",
groups = {armor_head = 10, armor_heal = 12, armor_use = 300},
wear = 0,
})
-- Register chestplates:
minetest.register_tool("rainbowore:chestplate_warrior", {
description = "Rainbow Warrior's Chestplate",
inventory_image = "rainbow_inv_chestplate_warrior.png",
groups = {armor_torso = 15, armor_heal = 12, armor_use = 300},
wear = 0,
})
-- Register leggings:
minetest.register_tool("rainbowore:leggings_warrior", {
description = "Rainbow Warrior's Leggings",
inventory_image = "rainbow_inv_leggings_warrior.png",
groups = {armor_legs = 15, armor_heal = 12, armor_use = 300},
wear = 0,
})
-- Register boots:
minetest.register_tool("rainbowore:boots_warrior", {
description = "Rainbow Warrior's Boots",
inventory_image = "rainbow_inv_boots_warrior.png",
groups = {armor_feet = 10, armor_heal = 12, armor_use = 300},
wear = 0,
})
-- Register crafting recipes for Armor:
ARMOR_MATERIALS = {
warrior = "rainbowore:rainbow_ore_ingot",
}
for k, v in pairs(ARMOR_MATERIALS) do
minetest.register_craft({
output = "rainbowore:helmet_"..k,
recipe = {
{v, v, v},
{v, "", v},
{"", "", ""},
},
})
minetest.register_craft({
output = "rainbowore:chestplate_"..k,
recipe = {
{v, "", v},
{v, v, v},
{v, v, v},
},
})
minetest.register_craft({
output = "rainbowore:leggings_"..k,
recipe = {
{v, v, v},
{v, "", v},
{v, "", v},
},
})
minetest.register_craft({
output = "rainbowore:boots_"..k,
recipe = {
{v, "", v},
{v, "", v},
},
})
end
Napiophelios wrote:I think you also add
3d_armor?
to the depends text file.
BBmine wrote:It would be nice if rainbow ore blocks could craft into a nyancat rainbow.
KingSmarty wrote:BBmine wrote:It would be nice if rainbow ore blocks could craft into a nyancat rainbow.
Anyone else interested in that feature?
BBmine wrote:It would be nice if rainbow ore ingots could craft into a nyancat rainbow.
EDIT: ingots, not blocks
Users browsing this forum: No registered users and 46 guests