10 lines
300 B
Plaintext
10 lines
300 B
Plaintext
// Take minor mana crystal and make PC a member
|
|
void main()
|
|
{
|
|
object oItem=GetItemPossessedBy(GetPCSpeaker(),"MANA_CRYSTAL_1");
|
|
object oChest=GetObjectByTag("MG_CHEST");
|
|
SetLocalInt(GetPCSpeaker(),"nMGMember",1);
|
|
DestroyObject(oItem);
|
|
oItem=CreateItemOnObject("mana_crystal_1",oChest,1);
|
|
}
|