home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdbb5e
)
Let THING_INVENTORY also re-position things to owner.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 27 Apr 2019 16:33:07 +0000
(18:33 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 27 Apr 2019 16:33:07 +0000
(18:33 +0200)
new/plomrogue/commands.py
patch
|
blob
|
history
diff --git
a/new/plomrogue/commands.py
b/new/plomrogue/commands.py
index a62064ed46f9c3372fcefce3cf378fdbde9b3143..48457f9ab1e4b82f49a32742a6693191c2ea8d83 100644
(file)
--- a/
new/plomrogue/commands.py
+++ b/
new/plomrogue/commands.py
@@
-56,6
+56,7
@@
def cmd_THING_INVENTORY(game, id_, ids):
for id_ in ids:
t = game.world.get_thing(id_)
t.in_inventory = True
+ t.position = carrier.position
cmd_THING_INVENTORY.argtypes = 'int:nonneg seq:int:nonneg'
def cmd_THING_HEALTH(game, id_, health):