mirror of
https://gitlab.com/lunovox/minertrade.git
synced 2025-03-15 05:31:20 +00:00
* Adicionando arquivos
This commit is contained in:
parent
3c4ecc7236
commit
3199213303
4 changed files with 29 additions and 11 deletions
23
item_atm.lua
23
item_atm.lua
|
@ -6,19 +6,28 @@ minetest.register_node("minertrade:atm", {
|
|||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX,
|
||||
paramtype2 = "facedir",
|
||||
|
||||
--legacy_facedir_simple = true, --<=Nao sei para que serve!
|
||||
is_ground_content = false,
|
||||
groups = {cracky=1},
|
||||
--groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
--sounds = default.node_sound_glass_defaults(),
|
||||
tiles = {
|
||||
--[[
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"default_wood.png",
|
||||
"text_atm_front_1.png",
|
||||
--]]
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
"text_atm_front_2.png",
|
||||
},
|
||||
is_ground_content = false,
|
||||
--groups = {cracky=1},
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
--sounds = default.node_sound_glass_defaults(),
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local playername = placer:get_player_name()
|
||||
|
@ -88,9 +97,9 @@ minetest.register_node("minertrade:atm", {
|
|||
minetest.register_craft({
|
||||
output = 'minertrade:atm',
|
||||
recipe = {
|
||||
{"default:wood" ,"default:wood" ,"default:wood"},
|
||||
{"default:wood" ,"default:obsidian_glass" ,"default:wood"},
|
||||
{"default:wood" ,"default:mese" ,"default:wood"},
|
||||
{"default:steel_ingot" ,"default:steel_ingot" ,"default:steel_ingot"},
|
||||
{"default:steel_ingot" ,"default:obsidian_glass" ,"default:steel_ingot"},
|
||||
{"default:steel_ingot" ,"default:mese" ,"default:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
minetest.register_node("minertrade:strongbox", {
|
||||
description = "Cofre - Guarde seu dinheiro neste cofre e retire seu dinheiro em qualquer loja que possua um Caixa Eletrônico",
|
||||
--inventory_image = "safe_front.png",
|
||||
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX,
|
||||
paramtype2 = "facedir",
|
||||
|
||||
is_ground_content = false,
|
||||
groups = {cracky=1},
|
||||
tiles = {
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
|
@ -11,8 +17,6 @@ minetest.register_node("minertrade:strongbox", {
|
|||
"safe_side.png",
|
||||
"safe_front.png",
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=1},
|
||||
after_place_node = function(pos, placer)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("owner", placer:get_player_name() or "")
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
minetest.register_node("strongbox:safe", {
|
||||
description = "Cofre (12 Espacos)",
|
||||
--inventory_image = "safe_front.png",
|
||||
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX,
|
||||
paramtype2 = "facedir",
|
||||
|
||||
tiles = {
|
||||
"safe_side.png",
|
||||
"safe_side.png",
|
||||
|
@ -12,7 +16,8 @@ minetest.register_node("strongbox:safe", {
|
|||
"safe_front.png",
|
||||
},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=1},
|
||||
--groups = {cracky=1},
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
after_place_node = function(pos, placer)
|
||||
local meta = minetest.get_meta(pos)
|
||||
meta:set_string("owner", placer:get_player_name() or "")
|
||||
|
|
BIN
textures/text_atm_front_2.png
Normal file
BIN
textures/text_atm_front_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 114 KiB |
Loading…
Add table
Reference in a new issue