12 lines
290 B
Plaintext
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);
|
|
|
|
}
|