Jump to content

Explosive work damage is the same no matter the size of the explosive's stack


Hornete
  • Fixed

Explosives such as gunpowder and slurtle slime will deal the same work damage to trees, boulders and the such the same value no matter how many are in a stack.

This isn't usually much of a problem for gunpowder since it has such a high work damage, however slurtle slime has a low work damage.
 

v.components.workable:WorkedBy(self.inst, self.buildingdamage)

Changing line 41 to

v.components.workable:WorkedBy(self.inst, self.buildingdamage * stacksize)

should work.


Steps to Reproduce

1. Notice that the work damage provided by slurtle slime exploding is the same no matter the size of the stack




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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...