SkillBasedInventoryOptions

@Serializable
data class SkillBasedInventoryOptions(var enabled: Boolean = true, var levelsPerSlot: Int = 2, var startingSlots: Int = 9, var lastAffectedSlotIndex: Int = 35) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, levelsPerSlot: Int = 2, startingSlots: Int = 9, lastAffectedSlotIndex: Int = 35)

Properties

Link copied to clipboard
open override var enabled: Boolean

Whether the module is enabled or not. This is used to determine if the module should be loaded and its features activated.

Link copied to clipboard

The last affected slot index. Setting this to 35 means the player does not have to unlock their armor slots or offhand. Setting this to 39 means the player does not have to unlock their offhand slot, but has to unlock their armor slots. Setting this to 40 means the player has to unlock their offhand slot and armor slots.

Link copied to clipboard

The number of levels required to unlock each additional slot. For example, if this is set to 2, the player will need 2 levels to unlock the first additional slot, 4 levels for the second, and so on.

Link copied to clipboard

The number of slots the player starts with.