Riwmorld
|
Public Member Functions | |
virtual void | CropBlighted () |
override void | Destroy (DestroyMode mode=0) |
override void | ExposeData () |
override string | GetInspectString () |
virtual void | MakeLeafless (bool causedByCold=false) |
virtual void | PlantCollected () |
override void | PostMapInit () |
override void | Print (SectionLayer layer) |
override void | SpawnSetup (Verse.Map map) |
override void | TickLong () |
virtual int | YieldNow () |
![]() | |
virtual bool | BlocksPawn (Pawn p) |
virtual IEnumerable< Thing > | ButcherProducts (Pawn butcher, float efficiency) |
virtual bool | CanStackWith (Thing other) |
void | ClearMapReferencesToMeForDestroy (Verse.Map map) |
void | DecrementMapIndex () |
override void | DeSpawn () |
virtual void | Discard () |
virtual void | Draw () |
virtual void | DrawAt (Vector3 drawLoc) |
virtual void | DrawExtraSelectionOverlays () |
virtual void | DrawGUIOverlay () |
virtual string | GetDescription () |
virtual IEnumerable< FloatMenuOption > | GetFloatMenuOptions (Pawn selPawn) |
virtual IEnumerable< Gizmo > | GetGizmos () |
override int | GetHashCode () |
virtual string | GetInspectStringLowPriority () |
virtual IEnumerable< InspectTabBase > | GetInspectTabs () |
virtual TipSignal | GetTooltip () |
string | GetUniqueLoadID () |
float | Ingested (Pawn ingester, float nutritionWanted) |
virtual void | Notify_ColorChanged () |
void | Notify_MyMapRemoved () |
virtual void | PostApplyDamage (DamageInfo dinfo, float totalDamageDealt) |
virtual void | PostMake () |
virtual void | PreApplyDamage (DamageInfo dinfo, out bool absorbed) |
virtual void | PreTraded (TradeAction action, Pawn playerNegotiator, ITrader trader) |
virtual bool | PreventPlayerSellingThingsNearby (out string reason) |
virtual void | SetFaction (RimWorld.Faction newFaction, Pawn recruiter=null) |
void | SetFactionDirect (RimWorld.Faction newFaction) |
void | SetPositionDirect (IntVec3 newPos) |
void | SetStuffDirect (ThingDef newStuff) |
virtual IEnumerable< Thing > | SmeltProducts (float efficiency) |
override void | SpawnSetup (Verse.Map map) |
virtual Thing | SplitOff (int count) |
void | TakeDamage (DamageInfo dinfo) |
override string | ToString () |
virtual bool | TryAbsorbStack (Thing other, bool respectStackLimit) |
![]() | |
abstract void | SpawnSetup (Map map) |
virtual void | Tick () |
virtual void | TickRare () |
override string | ToString () |
Public Attributes | |
const float | BaseGrowthPercent = 0.05f |
const float | MinGrowthTemperature = 0f |
const float | MinOptimalGrowthTemperature = 10f |
const float | MaxOptimalGrowthTemperature = 42f |
const float | MaxGrowthTemperature = 58f |
const float | MaxLeaflessTemperature = -2f |
const float | SeedShootMinGrowthPercent = 0.6f |
bool | sown |
![]() | |
ThingDef | def |
int | thingIDNumber = -1 |
int | stackCount = 1 |
ThingContainer | holdingContainer |
Protected Member Functions | |
virtual void | CheckTemperatureMakeLeafless () |
virtual bool | CurrentlyCultivated () |
override void | IngestedCalculateAmounts (Pawn ingester, float nutritionWanted, out int numTaken, out float nutritionIngested) |
![]() | |
virtual void | PostIngested (Pawn ingester) |
Protected Attributes | |
float | growthInt = 0.05f |
int | ageInt |
int | unlitTicks |
int | madeLeaflessTick = -99999 |
![]() | |
RimWorld.Faction | factionInt |
Properties | |
virtual int | Age [get, set] |
virtual bool | Dying [get] |
override Verse.Graphic | Graphic [get] |
virtual float | Growth [get, set] |
string | GrowthPercentString [get] |
float | GrowthPerTick [get] |
virtual float | GrowthRate [get] |
float | GrowthRateFactor_Fertility [get] |
float | GrowthRateFactor_Light [get] |
float | GrowthRateFactor_Temperature [get] |
virtual bool | HarvestableNow [get] |
virtual bool | HasEnoughLightToGrow [get] |
override bool | IngestibleNow [get] |
bool | IsCrop [get] |
override string | LabelMouseover [get] |
bool | LeaflessNow [get] |
virtual float | LeaflessTemperatureThresh [get] |
PlantLifeStage | LifeStage [get] |
virtual bool | Resting [get] |
int | TicksUntilFullyGrown [get] |
![]() | |
bool | Destroyed [get] |
bool | Discarded [get] |
virtual Color | DrawColor [get, set] |
virtual Color | DrawColorTwo [get] |
virtual Vector3 | DrawPos [get] |
RimWorld.Faction | Faction [get] |
bool | FlammableNow [get] |
virtual Verse.Graphic | Graphic [get] |
virtual int | HitPoints [get, set] |
virtual bool | IngestibleNow [get] |
virtual IntVec3 | InteractionCell [get] |
override string | Label [get] |
override string | LabelCap [get] |
virtual string | LabelCapNoCount [get] |
virtual string | LabelNoCount [get] |
override string | LabelShort [get] |
Verse.Map | Map [get] |
Verse.Map | MapHeld [get] |
float | MarketValue [get] |
int | MaxHitPoints [get] |
IntVec3 | Position [get, set] |
IntVec3 | PositionHeld [get] |
IntVec2 | RotatedSize [get] |
Rot4 | Rotation [get, set] |
bool | Smeltable [get] |
bool | Spawned [get] |
virtual IEnumerable< StatDrawEntry > | SpecialDisplayStats [get] |
ThingDef | Stuff [get] |
string | ThingID [get, set] |
![]() | |
abstract string | Label [get] |
abstract string | LabelCap [get] |
virtual string | LabelMouseover [get] |
virtual string | LabelShort [get] |
Additional Inherited Members | |
![]() | |
static int | IDNumberFromThingID (string thingID) |
static IntVec3 | InteractionCellWhenAt (ThingDef def, IntVec3 center, Rot4 rot, Verse.Map map) |
![]() | |
static bool | allowDestroyNonDestroyable |