aboutsummaryrefslogtreecommitdiff
path: root/src/onload/shop_signs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/onload/shop_signs.lua')
-rw-r--r--src/onload/shop_signs.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/onload/shop_signs.lua b/src/onload/shop_signs.lua
index 217049e..4c6ec4b 100644
--- a/src/onload/shop_signs.lua
+++ b/src/onload/shop_signs.lua
@@ -6,13 +6,11 @@ for nodename, nodedef in pairs(minetest.registered_nodes) do
local text = minetest.get_meta(pos):get_string("text") or ""
local lines = text:split("\n")
local action, amount, price = lines[1], lines[2], lines[3]
- print(action, amount, price)
if not (action and amount and price) then return end
price = string.gsub(price, "%$", "")
price = tonumber(price)
amount = string.gsub(amount, "x", "")
amount = tonumber(amount)
- print(action, amount, price)
if not (amount and price) then return end
local func, frameoffset
if action == "Buy" then