-
October 6th, 2020, 06:19 #1
- Join Date
- Jan 2011
- Posts
- 114
A few script bugs to correct on Starfinder Items
There's a few bugs in the item scripts surrounding subtypes:
First, "Long Arms" should be "Longarms".
item_main.lua - Line 48
Code:local bWeaponRanged = (sSubType == "Small Arms" or sSubType == "Long Arms" or sSubType == "Grenade" or sSubType == "Heavy" or sSubType == "Special" or sSubType == "Sniper");
Second, capacity controls and range are showing up for "Heavy" armor because of:
item_main.lua - Line 109
Code:if updateControl("range", bReadOnly, bID and bWeaponRanged and not bAmmunition) then bSection4 = true; end if updateControl("capacity", bReadOnly, bID and bWeaponRanged and not bAmmunition) then bSection4 = true; end
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks