PnP Enhancements continue

PnP Enhancements continue.  Fixed some quest logic, made some of the quests reward the entire party instead of the player that turns it in.  Updated Warrior's Guild.  Colored Wilderness map for the hell of it. Full compile.
This commit is contained in:
Jaysyn904
2022-11-19 00:37:42 -05:00
parent a3058d3ed1
commit 310b26f555
136 changed files with 3908 additions and 18074 deletions

View File

@@ -13,19 +13,26 @@
#include "nw_i0_tool"
#include "pqj_inc"
#include "x0_i0_partywide"
void main()
{
//:: Declare major variables
object oPC = GetPCSpeaker();
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("marthek", 5, oPC);
//:: Reward the party
int nGold = 1500;
//:: Give the PC some gold
GiveGoldToCreature(oPC, 1500);
//:: Get gold for each PC
//:: Take one off GetNumberPartyMembers(), see known bugs
int nMembers = GetNumberPartyMembers(oPC) - 1;
//:: Give the correct gold to all of them
GiveGoldToAll(oPC, nGold/nMembers);
//:: Give the PC's party some XP
RewardPartyXP(700, oPC);
}
//:: Set quest stage & update DB.
AddPersistentJournalQuestEntry("marthek", 5, oPC);
}