Page 1 of 1

Drop item

PostPosted: Mon Apr 12, 2021 5:04 pm
by Prickett
Is there a command to destroy / drop items that are in the PC inventory? E.g., if they walk on a certain position then they drop all but 3 health potions.

Re: Drop item

PostPosted: Tue Apr 13, 2021 7:35 am
by Elendil / Redshift
From a quick check of the Quest System pdf I found "RemoveItem" on the player and "ReceiveItem" on map objects. I don't think there is a command to simply "drop" an item. The "ReceiveItem" comment mentions a shelf, but you might be able to use it on a Position too, for example (haven't checked).

Re: Drop item

PostPosted: Wed Apr 14, 2021 2:06 am
by Prickett
Thanks for checking for me. Could you send a link or tell me where that PDF can be found?

Re: Drop item

PostPosted: Wed Apr 14, 2021 7:10 am
by Elendil / Redshift
It's in the tutorial. (Linked from the very first post in this subforum. ;) )

Re: Drop item

PostPosted: Thu Apr 15, 2021 2:38 pm
by Prickett
Thanks!