HoS_PRC8/_mod/_module/nss/mg_join_minmana.nss
Jaysyn904 04165202c0 Initial upload
Initial upload
2024-11-25 19:36:07 -05:00

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);
}