diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-05-03 15:40:57 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-05-03 15:40:57 +0200 |
commit | ed8fba0a47d2e498267cbfbf1271bacb76c400e9 (patch) | |
tree | d9e2bec54c051edb9d6c4175c3e5e5532e8d35ce /example/scripts/maps/desert.lua | |
parent | 769030e6bd22faeb760731172c221ae801c04dcc (diff) | |
parent | f6f27a9ffaf72f9856240db1bb788a9efa3e86f0 (diff) | |
download | manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.gz manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.bz2 manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.xz manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.zip |
Merge branch 'master' into lpc2012
Diffstat (limited to 'example/scripts/maps/desert.lua')
-rw-r--r-- | example/scripts/maps/desert.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua index 759dbb51..5f7f2d28 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 |