server/scripts/eressea/rules.lua

9 lines
159 B
Lua
Raw Normal View History

2010-02-20 00:54:42 +01:00
function item_canuse(u, iname)
local race = u.race
if iname=="greatbow" then
-- only elves use greatbow
return race=="elf"
end
return true
end