Skip to content
Snippets Groups Projects
Commit 72094296 authored by dg's avatar dg
Browse files

Disabled selling and increased gold drops. Let's see if this is more fun or less fun!

git-svn-id: http://svn.net-core.org/repos/t-engine4@1957 51575b47-30f0-44d4-a5cc-537603b46e54
parent da3cd7c1
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ function _M:loadStores(f)
end
function _M:init(t, no_default)
t.allow_sell = function() require("engine.ui.Dialog"):simplePopup("Can not sell", "The shopkeeper is not interrested in buying your items.") return false end
t.store.buy_percent = t.store.buy_percent or 10
t.store.sell_percent = t.store.sell_percent or 100
t.store.purse = t.store.purse or 20
......
......@@ -39,7 +39,7 @@ newEntity{ base = "BASE_MONEY", define_as = "MONEY_SMALL",
name = "gold pieces", image = "object/money_small.png",
add_name = " (#MONEY#)",
level_range = {1, 50},
money_value = resolvers.rngavg(2, 7),
money_value = resolvers.rngavg(6, 10),
}
newEntity{ base = "BASE_MONEY", define_as = "MONEY_BIG",
......@@ -48,5 +48,5 @@ newEntity{ base = "BASE_MONEY", define_as = "MONEY_BIG",
level_range = {30, 50},
color=colors.GOLD,
rarity = 15,
money_value = resolvers.rngavg(10, 25),
money_value = resolvers.rngavg(18, 39),
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment