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

9 lines
209 B
Plaintext

void main()
{
object oChest=GetObjectByTag("CG_CHEST");
object oPC=GetPCSpeaker();
object oItem;
TakeGoldFromCreature(200,oPC,TRUE);
oItem=CreateItemOnObject("nw_it_gold001",oChest,200);
}