PoA_PRC8/module/nss/gc_set_bullets.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

12 lines
290 B
Plaintext

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