Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location for a Thrown Weapon is blank despite it being present in the gear entry #3864

Open
Lochabar opened this issue Sep 13, 2019 · 2 comments

Comments

@Lochabar
Copy link
Collaborator

commented Sep 13, 2019

Describe the bug
In the character viewer, thrown weapons are listed in the blank location list of the ranged weapon block despite them being in a specific location in the gear tab.

Looking in the saved XML file the Location tag of a thrown weapon in the weapon node is blank even though the Location in the corresponding gear node is present. .

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Street Gear' under gear drag a thrown weapon to a location
  2. Click on 'Print' button
  3. Scroll down to 'Ranged Weapons' block
  4. See thrown weapon is in top (blank) location not under the named location

Expected behavior
Thrown weapons are shown under the appropriate location area of the ranged weapons.

Screenshots
Gear tab showing grenades in a location
gear tab

Character viewer showing grenades in blank location
ranged weapons block

Saved XML file showing gear
gear in XML

Saved XML file showing weapon with blank location
weapon in XML

Desktop (please complete the following information):

  • OS: Windows 7 Home
  • Version: 5.208.13
@chummer5a

This comment has been minimized.

Copy link
Owner

commented Sep 30, 2019

Broadly, this is because they're separate objects. Weapon Locations aren't the same as Gear Locations, etc. I've seen people use them in different ways as well, with people grouping knives and such as Melee, or as an actual location. I'm tempted to consider this working as intended.

@Lochabar

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 30, 2019

I use Location to separate the gear belonging to different SINs. Certain weapons require a license. So in order for one identity to carry certain weapons, a certain license is required. I want to be able to list the weapons by SIN to be able to keep track of what each ID can use.

Besides which the Location field is present in the XML just always. What's the point of having it if it is not used - actually that applies to a lot of fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.