mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 06:54:54 +02:00
Full Distribution
This commit is contained in:
31
data/lib/core/item.lua
Normal file
31
data/lib/core/item.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
function Item.getType(self)
|
||||
return ItemType(self:getId())
|
||||
end
|
||||
|
||||
function Item.isItem(self)
|
||||
return true
|
||||
end
|
||||
|
||||
function Item.isContainer(self)
|
||||
return false
|
||||
end
|
||||
|
||||
function Item.isCreature(self)
|
||||
return false
|
||||
end
|
||||
|
||||
function Item.isMonster(self)
|
||||
return false
|
||||
end
|
||||
|
||||
function Item.isPlayer(self)
|
||||
return false
|
||||
end
|
||||
|
||||
function Item.isTeleport(self)
|
||||
return false
|
||||
end
|
||||
|
||||
function Item.isTile(self)
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user