Riwmorld
Verse.ThingDef Class Reference
Inheritance diagram for Verse.ThingDef:
Verse.BuildableDef Verse.Def Verse.Editable

Public Member Functions

CompProperties CompDefFor< T > ()
 
CompProperties CompDefForAssignableFrom< T > ()
 
override IEnumerable< string > ConfigErrors ()
 
GetCompProperties< T > ()
 
bool HasComp (Type compType)
 
override void PostLoad ()
 
override void ResolveReferences ()
 
override IEnumerable< StatDrawEntrySpecialDisplayStats ()
 
- Public Member Functions inherited from Verse.BuildableDef
bool ForceAllowPlaceOver (BuildableDef other)
 
override int GetHashCode ()
 
override string ToString ()
 
- Public Member Functions inherited from Verse.Def
virtual void ClearCachedData ()
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static ThingDef Named (string defName)
 

Public Attributes

Type thingClass
 
ThingCategory category
 
TickerType tickerType
 
int stackLimit = 1
 
IntVec2 size = new IntVec2(1, 1)
 
bool destroyable = true
 
bool rotatable = true
 
bool smallVolume
 
bool useHitPoints = true
 
List< CompPropertiescomps = new List<CompProperties>()
 
List< ThingCountClasskilledLeavings
 
List< ThingCountClassbutcherProducts
 
List< ThingCountClasssmeltProducts
 
bool smeltable
 
bool randomizeRotationOnSpawn
 
List< DamageMultiplierdamageMultipliers
 
bool isBodyPartOrImplant
 
RecipeMakerProperties recipeMaker
 
ThingDef minifiedDef
 
bool isUnfinishedThing
 
bool leaveResourcesWhenKilled
 
float resourcesFractionWhenDeconstructed = 0.75f
 
ThingDef slagDef
 
bool isFrame
 
IntVec3 interactionCellOffset = IntVec3.Zero
 
bool hasInteractionCell
 
ThingDef filthLeaving
 
bool forceDebugSpawnable
 
bool intricate
 
bool scatterableOnMapGen = true
 
bool temporaryRegionBarrier
 
float deepCommonality
 
int deepCountPerCell = 150
 
float generateCommonality = 1f
 
GraphicData graphicData
 
DrawerType drawerType = DrawerType.RealtimeOnly
 
bool drawOffscreen
 
ColorGenerator colorGenerator
 
float hideAtSnowDepth = 99999f
 
bool drawDamagedOverlay = true
 
bool castEdgeShadows
 
float staticSunShadowHeight
 
bool selectable
 
bool neverMultiSelect
 
bool isAutoAttackableMapObject
 
bool hasTooltip
 
List< Type > inspectorTabs
 
List< InspectTabBaseinspectorTabsResolved
 
bool seeThroughFog
 
bool drawGUIOverlay
 
ResourceCountPriority resourceReadoutPriority
 
bool resourceReadoutAlwaysShow
 
bool drawPlaceWorkersWhileSelected
 
ConceptDef storedConceptLearnOpportunity
 
float iconDrawScale = -1f
 
bool alwaysHaulable
 
bool designateHaulable
 
List< ThingCategoryDefthingCategories
 
bool mineable
 
bool socialPropernessMatters
 
bool stealable = true
 
SoundDef soundDrop
 
SoundDef soundPickup
 
SoundDef soundInteract
 
SoundDef soundImpactDefault
 
bool saveCompressible
 
bool isSaveable = true
 
bool holdsRoof
 
float fillPercent
 
bool coversFloor
 
bool neverOverlapFloors
 
SurfaceType surfaceType
 
bool blockPlants
 
bool blockLight
 
bool blockWind
 
bool regionBarrier
 
Tradeability tradeability = Tradeability.Stockable
 
List< string > tradeTags
 
bool tradeNeverStack
 
ColorGenerator colorGeneratorInTraderStock
 
Type blueprintClass = typeof(Blueprint_Build)
 
GraphicData blueprintGraphicData
 
TerrainDef naturalTerrain
 
TerrainDef leaveTerrain
 
List< RecipeDefrecipes
 
float equippedAngleOffset
 
EquipmentType equipmentType
 
TechLevel techLevel
 
List< string > weaponTags
 
List< string > techHediffsTags
 
bool canBeSpawningInventory = true
 
bool destroyOnDrop
 
List< StatModifierequippedStatOffsets
 
BuildableDef entityDefToBuild
 
IngestibleProperties ingestible
 
FilthProperties filth
 
BuildingProperties building
 
RaceProperties race
 
ApparelProperties apparel
 
MoteProperties mote
 
PlantProperties plant
 
ProjectileProperties projectile
 
StuffProperties stuffProps
 
- Public Attributes inherited from Verse.BuildableDef
List< StatModifierstatBases
 
Traversability passability
 
int pathCost
 
bool pathCostIgnoreRepeat = true
 
float fertility = -1f
 
List< ThingCountClasscostList
 
int costStuffCount = -1
 
List< StuffCategoryDefstuffCategories
 
TerrainAffordance terrainAffordanceNeeded = TerrainAffordance.Light
 
List< ThingDefbuildingPrerequisites
 
List< ResearchProjectDefresearchPrerequisites
 
int placingDraggableDimensions
 
EffecterDef repairEffect
 
EffecterDef constructEffect
 
Rot4 defaultPlacingRot = Rot4.North
 
ThingDef blueprintDef
 
ThingDef installBlueprintDef
 
ThingDef frameDef
 
string uiIconPath
 
AltitudeLayer altitudeLayer = AltitudeLayer.Item
 
Texture2D uiIcon = BaseContent.BadTex
 
Graphic graphic = BaseContent.BadGraphic
 
bool menuHidden
 
float specialDisplayRadius
 
List< Type > placeWorkers
 
DesignationCategoryDef designationCategory
 
KeyBindingDef designationHotKey
 
- Public Attributes inherited from Verse.Def
const string DefaultDefName = "UnnamedDef"
 
string defName = "UnnamedDef"
 
string label
 
string description
 
ushort shortHash
 
ushort index = 65535
 
ushort debugRandomId = (ushort)Rand.RangeInclusive(0, 65535)
 

Properties

List< RecipeDefAllRecipes [get]
 
float BaseFlammability [get]
 
float BaseMarketValue [get, set]
 
int BaseMaxHitPoints [get]
 
bool BlockPlanting [get]
 
bool CanHaveFaction [get]
 
bool CanOverlapZones [get]
 
bool CoexistsWithFloors [get]
 
bool ConnectToPower [get]
 
bool CountAsResource [get]
 
bool DiscardOnDestroyed [get]
 
bool EverHaulable [get]
 
bool EverStoreable [get]
 
bool EverTransmitsPower [get]
 
FillCategory Fillage [get]
 
ThingCategoryDef FirstThingCategory [get]
 
bool HasThingIDNumber [get]
 
override Color IconDrawColor [get]
 
bool IsAddictiveDrug [get]
 
bool IsApparel [get]
 
bool IsBed [get]
 
bool IsBlueprint [get]
 
bool IsCommsConsole [get]
 
bool IsCorpse [get]
 
bool IsDoor [get]
 
bool IsDrug [get]
 
bool IsFilth [get]
 
bool IsFoodDispenser [get]
 
bool IsFrame [get]
 
bool IsIngestible [get]
 
bool IsMedicine [get]
 
bool IsMeleeWeapon [get]
 
bool IsNutritionGivingIngestible [get]
 
bool IsOrbitalTradeBeacon [get]
 
bool IsPleasureDrug [get]
 
bool IsRangedWeapon [get]
 
bool IsStuff [get]
 
bool IsWeapon [get]
 
string LabelAsStuff [get]
 
bool MakeFog [get]
 
float MedicineTendXpGainFactor [get]
 
bool Minifiable [get]
 
override IntVec2 Size [get]
 
List< VerbPropertiesVerbs [get]
 
float VolumePerUnit [get]
 
- Properties inherited from Verse.BuildableDef
float Altitude [get]
 
Material DrawMatSingle [get]
 
abstract Color IconDrawColor [get]
 
bool MadeFromStuff [get]
 
List< PlaceWorkerPlaceWorkers [get]
 
virtual IntVec2 Size [get]
 
- Properties inherited from Verse.Def
string LabelCap [get]
 

The documentation for this class was generated from the following file: