Craig. I saw this post and became interested because I was thinking about how to script this. I’m looking to make Skyrim in TM, including all of its skills and it’s inventory system. If the idea to create inventories through scripts is implemented with the possibility to link it to a player or group of players, it would allow for multiplayer maps to give every player their own inventory dedicated in memory without it taking up space in the world or having to worry about the coordinates for every player.
Since I’m creating Skyrim, I had the idea to script in the spells from the game. Rather than having players carry around an item for every spell, you could have them carry items that open a virtual container that holds said items. This would also mean implementing a way to manage virtual inventories, such as adding a spell when they use a spell tome or earn one from a quest. On a side not, the ability to assign a certain book and all of its copies their own scripts when opened/closed and swung would be amazing in conjunction with this inventory idea. Right now, as I understand it, books all rely on the original for their information and content. So if the original changes, the copies change because they reference it back. This would allow for a sort of scripted personal inventory system for RPG maps. Each book could be named something like “ Backpack” or “Quests” or “Teleport: [map location]”. It may be helpful, if you do decide to add this feature, to add a parameter for when you open an inventory and create one, to specify a player. -p could be used to reference and link specific players, and if left blank, would reference the player that activated the script. By doing so, you would only need one script that any player could run, or have run when a player joins a world, and each inventory would belong to that player, whatever it may be. The first would open an extra inventory through a script. The second could be made to a sort of read only inventory, showing books from all of the active quests. The read only feature can either be done through scripts or implemented in an update as a tag for containers and used with the initialization of the inventory. The last one could be either a permanent ability or a usable item that players could trade. Along this line, what happens if all of a book in a world get destroyed? If that deletes the book entirely, would it be worth while to add the ability to add and manage books in memory through scripts in conjunction with these features? I know that is a lot of extra features outside of the topic, but I had been trying to plan a solution to this for a few days. If needed, I can create new topics for these features, I just thought they would compliment this idea well.