PoA_PRC8/_module/nss/gc_set_bullets.nss

12 lines
290 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
int nType;
object oItem = GetItemInSlot(INVENTORY_SLOT_BULLETS,GetPCSpeaker());
nType = GetBaseItemType(oItem);
int nSlot = INVENTORY_SLOT_BULLETS;
SetLocalInt(GetPCSpeaker(), "CRAFT_SLOT", nSlot);
SetLocalInt(GetPCSpeaker(), "CRAFT_TYPE", nType);
}