From: Christian Heller Date: Sat, 27 Apr 2019 16:33:07 +0000 (+0200) Subject: Let THING_INVENTORY also re-position things to owner. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/process?a=commitdiff_plain;h=1aa93f6152f585ae1b0e69e99e0f68254b0716ee;p=plomrogue2-experiments Let THING_INVENTORY also re-position things to owner. --- diff --git a/new/plomrogue/commands.py b/new/plomrogue/commands.py index a62064e..48457f9 100644 --- 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):