Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-09-25 21:32:17 -04:00
parent c1b271b363
commit ec287507a1
10074 changed files with 8442145 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
//::///////////////////////////////////////////////
//:: Name: pgs_build_messag
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Build the guild-specific message list.
*/
//:://////////////////////////////////////////////
//:: Created By: Samius Maximus
//:: Created On:
//:://////////////////////////////////////////////
#include "inc_gsystem"
int StartingConditional()
{
object oPlayer = GetPCSpeaker();
int iGuild = GetLocalInt (oPlayer, "Player_Guild_Number");
int iCount = 1;
SetLocalInt (oPlayer, "Token_Position", 1);
SetLocalInt (oPlayer, "List_Built", 2); /*List being built.*/
//--------------------------------------------
//Loop through and save valid guild messages.
//--------------------------------------------
for (; iCount <= 8; iCount++)
{
if (GetModuleGuildTitle (iGuild, iCount) != "")
SetLocalInt (oPlayer, "Temp_List_Position" + IntToString (iCount),
iCount);
else
SetLocalInt (oPlayer, "Temp_List_Position" + IntToString (iCount), 0);
}
return TRUE; /*Conditional.*/
}