illarion-content/item/id_929_snowpatch.lua
caldarion 1f68b412dc refactor gathering to adhere to our module policy.
Last usage of module() eliminated.
2018-03-25 17:02:33 +02:00

27 lines
983 B
Lua

--[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.
You should have received a copy of the GNU Affero General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
]]
-- UPDATE items SET itm_script='item.id_929_snowpatch' WHERE itm_id=929;
local M = {}
function M.UseItem(User, SourceItem, ltstate)
User:inform("Der Schnee reicht nicht mehr für einen weiteren Schneeball.",
"There is insufficient snow in this pile to make snowballs.",Character.highPriority)
end
return M