Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

32
_module/nss/qst_forme.nss Normal file
View File

@@ -0,0 +1,32 @@
void main()
{
object oPC;
int iGold;
int iSelfish;
int iDifficulty;
oPC=GetPCSpeaker();
iDifficulty = 13 + GetLocalInt(GetArea(OBJECT_SELF),"MinLevel");
if (GetIsSkillSuccessful(oPC,SKILL_INTIMIDATE,iDifficulty))
{
iGold = GetLocalInt(OBJECT_SELF,"QuestGold");
iGold = iGold * 3 / 2;
SetLocalInt(OBJECT_SELF,"QuestGold",iGold);
}
if (GetGoodEvilValue(oPC)>30)
{
iSelfish = GetLocalInt(oPC,"Selfish");
iSelfish++;
SetLocalInt(oPC,"Selfish",iSelfish);
if (iSelfish % 5 == 0 && GetGoodEvilValue(oPC)>60)
{
AdjustAlignment(oPC,ALIGNMENT_GOOD,-1);
}
else if (iSelfish % 10 == 0)
{
AdjustAlignment(oPC,ALIGNMENT_EVIL,1);
}
}
}