UW2_PRC8/_module/nss/gc_set_bullets.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -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);
}