summaryrefslogtreecommitdiffstats
path: root/example/scripts/items/candy.lua
blob: a9c59fe4b5573c31a6c7722f8ca2da74eeec3e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--[[

 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*")
end