Initial upload
Initial upload.
This commit is contained in:
24
_module/nss/pgs_config_peace.nss
Normal file
24
_module/nss/pgs_config_peace.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name: pgs_config_peace
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Configure Player Guild System (PGS) setting
|
||||
for peace offers.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Samius Maximus
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
#include "inc_gsystem"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetPCSpeaker();
|
||||
|
||||
//--------------------------------------------
|
||||
//Change current player PGS setting.
|
||||
//--------------------------------------------
|
||||
SetPlayerSettingValue (oPlayer, "Faction_Offers", !GetPlayerSettingValue
|
||||
(oPlayer, "Faction_Offers"));
|
||||
}
|
||||
Reference in New Issue
Block a user