Class GeoRockItem
Item which spawns the specified amount of geo, and requests a geo rock container of the specified GeoRockSubtype.
Assembly: ItemChanger.dll
Syntax
public class GeoRockItem : AbstractItem
Constructors
View Source
GeoRockItem()
Declaration
Fields
View Source
amount
Declaration
Field Value
View Source
geoRockSubtype
Declaration
public GeoRockSubtype geoRockSubtype
Field Value
Methods
View Source
GetPreferredContainer()
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
Overrides
View Source
GiveEarly(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
Overrides
View Source
Specifies the effect of giving a particular item.
Declaration
public override void GiveImmediate(GiveInfo info)
Parameters
Overrides
Extension Methods