In the _playerOnDeath() function, the following line appears:
Code: Select all
860 // set the database name on the corpse object (creates a persistent inventory)
861 ACR_SetDatabaseName(oCorpse, sDatabaseName);
However, when I restart the server, the corpse placeable comes up empty. Is setting a database name actually sufficient to create persistent item storage, or is there more that is missing from this? If so, how are changes to that inventory handled- through the acr_placeable_i called from functions in the acf_plc_* scripts? For that matter, is the code finished for persistent inventories? As I understand, they are still handled by NWN2's native database and stored in the Database folder, albeit perhaps with a NWNx4/ACR wrapper. I didn't get a chance to check if anything is being written there so far, if so, it's certainly not linking back up after a restart.