X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=plomrogue%2Ftasks.py;h=8337132f58f77450df3d27e5a20f155d9692b407;hb=4d2cf315344ec4a376ffb3f49f02674e4b5facb6;hp=9fccbc33450f2c50fe5caf6269d0ba171bc7e644;hpb=ed297e4e19f8a83872d6345b86321e10aec019d4;p=plomrogue2
diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py
index 9fccbc3..8337132 100644
--- a/plomrogue/tasks.py
+++ b/plomrogue/tasks.py
@@ -122,6 +122,12 @@ class Task_DROP(Task):
t.accept()
self.thing.game.things.remove(self.thing.carrying)
break
+ elif self.thing.carrying.type_ == 'Hat':
+ for t in [t for t in self.thing.game.things
+ if t.type_ == 'HatRemixer'
+ and t.position == self.thing.position]:
+ t.accept(self.thing.carrying)
+ break
self.thing.carrying = None