HolographicWings / LethalSDK-Unity-Project

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

Scrap value not aligning with Min and Max values. #6

Closed verosment closed 11 months ago

verosment commented 11 months ago

Hi, I've been toying around with this and have been trying to add a metronome scrap as a test, but it seems like the value doesn't match up with the 'Min Value' and 'Max Value' I've set in the Unity editor. The Min value is set to 60 and the Max is set to 85, meaning the value should be within this range. But as you can see in the screenshots, it does not stay within the 60-85 value.

How can I make sure that the scrap's value will stay between these two numbers, is there something I can do on my end or is this a bug?

Screenshots:

Screenshot 2023-12-11 183845 Screenshot 2023-12-11 184124 Screenshot 2023-12-11 184238

HolographicWings commented 11 months ago

Hi, I've been toying around with this and have been trying to add a metronome scrap as a test, but it seems like the value doesn't match up with the 'Min Value' and 'Max Value' I've set in the Unity editor. The Min value is set to 60 and the Max is set to 85, meaning the value should be within this range. But as you can see in the screenshots, it does not stay within the 60-85 value.

How can I make sure that the scrap's value will stay between these two numbers, is there something I can do on my end or is this a bug?

Hello it's not a bug, in vanilla all scraps have 0.4x of their value, you can change it in the settings menu it's why the Apparatus is 80 and not 200 as it is supposed to be

verosment commented 11 months ago

Ooh, that makes sense. I didn't know that before now, thank you!