[spoiler=Situation of the mod (atualment)]
information of folder:
|-minetest-0.4.7
|-mods
|-caixa
|-textures
|-caixa_simples.png
|-depends.txt
|-init.lua
__________________________________________________________________________________________
init.lua
- Code: Select all
01|-- mods/caixa/init.lua
02|
03|minetest.register_node("caixa:caixa", {
04| description = "Caixa",
05| tiles = {
06| "caixa_cima.png",
07| "caixa_baixo.png",
08| "caixa_direita.png",
09| "caixa_direita.png",
10| "caixa_fundo.png",
11| { name="caixa_ligado.png",
12| animation={
13| type="vertical_frames",
14| aspect_w=1,
15| aspect_h=1,
16| length=20.0
17| }
18| }
19| },
20| is_ground_content = true,
21| groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
22| drop = 'caixa:caixa',
23| legacy_mineral = true,
24|})
_________________________________________________________________________________________
depends.txt
- Code: Select all
default
[/spoiler]