Code: Select all
// create a body at the morgue and store the player's information on it
// a chest object reference should be cached on the module OnModuleLoad
object oRecord = CreateItemOnObject(ACR_DTH_BODY_RESREF, oCooler, 1, GetPCPublicCDKey(oPC));
We can set a local string on the "body" item, or name it once (if) we get the SetName() functions back, potentially.
Should this system be left out of the ACR until we're further along, or is there an easy fix we can manage?
[edit: SetName() is used twice in the script as well- commented those lines out for now, but they likely break functionality fairly critically.]