It didn't work because the way I set it up requires a minigame because you have to actually spawn as the playertype.package mountOnSpawn
{
function armor::changeDatablock(%this, %obj, %newData) //I think
{
if(%newData == playerMjolnir.getID())
{
%obj.mountImage(2, HelmImage);
}
parent::changeDatablock(%this, %obj, %newData);
}
function playerMjolnir::onAdd(%this, %obj)
{
%obj.mountImage(2, HelmImage);
parent::onAdd(%this, %obj);
}
};
activatePackage(mountOnSpawn);