25 lines
613 B
Plaintext
25 lines
613 B
Plaintext
|
/****************************************************
|
||
|
Action Taken Script : Material Selection 5
|
||
|
ats_at_mat_sel_5
|
||
|
|
||
|
Last Updated: July 15, 2002
|
||
|
|
||
|
***Ambrosia Tradeskill System***
|
||
|
Created by Mojo(Allen Sun)
|
||
|
|
||
|
This script responds to the selection of a material
|
||
|
type and stores that material type for later use.
|
||
|
****************************************************/
|
||
|
#include "ats_inc_menu"
|
||
|
#include "ats_inc_menu_mat"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPlayer = GetPCSpeaker();
|
||
|
|
||
|
int iCraftMaterial = ATS_GetMaterialFromDisplayList(oPlayer, 5);
|
||
|
|
||
|
ATS_SetCurrentCraftMaterial(oPlayer, iCraftMaterial);
|
||
|
}
|
||
|
|