11 lines
304 B
Plaintext
11 lines
304 B
Plaintext
#include "lcs_wpn_include"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oPC);
|
|
int nNewLine = lcs_GetNextValidWeaponModel(oItem, ITEM_APPR_WEAPON_MODEL_TOP);
|
|
|
|
lcs_ModifyandEquipNewWeapon(oItem, ITEM_APPR_WEAPON_MODEL_TOP, nNewLine);
|
|
}
|