peterb
June 9th, 2023, 11:53
All weapon items lacks a weapontype, see image below for an example.
57649
Looking in the module (BRP Game System X) database, the xml-element "weapontype" is set (to a numeric value), "1" for missile weapons and "0" for melee weapons.
The practical effect is that weapons who are dragged onto the main tab get sorted as melee weapons even if they are missile weapons, which is a bit annoying. It doesn't matter if the item is dragged to the main tab or to the inventory, the weapontype remains unset. A side effect is that those missile weapons that gets damage bonus, gets the wrong damage bonus. They get melee damage bonus instead of the missile one.
The weapon type combobox is populated but no value is selected.
Studying /campaign/scripts/item_main.lua, /scripts/global.lua and /scripts/manager_gameline.lua it seems to me that the code that selects an item out of the list in the combobox might be missing.
/Peter
57649
Looking in the module (BRP Game System X) database, the xml-element "weapontype" is set (to a numeric value), "1" for missile weapons and "0" for melee weapons.
The practical effect is that weapons who are dragged onto the main tab get sorted as melee weapons even if they are missile weapons, which is a bit annoying. It doesn't matter if the item is dragged to the main tab or to the inventory, the weapontype remains unset. A side effect is that those missile weapons that gets damage bonus, gets the wrong damage bonus. They get melee damage bonus instead of the missile one.
The weapon type combobox is populated but no value is selected.
Studying /campaign/scripts/item_main.lua, /scripts/global.lua and /scripts/manager_gameline.lua it seems to me that the code that selects an item out of the list in the combobox might be missing.
/Peter