Battledale_PRC8/_module/nss/fr_barb_campfire.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

18 lines
357 B
Plaintext

void main()
{
if (GetLocalInt(OBJECT_SELF,"jw_ndone")==1)
{
return;
}
object oTarget = GetEnteringObject();
object oCamp = GetObjectByTag("fr_barb_campfire");
effect eLight = EffectVisualEffect(VFX_DUR_LIGHT_YELLOW_15, FALSE);
if (GetIsPC(oTarget))
{
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLight, oCamp);
SetLocalInt(OBJECT_SELF,"jw_ndone",1);
}
}