HoS_PRC8/_mod/_module/nss/cv_hmc_haveone.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

17 lines
526 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
// cv_hmv_haveone - Already have a mount
// By Deva B. Winblood. November 14th, 2008.
////////////////////////////////////////////////////////////////////////////////
#include "x3_inc_horse"
int StartingConditional()
{
object oPC=GetPCSpeaker();
int nParm=GetLocalInt(oPC,"nParm");
SetLocalInt(oPC,"nMode",nParm);
if (HorseGetIsMounted(oPC)) return TRUE;
else if (HorseGetHasAHorse(oPC)) return TRUE;
return FALSE;
}