Class MimicItem
Item which plays the MimicScream clip if the placement did not use a mimic container.
Inherited Members
Namespace: ItemChanger.Items
Assembly: ItemChanger.dll
Syntax
public class MimicItem : AbstractItem
Constructors
View SourceMimicItem()
Declaration
public MimicItem()
Fields
View Sourcehp
Specifies the hp of a mimic container associated with the item.
Declaration
public int? hp
Field Value
| Type | Description |
|---|---|
| int? |
Methods
View SourceGetPreferredContainer()
Used by some placements to decide what container to use for the item. A value of "Unknown" is ignored, and usually leads to a shiny item by default.
Declaration
public override string GetPreferredContainer()
Returns
| Type | Description |
|---|---|
| string |
Overrides
View SourceGiveEarly(string)
Indicates that the item can be given early in a special way from the given container.
For example, SpawnGeoItem can be given early from Container.Chest by flinging geo directly from the chest.
Declaration
public override bool GiveEarly(string containerType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | containerType |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceGiveImmediate(GiveInfo)
Specifies the effect of giving a particular item.
Declaration
public override void GiveImmediate(GiveInfo info)
Parameters
| Type | Name | Description |
|---|---|---|
| GiveInfo | info |