home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Spawn hats from BottleDeposit, add HatRemixer.
[plomrogue2]
/
plomrogue
/
tasks.py
diff --git
a/plomrogue/tasks.py
b/plomrogue/tasks.py
index 9fccbc33450f2c50fe5caf6269d0ba171bc7e644..8337132f58f77450df3d27e5a20f155d9692b407 100644
(file)
--- 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
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
self.thing.carrying = None