Jump to content

Mine/Scav Turrets Stacking Issue


darkconsole

Recommended Posts

i think yall may be rounding values in the decision to stack. i notice if i change a value like damage (damage specifically seems suspect for this) by a small value like 0.01 it will still stack but not if i change it by 0.1

 

im working on a mod that lets you grind up turrets to improve a specific one, and its possible the grinding values will be very small if a user selects a bunch of grey levels.

 

if you want to keep the rounding, maybe making item.stackable writable

 

i believe the super rounded checks are happening during the inventory:add time

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...