88 lines
1.9 KiB
Lua
88 lines
1.9 KiB
Lua
|
-- UwU Ore
|
||
|
minetest.register_node("uwu:stone_with_uwu", {
|
||
|
description = S("Mena UwU"),
|
||
|
tiles = {"default_stone.png^uwu_mena.png"},
|
||
|
is_ground_content = true,
|
||
|
groups = {cracky=2, level=1},
|
||
|
drop = {
|
||
|
max_items = 8,
|
||
|
items = {
|
||
|
{
|
||
|
items = {'uwu:cristalcitos_uwus 2'},
|
||
|
},
|
||
|
{
|
||
|
items = {'uwu:cristalcitos_uwus'},
|
||
|
rarity = 2,
|
||
|
},
|
||
|
{
|
||
|
items = {'uwu:cristalcitos_uwus'},
|
||
|
rarity = 3,
|
||
|
},
|
||
|
{
|
||
|
items = {'uwu:cristalcitos_uwus'},
|
||
|
rarity = 8,
|
||
|
},
|
||
|
}
|
||
|
},
|
||
|
sounds = default.node_sound_glass_defaults(),
|
||
|
})
|
||
|
|
||
|
-- UWU Item
|
||
|
minetest.register_craftitem("uwu:cristalcitos_uwus", {
|
||
|
description = S("Cristalcito UwU"),
|
||
|
inventory_image = "uwu_item.png",
|
||
|
})
|
||
|
|
||
|
-- UwU Bloque
|
||
|
minetest.register_node("uwu:bloque_uwu", {
|
||
|
description = S("Bloque UwU"),
|
||
|
tiles = {"uwu_bloque.png"},
|
||
|
is_ground_content = true,
|
||
|
groups = {cracky = 1, level = 2},
|
||
|
sounds = default.node_sound_glass_defaults(),
|
||
|
})
|
||
|
|
||
|
-- UwU Crafteo de Bloque
|
||
|
minetest.register_craft({
|
||
|
output = 'uwu:bloque_uwu',
|
||
|
recipe = {
|
||
|
{'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus'},
|
||
|
{'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus'},
|
||
|
{'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus', 'uwu:cristalcitos_uwus'},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
-- Cristalcitos uwus hacen algo más uwu... el bloque uwu :D!
|
||
|
minetest.register_craft({
|
||
|
output = 'uwu:cristalcitos_uwus 9',
|
||
|
recipe = {
|
||
|
{'uwu:bloque_uwu'},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
-- UwU generation
|
||
|
-- -128 <-> -255
|
||
|
minetest.register_ore({
|
||
|
ore_type = "scatter",
|
||
|
ore = "uwu:stone_with_uwu",
|
||
|
wherein = "default:stone",
|
||
|
clust_scarcity = 16 * 16 * 16,
|
||
|
clust_num_ores = 5,
|
||
|
clust_size = 3,
|
||
|
height_min = -255,
|
||
|
height_max = -128,
|
||
|
})
|
||
|
|
||
|
-- -256 <-> -31000
|
||
|
minetest.register_ore({
|
||
|
ore_type = "scatter",
|
||
|
ore = "uwu:stone_with_uwu",
|
||
|
wherein = "default:stone",
|
||
|
clust_scarcity = 15 * 15 * 15,
|
||
|
clust_num_ores = 6,
|
||
|
clust_size = 4,
|
||
|
height_min = -31000,
|
||
|
height_max = -256,
|
||
|
})
|
||
|
|