HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
43 stars 4 forks source link

Lethal Expansion scrap force-spawning on custom moons #54

Open AudioKnight opened 6 months ago

AudioKnight commented 6 months ago

Even when removed from the "Spawnable Scrap" list, I keep seeing Canned Food and Tape appearing in my map. I believe this is caused by the templatemod.lem being included in LethalExpansion, since it contains the scrap data. From what I can tell, it's the "Per Planet Spawn Weight" -> "Others" weighting that's forcing it to spawn on any additional custom moons.

image

Upon removal of templatemod.lem the LE scraps stopped spawning in my moon, so perhaps it should be removed from the regular LethalExpansion and only uploaded with the SDK (assuming it's what's causing the issue).

HolographicWings commented 6 months ago

Even when removed from the "Spawnable Scrap" list, I keep seeing Canned Food and Tape appearing in my map. I believe this is caused by the templatemod.lem being included in LethalExpansion, since it contains the scrap data. From what I can tell, it's the "Per Planet Spawn Weight" -> "Others" weighting that's forcing it to spawn on any additional custom moons.

image

Upon removal of templatemod.lem the LE scraps stopped spawning in my moon, so perhaps it should be removed from the regular LethalExpansion and only uploaded with the SDK (assuming it's what's causing the issue).

This is for testing, "Others" is a new feature If no error report about it next week I'll change it I could add a blacklist tho Scrap blacklist for moon and moon blacklist for scrap

HolographicWings commented 6 months ago

@AudioKnight new SDK update will contain a blacklist, you can add the names of the template scraps in the blacklist of your moon let me know if that work EDIT : if the thunderstore api decides to works for a change

AudioKnight commented 6 months ago

Thanks, will do!!