[BUG] Infinate itemsSolved

I runned into a bug loop where item is recreated as its pulled out of body container. See config for recreation. As soon as fuse is pulled of dweller's body another one appears. 

{
  "Refill Loot On Plugin Load": true,
  "Container Loot Save Command": "lootsave",
  "Container Refill Command": "lootrefill",
  "Load Config Command": "lootconfig",
  "Containers": [
    {
      "Entity Shortnames": [
        {
          "Shortname": "global",
          "Enable Regex": false,
          "Exclude": false,
          "API Shortname": false
        }
      ],
      "Process Corpses": false,
      "Process Loot Containers": true,
      "Monument Prefabs": [""],
      "Shuffle Items": false,
      "Allow Duplicate Items": false,
      "Allow Duplicate Items With Different Skins": true,
      "Remove Container": false,
      "Item Container Indexes": [0],
      "Replace Items": false,
      "Add Items": false,
      "Modify Items": true,
      "Modify Ignores Blueprint State": false,
      "Fill With Default Items": true,
      "Online Condition": {
        "Minimal Online": -1,
        "Maximal Online": -1
      },
      "Maximal Failures To Add An Item": 5,
      "Capacity": [
        {
          "Capacity": 3,
          "Chance": 1
        }
      ],
      "Items": [
        {
          "Item Shortnames": [
            {
              "Shortname": "fuse",
              "Rarity": "global",
              "Category": "global",
              "Enable Regex": false,
              "Exclude": false
            }
          ],
          "Item Name (Empty To Ignore)": "",
          "Is Blueprint": false,
          "Allow Stacking": true,
          "Ignore Max Stack": true,
          "Ignore Max Condition": true,
          "Remove Item": false,
          "Replace Item With Default Loot": true,
          "Conditions": [
            {
              "Minimal Condition": 75.0,
              "Maximal Condition": 100.0,
              "Max Condition Of Item": -1.0,
              "Condition Rate": -1.0,
              "Max Condition Rate": -1.0,
              "Chance": 1
            }
          ],
          "Skins": [
            {
              "Skin": 0,
              "Chance": 1
            }
          ],
          "Amount": [
            {
              "Minimal Amount": 3,
              "Maximal Amount": 3,
              "Rate": -1.0,
              "Chance": 1
            }
          ],
          "Chance": 1
        }
      ]
    },
    {
      "Entity Shortnames": [
        {
          "Shortname": "global",
          "Enable Regex": false,
          "Exclude": false,
          "API Shortname": false
        }
      ],
      "Process Corpses": true,
      "Process Loot Containers": false,
      "Monument Prefabs": [""],
      "Shuffle Items": false,
      "Allow Duplicate Items": false,
      "Allow Duplicate Items With Different Skins": true,
      "Remove Container": false,
      "Item Container Indexes": [0],
      "Replace Items": false,
      "Add Items": true,
      "Modify Items": false,
      "Modify Ignores Blueprint State": false,
      "Fill With Default Items": true,
      "Online Condition": {
        "Minimal Online": -1,
        "Maximal Online": -1
      },
      "Maximal Failures To Add An Item": 5,
      "Capacity": [
        {
          "Capacity": 3,
          "Chance": 1
        }
      ],
      "Items": [
        {
          "Item Shortnames": [
            {
              "Shortname": "fuse",
              "Rarity": "global",
              "Category": "global",
              "Enable Regex": false,
              "Exclude": false
            }
          ],
          "Item Name (Empty To Ignore)": "",
          "Is Blueprint": false,
          "Allow Stacking": true,
          "Ignore Max Stack": true,
          "Ignore Max Condition": true,
          "Remove Item": false,
          "Replace Item With Default Loot": false,
          "Conditions": [
            {
              "Minimal Condition": 25.0,
              "Maximal Condition": 200.0,
              "Max Condition Of Item": -1.0,
              "Condition Rate": -1.0,
              "Max Condition Rate": -1.0,
              "Chance": 100
            }
          ],
          "Skins": [
            {
              "Skin": 0,
              "Chance": 1
            }
          ],
          "Amount": [
            {
              "Minimal Amount": -1,
              "Maximal Amount": -1,
              "Rate": -1.0,
              "Chance": 1
            }
          ],
          "Chance": 100
        }
      ]
    }
  ],
  "Debug": false
}
​

might be due to them not being stackable and you using stack of 3. try to set it to 1 (min max amount).

Merged post

its likely putting it in other slots being invisible until u free some space, thats my thought

Qble9YPyseIOkyH.png misticos

might be due to them not being stackable and you using stack of 3. try to set it to 1 (min max amount).

Merged post

its likely putting it in other slots being invisible until u free some space, thats my thought.

Fuse is stackable and it happens on every dweller. I'm adding it to vanilla loot... It is in visible slot. Once taken out another one is created with different durability. You can pull them out forever.

Qble9YPyseIOkyH.png misticos

might be due to them not being stackable and you using stack of 3. try to set it to 1 (min max amount).

Merged post

its likely putting it in other slots being invisible until u free some space, thats my thought

Here is a video demonstration: https://youtu.be/7EAQz__GJOk

Qble9YPyseIOkyH.png misticos

might be due to them not being stackable and you using stack of 3. try to set it to 1 (min max amount).

Merged post

its likely putting it in other slots being invisible until u free some space, thats my thought

what do you mean I use stack of 3? Item min and max amount is 1. Capacity is the number of free slots? no?



Merged post

Yeah changing capacity helped to prevent dupes but I don't understand how it is stack size if that is specified in container section and not item section... Great plugin but quite confusing. Documntation states this: "Capacity is a setting for capacity in a container. When using Add mode, it adds slots and with Replace it replaces number of free slots completely."

i was reading modify one first haha sorry. but yes capacity is slots. which capacity did you change? would you also mind setting Ignore Max Stack to false? btw my discord is misticos#2334

Qble9YPyseIOkyH.png misticos

i was reading modify one first haha sorry. but yes capacity is slots. which capacity did you change? would you also mind setting Ignore Max Stack to false? btw my discord is misticos#2334

Capacity of the second "container". Second container is setup to fill bodies with vanilla loot and add 1 fuse of random condition.

I've changed capacity of this container from 3 to 1 and duping stopped. 

I will test it with max stack off and let you know.



Merged post

Max Stack: false doesn't seems to help as long as capacity is more than 1 duping happens.
Locked automatically