reduce texture sizes
8
atm.lua
@ -162,7 +162,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
|
|
||||||
if fields.send then
|
if fields.send then
|
||||||
minetest.show_formspec(p_name, atm_form,
|
minetest.show_formspec(p_name, atm_form,
|
||||||
send_fs(p_name, fields.recipient, fields.amount))
|
send_fs(p_name, fields.recipient, fields.amount))
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields.transaction_log then
|
if fields.transaction_log then
|
||||||
@ -175,9 +175,9 @@ end)
|
|||||||
|
|
||||||
minetest.register_node("global_exchange:atm", {
|
minetest.register_node("global_exchange:atm", {
|
||||||
description = "ATM",
|
description = "ATM",
|
||||||
tiles = {"global_exchange_atm_top.png",
|
tiles = {"global_exchange_box.png",
|
||||||
"global_exchange_atm_top.png",
|
"global_exchange_box.png",
|
||||||
"global_exchange_atm_side.png",
|
"global_exchange_box.png^global_exchange_atm_side.png",
|
||||||
},
|
},
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
on_rightclick = function(pos, _, clicker)
|
on_rightclick = function(pos, _, clicker)
|
||||||
|
@ -107,9 +107,9 @@ end)
|
|||||||
|
|
||||||
minetest.register_node("global_exchange:mailbox", {
|
minetest.register_node("global_exchange:mailbox", {
|
||||||
description = "Digital Mailbox",
|
description = "Digital Mailbox",
|
||||||
tiles = {"global_exchange_atm_top.png",
|
tiles = {"global_exchange_box.png",
|
||||||
"global_exchange_atm_top.png",
|
"global_exchange_box.png",
|
||||||
"global_exchange_mailbox_side.png",
|
"global_exchange_box.png^global_exchange_mailbox_side.png",
|
||||||
},
|
},
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
|
@ -539,9 +539,9 @@ end)
|
|||||||
|
|
||||||
minetest.register_node("global_exchange:exchange", {
|
minetest.register_node("global_exchange:exchange", {
|
||||||
description = "Exchange",
|
description = "Exchange",
|
||||||
tiles = {"global_exchange_atm_top.png",
|
tiles = {"global_exchange_box.png",
|
||||||
"global_exchange_atm_top.png",
|
"global_exchange_box.png",
|
||||||
"global_exchange_exchange_side.png",
|
"global_exchange_box.png^global_exchange_exchange_side.png",
|
||||||
},
|
},
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
on_rightclick = function(_, _, clicker)
|
on_rightclick = function(_, _, clicker)
|
||||||
|
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 136 B |
Before Width: | Height: | Size: 176 B |
BIN
textures/global_exchange_box.png
Normal file
After Width: | Height: | Size: 92 B |
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 103 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 109 B |