Lançamento

master
BrunoMine 2017-06-18 11:56:35 -03:00
parent 094a5e624d
commit c8f16416b8
70 changed files with 1154 additions and 1 deletions

View File

@ -1 +1,44 @@
macronodes
# Macronodes v1.0.0
[![Baixar](https://img.shields.io/badge/Baixar-v1.0.0-green.svg)](https://github.com/BrunoMine/macronodes/archive/v1.0.0.zip)
[![Projeto](https://img.shields.io/badge/Git-Projeto-green.svg)](https://github.com/BrunoMine/macronodes)
[![Licença](https://img.shields.io/badge/Licença-LGPL_v3.0-blue.svg)](https://github.com/BrunoMine/macronodes/blob/master/LICENSE)
## Descrição
Adiciona itens diversos
* Carpetes
* Bastão removedor de itens
* Outros itens decorativos
## Recursos do projeto
* [Baixar](https://github.com/BrunoMine/macronodes/archive/v1.0.0.zip)
* [Projeto](https://github.com/BrunoMine/macronodes)
## Requisitos
* Minetest 0.4.15 ou superior
* Mod default
* Mod flowers
* Mod farming
* Mod bucket
* Mod dye
* Mod tror
## Licença
Veja LICENSE.txt para informações detalhadas da licença LGPL 3.0
### Autores do código fonte
Originalmente por BrunoMine, Bruno Borges <borgesdossantosbruno@gmail.com> (LGPL 3.0)
### Autores de mídias (texturas, modelos and sons)
Todos que não estão descritos aqui são de autoria de
BrunoMine, Bruno Borges <borgesdossantosbruno@gmail.com> (CC BY-SA 3.0)
BlockMen (WTFPL)
macronodes_bancada_front.png
macronodes_bancada_side.png
macronodes_bancada_top.png
macronodes_button_receitas.png

71
bancada.lua Normal file
View File

@ -0,0 +1,71 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Bancada de Trabalho
]]
-- Acesso nas bancadas
local acesso = {}
-- Limpeza do craft
local function drop_craft(player, pos)
local invref = player:get_inventory()
if not pos then pos = player:getpos() end
local size = invref:get_size("craft")
for i = 1, size do
local item = invref:get_stack("craft", i)
if item ~= nil and tror.trocar_plus(player, {""}, {item}) ~= true then
minetest.env:add_item({x = pos.x + (((math.random(1, 70)/100)-0.35)), y = pos.y+1, z = pos.z + (((math.random(1, 70)/100)-0.35))}, item)
end
invref:set_stack("craft", i, "")
end
end
-- Bancada de Trabalho
bancada_form = -- Inventario da Bancada de Trabalho
"size[8,9]"..
default.gui_bg..
default.gui_bg_img..
default.gui_slots..
"label[1.75,0;Craftador]"..
"list[current_player;main;0,4.25;8,1;]"..
"list[current_player;main;0,5.5;8,3;8]"..
"list[current_player;craft;1.75,0.5;3,3;]"..
"image[4.85,1.45;1,1;gui_furnace_arrow_bg.png^[transformR270]"..
"list[current_player;craftpreview;5.75,1.5;1,1;]"..
default.get_hotbar_bg(0,4.25)
minetest.register_node("macronodes:bancada", { -- Bancada de Trabalho
description = "Bancada de Trabalho",
tiles = {"macronodes_bancada_top.png", "default_wood.png", "macronodes_bancada_side.png",
"macronodes_bancada_side.png", "macronodes_bancada_side.png", "macronodes_bancada_front.png"},
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
legacy_facedir_simple = true,
is_ground_content = false,
sounds = default.node_sound_wood_defaults(),
on_rightclick = function(pos, node, player)
acesso[player:get_player_name()] = pos
minetest.show_formspec(player:get_player_name(), "macronodes:bancada", bancada_form)
end,
})
minetest.register_craft({ -- Receitas de Bancada de Trabalho
output = 'macronodes:bancada',
recipe = {
{'group:wood', 'group:wood'},
{'group:wood', 'group:wood'},
}
})
minetest.register_on_player_receive_fields(function(player, formname, fields)
if formname == "macronodes:bancada" and fields.quit then
drop_craft(player, acesso[player:get_player_name()])
acesso[player:get_player_name()] = nil
end
end)

611
carpetes.lua Normal file
View File

@ -0,0 +1,611 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Carpetes
]]
-- Carpetes
minetest.register_node("macronodes:carpete_branco", { --Branco
description = "Carpete Branco",
tiles = {"wool_white.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = true,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1},
})
minetest.register_craft({
output = 'macronodes:carpete_branco',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:white', 'wool:white', 'wool:white'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_cinza", { -- Cinza
description = "Carpete Cinza",
tiles = {"wool_grey.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_cinza',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:grey', 'wool:grey', 'wool:grey'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_preto", { -- Preto
description = "Carpete Preto",
tiles = {"wool_black.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_preto',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:black', 'wool:black', 'wool:black'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_vermelho", { -- Vermelho
description = "Carpete Vermelho",
tiles = {"wool_red.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_vermelho',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:red', 'wool:red', 'wool:red'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_amarelo", { -- Amarelo
description = "Carpete Amarelo",
tiles = {"wool_yellow.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_amarelo',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_verde", { -- Verde
description = "Carpete Verde",
tiles = {"wool_green.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_verde',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:green', 'wool:green', 'wool:green'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_ciano", { -- Ciano
description = "Carpete Ciano",
tiles = {"wool_cyan.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_ciano',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:cyan', 'wool:cyan', 'wool:cyan'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_azul", { -- Azul
description = "Carpete Azul",
tiles = {"wool_blue.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_azul',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:blue', 'wool:blue', 'wool:blue'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_magenta", { -- Magenta
description = "Carpete Magenta",
tiles = {"wool_magenta.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_magenta',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:magenta', 'wool:magenta', 'wool:magenta'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_laranja", { -- Laranja
description = "Carpete Laranja",
tiles = {"wool_orange.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_laranja',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:orange', 'wool:orange', 'wool:orange'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_violeta", { -- Violeta
description = "Carpete Violeta",
tiles = {"wool_violet.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_violeta',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:violet', 'wool:violet', 'wool:violet'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_marrom", { -- Marrom
description = "Carpete Marrom",
tiles = {"wool_brown.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_marrom',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:brown', 'wool:brown', 'wool:brown'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_rosa", { -- Rosa
description = "Carpete Rosa",
tiles = {"wool_pink.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_rosa',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:pink', 'wool:pink', 'wool:pink'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_cinzaescuro", { -- Cinza Escuro
description = "Carpete Cinza Escuro",
tiles = {"wool_dark_grey.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_cinzaescuro',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:dark_grey', 'wool:dark_grey', 'wool:dark_grey'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
minetest.register_node("macronodes:carpete_verdeescuro", { -- Verde Escuro
description = "Carpete Verde Escuro",
tiles = {"wool_dark_green.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
walkable = false,
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.415, 0.5}, -- Carpete
{0.1875, -0.5, -0.4375, 0.5, -0.395, -0.125}, -- Pelos_1
{-0.4375, -0.5, -0.5, -0.25, -0.395, -0.125}, -- Pelos_2
{0.25, -0.5, 0.25, 0.4375, -0.395, 0.5}, -- Pelos_3
{-0.5, -0.5, 0.1875, -0.1875, -0.395, 0.4375}, -- Pelos_4
{-0.5, -0.5, -0.0625, -0.0625, -0.395, 0.125}, -- Pelos_5
{-0.125, -0.5, 0.1875, 0, -0.395, 0.5}, -- Pelos_6
{0.0625, -0.5, 0.25, 0.1875, -0.395, 0.5}, -- Pelos_7
{0, -0.5, -0.0625, 0.1875, -0.395, 0.125}, -- Pelos_8
{0.25, -0.5, -0.0625, 0.4375, -0.395, 0.1875}, -- Pelos_9
{-0.1875, -0.5, -0.4375, -0.0625, -0.395, -0.3125}, -- Pelos_10
{-0.1875, -0.5, -0.25, 0.125, -0.395, -0.125}, -- Pelos_11
{0, -0.5, -0.4375, 0.125, -0.395, -0.3125}, -- Pelos_12
}
},
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.395, 0.5}
},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,wool=1,flammable=1,attached_node=1}
})
minetest.register_craft({
output = 'macronodes:carpete_verdeescuro',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'wool:dark_green', 'wool:dark_green', 'wool:dark_green'},
{'default:paper', 'default:paper', 'default:paper'},
}
})

42
cartolina.lua Normal file
View File

@ -0,0 +1,42 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Cartolina
]]
-- Cartolina
minetest.register_craftitem("macronodes:cartolina", {
description = "Cartolina",
inventory_image = "macronodes_cartolina.png",
})
-- Cartolinha
minetest.register_craft({
output = 'macronodes:cartolina',
recipe = {
{'default:paper', 'default:paper', 'default:paper'},
{'default:paper', 'default:cobble', 'default:paper'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
-- Rolo de Cartolinha
minetest.register_craftitem("macronodes:rolo_cartolina", {
description = "Rolo de Cartolina",
inventory_image = "macronodes_rolo_cartolina.png",
})
-- Rolo de Cartolinha
minetest.register_craft({
output = 'macronodes:rolo_cartolina',
recipe = {
{'macronodes:cartolina', 'macronodes:cartolina', 'macronodes:cartolina'},
{'macronodes:cartolina', 'group:stick', 'macronodes:cartolina'},
{'macronodes:cartolina', 'macronodes:cartolina', 'macronodes:cartolina'},
}
})

24
craftitens.lua Normal file
View File

@ -0,0 +1,24 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Craftitens
]]
-- Pregos
minetest.register_craftitem("macronodes:pregos", {
description = "Pregos",
inventory_image = "macronodes_pregos.png",
})
minetest.register_craft({
output = 'macronodes:pregos 5',
recipe = {
{'', 'default:steel_ingot', ''},
{'', 'default:steel_ingot', ''},
{'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
}
})

217
decor.lua Normal file
View File

@ -0,0 +1,217 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Nodes decorativos
]]
-- Mesa
minetest.register_node("macronodes:mesa", {
description = "Mesa",
drawtype = "nodebox",
paramtype = 'light',
tiles = {
"macronodes_mesa_cima.png", -- Cima
"macronodes_mesa_cima.png", -- Baixo
"macronodes_mesa_lado.png", -- Lado direito
"macronodes_mesa_lado.png", -- Lado esquerda
"macronodes_mesa_lado.png", -- Fundo
"macronodes_mesa_lado.png"}, -- Frente
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.3125, -0.5, 0.5, 0.5, 0.5}, -- Tampa
{0.1875, -0.5, -0.4375, 0.4375, 0.4375, -0.1875}, -- Perna_1
{-0.4375, -0.5, -0.4375, -0.1875, 0.375, -0.1875}, -- Perna_2
{-0.4375, -0.5, 0.1875, -0.1875, 0.375, 0.4375}, -- Perna_3
{0.1875, -0.5, 0.1875, 0.4375, 0.375, 0.4375}, -- Perna_4
}
},
groups = {choppy=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_wood_defaults(),
})
--[[ -- Receita cancelada devido o mod oficios
minetest.register_craft({
output = 'macronodes:mesa',
recipe = {
{'default:tree', 'macronodes:pregos', 'default:tree'},
{'default:steel_ingot', 'default:wood', 'default:steel_ingot'},
{'default:tree', 'default:steel_ingot', 'default:tree'},
}
})
]]
-- Vaso de Flores
minetest.register_node("macronodes:vaso_de_flores", {
description = "Vaso de Flores",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
walkable = false,
tiles = {
"macronodes_vasodeflores_cima.png", -- Cima
"macronodes_vasodeflores_baixo.png", -- Baixo
"macronodes_vasodeflores_direita.png", -- Lado direito
"macronodes_vasodeflores_esquerda.png", -- Lado esquerdo
"macronodes_vasodeflores_fundo.png", -- Fundo
"macronodes_vasodeflores_frente.png"}, -- Frente
node_box = {
type = "fixed",
fixed = {
{-0.25, -0.5, -0.25, 0.25, -0.25, 0.25}, -- Vaso_(baixo)
{-0.3125, -0.3125, -0.3125, 0.3125, -0.1875, 0.3125}, -- Vaso_(cima)
{0, -0.375, 0, 0.005, 0.125, 0.0505}, -- Caule_1
{-0.1875, 0, -0.005, 0.1875, 0.1875, 0}, -- Flor_1a
{-0.125, -0.0625, -0.005, 0.125, 0.25, 0}, -- Flor_1b
{0.0625, -0.5, 0, 0.125, 0.375, 0.0155}, -- Caule_2
{0.125, 0.25, -0.1875, 0.13, 0.4375, 0.1875}, -- Flor_2a
{0.125, 0.1875, -0.125, 0.135, 0.5, 0.125}, -- Flor_2b
}
},
groups = {choppy=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = 'macronodes:vaso_de_flores',
recipe = {
{'flowers:dandelion_yellow', '', 'flowers:geranium'},
{'default:clay_brick', 'default:dirt', 'default:clay_brick'},
{'dye:orange', 'default:clay_brick', 'dye:orange'},
}
})
-- Pedra Lapidada (Tipo 01)
minetest.register_node("macronodes:pedralapidada_tipo01", {
description = "Pedra Lapidada (Tipo 01)",
tiles = {"macronodes_pedralapidada_tipo01.png"},
is_ground_content = true,
groups = {cracky=3, stone=1},
drop = 'default:cobble',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'macronodes:pedralapidada_tipo01',
recipe = {
{'default:stone'},
}
})
-- Pedra Lapidada (Tipo 02)
minetest.register_node("macronodes:pedralapidada_tipo02", {
description = "Pedra Lapidada (Tipo 02)",
tiles = {"macronodes_pedralapidada_tipo02.png"},
is_ground_content = true,
groups = {cracky=3, stone=1},
drop = 'default:cobble',
legacy_mineral = true,
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'macronodes:pedralapidada_tipo02',
recipe = {
{'macronodes:pedralapidada_tipo01', 'macronodes:pedralapidada_tipo01'},
{'macronodes:pedralapidada_tipo01', 'macronodes:pedralapidada_tipo01'},
}
})
-- Madeira de Carvalho Entalhada
minetest.register_node("macronodes:madeiraentalhada", {
description = "Madeira Entalhada",
tiles = {"macronodes_madeiraentalhada.png"},
groups = {choppy=2,oddly_breakable_by_hand=2,flammable=1},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_craft({
output = 'macronodes:pedralapidada_tipo02',
recipe = {
{'macronodes:pregos', 'macronodes:complexoquimico_contrafogo', 'macronodes:pregos'},
{'default:wood', 'default:wood', 'default:wood'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
-- Tijolinhos Brancos
minetest.register_node("macronodes:tijolinhos_brancos", {
description = "Tijolinhos Brancos",
tiles = {"macronodes_tijolinhos_brancos.png"},
is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'macronodes:tijolinhos_brancos',
recipe = {
{'default:paper', 'dye:white', 'default:paper'},
{'default:paper', 'default:brick', 'default:paper'},
{'default:paper', 'default:paper', 'default:paper'},
}
})
-- Pedra Egipcia
--[[
minetest.register_node("macronodes:pedra_egipcia", {
description = "Pedra Egipcia",
tiles = {"macronodes_pedraegipcia.png"},
is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
]]
-- Carvalho Entalhado Nordico
--[[
minetest.register_node("macronodes:carvalho_entalhado_nordico", {
description = "Carvalho Entalhado Nordico",
tiles = {"default_tree_top.png", "default_tree_top.png", "macronodes_carvalho_entalhado_nordico.png"},
is_ground_content = false,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=3},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node
})
]]
minetest.register_node("macronodes:luminaria", {
description = "Luminaria Simples",
tiles = {"macronodes_luminaria.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 15,
is_ground_content = false,
groups = {choppy=2,dig_immediate=1,flammable=1,oddly_breakable_by_hand=2},
sounds = default.node_sound_stone_defaults(),
})
--[[
minetest.register_node("macronodes:luminaria", {
description = "Luminaria Simples",
tiles = "macronodes_luminaria.png",
paramtype = "light",
sunlight_propagates = true,
light_source = 5,
groups = {choppy=2,dig_immediate=1,flammable=1},
sounds = default.node_sound_defaults(),
})
]]--
if minetest.get_modpath("currency") then
minetest.register_craft({
output = 'macronodes:luminaria',
recipe = {
{'group:stick', 'currency:cartolina', 'group:stick'},
{'currency:cartolina', 'default:torch', 'currency:cartolina'},
{'group:stick', 'currency:cartolina', 'group:stick'},
}
})
else
minetest.register_craft({
output = 'macronodes:luminaria',
recipe = {
{'group:stick', 'default:paper', 'group:stick'},
{'default:paper', 'default:torch', 'default:paper'},
{'group:stick', 'default:paper', 'group:stick'},
}
})
end

6
depends.txt Normal file
View File

@ -0,0 +1,6 @@
default
flowers
farming
bucket
dye
tror

1
description.txt Normal file
View File

@ -0,0 +1 @@
Itens diversos

13
diretrizes.lua Normal file
View File

@ -0,0 +1,13 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Diretrizes
]]
-- Definir nick do administrador
ADMIN = "BrunoMine"

28
enxofre.lua Normal file
View File

@ -0,0 +1,28 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Enxofre
]]
-- Enxofre
minetest.register_craftitem("macronodes:enxofre", {
description = "Enxofre",
stack_max = 70,
inventory_image = "macronodes_enxofre.png",
wield_image = "macronodes_enxofre_na_mao.png",
})
-- Receita de Enxofre
minetest.register_craft({
output = "macronodes:enxofre",
recipe = {
{"default:coal_lump", "default:gravel", "default:coal_lump"},
{"default:coal_lump", "bucket:bucket_lava", "default:coal_lump"},
{"default:paper", "default:paper", "default:paper"}
}
})

27
garrafa_vidro.lua Normal file
View File

@ -0,0 +1,27 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Garrafa de Vidro
]]
-- Garrafa de Vidro (Vazia)
minetest.register_node("macronodes:garrafa_vidro", {
description = "Garrafa de Vidro (Vazia)",
drawtype = "plantlike",
tiles = {"macronodes_garrafa.png"},
inventory_image = "macronodes_garrafa.png",
wield_image = "macronodes_garrafa.png",
paramtype = "light",
walkable = false,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
},
groups = {vessel=1,dig_immediate=3,attached_node=1},
sounds = default.node_sound_glass_defaults(),
})

35
init.lua Normal file
View File

@ -0,0 +1,35 @@
--[[
Mod Macronodes para Minetest
Copyright (C) 2017 BrunoMine (https://github.com/BrunoMine)
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Inicialização de scripts
]]
print(" Carregando mod macronodes... ")
dofile(minetest.get_modpath("macronodes").."/diretrizes.lua")
print("[Macronodes] Diretrizes carregadas!")
dofile(minetest.get_modpath("macronodes").."/craftitens.lua")
print("[Macronodes] Itens de Craftar carregados!")
dofile(minetest.get_modpath("macronodes").."/rosquinha.lua")
print("[Macronodes] Rosquinha de Trigo carregada!")
dofile(minetest.get_modpath("macronodes").."/punhado_farinha.lua")
print("[Macronodes] Punhado de Farinha de Trigo carregado!")
dofile(minetest.get_modpath("macronodes").."/enxofre.lua")
print("[Macronodes] Enxofre carregado!")
dofile(minetest.get_modpath("macronodes").."/garrafa_vidro.lua")
print("[Macronodes] Garrafa de Vidro carregada!")
dofile(minetest.get_modpath("macronodes").."/bancada.lua")
print("[Macronodes] Bancada de Trabalho carregada!")
dofile(minetest.get_modpath("macronodes").."/decor.lua")
print("[Macronodes] Decoracoes carregadas!")
dofile(minetest.get_modpath("macronodes").."/cartolina.lua")
print("[Macronodes] Cartolina carregadas!")
dofile(minetest.get_modpath("macronodes").."/carpetes.lua")
print("[Macronodes] Contador de Macros carregado!")
print("[Macronodes] OK!")

16
punhado_farinha.lua Normal file
View File

@ -0,0 +1,16 @@
--
-- Mod Macronodes
--
-- Punhado de Farinha de Trigo
--
-- Punhado de Farinha de Trigo
minetest.register_craftitem("macronodes:punhado_farinha", {
description = "Punhado de Farinha de Trigo",
inventory_image = "macronodes_punhado_farinha.png",
})
minetest.register_craft({
type = "shapeless",
output = "macronodes:punhado_farinha",
recipe = {"farming:wheat", "farming:wheat"}
})

19
rosquinha.lua Normal file
View File

@ -0,0 +1,19 @@
--
-- Mod Macronodes
--
-- Rosquinha de Trigo
--
-- Rosquinha de Trigo
minetest.register_craftitem("macronodes:rosquinha", {
description = "Rosquinha de Trigo",
inventory_image = "macronodes_rosquinha.png",
on_use = minetest.item_eat(1),
stack_max = 20,
})
minetest.register_craft({
type = "cooking",
cooktime = 8,
output = "macronodes:rosquinha",
recipe = "macronodes:punhado_farinha"
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 745 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B