Jump to content

I don't understand the config

Pending 1.0.0

Covfefe
Covfefe

Posted

Quote

"Loot profiles": [
    {
      "Loot source": "Woodcutting",
      "Prefab shortname, boss profile, event name [null if not required]": null,
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 0.5,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "lumberjack’s haste": 100
      }
    },
    {
      "Loot source": "Mining",
      "Prefab shortname, boss profile, event name [null if not required]": null,
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 1.0,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "smelter's soup": 100
      }
    },
    {
      "Loot source": "Fishing",
      "Prefab shortname, boss profile, event name [null if not required]": null,
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 3.0,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "fisherman's wharf pie": 70,
        "deep sea tincture": 30
      }
    },
    {
      "Loot source": "Barrel",
      "Prefab shortname, boss profile, event name [null if not required]": null,
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 1.5,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "fortune cookie": 100
      }
    },
 

Am I supposed to put in the crate prefabs I want these items to spawn in or something? Can't you just provide a list of crates with true false?

  • Curator
imthenewguy

Posted

17 hours ago, Covfefe said:

Am I supposed to put in the crate prefabs I want these items to spawn in or something? Can't you just provide a list of crates with true false?

No, the idea was to allow for servers to add a granular list of loot options.

You would do something like this:

  "Loot profiles": [
    {

      "Loot source": "Crate",
      "Prefab shortname, boss profile, event name [null if not required]": "crate_normal_2",
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 0.5,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "Lumberjack’s Haste": 100
      }
    },
    {
      "Loot source": "Crate",
      "Prefab shortname, boss profile, event name [null if not required]": "crate_normal",
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 2.0,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "Everfrost Tonic": 40,
        "Cognitive Cocktail": 40,
        "Fortune Cookie": 20
      }
    },
    {
      "Loot source": "Crate",
      "Prefab shortname, boss profile, event name [null if not required]": "crate_elite",
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 5.0,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "Everfrost Tonic": 40,
        "Cognitive Cocktail": 40,
        "Fortune Cookie": 20
      }
    },
    {
      "Loot source": "Crate",
      "Prefab shortname, boss profile, event name [null if not required]": "crate_tools",
      "A list of required skin IDs [null if not required]": [],
      "Identifiers to exclude from consideration [List - null if not required]": [],
      "Drop chance [%]": 3.0,
      "Should we consider loot chance modifiers that the player may have?": false,
      "Items that can drop from this source [profile name: drop weight]": {
        "Everfrost Tonic": 40,
        "Cognitive Cocktail": 40,
        "Fortune Cookie": 20
      }
    },
  }

 

Covfefe

Posted (edited)

PLEASE just fill it out for us, this is too confusing. Lower tier crates should be for loot that has the highest drop chance and vice versa. We're not developers so these config gets really confusing for us sometimes, because to us it just feels like coders being lazy most times we have empty config. We need at least an example so we know how the formatting should be, whether it should have "" quotes and comma's and such.

Edited by Covfefe
2.2m

Downloads

Total number of downloads.

10.1k

Customers

Total customers served.

146.2k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.