Sign in to follow this  

Trawl net movement speed penalty never reaches intended maximum of 25%

Faintly Macabre
  • Version: PC/MAC/Linux Pending

In the tuning files, the maximum movement speed penalty of the trawl net is set at 0.25, but because of the way the function that updates the speed as the net is used is written, the actual maximum movement speed penalty ends up being eight ninths of 0.25, or about 0.222.

local function updatespeedmult(inst)
    local fullpenalty = TUNING.TRAWLING_SPEED_MULT
    local penalty = fullpenalty * (inst.components.inventory:NumItems()/TUNING.TRAWLNET_MAX_ITEMS)

This could be fixed by dividing by (TUNING.TRAWLNET_MAX_ITEMS - 1) instead, I think.

Steps to Reproduce
Use a trawl net and fill it with 8 items.

Status: Pending

This issue has not been confirmed by a developer yet.

  Report Bug
Sign in to follow this  

User Feedback

There are no comments to display.

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