Bradley Pierce

Results 28 comments of Bradley Pierce

@SwissalpS The code in the PR does not re-index a drawer network for each `"get"` request, it simply gets a list of connected drawers (in range) and reads their meta...

The keys of the cached table index are item names, and this PR aims to provide information about each individual drawer. If two drawers contain the same item, the cached...

I implemented a DFS with a `VoxelManip` instead of recursive `find_nodes_in_area`. This should make it faster, but I don't think the list of connected drawers should be cached. Drawers can...

Would it be possible to add weights for each variant?

> What do you mean by it? So that one texture is more likely to appear than another, for example. Like, `dirt_1.png` could have a 75% chance of appearing, but...

I'm not sure if this is what you meant but you can also account for size and rotation using trigonometry. The sound length idea can also account for pitch effect.

IIRC, "replace item X of Y with Z" is really slow. I could be wrong. What if the variable needs to be a list?

Can you elaborate on that? What is a "temporary variable" in this context?