t.uncarry()
self.things.remove(t)
self.record_change(t.position, 'other')
- if t.blocking:
+ if t.blocks_light:
self.record_change(t.position, 'fov')
def add_thing(self, type_, position, id_=0):
else:
self.things += [t]
self.record_change(t.position, 'other')
- if t.blocking:
+ if t.blocks_light:
self.record_change(t.position, 'fov')
return t
write(f, 'GOD_THING_NAME %s %s' % (t.id_, quote(t.name)))
if hasattr(t, 'installable') and (not t.portable):
write(f, 'THING_INSTALLED %s' % t.id_)
- if t.type_ == 'Door' and t.blocking:
+ if t.type_ == 'Door' and t.blocks_movement:
write(f, 'THING_DOOR_CLOSED %s' % t.id_)
elif t.type_ == 'Hat':
write(f, 'THING_HAT_DESIGN %s %s' % (t.id_,