generated from Jaysyn/ModuleTemplate
50 lines
2.0 KiB
Plaintext
50 lines
2.0 KiB
Plaintext
void main()
|
|
{
|
|
/*
|
|
// Reject player if they don't have 'iRequiredGold' gold
|
|
int iRequiredGold = GetLocalInt(OBJECT_SELF,"RequiredGold");
|
|
|
|
// Determine how much gold to take from PC
|
|
int iGoldTaken = GetLocalInt(OBJECT_SELF,"GoldTaken");
|
|
|
|
// This identifies the name of the quest for node tracking purposes.
|
|
// Make sure this string value matches the name of the quest and the
|
|
// Tag value of your journal entries, if you choose to use journals.
|
|
string szPlotID = GetLocalString(OBJECT_SELF,"Quest");
|
|
|
|
// Number of quest item to check for
|
|
int iItemNum = GetLocalInt(OBJECT_SELF,"ItemNum");
|
|
|
|
// Tag of Quest Item that PC must have
|
|
string sItem = szPlotID+"Item"+sItemNum;
|
|
|
|
// Determine the Skill being checked by looking for a local int on the NPC
|
|
int iSkill = GetLocalInt(OBJECT_SELF,"Skill");
|
|
|
|
// Determine the DC of the skill check by looking for a local int on the NPC
|
|
int iDC = GetLocalInt(OBJECT_SELF,"DC");
|
|
|
|
// Determine the direction of alignment shift by looking for a local int on the NPC
|
|
int iShift = GetLocalInt(OBJECT_SELF,"Shift");
|
|
|
|
// Determine the amount of the alignment shift by looking for a local ints on the NPC
|
|
int iAmount = GetLocalInt(OBJECT_SELF,"AmountCL"); // Controls Choas/Law Shift Amount
|
|
int iAmount = GetLocalInt(OBJECT_SELF,"AmountGE"); // Controls Good/Evil Shift Amount
|
|
int iAmount = GetLocalInt(OBJECT_SELF,"AmountN"); // Controls Neutral Shift Amount
|
|
|
|
// Determine the multiple of a d10 that you want to use for randomization of Gold reward
|
|
int iGPRanMult = GetLocalInt(OBJECT_SELF,"GPRanMult");
|
|
|
|
// Determine the multiple of a d20 that you want to use for randomization of XP reward
|
|
int iXPRanMult = GetLocalInt(OBJECT_SELF,"XPRanMult");
|
|
|
|
// Determine the static amount of Gold to reward a player for completing a quest.
|
|
// Remember, this value gets added to a randomization value of d10(iGPRanMult).
|
|
int iGP = GetLocalInt(OBJECT_SELF,"GP");
|
|
|
|
// Determine the static amount of XP to reward a player for completing a quest.
|
|
// Remember, this value gets added to a randomization value of d20(iXPRanMult).
|
|
int iXP = GetLocalInt(OBJECT_SELF,"XP");
|
|
*/
|
|
}
|