25 lines
613 B
Plaintext
25 lines
613 B
Plaintext
/****************************************************
|
|
Action Taken Script : Material Selection 6
|
|
ats_at_mat_sel_6
|
|
|
|
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, 6);
|
|
|
|
ATS_SetCurrentCraftMaterial(oPlayer, iCraftMaterial);
|
|
}
|
|
|