diff options
-rw-r--r-- | example/serverdata/scripts/maps/desert.lua | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/example/serverdata/scripts/maps/desert.lua b/example/serverdata/scripts/maps/desert.lua index 7ce46f72..710f552d 100644 --- a/example/serverdata/scripts/maps/desert.lua +++ b/example/serverdata/scripts/maps/desert.lua @@ -35,13 +35,10 @@ function Harmony(npc, ch, list) end --- Give the player 100 units of money the first time. if harmony_have_talked_to_someone == false then - if mana.chr_money_change(ch, 100) then - do_message(npc, ch, "Here is some money for you to find some toys to play with.\nEh Eh!") - do_message(npc, ch, string.format("You now have %d shiny coins!", mana.chr_money(ch))) - harmony_have_talked_to_someone = true - else - do_message(npc, ch, "Ah, it seems something went wrong...") - end + do_message(npc, ch, "Here is some money for you to find some toys to play with.\nEh Eh!") + mana.chr_money_change(ch, 100) + do_message(npc, ch, string.format("You now have %d shiny coins!", mana.chr_money(ch))) + harmony_have_talked_to_someone = true end do_message(npc, ch, "Have fun!") mana.effect_create(EMOTE_HAPPY, npc) |