Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/givelegaxes.nss
Normal file
19
_module/nss/givelegaxes.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if (GetGold(oPC) >= 10000)
|
||||
{
|
||||
CreateItemOnObject("legthrowingaxes1", oPC,250);
|
||||
|
||||
AssignCommand(oPC, TakeGoldFromCreature(10000, oPC, TRUE));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("You do not have enough gold!", oPC);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user