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.
This commit is contained in:
17
_module/nss/fr_barb_campfire.nss
Normal file
17
_module/nss/fr_barb_campfire.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user