2020-11-09 14:43:50 -08:00
|
|
|
--Traducciones uwu
|
|
|
|
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
local S = minetest.get_translator("uwu")
|
|
|
|
|
2020-11-06 15:11:32 -08:00
|
|
|
-- UwU Ore
|
|
|
|
minetest.register_node("uwu:stone_with_uwu", {
|
|
|
|
description = S("Mena UwU"),
|
|
|
|
tiles = {"default_stone.png^uwu_mena.png"},
|
|
|
|
is_ground_content = true,
|
2020-11-09 14:43:50 -08:00
|
|
|
groups = {cracky=1, Level=1},
|
2020-11-06 15:11:32 -08:00
|
|
|
drop = {
|
2020-11-09 14:43:50 -08:00
|
|
|
max_items = 3,
|
2020-11-06 15:11:32 -08:00
|
|
|
items = {
|
|
|
|
{
|
2020-11-09 14:43:50 -08:00
|
|
|
items = {'uwu:cristalcito_uwu'},
|
2020-11-06 15:11:32 -08:00
|
|
|
},
|
|
|
|
{
|
2020-11-09 14:43:50 -08:00
|
|
|
items = {'uwu:cristalcito_uwu'},
|
|
|
|
rarity = 40,
|
2020-11-06 15:11:32 -08:00
|
|
|
},
|
|
|
|
{
|
2020-11-09 14:43:50 -08:00
|
|
|
items = {'uwu:cristalcito_uwu'},
|
|
|
|
rarity = 65,
|
2020-11-06 15:11:32 -08:00
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
2020-11-09 14:43:50 -08:00
|
|
|
sounds = default.node_sound_stone_defaults(),
|
2020-11-06 15:11:32 -08:00
|
|
|
})
|
|
|
|
|
|
|
|
-- UWU Item
|
2020-11-09 14:43:50 -08:00
|
|
|
minetest.register_craftitem("uwu:cristalcito_uwu", {
|
2020-11-06 15:11:32 -08:00
|
|
|
description = S("Cristalcito UwU"),
|
2020-11-09 14:43:50 -08:00
|
|
|
inventory_image = "uwu_cristalcitos.png",
|
2020-11-06 15:11:32 -08:00
|
|
|
})
|
|
|
|
|
|
|
|
-- UwU Bloque
|
|
|
|
minetest.register_node("uwu:bloque_uwu", {
|
|
|
|
description = S("Bloque UwU"),
|
|
|
|
tiles = {"uwu_bloque.png"},
|
|
|
|
is_ground_content = true,
|
2020-11-09 14:43:50 -08:00
|
|
|
groups = {cracky = 2, oddly_breakable_by_hand = 2},
|
2020-11-06 15:11:32 -08:00
|
|
|
sounds = default.node_sound_glass_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
-- UwU Crafteo de Bloque
|
|
|
|
minetest.register_craft({
|
|
|
|
output = 'uwu:bloque_uwu',
|
|
|
|
recipe = {
|
2020-11-09 14:43:50 -08:00
|
|
|
{'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu'},
|
|
|
|
{'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu'},
|
|
|
|
{'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu', 'uwu:cristalcito_uwu'},
|
2020-11-06 15:11:32 -08:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Cristalcitos uwus hacen algo más uwu... el bloque uwu :D!
|
|
|
|
minetest.register_craft({
|
2020-11-09 14:43:50 -08:00
|
|
|
output = 'uwu:cristalcito_uwu 9',
|
2020-11-06 15:11:32 -08:00
|
|
|
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,
|
2020-11-09 14:43:50 -08:00
|
|
|
clust_num_ores = 3,
|
2020-11-06 15:11:32 -08:00
|
|
|
clust_size = 3,
|
2020-11-09 14:43:50 -08:00
|
|
|
height_min = -5000,
|
|
|
|
height_max = -200
|
2020-11-06 15:11:32 -08:00
|
|
|
|
|
|
|
})
|
|
|
|
|
2020-11-09 14:43:50 -08:00
|
|
|
|