[][src]Crate game_features

Structs

EffectorDefinition
EffectorDefinitions
EffectorInstance
EffectorSet
Faction
FactionFlags
FactionSettings
Inventory
InventoryBuilder

Builder for Inventory.

ItemDefinition

An ItemDefinition stores the different properties of a type of item. It is a schema that contains the data which isn't changing between different item instances.

ItemDefinitionBuilder

Builder for ItemDefinition.

ItemInstance

An ItemInstance is a stack of item. It refers to the ItemDefinition's key. The associated ItemDefinition contains the data describing that object type. An item stack can be composed of one or many of the same item. It can also have a durability, which decreases when the item is used using Inventory::use_item.

ItemInstanceBuilder

Builder for ItemInstance.

ItemTransitionBatch
ItemTransitionDefinition
ItemTransitionDefinitionBuilder

Builder for ItemTransitionDefinition.

LandClaimSettings
Leveled
LootTree

A loot tree based on the lower partial function construct. Each loot tree node has a chance associated with it.

LootTreeBuilder
LootTreeNode
SkillDefinition
SkillDefinitionBuilder

Builder for SkillDefinition.

SkillInstance
StatCondition
StatDefinition
StatDefinitionBuilder

Builder for StatDefinition.

StatDefinitions
StatInstance
StatInstanceBuilder

Builder for StatInstance.

StatSet
Tiered
Unlockable
UnlockableBuilder

Builder for Unlockable.

User
UserGroup

Clan

UserGroupSettings

Enums

ConditionLostReaction
FactionError
InventorySizingMode

The way the inventory size is handled.

ItemError

The different errors that can happen when interacting with the Inventory.

MoveToFrontMode

The way items are removed from the inventory. Indicates if empty spots are left, and if not, how to fill them.

StatConditionType
UseMode

Traits

LevelFor
SlotType

A trait defining which items can be inserted into each inventory slot type.

Type Definitions

FactionRepository
FactionResult
ItemDefinitionRepository

A simple repository mapping the key K to the corresponding ItemDefinition.

UserRepository