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.
18 lines
458 B
Plaintext
18 lines
458 B
Plaintext
#include "NW_I0_GENERIC"
|
|
//#include "array_api"
|
|
#include "rpo_inc"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetExitingObject();
|
|
if (GetIsPC(oPC))
|
|
{
|
|
if (GetLocalInt(oPC, "RPO_Reputation") == RPO_PLAYER_REPUTATION_CRIMINAL)
|
|
{
|
|
// SetLocalInt(oPC,"PlayerState", PWS_PLAYER_STATE_PRISON);
|
|
// event ePerception = EventUserDefined(10001);
|
|
// SignalEvent(GetObjectByTag("PrisonGuard"), ePerception);
|
|
}
|
|
}
|
|
}
|