Files
HeroesStone_PRC8/_module/nss/hench_pony3.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

25 lines
701 B
Plaintext

//
//
//
void main()
{
object oPc = GetItemActivator();
location lPc = GetLocation(oPc);
location lWyrmling = GetItemActivatedTargetLocation();
object oWyrmling = CreateObject(OBJECT_TYPE_CREATURE, "henchman_ponybn", lPc, TRUE);
/////////////////////////////////////// name the horse //////////////
SetName (oWyrmling, GetName(GetItemActivator()) + "'s " + " Pony");
/////////////////////////////////////////////////////////////////////
if (GetIsObjectValid(oWyrmling))
{
AddHenchman(oPc, oWyrmling);
}/* end then (valid owyrmling) */
else
{
AssignCommand(oPc, ActionSpeakString("Invalid Pony"));
}/* end else (valid owyrmling) */
}