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/sc_prison_enter.nss
Normal file
17
_module/nss/sc_prison_enter.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user