Okay, I'm going to have to ask you about containers and sto files. One of us is probably wrong about something, or we aren't on the same page. Here is what I know: almost all objects that the engine's scripts recognize are creatures - either fixed references, like Player1, or flexible like Nearest. The only objects that are not creatures are NearestDoor and its derivatives, and they don't quite work correctly. There is nothing about chests, barrels, corpses and other containers, which is to say stuff-holders somewhere on the map. It's possible to refer to them, apparently, for the Lock() and Unlock() actions, though they don't have anything like creature script names. Maybe the name of the object in the area file, usually just "Container 1" etc., is used? In any event, it's all about containers that are built into an area. Given this, I don't understand your words about how you wanted to implement dropping chests that would be trapped, pickable and so on. It doesn't seem possible. The only approximation that comes to my mind is an invisible minion that would look like a chest and could be interacted with and manipulated through dialogue.
Now, it's better for my invisible seagull to carry its stuff in a package rather than let it tumble to the ground in a jumble. So I'm going to give it a bag of holding, a chest of holding that is, and that chest will wear a ton. Don't want to give players a freebie BoH. But how can I put creatures' stuff there directly? I see this action on the list:
MoveContainerContents("BD0120*Imoen_import_eq","BD0103*Imoen_equipment")
An example here. There seems to be confusion about what a container is. On one hand, there are your standard bags of holding and gem bags that have simple short filenames, like everything else, and no place for a script name or anything of the sort, or any special function therein. The items are simply of the "Container" type. On the other hand, there are containers on maps, and they, I take it, can have long names like above and respond to Lock() and Unlock(). I don't know if a creature's inventory is of the same type - what is "Imoen equipment," anyway? And, on the third hand, what do sto files have to do with any of this? I see that there is a "bag of holding" type of store, and I guess I could get the party to browse it with StartStore(), but there is no connection here to actual bags of holding carried around, is there?
Edited by temnix, 30 August 2017 - 08:53 AM.