Revamped Level One: North & Level One: Central to be as close to PnP as possible. Added Level One: Latrene 3 area. Added efreeti appearance from CEP3. Revamped efreeti bottle to be like PnP (no wishes, yet)
25 lines
748 B
Plaintext
25 lines
748 B
Plaintext
// prc_rest,x2_mod_def_rest
|
|
/////////////////////////////////////////////////////////////////////
|
|
//
|
|
// This script has been auto-generated by HakInstaller to call
|
|
// multiple handlers for the onplayerrest event.
|
|
//
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
ExecuteScript("prc_rest", OBJECT_SELF);
|
|
ExecuteScript("x2_mod_def_rest", OBJECT_SELF);
|
|
|
|
// Find the nearest summoned Efreeti with the specified tag
|
|
object oSummonedEfreeti = GetNearestObjectByTag("SUM_EFREETI001");
|
|
|
|
// Check if the summoned Efreeti exists and is valid
|
|
if (GetIsObjectValid(oSummonedEfreeti))
|
|
{
|
|
// Destroy the summoned Efreeti immediately
|
|
DestroyObject(oSummonedEfreeti, 0.0f);
|
|
}
|
|
|
|
}
|