home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move re-positioning of things in inventory to Thing code.
[plomrogue2-experiments]
/
new
/
plomrogue
/
tasks.py
diff --git
a/new/plomrogue/tasks.py
b/new/plomrogue/tasks.py
index ae559800f5f931769f6861cae5a652a8ffd6987b..330eff9b158e41357adbaa91bc207087af0d13c0 100644
(file)
--- a/
new/plomrogue/tasks.py
+++ b/
new/plomrogue/tasks.py
@@
-52,9
+52,6
@@
class Task_MOVE(Task):
def do(self):
self.thing.position = (0,0), self.thing.world.maps[(0,0)].\
move(self.thing.position[1], self.args[0])
def do(self):
self.thing.position = (0,0), self.thing.world.maps[(0,0)].\
move(self.thing.position[1], self.args[0])
- for id_ in self.thing.inventory:
- t = self.thing.world.get_thing(id_)
- t.position = self.thing.position