Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
//Put this on action taken in the conversation editor
#include "nw_i0_tool"
void main()
{
object oPC = GetPCSpeaker();
if (GetGold(oPC) >= 5000000)
{
if (d100()<=15)
{
CreateItemOnObject("handwish", oPC);
AssignCommand(oPC, TakeGoldFromCreature(5000000, oPC, TRUE));
FloatingTextStringOnCreature("You have found something in the well!!!", oPC);
}
else if (GetGold(oPC) >= 500000)
{
if (d100()<=40)
{
RewardPartyGP(99999, oPC, FALSE);
FloatingTextStringOnCreature("You find many coins within the well!!!!", oPC);
}
else
{
AssignCommand(oPC, TakeGoldFromCreature(300000, oPC, TRUE));
FloatingTextStringOnCreature("Some of your gold has been turned to lead!!!!", oPC);
}
}
}
}