Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include "x4_inc_functions"
#include "x3_inc_horse"
//Put this on action taken in the conversation editor
void main()
{
// Important system variables
string sChainTag = "ch_tourneygreen";
string sHorseResRef = "horse_tgreen";
object oPC = GetPCSpeaker();
location lTarget = GetLocation (oPC);
if (GetItemPossessedBy(oPC, sChainTag)!= OBJECT_INVALID)
{
object oSteed = CreateObject (OBJECT_TYPE_CREATURE, sHorseResRef, lTarget);
SetLocalString(oSteed, "sOwner", CharacterDB(oPC));
// Assigns the mount to oPC.
HorseSetOwner(oSteed, oPC, TRUE);
}
else
{
SendMessageToPC(oPC, "You don't have the required chain anymore!");
}
}