Namespace Eco.Gameplay.Items
Classes
AirPollutionAttribute
Attribute for items which makes an World Object with Air Pollution.
AlphaCloakItem
AlphaGogglesItem
AlphaHatItem
ApprovedPictureRestriction
Restricts the inventory to only accept item that is an approved picture.
AreaOfEffectMode
Base class for all AOE modes.
AuthorizationInventory
Inventories of this type should be used when they can be accessed by other players. It's also possible to adjust authorization flags for some non-standard scenarios.
AuthorizationInventory.AuthorizationFlags
These flags allow to forbid or allow some scenarios when players interact with AuthorizationInventory.
BlockHitCache
BlockHitCache.BlockHit
BlockItem
BlockItem<T>
BlockItemInfo
Block information about block item passed to client.
BlockTier
BoatCaptainFlipFlopsItem
BoatCaptainGlassesItem
BoatCaptainHatItem
BoatCaptainShirtItem
BoatCaptainShortsItem
Temporary location for holding item / objects from server side for twitch drop rewards. TODO: Migrate this to a more sensible long lasting less overhead system with a potential tech tree and scripting upgrade.
BuilderCheatAttribute
BuilderInventory
BuildingToolItem
Base class for items that has block building functionality. Extracted from HammerItem class. Needed to refer by type easily as tech tree item not available in core. (Same as like "is ToolItem" " is DurabilityItem", etc)
CanAirInteractionAttribute
CanMakeBlockFormAttribute
This tool can make forms, based on its tier.
CapitalistTopHatItem
CarriedAttribute
CarriedRestriction
Restricts an inventory instance to only accept items carried.
CarryTypesLimitedAttribute
When the given item can only hold specific items, such as the shovel.
ChangedStack
ChocoTacoCapItem
ClaimPaperItem
ClaimPaperItemBase
This is the base class for all claim papers.
ClothingInventory
ClothingItem
ClothingRestriction
Restricts an inventory to only accept fitting a specific slot
ClothItemRestriction
ColorItem
Base class for items that have color. Specifies color in name and tooltip with overrides. Is unique stackable and has caching of dynamic props.
CompostableAttribute
CompostBlock
Cone
Affects all blocks inside a cone that meet a specified condition.
CowboyHatItem
CropAttribute
CurrencyAttribute
DecayingInventory
DetonatorBaseItem
DiggableExcavatableRestriction
Restricts an inventory instance to only accept diggable or excavatable items.
DiscoveryManager
DurabilityItem
Items that can get broken or spoiled, that can be discrete or continious in progression, See DurabilityItems.md for more informations.
DynamicInventory
EnumerableInventoryExtensions
EnumerableItemExtensions
FertilizerItem
FertilizerNutrients
Holds information about the nutrient levels in a fertilizer item (each item has different values).
FoodItem
Food Items are items that spoil over time, See DurabilityItems.md
FoodStorageRestriction
Sets an Inventory to only accept food tag items
FractionalItemStack
FuelAttribute
FuelRestriction
Restricts the inventory to only accept fuel items.
GarbageBagBlock
GarbageBagStacked1Decay1Block
GarbageBagStacked1Decay2Block
GarbageBagStacked1Decay3Block
GarbageBagStacked1Decay4Block
GarbageBagStacked2Decay1Block
GarbageBagStacked2Decay2Block
GarbageBagStacked2Decay3Block
GarbageBagStacked2Decay4Block
GarbageBagStacked3Decay1Block
GarbageBagStacked3Decay2Block
GarbageBagStacked3Decay3Block
GarbageBagStacked3Decay4Block
GarbageBagStacked4Decay1Block
GarbageBagStacked4Decay2Block
GarbageBagStacked4Decay3Block
GarbageBagStacked4Decay4Block
GarbageBlock
GeneralRestriction
Restricts the inventory to only things that pass a given function.
HandsItem
Hoer
HomesteadSupportClaimPaperItem
IconGroup
Grouping for icons exported to text files.
IgnoreAuthAttribute
INotifiableItemExtensions
InteractableItemInfo
Interactable information about interactable item passed to client.
Inventory
InventoryAccessType
Used to describe the access type of inventory (are we using in with player hands or from vehicle tool, etc)
InventoryChangeSet
A collection of modifications we wish to perform on an inventory
InventoryCollection
InventoryComponent
Inventory components track an attribute of an inventory, such as weight restrictions may use components to handle valid item destinations
InventoryLock
Represents a lock acquired by a thread on one or more inventories.
InventoryMoveResult
Result from inventory change set moved items
InventoryRestriction
Restricts an inventory from accepting or applying an operation
InventoryUtils
IPersistentExtensions
IStackExtensions
Item
Base class for all items inside Eco.
ItemAttribute
ItemGroupAttribute
ItemInfo
General information about item passed to client. Also see inherited classes for additional info.
ItemInfoManager
Keeps item infos synced with the client.
ItemLinkable
Object that can be used to create links to items, tags and other types that use similar style and logic for linking.
ItemModifiers
ItemPersistentData
Contains the persistent data for each component and worldobject itself deriving IPersistentData, allowing that data to be preserved and restored as the object is placed and put down. This is stored on the WorldObjectItem when the WorldObject is picked up, and on the WorldObject itself when it's placed.
ItemRepresentation
Represents a specific item or a group of items.
ItemStack
ItemStackExtensions
ItemStackFractional
ItemTypeLimiterRestriction
Restricts an inventory instance to only accept items matching the given types.
ItemUtils
LaborContribution
LawsDropdownIgnoreAttribute
To ignore some items in laws picker.
LimitedInventory
LiquidAttribute
LiquidProducerAttribute
Attribute for items which produces Liquid (or Gases).
MakesRoadsAttribute
MaxStackSizeAttribute
Define the max stack size of the item. Difficulty Settings may increase this value (StackSizeModifier)
MeleeWeaponItem
MeteorShardItem
ModuleItem
ModuleItem<T>
Mower
MultiBlock
Simple mode that can affect several blocks given their offset from the block targetted by interaction and condition they have to meet.
NoAddRestictions
Prevents the inventory from accepting anything.
NoBuildingRestriction
Restricts the inventory from accepting building materials.
NotCarriedRestriction
Restricts the inventory to only accept items that are not carried.
NotSpawnable
ObjectCanMakeBlockFormAttribute
OrganismItemManager
PaintItemRestriction
Sets an inventory to only accept items with tag color and buckets
PartItem
PirateHatItem
PlayerItem
PunchCardItem
PunchCardObject
PutOnlyRestriction
Prevents a user from picking up items from an inventory.
RampItem
RampItem<T>
RangeWeaponItem
RepairableItem
Represents an Item that can be repaired and is affected on usage, See DurabilityItems.md
RepairableRestriction
Restricts the inventory to only accept items that need to be repaired
RepairingItem
Defines items that can repair a given item.
RequiresToolAttribute
ResourcePileAttribute
RestrictionCheckData
RestrictionType
This helps in preparing a simple contextual error message for invalid inventory move (when all stacks produced a restriction). See TryGetBestRestrictionMessage(IEnumerable<InventoryRestriction>, out LocString).
RightsRestriction
Sets an inventory to only accept(or give) items if a player has proper rights.
SeedItem
SeedPackItem
SeedRestriction
Restricts the inventory to only accept items that are seeds
SelectionInventory
SettlementRestriction
Sets an inventory to only accept items matching a specific settlement, for items associated with settlements
SharkJawsItem
SharkJawsObject
SiloRestriction
Sets an inventory to only accept items with tag seeds, crops, or fertilizer
SimpleInventory
SingleBlock
Makes tool affect only one block, effectively disabling AOE.
SkillBook
SkillBook<TSkill, TScroll>
SkillScroll
SkillScroll<TSkill, TBook>
SocialistShirtItem
SombreroItem
SpecificItemTypesRestriction
Restricts the inventory to only accept specific items
StackableRestriction
Restricts an inventory so it can only accept specific stackable items.
StackFac
StackLimitRestriction
Limits the inventory stack sizes to a different quantity than MaxStackSize
StackLimitTypeRestriction
Limit the inventory stack sizes to a different quantity than MaxStackSize depending on item type table
SuitItem
Tag
Tags represent groups of items, for example tag "wood" can be applied to different types of wood.
TagDefinition
Tag definition which contains additional attributes for tag. May be used by Mods to configure tags for displaying in different sections or filters.
TagManager
Create tags into the tag registrar, using ones that exist already (to preserve ID's) and creating new ones as needed (perhaps a mod gets added)
TagRestriction
Restricts the inventory to only accept items that match the given tags.
TagStack
should handle all of the tags => item conversions and comparisons. Tag stacks SHOULD NOT be used to represent actual items. Mostly should be not-displayed to the user (crafting elements are used for that).
TagStackExtensions
TagUtils
TierAttribute
ToolbarBackpackInventory
Represents the player's combined toolbar and backpack inventories.
ToolbarInventory
ToolItem
ToolItemInfo
Tool related information about tool passed to client.
TrashInventory
TreasureBackpackItem
TwitchDropAttribute
Matches an Item type to a specific reward in the Twitch drops manager.
UserInventory
VehicleToolItem
VoidStorageInventory
WaterPlaceable
WeaponItem
WeightAttribute
WeightComponent
Used to track the total weight of an inventory.
WeightRestriction
Prohibits the inventory Prohibits from accepting items beyond the weight limit
WolfWhispererHatItem
WolfWhispererMaskItem
WolfWhispererShirtItem
WorkOrder
An item that represents a work order being performed at a crafting table.
WorkOrder.BottleneckType
WorkOrder.IterationDesc
WorkOrderState
WorldObjectItem
An item that has a singular corresponding world object it drops when placed.
WorldObjectItem<T>
WorldSpaceItemAttribute
YieldAttribute
Interfaces
IClearOnTrade
Item data class with this interface will be removed from Entries when the item is being sold. For a demo see AuthItemData.
IClearRequestHandler
Item data class with this interface will be notified when someone decides to manually reset the item's persistent data (e.g. via a tooltip). Result message will be shown to the player. Entries that return failed result will not be removed from the list.
IEcopediaEntry
Interface for IRegistrar entries which may be shown in Ecopedia.
IHasIcon
IHasTags
IInventoryChangeSet
IInventoryContext
Used by VehicleComponent to override the Player's inventory context when mounted in a vehicle.
An inventory context can be overriden by setting InventoryContext or BuilderInventoryContext to the new inventory object that needs to be used.
The context is used by StorageComponent to read what contents are in the Player's inventories.
Ex. CraneToolComponent overrides it's vehicles BuilderInventoryContext with its own ClawInventory so StorageComponent will use the crane's builder inventory instead of the player's when mounted.
INotifiableItem
IPermanentDestroyHandler
IPersistentData
This interface is used to store data when an object is transformed into an item and to restore it afterwards.
IPlaceableItem
For items that can be placed in the world.
IRepairMaterial
IRepresentsItem
World object that represents an item.
IStack
A general interface that works for both tags and items.