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:
@@ -13,14 +13,22 @@
|
||||
|
||||
#include "pqj_inc"
|
||||
#include "nw_i0_tool"
|
||||
#include "x0_i0_partywide"
|
||||
|
||||
void main()
|
||||
{
|
||||
//:: Declare major variables
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
//:: Give the speaker some gold
|
||||
RewardPartyGP(50000, oPC);
|
||||
//:: Reward the party
|
||||
int nGold = 50000;
|
||||
|
||||
//:: 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);
|
||||
|
||||
//:: Set quest stage & update DB.
|
||||
AddPersistentJournalQuestEntry("mushroom", 2, oPC);
|
||||
|
Reference in New Issue
Block a user