bzr branch http://9ix.org/bzr/ld26
1
Troll = Tile:extend {
2
image = 'data/troll.png',
3
onCollide = function(self, other, xOl, yOl)
4
if the.inventory.items['fish'] then
5
self:die()
6
the.inventory:remove('fish')
7
else
8
self:displace(other)
9
end
10
11
}
Loggerhead is a web-based interface for Breezy Version: 2.0.1