question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improvement request/help

See original GitHub issue

I need to make a specific file to be incompatible with an entire folder For example I’m creating an avatar that has folder with clothes, then another folder with necklaces I need to add to incompatible object a single piece of clothing by its filename, then say that it wont be compatible with any file on necklace folder lets say I have inside Clothes folder, the files clothes_01, clothes_02, clothes_03 and so on… This is how the incompatible object would be represented

const incompatible = { Clothes_03: ["Necklace"], };

Could you suggest the right approach to achieve this? I can totally do that just on my side of the code if you don’t plan to support this

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
zoultrexcommented, Feb 22, 2022

I did something that solved the problem for me, but I did not test the entire tool to know if this could cause more issues, so far it worked without showing any bugs:

const compatibleLayers = layer.elements.filter(
    (layer) => !incompatibleDNA.includes(layer.name) && !incompatibleDNA.includes(layer.trait)
  );

I’ll create a PR so the tool can have support for this

0reactions
zoultrexcommented, Feb 23, 2022

I think this can be achieved using a combination of nested folders and adding multiple layer configurations. One of those configurations would simple be extended by 1 and contain the super rare item in the nested folders to be combined with others. The other option is to manually create the super rare and use the utility to replace and slip in your uniques…this might be best given what you said. This would leave nothing to chance on the super rare.

Yea thats pretty much what I had in mind too, thanks again for the feedback

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request help definition and meaning | Collins English Dictionary
Request help definition: If you say that someone or something has been a ... Researchers will help us better understand the causes and...
Read more >
Bug? Improvement Request? Help us fixing it faster! : r/Planetside
It's simple, if you want the bug you've found getting fixed fast, use the Issuetracker, as it is for improvement requests Daybreak catches...
Read more >
Capacitive Touch Screen Improvement Request / Help · Issue #143 ...
Hi @Wookiemage,. In the upcoming release I will introduce a new variable that will influence all the font sizes including icon sizes. If...
Read more >
Enhancement Request : Help us Help you! - Dentech
Enhancement Requests. Dentech's software is user definable, meaning you can ask us to make changes! Our top priority is that your practice needs...
Read more >
Service - Atlas - OIT Help Desk
Report an Issue - Atlas · Request Atlas Access · Request New Development / Improvement · General Request / Help - Atlas ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found