My custom item doesn't have the correct properties!
If your custom item appears in-game but doesn't have the correct properties (e.g., a weapon with incorrect damage, a keycard with the wrong access levels), check the following:
Verify the
CustomItemTypeandItemtype: TheCustomItemTypein your.ymlfile must match the baseItemtype. For example, if you setCustomItemTypetoWeapon, theItemmust be a weapon (e.g.,GunCOM18).Check your
CustomDataformatting: TheCustomDatasection of your.ymlfile must be correctly formatted for the specifiedCustomItemType. For instance, aWeaponrequires properties likedamage,max_ammo, etc., while aKeycardneedscontainment,armory, andadminlevels.Inspect the
CustomDataproperties: Ensure that all the properties in yourCustomDataare spelled correctly and have the correct data types (e.g.,floatfor damage,intfor ammo,stringfor a keycard's name).
Was this helpful?