home · contact · privacy
Let THING_INVENTORY also re-position things to owner.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 27 Apr 2019 16:33:07 +0000 (18:33 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 27 Apr 2019 16:33:07 +0000 (18:33 +0200)
new/plomrogue/commands.py

index a62064ed46f9c3372fcefce3cf378fdbde9b3143..48457f9ab1e4b82f49a32742a6693191c2ea8d83 100644 (file)
@@ -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):