summaryrefslogtreecommitdiffstats
path: root/example/scripts/maps/desert.lua
diff options
context:
space:
mode:
Diffstat (limited to 'example/scripts/maps/desert.lua')
-rw-r--r--example/scripts/maps/desert.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua
index 759dbb5..5f7f2d2 100644
--- a/example/scripts/maps/desert.lua
+++ b/example/scripts/maps/desert.lua
@@ -79,8 +79,8 @@ function Harmony(npc, ch, list)
--- Give the player 100 units of money the first time.
if harmony_have_talked_to_someone == false then
say("Here is some money for you to find some toys to play with.\nEh Eh!")
- chr_money_change(ch, 100)
- say(string.format("You now have %d shiny coins!", chr_money(ch)))
+ ch:change_money(100)
+ say(string.format("You now have %d shiny coins!", ch:money()))
harmony_have_talked_to_someone = true
say(string.format("Try to come back with a better level than %i.", ch:level()))
else