Git Product home page Git Product logo

Comments (4)

thommcgrath avatar thommcgrath commented on August 25, 2024

The weight I believe I have correct. It does at up to 100%. If you have two items with the same weight value, they essentially each have a 50% chance to be selected.

As for the order, I've read that forum post many times. I haven't seen anything to suggest order matters. If it did, weight would be much less important. If you can point me to something specific that leads you to believe this, I'm happy to listen. I want this as good as I can get it.

from beacon.

Cyrcle avatar Cyrcle commented on August 25, 2024

I would have to further test it to confirm, but the way the forum post suggests is that it goes down the list of items and the weight is the chance that item is selected. I will post back with results.

from beacon.

thommcgrath avatar thommcgrath commented on August 25, 2024

No, actually, you are right:

As you can see, the first entry (Stone) has a chance of 90% to be in the loot crate. So in 9 out of 10 supply drops you will get stone. If stone is in the crate, it will go to the next item: Thatch. As Thatch has a 100% chance to be in, it will be chosen as next item. Now, we have alreay reached the 2 items max. qty limit. Therefor the set's chosen items are decided now.

So I'll have to adjust how this works.

from beacon.

thommcgrath avatar thommcgrath commented on August 25, 2024

So... I'm not convinced the source forum post is correct. I've been playing on my server with a config built by Beacon. If what this post says is correct, I should only be seeing the first items in my sets. But I'm not. We just opened a beacon an hour ago with 100 Absorbent Substrate. This is at the very bottom of the "Raw Materials" preset, which has a lot of entries. If every entry is given a 100% chance and selected in order, I should only ever see Wood, Stone, Metal, and Hide from that preset. But I don't. We've seen most items in that list.

My experience tells me this is working as intended how it's currently coded. I'm going to leave this issue open, because it's definitely worth discussion and testing.

from beacon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.