diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-26 23:28:43 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-03-02 18:12:17 +0100 |
commit | a36e231883d595bcba91d44e19f24b31eaf0431b (patch) | |
tree | 879aad2008eb3675153bb9912c4cc724253f87c6 /example/scripts/items/candy.lua | |
parent | 34ac0d64e23f2b2d3981dbb0ea72157f334805dd (diff) | |
download | manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.gz manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.bz2 manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.tar.xz manaserv-a36e231883d595bcba91d44e19f24b31eaf0431b.zip |
A bunch of cleanups to example Lua scripts
Mostly removed bulky copyright headers and fixed indentation and line length.
Reviewed-by: Yohann Ferreira
Reviewed-by: Erik Schilling
Diffstat (limited to 'example/scripts/items/candy.lua')
-rw-r--r-- | example/scripts/items/candy.lua | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/example/scripts/items/candy.lua b/example/scripts/items/candy.lua index 5ab7c9a4..a9c59fe4 100644 --- a/example/scripts/items/candy.lua +++ b/example/scripts/items/candy.lua @@ -1,17 +1,13 @@ -------------------------------------------------------------- --- Example use script. Makes the player character say -- --- "*munch*munch*munch*" when using this item. -- --- The HP regeneration effect is handled separately based -- --- on the heal value in items.xml -- ----------------------------------------------------------------------------------- --- Copyright 2009 The Mana World Development Team -- --- -- --- This file is part of The Mana World. -- --- -- --- The Mana World is free software; you can redistribute it and/or modify it -- --- under the terms of the GNU General Public License as published by the Free -- --- Software Foundation; either version 2 of the License, or any later version. -- ----------------------------------------------------------------------------------- +--[[ + + Example item script. + + Makes the player character say "*munch*munch*munch*" when using this item. + The HP regeneration effect is handled separately based on the heal value in + items.xml. + +--]] + function use_candy(user) - mana.being_say(user, "*munch*munch*munch*") + mana.being_say(user, "*munch*munch*munch*") end |