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

When adding ammo boxes, they are empty #166

Closed
angel-git opened this issue Jun 13, 2024 · 0 comments · Fixed by #167
Closed

When adding ammo boxes, they are empty #166

angel-git opened this issue Jun 13, 2024 · 0 comments · Fixed by #167
Labels
bug Something isn't working

Comments

@angel-git
Copy link
Owner

Adding an ammo box for instance: 657024f9bfc87b3a3409323b should result in the following json:

{
  "_id": "666aa601eb53afd90d000001",
  "_tpl": "60194943740c5d77f6705eea",
  "parentId": "85ab9b0b0ab161390ca5ef03",
  "slotId": "cartridges",
  "upd": {
    "StackObjectsCount": 50,
    "SpawnedInSession": true
  }
},
{
  "_id": "85ab9b0b0ab161390ca5ef03",
  "_tpl": "657024f9bfc87b3a3409323b",
  "upd": {
  "SpawnedInSession": true
  },
  "parentId": "5fe49a0e2694b0755a504876",
  "slotId": "hideout",
  "location": {
  "x": 7,
  "y": 28,
  "r": "Horizontal",
  "isSearched": true
}

Item definitions:

  "657024f9bfc87b3a3409323b": {
    "_id": "657024f9bfc87b3a3409323b",
    "_name": "item_ammo_box_556x45_50_mk_318",
    "_parent": "543be5cb4bdc2deb348b4568",
    "_props": {
      "AnimationVariantsNumber": 0,
      "BackgroundColor": "yellow",
      "CanRequireOnRagfair": false,
      "CanSellOnRagfair": false,
      "ConflictingItems": [],
      "Description": "ammo_box_556x45_xx_m193ball",
      "DiscardLimit": -1,
      "DiscardingBlock": false,
      "DropSoundType": "None",
      "ExamineExperience": 10,
      "ExamineTime": 1,
      "ExaminedByDefault": true,
      "ExtraSizeDown": 0,
      "ExtraSizeForceAdd": false,
      "ExtraSizeLeft": 0,
      "ExtraSizeRight": 0,
      "ExtraSizeUp": 0,
      "Height": 1,
      "HideEntrails": true,
      "InsuranceDisabled": false,
      "IsAlwaysAvailableForInsurance": false,
      "IsLockedafterEquip": false,
      "IsSpecialSlotOnly": false,
      "IsUnbuyable": false,
      "IsUndiscardable": false,
      "IsUngivable": false,
      "IsUnremovable": false,
      "IsUnsaleable": false,
      "ItemSound": "ammo_pack_generic",
      "LootExperience": 0,
      "MergesWithChildren": false,
      "Name": "ammo_box_556x45_xx_m193ball",
      "NotShownInSlot": false,
      "Prefab": {
        "path": "assets/content/items/ammo/boxes/item_ammo_box_5_56x45mm_50_crtg.bundle",
        "rcid": ""
      },
      "QuestItem": false,
      "QuestStashMaxCount": 0,
      "RagFairCommissionModifier": 1,
      "RarityPvE": "Superrare",
      "RepairCost": 0,
      "RepairSpeed": 0,
      "ShortName": "ammo_box_556x45_xx_m193ball",
      "StackMaxRandom": 50,
      "StackMaxSize": 1,
      "StackMinRandom": 50,
      "StackObjectsCount": 1,
      "StackSlots": [
        {
          "_id": "657024f9bfc87b3a3409323c",
          "_max_count": 50,
          "_name": "cartridges",
          "_parent": "657024f9bfc87b3a3409323b",
          "_props": {
            "filters": [
              {
                "Filter": [
                  "60194943740c5d77f6705eea"
                ]
              }
            ]
          },
          "_proto": "5748538b2459770af276a261"
        }
      ],
      "Unlootable": false,
      "UnlootableFromSide": [],
      "UnlootableFromSlot": "FirstPrimaryWeapon",
      "UsePrefab": {
        "path": "",
        "rcid": ""
      },
      "Weight": 0.01,
      "Width": 1,
      "ammoCaliber": "Caliber556x45NATO"
    },
    "_type": "Item"
  }
@angel-git angel-git added the bug Something isn't working label Jun 13, 2024
angel-git added a commit that referenced this issue Jun 13, 2024
angel-git added a commit that referenced this issue Jun 13, 2024
angel-git added a commit that referenced this issue Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant