Skip to content

Commit

Permalink
docs: Add documentation for mod_target_category (#4235)
Browse files Browse the repository at this point in the history
Add documentation for mod_target_category
  • Loading branch information
KheirFerrum committed Feb 18, 2024
1 parent 9ff70a4 commit c95936b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/src/content/docs/en/mod/json/reference/json_info.md
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,8 @@ Gun mods can be defined like this:
... // Same entries as above for the generic item.
// Additionally some gunmod specific entries:
"location": "stock", // Mandatory. Where is this gunmod is installed?
"mod_targets": [ "crossbow" ], // Mandatory. What kind of weapons can this gunmod be used with?
"mod_targets": [ "crossbow" ], // Mandatory. What specific weapons can this gunmod be used with?
"mod_target_category": [ [ "BOWS" ] ], // Optional. What specific weapon categories can this gunmod be used with?
"acceptable_ammo": [ "9mm" ], // Optional filter restricting mod to guns with those base (before modifiers) ammo types
"install_time": "30 s", // Optional time installation takes. Installation is instantaneous if unspecified. An integer will be read as moves or a time string can be used.
"ammo_modifier": [ "57" ], // Optional field which if specified modifies parent gun to use these ammo types
Expand Down

0 comments on commit c95936b

Please sign in to comment.