Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include "x4_inc_functions"
void main()
{
object oPC = GetPCSpeaker();
int iGold = GetCampaignInt(CharacterDB(oPC), "BARTAB", oPC);
if (GetGold(oPC) < iGold)
{
SpeakOneLinerConversation("Not enough on me. I'll settle later.", oPC);
return;
}
TakeGoldFromCreature(iGold, oPC, TRUE);
SetCampaignInt(CharacterDB(oPC), "BARTAB", 0, oPC);
SetLocalInt(GetModule(), "ZORCOTABSWRITE", 1);
if (iGold > 9) AdjustAlignment(oPC, ALIGNMENT_LAWFUL, 1);
}