34 lines
917 B
Plaintext
34 lines
917 B
Plaintext
/***************************************************
|
|
Action Taken Script : Train Bowyering
|
|
ats_at_train_bw
|
|
|
|
Last Updated: 25 August 2002
|
|
|
|
***Ambrosia Tradeskill System***
|
|
Created by Mojo(Allen Sun)
|
|
Assisted by Pelemele Malef'carum (Shawn Perreault)
|
|
|
|
This script belongs to the conversation file for
|
|
the master Fletcher npc. It is used to train
|
|
a player in the basics of bowyering.
|
|
***************************************************/
|
|
#include "ats_inc_common"
|
|
#include "ats_const_skill"
|
|
#include "ats_const_common"
|
|
#include "ats_const_recipe"
|
|
#include "ats_config"
|
|
#include "ats_inc_skill"
|
|
|
|
void main()
|
|
{
|
|
object oPlayer = GetPCSpeaker();
|
|
|
|
if(GetItemPossessedBy(oPlayer, "ATS_BOOK_BW_FL") == OBJECT_INVALID)
|
|
{
|
|
object oBook = CreateItemOnObject("ats_book_bw_fl");
|
|
ActionGiveItem(oBook, oPlayer);
|
|
}
|
|
ATS_RaiseTradeskill(oPlayer, CSTR_SKILLNAME_BOWYERING, 5);
|
|
|
|
}
|