Amon_PRC8/_module/nss/pay_cat_key.nss

11 lines
214 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//:: FileName pay1000
// PC pays 1000 gp to NPC
void main()
{
// Remove some gold from the player
TakeGoldFromCreature(1000, GetPCSpeaker(), TRUE);
CreateItemOnObject("lcatkey", GetPCSpeaker(), 1);
}