34 lines
675 B
Plaintext
34 lines
675 B
Plaintext
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.3
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
{
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "TrainingLog");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
CreateItemOnObject("traininglog001", oPC);
|
||
|
|
||
|
CreateItemOnObject("rykarianmediumar", oPC);
|
||
|
|
||
|
CreateItemOnObject("rykarianshiel001", oPC);
|
||
|
|
||
|
CreateItemOnObject("rykarianhelm001", oPC);
|
||
|
|
||
|
CreateItemOnObject("rykarianlongswor", oPC);
|
||
|
}
|
||
|
|
||
|
}
|