Jump to content

No tuning variable for maxtime in piratespawner.lua


lakhnish
  • Fixed

In piratespawner.lua, we have this line for each of the zone: maxtime = TUNING.PIRATESPAWNER.INNER.TIME.

But in tuning.lua, there's no such tuning value for any of the zones.

piratespawner.lua:

local zones ={
    { -- INNER
        max = TUNING.PIRATESPAWNER.INNER.MAX,
        maxtime = TUNING.PIRATESPAWNER.INNER.TIME,
        chance = TUNING.PIRATESPAWNER.INNER.CHANCE,
        weight = TUNING.PIRATESPAWNER.INNER.WEIGHT,
    },
    { -- MID
        max = TUNING.PIRATESPAWNER.MID.MAX,
        maxtime = TUNING.PIRATESPAWNER.MID.TIME,
        chance = TUNING.PIRATESPAWNER.MID.CHANCE,
        weight = TUNING.PIRATESPAWNER.MID.WEIGHT,
    },
    { -- OUTTER
        max = TUNING.PIRATESPAWNER.OUTTER.MAX,
        maxtime = TUNING.PIRATESPAWNER.OUTTER.TIME,
        chance = TUNING.PIRATESPAWNER.OUTTER.CHANCE,
        weight = TUNING.PIRATESPAWNER.OUTTER.WEIGHT,
    },
}

tuning.lua:

        PIRATESPAWNER = {
            INNER = {
                MAX = 300,
                CHANCE = 0.2,
                WEIGHT = 9,
            },
            MID = {
                MAX = 600,
                CHANCE = 0.2,
                WEIGHT = 3,
            },
            OUTTER = {
                MAX = 800,
                CHANCE = 0.1,
                WEIGHT = 1,
            },
        },

 


Steps to Reproduce

above.




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.

The maxtime table part of this file was not used so it has been removed there is no TUNING value for it.

Changed Status to Fixed

  • Like 1
  • Thanks 2

Share this comment


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