Difference between revisions of "Module:Test/data"
Jump to navigation
Jump to search
(restructure) |
m |
||
Line 5: | Line 5: | ||
["BiomeDef:BorealForest"] = { | ["BiomeDef:BorealForest"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Cold.xml", | FileName = "Biomes_Cold.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 54: | Line 55: | ||
["BiomeDef:Tundra"] = { | ["BiomeDef:Tundra"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Cold.xml", | FileName = "Biomes_Cold.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 95: | Line 97: | ||
["BiomeDef:ColdBog"] = { | ["BiomeDef:ColdBog"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Cold.xml", | FileName = "Biomes_Cold.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 146: | Line 149: | ||
["BiomeDef:IceSheet"] = { | ["BiomeDef:IceSheet"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Cold.xml", | FileName = "Biomes_Cold.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 168: | Line 172: | ||
["BiomeDef:SeaIce"] = { | ["BiomeDef:SeaIce"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Cold.xml", | FileName = "Biomes_Cold.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 188: | Line 193: | ||
["BiomeDef:TemperateForest"] = { | ["BiomeDef:TemperateForest"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Temperate.xml", | FileName = "Biomes_Temperate.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 242: | Line 248: | ||
["BiomeDef:TemperateSwamp"] = { | ["BiomeDef:TemperateSwamp"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Temperate.xml", | FileName = "Biomes_Temperate.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 292: | Line 299: | ||
["BiomeDef:TropicalRainforest"] = { | ["BiomeDef:TropicalRainforest"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Warm.xml", | FileName = "Biomes_Warm.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 336: | Line 344: | ||
["BiomeDef:TropicalSwamp"] = { | ["BiomeDef:TropicalSwamp"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Warm.xml", | FileName = "Biomes_Warm.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 379: | Line 388: | ||
["BiomeDef:AridShrubland"] = { | ["BiomeDef:AridShrubland"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_WarmArid.xml", | FileName = "Biomes_WarmArid.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 423: | Line 433: | ||
["BiomeDef:Desert"] = { | ["BiomeDef:Desert"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_WarmArid.xml", | FileName = "Biomes_WarmArid.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 458: | Line 469: | ||
["BiomeDef:ExtremeDesert"] = { | ["BiomeDef:ExtremeDesert"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_WarmArid.xml", | FileName = "Biomes_WarmArid.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 483: | Line 495: | ||
["BiomeDef:Ocean"] = { | ["BiomeDef:Ocean"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Water.xml", | FileName = "Biomes_Water.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 493: | Line 506: | ||
["BiomeDef:Lake"] = { | ["BiomeDef:Lake"] = { | ||
_ = { | _ = { | ||
+ | DefCategory = "BiomeDef", | ||
FileName = "Biomes_Water.xml", | FileName = "Biomes_Water.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 504: | Line 518: | ||
_ = { | _ = { | ||
ParentName = "DrugBase", | ParentName = "DrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Alcohol_Beer.xml", | FileName = "Alcohol_Beer.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 519: | Line 534: | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Fluid, Processed, Liquor", | + | foodType = { |
+ | "Fluid", | ||
+ | "Processed", | ||
+ | "Liquor", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.17, | joy = 0.17, | ||
Line 526: | Line 545: | ||
canAutoSelectAsFoodForCaravan = false, | canAutoSelectAsFoodForCaravan = false, | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "AlcoholHigh", | hediffDef = "AlcoholHigh", | ||
severity = 0.15, | severity = 0.15, | ||
toleranceChemical = "Alcohol", | toleranceChemical = "Alcohol", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "AlcoholTolerance", | hediffDef = "AlcoholTolerance", | ||
severity = 0.016, | severity = 0.016, | ||
Line 574: | Line 599: | ||
_ = { | _ = { | ||
ParentName = "ResourceBase", | ParentName = "ResourceBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Alcohol_Beer.xml", | FileName = "Alcohol_Beer.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 602: | Line 628: | ||
_ = { | _ = { | ||
ParentName = "DrugBase", | ParentName = "DrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Ambrosia.xml", | FileName = "Ambrosia.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 620: | Line 647: | ||
preferability = "DesperateOnly", | preferability = "DesperateOnly", | ||
tasteThought = {}, | tasteThought = {}, | ||
− | foodType = "VegetableOrFruit", | + | foodType = { |
+ | "VegetableOrFruit", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.5, | joy = 0.5, | ||
Line 626: | Line 655: | ||
canAutoSelectAsFoodForCaravan = false, | canAutoSelectAsFoodForCaravan = false, | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "AmbrosiaHigh", | hediffDef = "AmbrosiaHigh", | ||
severity = 0.50, | severity = 0.50, | ||
toleranceChemical = "Ambrosia", | toleranceChemical = "Ambrosia", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "AmbrosiaTolerance", | hediffDef = "AmbrosiaTolerance", | ||
severity = 0.032, | severity = 0.032, | ||
Line 653: | Line 688: | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:DrugBase"] = { | ||
_ = { | _ = { | ||
Name = "DrugBase", | Name = "DrugBase", | ||
Abstract = true, | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
FileName = "DrugBases.xml", | FileName = "DrugBases.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 686: | Line 723: | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:MakeableDrugBase"] = { | ||
_ = { | _ = { | ||
Name = "MakeableDrugBase", | Name = "MakeableDrugBase", | ||
ParentName = "DrugBase", | ParentName = "DrugBase", | ||
Abstract = true, | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
FileName = "DrugBases.xml", | FileName = "DrugBases.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 702: | Line 741: | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:MakeableDrugPillBase"] = { | ||
_ = { | _ = { | ||
Name = "MakeableDrugPillBase", | Name = "MakeableDrugPillBase", | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
Abstract = true, | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
FileName = "DrugBases.xml", | FileName = "DrugBases.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Processed", | + | foodType = { |
+ | "Processed", | ||
+ | }, | ||
baseIngestTicks = 100, | baseIngestTicks = 100, | ||
chairSearchRadius = 0, | chairSearchRadius = 0, | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:DrugPillBase"] = { | ||
_ = { | _ = { | ||
Name = "DrugPillBase", | Name = "DrugPillBase", | ||
ParentName = "DrugBase", | ParentName = "DrugBase", | ||
Abstract = true, | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
FileName = "DrugBases.xml", | FileName = "DrugBases.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Processed", | + | foodType = { |
+ | "Processed", | ||
+ | }, | ||
baseIngestTicks = 100, | baseIngestTicks = 100, | ||
chairSearchRadius = 0, | chairSearchRadius = 0, | ||
Line 734: | Line 781: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "GoJuice.xml", | FileName = "GoJuice.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 749: | Line 797: | ||
joy = 0.40, | joy = 0.40, | ||
drugCategory = "Hard", | drugCategory = "Hard", | ||
− | foodType = "Processed, Fluid", | + | foodType = { |
+ | "Processed", | ||
+ | "Fluid", | ||
+ | }, | ||
baseIngestTicks = 80, | baseIngestTicks = 80, | ||
chairSearchRadius = 0, | chairSearchRadius = 0, | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "GoJuiceHigh", | hediffDef = "GoJuiceHigh", | ||
severity = 0.5, | severity = 0.5, | ||
toleranceChemical = "GoJuice", | toleranceChemical = "GoJuice", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = 0.4, | offset = 0.4, | ||
toleranceChemical = "GoJuice", | toleranceChemical = "GoJuice", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetPsyfocus", | ||
+ | }, | ||
offset = 0.15, | offset = 0.15, | ||
}, | }, | ||
Line 796: | Line 856: | ||
_ = { | _ = { | ||
ParentName = "DrugPillBase", | ParentName = "DrugPillBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Luciferium.xml", | FileName = "Luciferium.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 809: | Line 870: | ||
drugCategory = "Medical", | drugCategory = "Medical", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "LuciferiumHigh", | hediffDef = "LuciferiumHigh", | ||
severity = 1.00, | severity = 1.00, | ||
Line 832: | Line 896: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugPillBase", | ParentName = "MakeableDrugPillBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Penoxycyline.xml", | FileName = "Penoxycyline.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 847: | Line 912: | ||
drugCategory = "Medical", | drugCategory = "Medical", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "PenoxycylineHigh", | hediffDef = "PenoxycylineHigh", | ||
severity = 1.0, | severity = 1.0, | ||
Line 873: | Line 941: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Psychite_Flake.xml", | FileName = "Psychite_Flake.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 885: | Line 954: | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Processed", | + | foodType = { |
+ | "Processed", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.70, | joy = 0.70, | ||
Line 891: | Line 962: | ||
drugCategory = "Hard", | drugCategory = "Hard", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "FlakeHigh", | hediffDef = "FlakeHigh", | ||
severity = 0.75, | severity = 0.75, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = 0.2, | offset = 0.2, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "PsychiteTolerance", | hediffDef = "PsychiteTolerance", | ||
severity = 0.04, | severity = 0.04, | ||
Line 934: | Line 1,014: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Psychite_Tea.xml", | FileName = "Psychite_Tea.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 947: | Line 1,028: | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Fluid, Processed", | + | foodType = { |
+ | "Fluid", | ||
+ | "Processed", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.40, | joy = 0.40, | ||
Line 953: | Line 1,037: | ||
drugCategory = "Social", | drugCategory = "Social", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "PsychiteTeaHigh", | hediffDef = "PsychiteTeaHigh", | ||
severity = 0.75, | severity = 0.75, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = 0.1, | offset = 0.1, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "PsychiteTolerance", | hediffDef = "PsychiteTolerance", | ||
severity = 0.03, | severity = 0.03, | ||
Line 1,002: | Line 1,095: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Psychite_Yayo.xml", | FileName = "Psychite_Yayo.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,014: | Line 1,108: | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Processed", | + | foodType = { |
+ | "Processed", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.80, | joy = 0.80, | ||
Line 1,020: | Line 1,116: | ||
baseIngestTicks = 150, | baseIngestTicks = 150, | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "YayoHigh", | hediffDef = "YayoHigh", | ||
severity = 0.75, | severity = 0.75, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = 0.4, | offset = 0.4, | ||
toleranceChemical = "Psychite", | toleranceChemical = "Psychite", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "PsychiteTolerance", | hediffDef = "PsychiteTolerance", | ||
severity = 0.040, | severity = 0.040, | ||
Line 1,064: | Line 1,169: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugBase", | ParentName = "MakeableDrugBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Smokeleaf.xml", | FileName = "Smokeleaf.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,078: | Line 1,184: | ||
}, | }, | ||
ingestible = { | ingestible = { | ||
− | foodType = "Plant, Processed", | + | foodType = { |
+ | "Plant", | ||
+ | "Processed", | ||
+ | }, | ||
joyKind = "Chemical", | joyKind = "Chemical", | ||
joy = 0.80, | joy = 0.80, | ||
Line 1,084: | Line 1,193: | ||
drugCategory = "Social", | drugCategory = "Social", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "SmokeleafHigh", | hediffDef = "SmokeleafHigh", | ||
severity = 0.5, | severity = 0.5, | ||
toleranceChemical = "Smokeleaf", | toleranceChemical = "Smokeleaf", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = -0.1, | offset = -0.1, | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "SmokeleafTolerance", | hediffDef = "SmokeleafTolerance", | ||
severity = 0.030, | severity = 0.030, | ||
Line 1,126: | Line 1,244: | ||
_ = { | _ = { | ||
ParentName = "MakeableDrugPillBase", | ParentName = "MakeableDrugPillBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "WakeUp.xml", | FileName = "WakeUp.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,142: | Line 1,261: | ||
drugCategory = "Hard", | drugCategory = "Hard", | ||
outcomeDoers = { | outcomeDoers = { | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_GiveHediff", | ||
+ | }, | ||
hediffDef = "WakeUpHigh", | hediffDef = "WakeUpHigh", | ||
severity = 0.75, | severity = 0.75, | ||
toleranceChemical = "WakeUp", | toleranceChemical = "WakeUp", | ||
}, | }, | ||
− | + | { | |
+ | _ = { | ||
+ | Class = "IngestionOutcomeDoer_OffsetNeed", | ||
+ | }, | ||
need = "Rest", | need = "Rest", | ||
offset = 1.0, | offset = 1.0, | ||
Line 1,179: | Line 1,304: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Construction.xml", | FileName = "Effecter_Construction.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,189: | Line 1,315: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Damage.xml", | FileName = "Effecter_Damage.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,199: | Line 1,326: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Damage.xml", | FileName = "Effecter_Damage.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,209: | Line 1,337: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Damage.xml", | FileName = "Effecter_Damage.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,219: | Line 1,348: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Damage.xml", | FileName = "Effecter_Damage.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,229: | Line 1,359: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Damage.xml", | FileName = "Effecter_Damage.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,239: | Line 1,370: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Ingest.xml", | FileName = "Effecter_Ingest.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,250: | Line 1,382: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Ingest.xml", | FileName = "Effecter_Ingest.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,261: | Line 1,394: | ||
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
+ | DefCategory = "ThingDef", | ||
FileName = "Effecter_Misc.xml", | FileName = "Effecter_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
Line 1,267: | Line 1,401: | ||
altitudeLayer = "MoteOverhead", | altitudeLayer = "MoteOverhead", | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:BodyPartArchotechBase"] = { | ||
_ = { | _ = { | ||
− | + | Name = "BodyPartArchotechBase", | |
− | + | ParentName = "BodyPartBase", | |
Abstract = true, | Abstract = true, | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Archotech.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingCategories = { | |
+ | "BodyPartsArchotech", | ||
+ | }, | ||
+ | statBases = { | ||
+ | DeteriorationRate = 0, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArchotechEye"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartArchotechBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Archotech.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "ArchotechEye", |
+ | label = "archotech eye", | ||
+ | description = [[An artifical eye built by an archotech. It perceives every type of electromagnetic radiation, including radio waves, infrared, light, x-rays, and gamma rays. Its visual acuity is precise enough to read handwriting from twenty meters away. It can emit various wavelengths of radiation like a flashlight, and has an internal subpersona AI which helps highlight useful visual information. Externally, it looks like a natural human eye, except it can change color at will. Its internal workings are a mystery to all human minds.]], | ||
+ | statBases = { | ||
+ | MarketValue = 2800, | ||
+ | Mass = 0.3, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArchotechArm"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartArchotechBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Archotech.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "ArchotechArm", |
− | + | label = "archotech arm", | |
− | + | description = [[An artifical arm built by an archotech. It's strong enough to crush a thick hardwood branch in its hand, and precise enough to write a sonnet on a grain of rice. It looks and feels like natural flesh, but it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]], | |
− | + | statBases = { | |
− | + | MarketValue = 2800, | |
− | + | Mass = 4, | |
− | |||
− | |||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArchotechLeg"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartArchotechBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Archotech.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "ArchotechLeg", |
− | + | label = "archotech leg", | |
− | + | description = [[An artifical leg built by an archotech. It looks and feels like natural flesh, but a pair of these can move the user as fast as a decent car, and it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]], | |
− | + | statBases = { | |
− | + | MarketValue = 2800, | |
− | + | Mass = 7, | |
− | |||
− | |||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BodyPartBase"] = { |
_ = { | _ = { | ||
− | + | Name = "BodyPartBase", | |
− | FileName = " | + | Abstract = true, |
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Hediffs_BodyParts_Base.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingClass = "ThingWithComps", | |
− | + | category = "Item", | |
− | altitudeLayer = " | + | useHitPoints = true, |
+ | altitudeLayer = "Item", | ||
+ | pathCost = 14, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 50, | ||
+ | Flammability = 0.7, | ||
+ | Beauty = -4, | ||
+ | DeteriorationRate = 2.0, | ||
+ | Mass = 1, | ||
+ | }, | ||
+ | tradeTags = { | ||
+ | "TechHediff", | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_Forbiddable = {}, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BodyPartBionicBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "BodyPartBionicBase", |
− | FileName = " | + | ParentName = "BodyPartBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingCategories = { | |
− | + | "BodyPartsBionic", | |
− | + | }, | |
+ | tradeTags = { | ||
+ | "Bionic", | ||
+ | }, | ||
+ | statBases = { | ||
+ | WorkToMake = 26000, | ||
+ | }, | ||
+ | recipeMaker = { | ||
+ | workSpeedStat = "GeneralLaborSpeed", | ||
+ | workSkill = "Crafting", | ||
+ | effectWorking = "Smith", | ||
+ | soundWorking = "Recipe_Smith", | ||
+ | unfinishedThingDef = "UnfinishedHealthItemBionic", | ||
+ | skillRequirements = { | ||
+ | Crafting = 8, | ||
+ | }, | ||
+ | researchPrerequisite = "Bionics", | ||
+ | recipeUsers = { | ||
+ | "FabricationBench", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicEye"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicEye", |
− | + | label = "bionic eye", | |
− | + | description = [[An advanced artifical eye. With its biogel nerve-link, internal signal pre-processor, and wide-spectrum sensors, it is better than a biological eye in almost every way. A lattice-dust healing system allows it to recover from damage.]], | |
+ | costList = { | ||
+ | Plasteel = 15, | ||
+ | ComponentSpacer = 4, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 0.3, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicArm"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicArm", |
− | + | label = "bionic arm", | |
− | + | description = [[An advanced artificial arm. Silenced mini-servos give great strength, while the biogel nerve-link gives exquisite control. A lattice-dust healing system allows it to recover from damage. It is better than a biological arm in almost every way.]], | |
− | + | costList = { | |
− | + | Plasteel = 15, | |
− | + | ComponentSpacer = 4, | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | statBases = { | |
− | + | Mass = 5, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicLeg"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicLeg", |
− | + | label = "bionic leg", | |
+ | description = [[An advanced artificial leg. With its biogel nerve-link, powerful mini-servos, and lattice-dust healing system, it is better than a biological leg in almost every way.]], | ||
+ | costList = { | ||
+ | Plasteel = 15, | ||
+ | ComponentSpacer = 4, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 8, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicSpine"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicSpine", |
− | + | label = "bionic spine", | |
+ | description = [[An advanced artificial spine. A biogel nerve bundle runs down an articulated plasteel core, surrounded by a lattice-dust healing system. It matches the performance of a biological spine.]], | ||
+ | costList = { | ||
+ | Plasteel = 15, | ||
+ | ComponentSpacer = 4, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 2, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicHeart"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicHeart", |
− | + | label = "bionic heart", | |
+ | description = [[An advanced artificial heart. It has synthetic muscle fibers for a realistic heartbeat, plus a high-flow pump for rapid circulation during high stress. It is better than a biological heart in almost every way.]], | ||
+ | costList = { | ||
+ | Plasteel = 15, | ||
+ | ComponentSpacer = 4, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicStomach"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicStomach", |
− | + | label = "bionic stomach", | |
− | + | description = [[An advanced artificial stomach. A set of sensors and chemical synthesizers efficiently digest nearly any energy-bearing foodstuff. An integrated lattice-dust healing system automatically repairs any damage caused by the powerful acids. It is better than a biological stomach in almost every way.]], | |
+ | costList = { | ||
+ | Plasteel = 10, | ||
+ | ComponentSpacer = 3, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 2, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:DeathAcidifier"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "DeathAcidifier", |
− | + | label = "death acidifier", | |
− | + | description = [[A chest implant for preventing enemy use of captured equipment. Upon the user's death, it releases powerful chemicals that dissolve gear in contact with the user's body. It doesn't damage others.]], | |
+ | statBases = { | ||
+ | MarketValue = 400, | ||
+ | }, | ||
+ | thingCategories = { | ||
+ | "BodyPartsBionic", | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Mote_AcidCloud"] = { |
_ = { | _ = { | ||
ParentName = "MoteBase", | ParentName = "MoteBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Mote_AcidCloud", |
− | + | altitudeLayer = "MoteOverhead", | |
− | altitudeLayer = " | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BionicEar"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartBionicBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Bionic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BionicEar", |
− | + | label = "bionic ear", | |
+ | description = [[An advanced artificial ear implant. A collection of invisible subdermal microphones capture sound and transmit it to a biogel nerve interface that links directly with the auditory nerve. It's sensitive enough to hear a cat before you see it, can't be damaged by loud noise, and automatically tunes itself to pick out meaningful sounds in noisy environments.]], | ||
+ | costList = { | ||
+ | Plasteel = 10, | ||
+ | ComponentSpacer = 3, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BodyPartNaturalBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "BodyPartNaturalBase", |
− | FileName = " | + | ParentName = "BodyPartBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Hediffs_BodyParts_Natural.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingCategories = { | |
− | + | "BodyPartsNatural", | |
− | + | }, | |
+ | statBases = { | ||
+ | DeteriorationRate = 4.0, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Heart"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartNaturalBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Natural.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Heart", |
− | + | label = "heart", | |
− | + | description = [[A biological human heart. Pumps blood around the body.]], | |
− | + | statBases = { | |
− | + | MarketValue = 500, | |
− | + | Mass = 1, | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Lung"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartNaturalBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Natural.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Lung", |
+ | label = "lung", | ||
+ | description = [[A biological human lung. A pair of these form the core of the human respiratory system.]], | ||
+ | statBases = { | ||
+ | MarketValue = 400, | ||
+ | Mass = 1, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Kidney"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartNaturalBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Natural.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Kidney", |
+ | label = "kidney", | ||
+ | description = [[A biological human kidney. Filters and removes waste products from the blood.]], | ||
+ | statBases = { | ||
+ | MarketValue = 250, | ||
+ | Mass = 1, | ||
+ | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:Liver"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "BodyPartNaturalBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Hediffs_BodyParts_Natural.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "Liver", | |
− | + | label = "liver", | |
+ | description = [[A biological human liver. Plays an important role in metabolism.]], | ||
+ | statBases = { | ||
+ | MarketValue = 500, | ||
+ | Mass = 2, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BodyPartProstheticBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "BodyPartProstheticBase", |
− | FileName = " | + | ParentName = "BodyPartBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingCategories = { | |
+ | "BodyPartsProsthetic", | ||
+ | }, | ||
+ | statBases = { | ||
+ | WorkToMake = 15000, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BodyPartProstheticMakeableBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "BodyPartProstheticMakeableBase", |
− | FileName = " | + | ParentName = "BodyPartProstheticBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | recipeMaker = { | |
+ | workSpeedStat = "GeneralLaborSpeed", | ||
+ | workSkill = "Crafting", | ||
+ | effectWorking = "Smith", | ||
+ | soundWorking = "Recipe_Smith", | ||
+ | recipeUsers = { | ||
+ | "TableMachining", | ||
+ | }, | ||
+ | skillRequirements = { | ||
+ | Crafting = 5, | ||
+ | }, | ||
+ | unfinishedThingDef = "UnfinishedHealthItemProsthetic", | ||
+ | researchPrerequisite = "Prosthetics", | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SimpleProstheticLeg"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticMakeableBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SimpleProstheticLeg", |
− | + | label = "prosthetic leg", | |
− | + | description = [[A leg prosthesis. While it lacks a neural interface, its complex arrangement of internal joints allows it to mimic natural movement quite convincingly. Still, it is inferior to a real leg.]], | |
+ | costList = { | ||
+ | Steel = 40, | ||
+ | ComponentIndustrial = 4, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 8, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SimpleProstheticArm"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticMakeableBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SimpleProstheticArm", |
− | + | label = "prosthetic arm", | |
− | + | description = [[An arm prosthesis. While it lacks a neural interface, its complex arrangement of internal joints allows it to mimic natural movement quite convincingly. Still, it is inferior to a real arm.]], | |
+ | costList = { | ||
+ | Steel = 40, | ||
+ | ComponentIndustrial = 4, | ||
+ | }, | ||
+ | statBases = { | ||
+ | Mass = 5, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SimpleProstheticHeart"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticMakeableBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SimpleProstheticHeart", |
− | + | label = "prosthetic heart", | |
− | + | description = [[A heart prosthesis. It contains an electric motor that pumps blood smoothly around the body. Users often report feeling tired, but it's better than the alternative.]], | |
− | + | costList = { | |
− | + | Steel = 25, | |
− | + | ComponentIndustrial = 4, | |
− | + | }, | |
− | + | statBases = { | |
− | + | Mass = 2, | |
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:CochlearImplant"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticMakeableBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "CochlearImplant", |
− | + | label = "cochlear implant", | |
− | + | description = [[An implant which replaces normal hearing. An external microphone transmits a sound signal to electrodes wrapped around the inner ear's auditory sensing nerves. The electrodes stimulate the nerves according to the sound, creating a sensation of hearing. It's not as good as a natural ear, but it's a lot better than being deaf.]], | |
− | + | costList = { | |
− | + | Steel = 20, | |
− | + | ComponentIndustrial = 4, | |
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:PowerClaw"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "PowerClaw", |
− | + | label = "power claw", | |
− | + | description = [[A combat-oriented hand replacement consisting of a mechanical hand with a hooked claw on each finger. It cuts deep, and it is strong enough to crush a skull like a hand crushes an egg. The claws can be retracted, making it as useful as a natural hand for non-combat tasks, however its overall ungainlyness slows down movement slightly.]], | |
− | + | costList = { | |
− | + | Steel = 40, | |
− | + | ComponentIndustrial = 8, | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | statBases = { | |
− | + | Mass = 4, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Joywire"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Joywire", |
− | + | label = "joywire", | |
− | + | description = [[A brain implant that stimulates the brain's pleasure centers. While it dramatically improves a user's mood, the blanket of happiness makes it hard to concentrate on anything real. Joywires are illegal on many worlds, and are known for destroying whole cultures.]], | |
− | + | costList = { | |
− | + | Steel = 20, | |
− | + | ComponentIndustrial = 4, | |
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Painstopper"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BodyPartProstheticBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Hediffs_BodyParts_Prosthetic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Painstopper", |
− | + | label = "painstopper", | |
− | + | description = [[A brain implant which inhibits nociception, or pain sensation. While it does allow the user to accomplish more, it turns out pain has a purpose. When you don't feel it, you can get hurt really bad really easily.]], | |
− | + | costList = { | |
− | + | Steel = 20, | |
− | + | ComponentIndustrial = 4, | |
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:AncientConcreteBarrier"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Ancient.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "AncientConcreteBarrier", |
− | altitudeLayer = " | + | label = "ancient concrete barrier", |
− | + | thingClass = "Building", | |
− | + | category = "Building", | |
− | + | description = [[A traffic management solution from long ago.]], | |
− | + | altitudeLayer = "Building", | |
− | + | pathCost = 42, | |
− | + | pathCostIgnoreRepeat = true, | |
− | + | passability = "PassThroughOnly", | |
+ | fillPercent = 0.5, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 500, | ||
+ | Beauty = -10, | ||
+ | Flammability = 0, | ||
+ | WorkToBuild = 600, | ||
+ | }, | ||
+ | building = { | ||
+ | isInert = true, | ||
}, | }, | ||
− | + | costList = { | |
− | + | Steel = 15, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:AncientLamppost"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Ancient.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "AncientLamppost", | |
− | + | label = "ancient lamppost", | |
− | + | thingClass = "Building", | |
− | + | category = "Building", | |
− | + | description = [[Road lighting from long ago. No longer functional.]], | |
− | + | statBases = { | |
− | + | MaxHitPoints = 300, | |
− | + | WorkToBuild = 400, | |
− | |||
}, | }, | ||
− | + | fillPercent = 0.25, | |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 42, | |
− | + | costList = { | |
− | + | Steel = 15, | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | building = { | |
− | + | isInert = true, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Urn"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Ancient.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Urn", |
− | + | label = "urn", | |
− | + | description = [[An ancient-style decorative container.]], | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | thingCategories = { | |
− | + | "BuildingsFurniture", | |
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.40, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 40, | ||
+ | WorkToBuild = 500, | ||
+ | Mass = 5, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 5, | ||
+ | }, | ||
+ | pathCost = 30, | ||
+ | building = { | ||
+ | isInert = true, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SculptureBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | Name = "SculptureBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Art.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingClass = "Building_Art", | |
− | altitudeLayer = " | + | altitudeLayer = "Building", |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 50, | |
− | + | useHitPoints = true, | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | thingCategories = { | |
− | + | "BuildingsArt", | |
− | |||
}, | }, | ||
− | + | statBases = { | |
− | + | Flammability = 1.0, | |
− | + | SellPriceFactor = 1.10, | |
− | + | MeditationFocusStrength = 0.0, | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | comps = { | |
− | + | { | |
− | + | compClass = "CompQuality", | |
− | + | }, | |
− | + | CompProperties_Art = { | |
− | + | nameMaker = "NamerArtSculpture", | |
− | + | descriptionMaker = "ArtDescription_Sculpture", | |
− | + | canBeEnjoyedAsArt = true, | |
− | + | }, | |
+ | CompProperties_MeditationFocus = { | ||
+ | statDef = "MeditationFocusStrength", | ||
+ | focusTypes = { | ||
+ | "Artistic", | ||
+ | }, | ||
+ | offsets = { | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_Quality", | ||
+ | }, | ||
+ | curve = { | ||
+ | points = { | ||
+ | {0, 0.12}, | ||
+ | {1, 0.16}, | ||
+ | {2, 0.20}, | ||
+ | {3, 0.22}, | ||
+ | {4, 0.24}, | ||
+ | {5, 0.26}, | ||
+ | {6, 0.28}, | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_BuildingDefsWithQuality", | ||
+ | }, | ||
+ | defs = { | ||
+ | "SculptureSmall", | ||
+ | "SculptureLarge", | ||
+ | "SculptureGrand", | ||
+ | }, | ||
+ | radius = 9.9, | ||
+ | maxBuildings = 8, | ||
+ | focusPerQuality = { | ||
+ | points = { | ||
+ | {0, 0.0}, | ||
+ | {1, 0.0}, | ||
+ | {2, 0.01}, | ||
+ | {3, 0.01}, | ||
+ | {4, 0.01}, | ||
+ | {5, 0.02}, | ||
+ | {6, 0.02}, | ||
+ | }, | ||
+ | }, | ||
+ | explanationKey = "MeditationFocusPerSculpture", | ||
+ | explanationKeyAbstract = "MeditationFocusPerSculptureAbstract", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | + | tradeTags = { | |
− | + | "Art", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | recipeMaker = { | |
− | + | workSpeedStat = "GeneralLaborSpeed", | |
− | + | workSkill = "Artistic", | |
− | + | unfinishedThingDef = "UnfinishedSculpture", | |
− | + | effectWorking = "Sculpt", | |
− | + | soundWorking = "Recipe_Sculpt", | |
− | + | recipeUsers = { | |
− | + | "TableSculpting", | |
− | + | }, | |
+ | defaultIngredientFilter = { | ||
+ | categories = { | ||
+ | "Root", | ||
+ | }, | ||
+ | disallowedThingDefs = { | ||
+ | "Gold", | ||
+ | "Silver", | ||
+ | "Plasteel", | ||
+ | "Jade", | ||
+ | "Uranium", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SculptureSmall"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "SculptureBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Art.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SculptureSmall", |
− | + | label = "small sculpture", | |
− | + | description = [[A torso-sized piece of material sculpted into an artistic form.]], | |
− | + | fillPercent = 0.35, | |
− | + | statBases = { | |
− | + | MaxHitPoints = 90, | |
− | + | Mass = 3, | |
− | + | Beauty = 50, | |
− | + | WorkToMake = 18000, | |
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SculptureLarge"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "SculptureBase", |
− | + | DefCategory = "ThingDef", | |
− | FileName = " | + | FileName = "Buildings_Art.xml", |
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SculptureLarge", |
− | + | label = "large sculpture", | |
− | + | description = [[A person-sized piece of material sculpted into an artistic form.]], | |
− | + | fillPercent = 0.5, | |
− | + | statBases = { | |
− | + | MaxHitPoints = 150, | |
− | + | Mass = 7, | |
− | + | Beauty = 100, | |
− | + | WorkToMake = 30000, | |
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SculptureGrand"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "SculptureBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Art.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SculptureGrand", |
− | + | label = "grand sculpture", | |
− | + | description = [[A huge sculpture sized to dominate a room.]], | |
− | + | fillPercent = 0.5, | |
− | + | size = {2, 2}, | |
− | + | statBases = { | |
− | + | MaxHitPoints = 300, | |
− | + | Beauty = 400, | |
− | + | Mass = 28, | |
− | + | WorkToMake = 105000, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Snowman"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Art.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Snowman", |
− | + | label = "snowman", | |
− | + | description = [[A set of large snowballs piled and shaped to resemble a person. People make these for the fun of it.]], | |
− | + | thingClass = "Building", | |
− | + | altitudeLayer = "Building", | |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 30, | |
− | + | pathCostIgnoreRepeat = false, | |
+ | useHitPoints = true, | ||
+ | fillPercent = 0.35, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 50, | ||
+ | Beauty = 4, | ||
+ | WorkToBuild = 1000, | ||
+ | MarketValue = 0, | ||
+ | }, | ||
+ | comps = { | ||
+ | { | ||
+ | compClass = "CompMelter", | ||
+ | }, | ||
+ | }, | ||
+ | building = { | ||
+ | repairable = false, | ||
+ | isInert = true, | ||
+ | artificialForMeditationPurposes = false, | ||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BuildingBase"] = { |
_ = { | _ = { | ||
− | + | Name = "BuildingBase", | |
− | FileName = " | + | Abstract = true, |
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Base.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | category = "Building", | |
+ | thingClass = "Building", | ||
+ | terrainAffordanceNeeded = "Light", | ||
+ | leaveResourcesWhenKilled = true, | ||
+ | statBases = { | ||
+ | SellPriceFactor = 0.70, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:CrashedShipPartBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Abstract = true, |
− | FileName = " | + | Name = "CrashedShipPartBase", |
+ | ParentName = "BuildingBase", | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Exotic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | size = {6, 3}, | |
− | + | passability = "Impassable", | |
− | + | fillPercent = 1, | |
− | + | altitudeLayer = "Building", | |
− | + | terrainAffordanceNeeded = "Light", | |
− | + | leaveResourcesWhenKilled = false, | |
− | + | statBases = { | |
− | + | MaxHitPoints = 1200, | |
+ | Flammability = 0, | ||
+ | Beauty = -200, | ||
+ | }, | ||
+ | killedLeavings = { | ||
+ | ChunkSlagSteel = 4, | ||
+ | Steel = 60, | ||
+ | ComponentIndustrial = 1, | ||
+ | Plasteel = 10, | ||
+ | ComponentSpacer = 1, | ||
+ | }, | ||
+ | building = { | ||
+ | combatPower = 250, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_WakeUpDormant = {}, | ||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:PsychicDronerShipPart"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "CrashedShipPartBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Exotic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "PsychicDronerShipPart", |
− | + | label = "ship part (psychic droner)", | |
− | + | description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a psychic disturbance device. Using incomprehensible archotechnologies, it generates a psychic signal that drives people and animals mad within a wide radius around itself.]], | |
− | + | comps = { | |
− | + | CompProperties_CausesGameCondition_PsychicEmanation = { | |
− | + | conditionDef = "PsychicDroner", | |
− | + | compClass = "CompCauseGameCondition_PsychicEmanation", | |
− | + | worldRange = 1, | |
− | + | droneLevelIncreaseInterval = 150000, | |
+ | droneLevel = 2, | ||
+ | }, | ||
+ | CompProperties_AnimalInsanityPulser = {}, | ||
}, | }, | ||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:DefoliatorShipPart"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "CrashedShipPartBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Exotic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "DefoliatorShipPart", |
− | + | label = "ship part (defoliator)", | |
+ | description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a device which annihilates plant life near itself without directly affecting flesh creatures. These kinds of weapons are sometimes scattered across farmlands or forests to remove the enemy's food supply and hiding places without permanently ruining the territory. They're usually associated with orbital-drop mechanoid armies.]], | ||
+ | comps = { | ||
+ | CompProperties_PlantHarmRadius = { | ||
+ | radiusPerDayCurve = { | ||
+ | points = { | ||
+ | "0 , 5", | ||
+ | "1.5, 18", | ||
+ | "6 , 40", | ||
+ | "20 , 100", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ShipChunk"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Exotic.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "ShipChunk", |
− | altitudeLayer = " | + | label = "ship chunk", |
+ | description = [[A chunk of a spacecraft. Can be deconstructed to yield useful resources.]], | ||
+ | category = "Building", | ||
+ | altitudeLayer = "Building", | ||
+ | pathCost = 42, | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.50, | ||
+ | size = {2, 2}, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 300, | ||
+ | Flammability = 0, | ||
+ | Beauty = -20, | ||
+ | WorkToBuild = 12000, | ||
+ | }, | ||
+ | leaveResourcesWhenKilled = false, | ||
+ | killedLeavings = { | ||
+ | ChunkSlagSteel = 2, | ||
+ | ComponentIndustrial = 1, | ||
+ | }, | ||
+ | costList = { | ||
+ | ComponentIndustrial = 11, | ||
+ | Steel = 40, | ||
+ | }, | ||
+ | building = { | ||
+ | alwaysDeconstructible = true, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:FurnitureBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "FurnitureBase", |
− | FileName = " | + | ParentName = "BuildingBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | minifiedDef = "MinifiedThing", | |
− | + | thingCategories = { | |
+ | "BuildingsFurniture", | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:FurnitureWithQualityBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "FurnitureWithQualityBase", |
− | FileName = " | + | ParentName = "FurnitureBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
− | + | { | |
+ | compClass = "CompQuality", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArtableFurnitureBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "ArtableFurnitureBase", |
− | FileName = " | + | ParentName = "FurnitureWithQualityBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Art = { | |
+ | nameMaker = "NamerArtFurniture", | ||
+ | descriptionMaker = "ArtDescription_Furniture", | ||
+ | minQualityForArtistic = "Excellent", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArtableFurnitureRegardlessOfQualityBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "ArtableFurnitureRegardlessOfQualityBase", |
− | FileName = " | + | ParentName = "FurnitureWithQualityBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Art = { | |
+ | nameMaker = "NamerArtFurniture", | ||
+ | descriptionMaker = "ArtDescription_Furniture", | ||
+ | minQualityForArtistic = "Awful", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SleepingSpot"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SleepingSpot", |
− | altitudeLayer = " | + | label = "sleeping spot", |
+ | description = [[Designates a spot on the ground where people should sleep. Not comfortable.]], | ||
+ | thingClass = "Building_Bed", | ||
+ | altitudeLayer = "FloorEmplacement", | ||
+ | statBases = { | ||
+ | WorkToBuild = 0, | ||
+ | Comfort = 0.4, | ||
+ | SurgerySuccessChanceFactor = 0.7, | ||
+ | }, | ||
+ | useHitPoints = false, | ||
+ | size = {1, 2}, | ||
+ | passability = "Standable", | ||
+ | building = { | ||
+ | sowTag = "SupportPlantsOnly", | ||
+ | artificialForMeditationPurposes = false, | ||
+ | buildingTags = { | ||
+ | "Bed", | ||
+ | }, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AssignableToPawn = { | ||
+ | drawAssignmentOverlay = false, | ||
+ | compClass = "CompAssignableToPawn_Bed", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:DoubleSleepingSpot"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "DoubleSleepingSpot", |
− | altitudeLayer = " | + | label = "double sleeping spot", |
+ | description = [[Designates a spot on the ground where two people should sleep together. Not comfortable.]], | ||
+ | thingClass = "Building_Bed", | ||
+ | altitudeLayer = "FloorEmplacement", | ||
+ | statBases = { | ||
+ | WorkToBuild = 0, | ||
+ | Comfort = 0.4, | ||
+ | SurgerySuccessChanceFactor = 0.7, | ||
+ | }, | ||
+ | useHitPoints = false, | ||
+ | size = {2, 2}, | ||
+ | passability = "Standable", | ||
+ | building = { | ||
+ | sowTag = "SupportPlantsOnly", | ||
+ | artificialForMeditationPurposes = false, | ||
+ | buildingTags = { | ||
+ | "Bed", | ||
+ | }, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AssignableToPawn = { | ||
+ | drawAssignmentOverlay = false, | ||
+ | compClass = "CompAssignableToPawn_Bed", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BedBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureBase", |
− | FileName = " | + | Name = "BedBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | thingClass = "Building_Bed", | |
− | altitudeLayer = " | + | altitudeLayer = "Building", |
+ | comps = { | ||
+ | CompProperties_AssignableToPawn = { | ||
+ | drawAssignmentOverlay = false, | ||
+ | compClass = "CompAssignableToPawn_Bed", | ||
+ | }, | ||
+ | }, | ||
+ | passability = "PassThroughOnly", | ||
+ | building = { | ||
+ | buildingTags = { | ||
+ | "Bed", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BedWithQualityBase"] = { |
_ = { | _ = { | ||
− | Name = " | + | Name = "BedWithQualityBase", |
− | ParentName = " | + | ParentName = "BedBase", |
− | FileName = " | + | Abstract = true, |
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
+ | { | ||
+ | compClass = "CompQuality", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ArtableBedBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Name = "ArtableBedBase", |
− | FileName = " | + | ParentName = "BedWithQualityBase", |
+ | Abstract = true, | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
+ | CompProperties_Art = { | ||
+ | nameMaker = "NamerArtFurniture", | ||
+ | descriptionMaker = "ArtDescription_Furniture", | ||
+ | minQualityForArtistic = "Excellent", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Bed"] = { |
_ = { | _ = { | ||
− | + | ParentName = "BedWithQualityBase", | |
− | + | DefCategory = "ThingDef", | |
− | FileName = " | + | FileName = "Buildings_Furniture.xml", |
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Bed", |
− | + | label = "bed", | |
− | + | description = [[A cozy mattress and sheets on a frame for resting.]], | |
+ | comps = { | ||
+ | CompProperties_AffectedByFacilities = { | ||
+ | linkableFacilities = { | ||
+ | "EndTable", | ||
+ | "Dresser", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 140, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 1, | ||
+ | WorkToBuild = 800, | ||
+ | Mass = 30, | ||
+ | BedRestEffectiveness = 1, | ||
+ | Comfort = 0.75, | ||
+ | ImmunityGainSpeedFactor = 1.07, | ||
+ | SurgerySuccessChanceFactor = 1, | ||
+ | }, | ||
+ | size = {1, 2}, | ||
+ | building = { | ||
+ | bed_healPerDay = 4, | ||
+ | }, | ||
+ | fillPercent = 0.4, | ||
+ | pathCost = 42, | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
+ | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:DoubleBed"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "ArtableBedBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "DoubleBed", |
− | + | label = "double bed", | |
− | + | description = [[A simple double-wide bed that fits two people.]], | |
− | + | comps = { | |
− | + | CompProperties_AffectedByFacilities = { | |
− | + | linkableFacilities = { | |
− | + | "EndTable", | |
− | + | "Dresser", | |
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | + | statBases = { | |
− | + | MaxHitPoints = 200, | |
− | + | Flammability = 1.0, | |
− | + | WorkToBuild = 1500, | |
− | + | Mass = 50, | |
− | + | Comfort = 0.75, | |
− | + | Beauty = 2, | |
− | + | BedRestEffectiveness = 1, | |
− | + | ImmunityGainSpeedFactor = 1.07, | |
− | + | SurgerySuccessChanceFactor = 1, | |
}, | }, | ||
− | + | size = {2, 2}, | |
− | + | building = { | |
− | + | bed_healPerDay = 4, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | terrainAffordanceNeeded = "Light", | |
− | + | fillPercent = 0.4, | |
− | + | pathCost = 42, | |
− | + | leaveResourcesWhenKilled = true, | |
− | + | researchPrerequisites = { | |
− | + | "ComplexFurniture", | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:RoyalBed"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "ArtableBedBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "RoyalBed", |
− | + | label = "royal bed", | |
− | + | description = [[A luxurious gold-inlaid bed fit for the highborn. Very comfy and beautiful, it is a work of art in itself. Fits two.]], | |
− | + | comps = { | |
− | + | CompProperties_AffectedByFacilities = { | |
− | + | linkableFacilities = { | |
− | + | "EndTable", | |
− | + | "Dresser", | |
− | + | }, | |
+ | }, | ||
+ | }, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 200, | ||
+ | Flammability = 1.0, | ||
+ | WorkToBuild = 50000, | ||
+ | Mass = 60, | ||
+ | Beauty = 75, | ||
+ | BedRestEffectiveness = 1.05, | ||
+ | Comfort = 0.90, | ||
+ | ImmunityGainSpeedFactor = 1.07, | ||
+ | SurgerySuccessChanceFactor = 1, | ||
+ | }, | ||
+ | size = {2, 2}, | ||
+ | costList = { | ||
+ | Gold = 50, | ||
}, | }, | ||
− | + | building = { | |
− | + | bed_healPerDay = 4, | |
}, | }, | ||
− | + | terrainAffordanceNeeded = "Light", | |
− | + | fillPercent = 0.4, | |
+ | pathCost = 42, | ||
+ | leaveResourcesWhenKilled = true, | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:HospitalBed"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BedWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "HospitalBed", |
− | label = " | + | label = "hospital bed", |
− | description = [[ | + | description = [[A bed specially designed for use in hospitals. Adjustable for a patient and festooned with built-in equipment, it improves medical outcomes over normal beds.]], |
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 150, | |
− | Mass = 0. | + | WorkToBuild = 2800, |
+ | Mass = 35, | ||
+ | Flammability = 1.0, | ||
+ | BedRestEffectiveness = 1, | ||
+ | Comfort = 0.80, | ||
+ | ImmunityGainSpeedFactor = 1.11, | ||
+ | MedicalTendQualityOffset = 0.10, | ||
+ | SurgerySuccessChanceFactor = 1.1, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AffectedByFacilities = { | ||
+ | linkableFacilities = { | ||
+ | "VitalsMonitor", | ||
+ | "EndTable", | ||
+ | "Dresser", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | size = {1, 2}, | ||
+ | costList = { | ||
+ | Steel = 80, | ||
+ | ComponentIndustrial = 5, | ||
+ | }, | ||
+ | building = { | ||
+ | bed_healPerDay = 10, | ||
+ | bed_defaultMedical = true, | ||
+ | buildingSizeCategory = "Small", | ||
+ | }, | ||
+ | fillPercent = 0.4, | ||
+ | pathCost = 42, | ||
+ | leaveResourcesWhenKilled = true, | ||
+ | researchPrerequisites = { | ||
+ | "HospitalBed", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Bedroll"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BedWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Bedroll", |
− | label = " | + | label = "bedroll", |
− | description = [[ | + | description = [[A simple bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]], |
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 75, | |
− | Mass = 4, | + | Flammability = 1.0, |
+ | Mass = 2.5, | ||
+ | BedRestEffectiveness = 0.95, | ||
+ | ImmunityGainSpeedFactor = 1.05, | ||
+ | Comfort = 0.68, | ||
+ | WorkToBuild = 600, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AffectedByFacilities = { | ||
+ | linkableFacilities = { | ||
+ | "Dresser", | ||
+ | "EndTable", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | size = {1, 2}, | ||
+ | building = { | ||
+ | bed_healPerDay = 4, | ||
+ | bed_caravansCanUse = true, | ||
}, | }, | ||
+ | pathCost = 14, | ||
+ | passability = "Standable", | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BedrollDouble"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BedWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BedrollDouble", |
− | label = " | + | label = "double bedroll", |
− | description = [[ | + | description = [[A simple double-wide bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]], |
statBases = { | statBases = { | ||
− | + | Flammability = 1.0, | |
− | Mass = | + | Mass = 4.5, |
+ | BedRestEffectiveness = 0.95, | ||
+ | ImmunityGainSpeedFactor = 1.05, | ||
+ | Comfort = 0.68, | ||
+ | WorkToBuild = 1100, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AffectedByFacilities = { | ||
+ | linkableFacilities = { | ||
+ | "Dresser", | ||
+ | "EndTable", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | size = {2, 2}, | ||
+ | building = { | ||
+ | bed_healPerDay = 4, | ||
+ | bed_caravansCanUse = true, | ||
}, | }, | ||
+ | pathCost = 14, | ||
+ | passability = "Standable", | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:AnimalSleepingSpot"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "BuildingBase", | |
− | + | DefCategory = "ThingDef", | |
− | FileName = " | + | FileName = "Buildings_Furniture.xml", |
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | thingClass = " | + | defName = "AnimalSleepingSpot", |
− | + | thingClass = "Building_Bed", | |
− | + | label = "animal sleeping spot", | |
− | + | description = [[Designates a spot on the ground where animals should sleep.]], | |
− | + | size = {1, 1}, | |
+ | passability = "Standable", | ||
+ | useHitPoints = false, | ||
+ | altitudeLayer = "FloorEmplacement", | ||
statBases = { | statBases = { | ||
− | + | WorkToBuild = 0, | |
− | + | SurgerySuccessChanceFactor = 0.7, | |
− | |||
− | |||
− | |||
}, | }, | ||
− | + | building = { | |
− | " | + | bed_humanlike = false, |
+ | sowTag = "SupportPlantsOnly", | ||
+ | artificialForMeditationPurposes = false, | ||
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_AssignableToPawn = { | |
+ | drawAssignmentOverlay = false, | ||
+ | compClass = "CompAssignableToPawn_Bed", | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:AnimalSleepingBox"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "FurnitureWithQualityBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Furniture.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "AnimalSleepingBox", | |
− | + | thingClass = "Building_Bed", | |
− | + | label = "animal sleeping box", | |
− | + | description = [[A small box for animals to sleep in. Fits smaller animals like chickens, cats, or small dogs.]], | |
− | + | fillPercent = 0.15, | |
+ | pathCost = 14, | ||
+ | passability = "PassThroughOnly", | ||
+ | building = { | ||
+ | bed_humanlike = false, | ||
+ | bed_maxBodySize = 0.55, | ||
+ | bed_healPerDay = 4, | ||
}, | }, | ||
+ | altitudeLayer = "Building", | ||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 75, | |
+ | Flammability = 1.0, | ||
+ | WorkToBuild = 180, | ||
+ | Mass = 3, | ||
+ | BedRestEffectiveness = 0.93, | ||
+ | Comfort = 0.60, | ||
+ | ImmunityGainSpeedFactor = 1.05, | ||
+ | SurgerySuccessChanceFactor = 1, | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_AssignableToPawn = { | |
− | + | drawAssignmentOverlay = false, | |
− | + | compClass = "CompAssignableToPawn_Bed", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:AnimalBed"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "AnimalBed", |
− | label = " | + | thingClass = "Building_Bed", |
− | description = [[ | + | label = "animal bed", |
− | + | description = [[A soft bed for animals to sleep on. Fits any animal.]], | |
− | + | fillPercent = 0.15, | |
− | + | pathCost = 14, | |
+ | passability = "PassThroughOnly", | ||
+ | building = { | ||
+ | bed_humanlike = false, | ||
+ | bed_healPerDay = 4, | ||
}, | }, | ||
+ | altitudeLayer = "Building", | ||
statBases = { | statBases = { | ||
− | Mass = 0. | + | MaxHitPoints = 140, |
+ | Flammability = 1.0, | ||
+ | WorkToBuild = 400, | ||
+ | Mass = 5, | ||
+ | BedRestEffectiveness = 1, | ||
+ | Comfort = 0.75, | ||
+ | ImmunityGainSpeedFactor = 1.07, | ||
+ | SurgerySuccessChanceFactor = 1, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_AssignableToPawn = { | ||
+ | drawAssignmentOverlay = false, | ||
+ | compClass = "CompAssignableToPawn_Bed", | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Stool"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Stool", |
− | label = " | + | label = "stool", |
− | description = [[ | + | description = [[A simple platform on which to sit. Not very comfortable, but much better than nothing. Can be used at tables, work stations, and elsewhere.]], |
− | + | altitudeLayer = "Building", | |
− | + | statBases = { | |
− | + | MaxHitPoints = 75, | |
+ | WorkToBuild = 450, | ||
+ | Mass = 3, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 0, | ||
+ | Comfort = 0.5, | ||
}, | }, | ||
− | + | pathCost = 30, | |
− | + | fillPercent = 0.20, | |
+ | building = { | ||
+ | isSittable = true, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:DiningChair"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "ArtableFurnitureBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "DiningChair", |
− | label = " | + | label = "dining chair", |
− | description = [[ | + | description = [[A comfortable and attractive chair. Can be used at tables, work stations, and elsewhere.]], |
− | + | altitudeLayer = "Building", | |
− | + | statBases = { | |
− | + | MaxHitPoints = 100, | |
+ | WorkToBuild = 8000, | ||
+ | Mass = 5, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 8, | ||
+ | Comfort = 0.70, | ||
+ | }, | ||
+ | pathCost = 30, | ||
+ | fillPercent = 0.35, | ||
+ | building = { | ||
+ | isSittable = true, | ||
}, | }, | ||
− | + | researchPrerequisites = { | |
− | + | "ComplexFurniture", | |
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Armchair"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Armchair", |
− | label = " | + | label = "armchair", |
− | description = [[ | + | description = [[A large, soft, comfy seat. Great for relaxation. Can be used at tables, work stations, and elsewhere.]], |
− | + | altitudeLayer = "Building", | |
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
− | Mass = | + | MaxHitPoints = 120, |
+ | WorkToBuild = 14000, | ||
+ | Mass = 18, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 4, | ||
+ | Comfort = 0.8, | ||
}, | }, | ||
− | + | researchPrerequisites = { | |
− | + | "ComplexFurniture", | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | pathCost = 30, | |
− | + | fillPercent = 0.40, | |
− | + | building = { | |
− | + | isSittable = true, | |
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:TableBase"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | Abstract = true, |
− | FileName = " | + | ParentName = "FurnitureWithQualityBase", |
+ | Name = "TableBase", | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | description = [[People eat off tables when chairs are placed facing them.]], | |
− | + | thingClass = "Building", | |
− | + | altitudeLayer = "Building", | |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 42, | |
− | + | fillPercent = 0.4, | |
+ | leaveResourcesWhenKilled = true, | ||
+ | }, | ||
+ | |||
+ | ["ThingDef:TableGatherSpotBase"] = { | ||
+ | _ = { | ||
+ | Abstract = true, | ||
+ | ParentName = "TableBase", | ||
+ | Name = "TableGatherSpotBase", | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
+ | DLC = "Core", | ||
}, | }, | ||
− | + | comps = { | |
− | + | { | |
+ | compClass = "CompGatherSpot", | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:EndTable"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "TableBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "EndTable", |
− | label = " | + | label = "end table", |
− | description = [[A | + | description = [[A small bedside table which makes nearby beds a little bit more comfortable. Must be placed directly adjacent to the head of the bed. Placing more than one end table near the same bed has no effect.]], |
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 75, | |
+ | WorkToBuild = 1000, | ||
+ | Mass = 5, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 3, | ||
+ | }, | ||
+ | pathCost = 30, | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Facility = { | |
+ | statOffsets = { | ||
+ | Comfort = 0.05, | ||
+ | }, | ||
+ | maxSimultaneous = 1, | ||
+ | mustBePlacedAdjacentCardinalToBedHead = true, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Table1x2c"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "TableGatherSpotBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Table1x2c", |
− | + | label = "table (1x2)", | |
+ | statBases = { | ||
+ | MaxHitPoints = 75, | ||
+ | WorkToBuild = 750, | ||
+ | Mass = 5, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 0.5, | ||
+ | }, | ||
+ | size = {1, 2}, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Table2x2c"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "TableGatherSpotBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Table2x2c", |
− | label = " | + | label = "table (2x2)", |
− | + | statBases = { | |
− | + | MaxHitPoints = 100, | |
− | + | WorkToBuild = 1500, | |
− | + | Mass = 10, | |
+ | Flammability = 1.0, | ||
+ | Beauty = 1, | ||
}, | }, | ||
+ | size = {2, 2}, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:Table2x4c"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "TableGatherSpotBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Furniture.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "Table2x4c", | |
− | + | label = "table (2x4)", | |
+ | statBases = { | ||
+ | MaxHitPoints = 150, | ||
+ | WorkToBuild = 3000, | ||
+ | Mass = 20, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 2, | ||
}, | }, | ||
− | + | size = {2, 4}, | |
− | + | building = { | |
+ | buildingSizeCategory = "Medium", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Table3x3c"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "TableGatherSpotBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Table3x3c", |
− | label = " | + | label = "table (3x3)", |
− | |||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 175, | |
− | Mass = 1, | + | WorkToBuild = 3300, |
+ | Mass = 22, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 2, | ||
+ | }, | ||
+ | size = {3, 3}, | ||
+ | building = { | ||
+ | buildingSizeCategory = "Medium", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:PlantPot"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "PlantPot", |
− | label = " | + | label = "plant pot", |
− | description = [[ | + | description = [[Plant decorative flowers here to improve the mood of people nearby.]], |
+ | thingClass = "Building_PlantGrower", | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.20, | ||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 75, | |
− | Mass = 1, | + | WorkToBuild = 250, |
+ | Mass = 2, | ||
+ | Flammability = 1.0, | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Forbiddable = {}, | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | leaveResourcesWhenKilled = false, | |
− | + | building = { | |
− | + | defaultPlantToGrow = "Plant_Daylily", | |
− | + | sowTag = "Decorative", | |
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:TorchLamp"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "TorchLamp", |
− | label = " | + | label = "torch lamp", |
− | description = [[A | + | description = [[A wooden torch for lighting an area. People need light to move and work at full speed. Can be automatically refueled with wood. Produces a small amount of heat.]], |
+ | category = "Building", | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | pathCost = 14, | ||
+ | fillPercent = 0.15, | ||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 75, | |
− | + | WorkToBuild = 100, | |
+ | Flammability = 0, | ||
+ | MeditationFocusStrength = 0.0, | ||
+ | }, | ||
+ | costList = { | ||
+ | WoodLog = 20, | ||
+ | }, | ||
+ | building = { | ||
+ | artificialForMeditationPurposes = false, | ||
+ | }, | ||
+ | leaveResourcesWhenKilled = false, | ||
+ | comps = { | ||
+ | CompProperties_Refuelable = { | ||
+ | fuelConsumptionRate = 2.0, | ||
+ | fuelCapacity = 20.0, | ||
+ | fuelConsumptionPerTickInRain = 0.0006, | ||
+ | fuelFilter = { | ||
+ | thingDefs = { | ||
+ | "WoodLog", | ||
+ | }, | ||
+ | }, | ||
+ | initialFuelPercent = 1, | ||
+ | showAllowAutoRefuelToggle = true, | ||
+ | }, | ||
+ | CompProperties_Glower = { | ||
+ | glowRadius = 10, | ||
+ | glowColor = {252, 187, 113, 0}, | ||
+ | }, | ||
+ | CompProperties_HeatPusher = { | ||
+ | compClass = "CompHeatPusherPowered", | ||
+ | heatPerSecond = 3.5, | ||
+ | heatPushMaxTemperature = 23, | ||
+ | }, | ||
+ | CompProperties_FireOverlay = { | ||
+ | fireSize = 0.4, | ||
+ | offset = {0, 0, 0.2}, | ||
+ | }, | ||
+ | CompProperties_MeditationFocus = { | ||
+ | statDef = "MeditationFocusStrength", | ||
+ | focusTypes = { | ||
+ | "Flame", | ||
+ | }, | ||
+ | offsets = { | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_Lit", | ||
+ | }, | ||
+ | offset = 0.1, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_BuildingDefsLit", | ||
+ | }, | ||
+ | defs = { | ||
+ | "Campfire", | ||
+ | "TorchLamp", | ||
+ | "Brazier", | ||
+ | }, | ||
+ | offsetPerBuilding = 0.01, | ||
+ | radius = 9.9, | ||
+ | maxBuildings = 8, | ||
+ | explanationKey = "MeditationFocusPerFlame", | ||
+ | explanationKeyAbstract = "MeditationFocusPerFlameAbstract", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:LampBase"] = { | ||
_ = { | _ = { | ||
− | |||
− | |||
Abstract = true, | Abstract = true, | ||
− | FileName = " | + | Name = "LampBase", |
+ | ParentName = "BuildingBase", | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
+ | thingClass = "Building", | ||
+ | category = "Building", | ||
+ | minifiedDef = "MinifiedThing", | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.20, | ||
+ | pathCost = 14, | ||
+ | leaveResourcesWhenKilled = false, | ||
thingCategories = { | thingCategories = { | ||
− | " | + | "BuildingsFurniture", |
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_Flickable = {}, | ||
}, | }, | ||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 50, | |
+ | WorkToBuild = 300, | ||
+ | Flammability = 1.0, | ||
+ | }, | ||
+ | researchPrerequisites = { | ||
+ | "Electricity", | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:StandingLampBase"] = { | ||
_ = { | _ = { | ||
− | Name = " | + | Abstract = true, |
− | ParentName = " | + | Name = "StandingLampBase", |
− | + | ParentName = "LampBase", | |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | costList = { | |
− | + | Steel = 20, | |
− | + | }, | |
− | + | statBases = { | |
− | + | Mass = 4, | |
− | + | }, | |
− | " | + | comps = { |
+ | CompProperties_Power = { | ||
+ | compClass = "CompPowerTrader", | ||
+ | basePowerConsumption = 30, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:StandingLamp"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "StandingLampBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "StandingLamp", |
− | label = " | + | label = "standing lamp", |
− | description = [[ | + | description = [[An electrical standing lamp that lights an area. People need light to move and work at full speed.]], |
− | + | comps = { | |
− | + | CompProperties_Glower = { | |
− | + | glowRadius = 12, | |
− | + | glowColor = {217, 217, 208, 0}, | |
− | + | }, | |
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:StandingLamp_Red"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "StandingLampBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "StandingLamp_Red", |
− | label = " | + | label = "standing lamp (red)", |
− | description = [[ | + | description = [[A standing lamp that lights an area in red.]], |
− | + | comps = { | |
− | + | CompProperties_Glower = { | |
− | + | glowRadius = 12, | |
+ | glowColor = {217, 80, 80, 0}, | ||
+ | }, | ||
}, | }, | ||
− | + | researchPrerequisites = { | |
− | + | _ = { | |
+ | Inherit = false, | ||
+ | }, | ||
+ | "ColoredLights", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:StandingLamp_Green"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "StandingLampBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "StandingLamp_Green", |
− | label = " | + | label = "standing lamp (green)", |
− | description = [[A | + | description = [[A standing lamp that lights an area in green.]], |
− | + | comps = { | |
− | + | CompProperties_Glower = { | |
− | + | glowRadius = 12, | |
− | }, | + | glowColor = {80, 217, 80, 0}, |
− | + | }, | |
− | + | }, | |
+ | researchPrerequisites = { | ||
+ | _ = { | ||
+ | Inherit = false, | ||
+ | }, | ||
+ | "ColoredLights", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:StandingLamp_Blue"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "StandingLampBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "StandingLamp_Blue", |
− | label = " | + | label = "standing lamp (blue)", |
− | description = [[ | + | description = [[A standing lamp that lights an area in blue.]], |
− | + | comps = { | |
− | + | CompProperties_Glower = { | |
− | + | glowRadius = 12, | |
+ | glowColor = {80, 80, 217, 0}, | ||
+ | }, | ||
+ | }, | ||
+ | researchPrerequisites = { | ||
+ | _ = { | ||
+ | Inherit = false, | ||
+ | }, | ||
+ | "ColoredLights", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:SunLamp"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "LampBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "SunLamp", |
− | label = " | + | label = "sun lamp", |
− | description = [[ | + | description = [[An industrial lamp which lights an area brightly enough to grow crops, but consumes a huge amount of power. Automatically turns itself off at night.]], |
+ | thingClass = "Building_SunLamp", | ||
+ | statBases = { | ||
+ | WorkToBuild = 330, | ||
+ | Mass = 4.5, | ||
+ | }, | ||
costList = { | costList = { | ||
Steel = 40, | Steel = 40, | ||
− | |||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Glower = { | |
+ | overlightRadius = 7.0, | ||
+ | glowRadius = 14, | ||
+ | glowColor = {370, 370, 370, 0}, | ||
+ | }, | ||
+ | CompProperties_Power = { | ||
+ | compClass = "CompPowerTrader", | ||
+ | shortCircuitInRain = true, | ||
+ | basePowerConsumption = 2900, | ||
+ | }, | ||
+ | CompProperties_Schedule = { | ||
+ | startTime = 0.25, | ||
+ | endTime = 0.8, | ||
+ | offMessage = "Off for plant resting period", | ||
+ | }, | ||
+ | CompProperties_HeatPusher = { | ||
+ | compClass = "CompHeatPusherPowered", | ||
+ | heatPerSecond = 3, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Shelf"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Shelf", |
− | label = " | + | label = "shelf", |
− | description = [[A | + | description = [[A shelf for storing miscellaneous items. Items stored in this will not affect room beauty and they won't deteriorate, even if outside.]], |
− | + | thingClass = "Building_Storage", | |
− | + | altitudeLayer = "Building", | |
− | + | passability = "PassThroughOnly", | |
− | }, | + | fillPercent = 0.4, |
− | + | pathCost = 50, | |
− | + | statBases = { | |
− | + | MaxHitPoints = 100, | |
− | + | Mass = 8, | |
− | + | WorkToBuild = 600, | |
− | + | Flammability = 1.0, | |
− | + | Beauty = 0.5, | |
+ | }, | ||
+ | size = {2, 1}, | ||
+ | building = { | ||
+ | preventDeteriorationOnTop = true, | ||
+ | ignoreStoredThingsBeauty = true, | ||
+ | defaultStorageSettings = { | ||
+ | priority = "Important", | ||
+ | filter = { | ||
+ | categories = { | ||
+ | "Weapons", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
− | + | researchPrerequisites = { | |
− | + | "ComplexFurniture", | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Dresser"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "ArtableFurnitureBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Furniture.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Dresser", |
− | label = " | + | label = "dresser", |
− | + | description = [[A dresser. Gives a small comfort bonus to all nearby beds. Placing more than one dresser near the same bed has no effect.]], | |
− | |||
− | description = [[A | ||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.4, | ||
pathCost = 42, | pathCost = 42, | ||
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 120, |
− | + | Mass = 15, | |
− | Flammability = 0, | + | WorkToBuild = 2000, |
− | + | Flammability = 1.0, | |
+ | Beauty = 5, | ||
}, | }, | ||
− | + | size = {2, 1}, | |
− | + | researchPrerequisites = { | |
+ | "ComplexFurniture", | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Facility = { | |
+ | statOffsets = { | ||
+ | Comfort = 0.05, | ||
+ | }, | ||
+ | maxSimultaneous = 1, | ||
+ | maxDistance = 6, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:HorseshoesPin"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "HorseshoesPin", |
− | label = "ancient | + | label = "horseshoes pin", |
− | + | description = [[A simple ancient game played with a horseshoes and a large pin in the ground. Players toss horseshoes to try to get them to land on the pin. It's relaxing, and trains shooting skills.]], | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | altitudeLayer = "Building", | |
+ | thingCategories = { | ||
+ | "BuildingsJoy", | ||
+ | }, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 75, |
− | WorkToBuild = | + | WorkToBuild = 100, |
− | + | Mass = 3, | |
− | + | Flammability = 1.0, | |
− | + | JoyGainFactor = 1, | |
− | |||
− | |||
− | |||
}, | }, | ||
building = { | building = { | ||
− | + | joyKind = "Gaming_Dexterity", | |
+ | artificialForMeditationPurposes = false, | ||
}, | }, | ||
+ | pathCost = 14, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:HoopstoneRing"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "HoopstoneRing", |
− | label = " | + | label = "hoopstone ring", |
− | description = [[ | + | description = [[A simple ancient game played with stones and a large ring in the ground. Players try to toss stones through the ring from a distance. It's relaxing, and trains shooting skills.]], |
minifiedDef = "MinifiedThing", | minifiedDef = "MinifiedThing", | ||
+ | altitudeLayer = "Building", | ||
thingCategories = { | thingCategories = { | ||
− | " | + | "BuildingsJoy", |
}, | }, | ||
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 100, |
− | WorkToBuild = | + | WorkToBuild = 100, |
− | Mass = | + | Mass = 4, |
Flammability = 1.0, | Flammability = 1.0, | ||
− | + | JoyGainFactor = 1, | |
}, | }, | ||
− | |||
building = { | building = { | ||
− | + | joyKind = "Gaming_Dexterity", | |
+ | artificialForMeditationPurposes = false, | ||
}, | }, | ||
+ | pathCost = 14, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:GameOfUrBoard"] = { | ||
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Joy.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "GameOfUrBoard", | |
+ | label = "Game-of-Ur board", | ||
+ | description = [[Dating from 2500BC, this exciting yet infuriating board game can be played by one or two people. It trains intellectual skills.]], | ||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
+ | fillPercent = 0.20, | ||
+ | building = { | ||
+ | joyKind = "Gaming_Cerebral", | ||
+ | }, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 90, | ||
+ | WorkToBuild = 6000, | ||
+ | Mass = 2, | ||
+ | Flammability = 1.0, | ||
+ | Beauty = 2, | ||
+ | JoyGainFactor = 0.8, | ||
+ | }, | ||
+ | pathCost = 14, | ||
passability = "PassThroughOnly", | passability = "PassThroughOnly", | ||
− | + | }, | |
− | + | ||
− | + | ["ThingDef:ChessTable"] = { | |
− | + | _ = { | |
− | " | + | ParentName = "FurnitureWithQualityBase", |
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Joy.xml", | ||
+ | DLC = "Core", | ||
+ | }, | ||
+ | defName = "ChessTable", | ||
+ | label = "chess table", | ||
+ | description = [[The ancient game of kings. Fun for a few hours here and there, even playing alone. It trains intellectual skills.]], | ||
+ | altitudeLayer = "Building", | ||
+ | fillPercent = 0.40, | ||
+ | building = { | ||
+ | joyKind = "Gaming_Cerebral", | ||
+ | }, | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
}, | }, | ||
statBases = { | statBases = { | ||
+ | MaxHitPoints = 100, | ||
+ | WorkToBuild = 8000, | ||
+ | Mass = 5, | ||
Flammability = 1.0, | Flammability = 1.0, | ||
− | + | Beauty = 4, | |
− | + | JoyGainFactor = 1, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
+ | pathCost = 30, | ||
+ | passability = "PassThroughOnly", | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:PokerTable"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "PokerTable", |
− | label = " | + | label = "poker table", |
− | description = [[A | + | description = [[A table designed for playing gambling card games like poker. A great way to test your strategic skills and a bit of luck.]], |
− | fillPercent = 0. | + | altitudeLayer = "Building", |
+ | fillPercent = 0.40, | ||
+ | building = { | ||
+ | joyKind = "Gaming_Cerebral", | ||
+ | buildingSizeCategory = "Medium", | ||
+ | }, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 250, |
− | Mass = 3, | + | WorkToBuild = 10000, |
− | + | Mass = 30, | |
− | + | Flammability = 1.0, | |
+ | Beauty = 0, | ||
+ | JoyGainFactor = 1.3, | ||
+ | }, | ||
+ | size = {2, 2}, | ||
+ | costList = { | ||
+ | Cloth = 50, | ||
+ | WoodLog = 25, | ||
+ | }, | ||
+ | pathCost = 42, | ||
+ | passability = "PassThroughOnly", | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:BilliardsTable"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "FurnitureWithQualityBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "BilliardsTable", |
− | label = " | + | label = "billiards table", |
− | description = [[A | + | description = [[A soft-topped bounded table for playing a variety of billiards-type games. It trains shooting ability.]], |
− | fillPercent = 0. | + | altitudeLayer = "Building", |
+ | fillPercent = 0.40, | ||
+ | terrainAffordanceNeeded = "Medium", | ||
+ | building = { | ||
+ | joyKind = "Gaming_Dexterity", | ||
+ | buildingSizeCategory = "Medium", | ||
+ | }, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 250, |
− | Mass = | + | WorkToBuild = 12000, |
− | Beauty = | + | Mass = 60, |
− | + | Flammability = 1.0, | |
+ | Beauty = 0, | ||
+ | JoyGainFactor = 1.3, | ||
}, | }, | ||
− | + | size = {2, 3}, | |
− | + | costList = { | |
− | + | Cloth = 80, | |
− | + | WoodLog = 30, | |
− | |||
− | |||
− | |||
}, | }, | ||
− | + | pathCost = 42, | |
− | + | passability = "PassThroughOnly", | |
− | + | researchPrerequisites = { | |
− | + | "ComplexFurniture", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:TubeTelevision"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "TubeTelevision", |
− | label = " | + | label = "tube television", |
− | description = [[A | + | description = [[A cathode ray tube display for showing moving pictures with sound. Even on the rimworlds, there is often an old transmitter running something at least marginally interesting.]], |
− | |||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
− | + | minifiedDef = "MinifiedThing", | |
− | + | fillPercent = 0.40, | |
− | + | thingCategories = { | |
− | + | "BuildingsJoy", | |
− | + | }, | |
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | WorkToBuild = 10000, |
− | + | MaxHitPoints = 100, | |
− | + | Mass = 14, | |
− | + | Flammability = 1.0, | |
+ | JoyGainFactor = 1.2, | ||
+ | }, | ||
+ | costList = { | ||
+ | Steel = 80, | ||
+ | ComponentIndustrial = 4, | ||
+ | }, | ||
+ | pathCost = 42, | ||
+ | passability = "PassThroughOnly", | ||
+ | building = { | ||
+ | joyKind = "Television", | ||
}, | }, | ||
comps = { | comps = { | ||
− | { | + | CompProperties_Power = { |
− | compClass = " | + | compClass = "CompPowerTrader", |
+ | shortCircuitInRain = true, | ||
+ | basePowerConsumption = 200, | ||
}, | }, | ||
+ | CompProperties_Flickable = {}, | ||
}, | }, | ||
− | + | tradeTags = { | |
− | + | "Television", | |
− | |||
− | |||
}, | }, | ||
− | + | researchPrerequisites = { | |
− | + | "TubeTelevision", | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:FlatscreenTelevision"] = { | ||
_ = { | _ = { | ||
− | |||
− | |||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | + | defName = "FlatscreenTelevision", | |
− | + | label = "flatscreen television", | |
− | + | description = [[A high-tech flat-screen television with crystal-clear image and rich color. Picks up transmissions from ancient satellites and ubiquitous data cards.]], | |
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
− | + | minifiedDef = "MinifiedThing", | |
− | + | fillPercent = 0.35, | |
+ | thingCategories = { | ||
+ | "BuildingsJoy", | ||
+ | }, | ||
+ | costList = { | ||
+ | Steel = 140, | ||
+ | ComponentIndustrial = 16, | ||
+ | }, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | WorkToBuild = 40000, |
− | Flammability = 0, | + | MaxHitPoints = 80, |
− | + | Flammability = 1.0, | |
+ | Mass = 8, | ||
+ | JoyGainFactor = 1.4, | ||
}, | }, | ||
− | + | pathCost = 50, | |
− | + | passability = "PassThroughOnly", | |
− | + | size = {2, 1}, | |
− | + | researchPrerequisites = { | |
− | + | "FlatscreenTelevision", | |
− | |||
}, | }, | ||
building = { | building = { | ||
− | + | joyKind = "Television", | |
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Power = { | |
+ | compClass = "CompPowerTrader", | ||
+ | shortCircuitInRain = true, | ||
+ | basePowerConsumption = 330, | ||
+ | }, | ||
+ | CompProperties_Flickable = {}, | ||
+ | }, | ||
+ | tradeTags = { | ||
+ | "Television", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:MegascreenTelevision"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "MegascreenTelevision", |
− | label = " | + | label = "megascreen television", |
− | description = [[ | + | description = [[A huge, high-tech television. Gigantic, hyper-vibrant images almost leap out of the screen. Very entertaining. Picks up transmissions from ancient satellites and ubiquitous data cards.]], |
− | + | altitudeLayer = "Building", | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | fillPercent = 0.35, | |
− | + | thingCategories = { | |
− | + | "BuildingsJoy", | |
− | + | }, | |
− | + | costList = { | |
− | + | Steel = 260, | |
− | + | ComponentIndustrial = 22, | |
+ | }, | ||
+ | statBases = { | ||
+ | WorkToBuild = 80000, | ||
+ | MaxHitPoints = 85, | ||
+ | Flammability = 1.0, | ||
+ | Mass = 10, | ||
+ | JoyGainFactor = 1.6, | ||
}, | }, | ||
− | + | pathCost = 50, | |
− | + | passability = "PassThroughOnly", | |
− | + | size = {3, 1}, | |
− | + | building = { | |
− | + | joyKind = "Television", | |
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
− | |||
comps = { | comps = { | ||
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | shortCircuitInRain = true, | |
− | + | basePowerConsumption = 450, | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
+ | CompProperties_Flickable = {}, | ||
+ | }, | ||
+ | tradeTags = { | ||
+ | "Television", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Telescope"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Joy.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Telescope", |
− | label = " | + | label = "telescope", |
− | description = [[A | + | description = [[A telescope for doing amateur astronomy. It's a relaxing hobby for a certain kind of person. Can only be used outdoors.]], |
− | + | fillPercent = 0.15, | |
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
− | + | hasInteractionCell = true, | |
passability = "PassThroughOnly", | passability = "PassThroughOnly", | ||
− | + | pathCost = 30, | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | thingCategories = { | |
− | + | "BuildingsJoy", | |
− | |||
− | |||
− | |||
}, | }, | ||
− | + | building = { | |
− | + | joyKind = "Telescope", | |
− | |||
− | |||
}, | }, | ||
costList = { | costList = { | ||
− | + | Steel = 50, | |
− | + | ComponentIndustrial = 1, | |
}, | }, | ||
− | + | statBases = { | |
− | + | MaxHitPoints = 75, | |
+ | Flammability = 1.0, | ||
+ | MarketValue = 350, | ||
+ | Mass = 7.5, | ||
+ | JoyGainFactor = 1.2, | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:OrbitalTradeBeacon"] = { | ||
_ = { | _ = { | ||
− | |||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | + | DefCategory = "ThingDef", | |
− | FileName = " | + | FileName = "Buildings_Misc.xml", |
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
+ | defName = "OrbitalTradeBeacon", | ||
+ | label = "orbital trade beacon", | ||
+ | thingClass = "Building_OrbitalTradeBeacon", | ||
+ | altitudeLayer = "Building", | ||
minifiedDef = "MinifiedThing", | minifiedDef = "MinifiedThing", | ||
thingCategories = { | thingCategories = { | ||
− | " | + | "BuildingsMisc", |
+ | }, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 75, | ||
+ | WorkToBuild = 800, | ||
+ | Flammability = 0.5, | ||
+ | Mass = 5, | ||
}, | }, | ||
− | + | description = [[Required for orbital trading. You can only sell goods to orbital traders if they're near an orbital trade beacon. Can be placed indoors.]], | |
− | + | fillPercent = 0.15, | |
− | + | costList = { | |
− | + | Steel = 40, | |
− | + | ComponentIndustrial = 1, | |
− | |||
− | |||
− | |||
}, | }, | ||
comps = { | comps = { | ||
− | { | + | CompProperties_Power = { |
− | compClass = " | + | compClass = "CompPowerTrader", |
+ | basePowerConsumption = 40, | ||
}, | }, | ||
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_Breakdownable = {}, | ||
+ | }, | ||
+ | leaveResourcesWhenKilled = false, | ||
+ | pathCost = 14, | ||
+ | researchPrerequisites = { | ||
+ | "MicroelectronicsBasics", | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:CommsConsole"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "BuildingBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Misc.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
+ | defName = "CommsConsole", | ||
+ | label = "comms console", | ||
+ | description = [[Allows radio contact with other factions and orbital traders.]], | ||
+ | thingClass = "Building_CommsConsole", | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | pathCost = 50, | ||
+ | fillPercent = 0.5, | ||
+ | statBases = { | ||
+ | MaxHitPoints = 250, | ||
+ | WorkToBuild = 2200, | ||
+ | Flammability = 0.6, | ||
+ | }, | ||
+ | size = {3, 2}, | ||
+ | costList = { | ||
+ | Steel = 120, | ||
+ | ComponentIndustrial = 4, | ||
+ | }, | ||
+ | hasInteractionCell = true, | ||
+ | terrainAffordanceNeeded = "Medium", | ||
comps = { | comps = { | ||
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | shortCircuitInRain = true, | |
− | + | basePowerConsumption = 200, | |
}, | }, | ||
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_Breakdownable = {}, | ||
+ | }, | ||
+ | researchPrerequisites = { | ||
+ | "MicroelectronicsBasics", | ||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:FirefoamPopper"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "BuildingBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Misc.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
+ | defName = "FirefoamPopper", | ||
+ | label = "firefoam popper", | ||
+ | description = [[When it detects fire, this safety device pops and sprays a fire-retardant foam in a circular field around itself. Can also be triggered manually.]], | ||
comps = { | comps = { | ||
− | + | CompProperties_Explosive = { | |
− | + | explosiveRadius = 9.9, | |
− | + | explosiveDamageType = "Extinguish", | |
− | + | startWickHitPointsPercent = -1, | |
+ | startWickOnDamageTaken = { | ||
+ | "Flame", | ||
+ | }, | ||
+ | postExplosionSpawnThingDef = "Filth_FireFoam", | ||
+ | postExplosionSpawnChance = 1, | ||
+ | postExplosionSpawnThingCount = 1, | ||
+ | applyDamageToExplosionCellsNeighbors = true, | ||
+ | explosionEffect = "ExtinguisherExplosion", | ||
+ | }, | ||
+ | CompProperties_Usable = { | ||
+ | useJob = "TriggerFirefoamPopper", | ||
+ | useLabel = "Trigger firefoam popper", | ||
+ | }, | ||
+ | CompProperties_UseEffect = { | ||
+ | compClass = "CompUseEffect_StartWick", | ||
+ | }, | ||
+ | CompProperties_ProximityFuse = { | ||
+ | target = "Fire", | ||
+ | radius = 3, | ||
}, | }, | ||
}, | }, | ||
− | + | altitudeLayer = "Building", | |
− | + | minifiedDef = "MinifiedThing", | |
− | + | thingCategories = { | |
− | + | "BuildingsMisc", | |
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
− | WorkToBuild = | + | MaxHitPoints = 50, |
− | + | WorkToBuild = 1500, | |
− | + | Mass = 10, | |
+ | Flammability = 1.0, | ||
+ | Beauty = -8, | ||
}, | }, | ||
− | + | fillPercent = 0.30, | |
− | + | costList = { | |
− | + | Steel = 75, | |
− | + | ComponentIndustrial = 1, | |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | leaveResourcesWhenKilled = false, | |
− | + | pathCost = 30, | |
− | + | passability = "PassThroughOnly", | |
− | + | researchPrerequisites = { | |
− | + | "Firefoam", | |
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:MoisturePump"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "MoisturePump", |
− | label = " | + | label = "moisture pump", |
− | description = [[ | + | description = [[Very slowly equalizes moisture in nearby terrain, converting marshes or shallow water into dry ground, and soft sand into normal sand. Does not affect deep water.]], |
− | + | comps = { | |
− | + | CompProperties_Forbiddable = {}, | |
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | basePowerConsumption = 150, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | CompProperties_TerrainPumpDry = { | |
− | + | soundWorking = "MoisturePump_Ambience", | |
− | + | radius = 6.9, | |
− | + | daysToRadius = 60, | |
− | |||
}, | }, | ||
}, | }, | ||
− | + | altitudeLayer = "Building", | |
− | + | statBases = { | |
− | + | MaxHitPoints = 50, | |
− | + | WorkToBuild = 1500, | |
− | + | Flammability = 1.0, | |
− | + | Beauty = -8, | |
− | |||
− | |||
}, | }, | ||
− | + | fillPercent = 0.15, | |
− | + | costList = { | |
− | + | Steel = 75, | |
− | + | ComponentIndustrial = 4, | |
− | |||
− | |||
− | |||
}, | }, | ||
+ | pathCost = 30, | ||
passability = "PassThroughOnly", | passability = "PassThroughOnly", | ||
− | + | researchPrerequisites = { | |
− | + | "MoisturePump", | |
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ThingDef = { | + | |
+ | ["ThingDef:GroundPenetratingScanner"] = { | ||
_ = { | _ = { | ||
− | + | ParentName = "BuildingBase", | |
− | + | DefCategory = "ThingDef", | |
− | + | FileName = "Buildings_Misc.xml", | |
− | FileName = " | ||
DLC = "Core", | DLC = "Core", | ||
+ | }, | ||
+ | defName = "GroundPenetratingScanner", | ||
+ | label = "ground-penetrating scanner", | ||
+ | description = [[A sensor unit used by researchers to search for buried resources. The chance to find a resource depends on the operator's research ability. It consumes a lot of electricity. If you find a buried resource, you'll need to use deep drills to extract it. It doesn't work under a roof.]], | ||
+ | costList = { | ||
+ | Steel = 150, | ||
+ | ComponentIndustrial = 4, | ||
+ | ComponentSpacer = 1, | ||
}, | }, | ||
comps = { | comps = { | ||
− | { | + | CompProperties_Forbiddable = {}, |
− | compClass = " | + | CompProperties_Power = { |
+ | compClass = "CompPowerTrader", | ||
+ | basePowerConsumption = 700, | ||
+ | }, | ||
+ | CompProperties_Breakdownable = {}, | ||
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_ScannerMineralsDeep = { | ||
+ | scanSpeedStat = "ResearchSpeed", | ||
+ | scanFindMtbDays = 3, | ||
+ | scanFindGuaranteedDays = 6, | ||
+ | soundWorking = "ScannerGroundPenetrating_Ambience", | ||
}, | }, | ||
}, | }, | ||
− | + | altitudeLayer = "Building", | |
− | + | statBases = { | |
− | + | MaxHitPoints = 200, | |
− | + | WorkToBuild = 12000, | |
− | + | Flammability = 0.5, | |
− | + | Beauty = -8, | |
− | |||
− | |||
}, | }, | ||
− | + | hasInteractionCell = true, | |
− | + | fillPercent = 0.40, | |
− | + | leaveResourcesWhenKilled = false, | |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 50, | |
− | + | size = {3, 3}, | |
+ | terrainAffordanceNeeded = "Heavy", | ||
+ | researchPrerequisites = { | ||
+ | "GroundPenetratingScanner", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:LongRangeMineralScanner"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "LongRangeMineralScanner", |
− | label = " | + | label = "long-range mineral scanner", |
− | description = [[A | + | description = [[A lateral sensor unit used by researchers to detect a specific type of mineral across the planet. The chance to find a resource depends on the operator's research ability. This sensor can be tuned to target a specific resource type. It consumes a lot of electricity. If you find a resource, you'll need to travel to collect it.]], |
+ | costList = { | ||
+ | Steel = 200, | ||
+ | ComponentIndustrial = 6, | ||
+ | ComponentSpacer = 2, | ||
+ | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Forbiddable = {}, | |
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | basePowerConsumption = 700, | |
− | + | }, | |
+ | CompProperties_Breakdownable = {}, | ||
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_LongRangeMineralScanner = { | ||
+ | scanSpeedStat = "ResearchSpeed", | ||
+ | scanFindMtbDays = 4, | ||
+ | scanFindGuaranteedDays = 8, | ||
+ | soundWorking = "ScannerLongRangeMineral_Ambience", | ||
}, | }, | ||
}, | }, | ||
+ | altitudeLayer = "Building", | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 250, |
− | + | WorkToBuild = 1000, | |
− | + | Flammability = 0.5, | |
− | WorkToBuild = | + | Beauty = -8, |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | fillPercent = 0.40, | |
− | + | leaveResourcesWhenKilled = false, | |
− | + | passability = "PassThroughOnly", | |
− | + | pathCost = 50, | |
− | + | hasInteractionCell = true, | |
− | + | size = {3, 3}, | |
+ | terrainAffordanceNeeded = "Heavy", | ||
researchPrerequisites = { | researchPrerequisites = { | ||
− | " | + | "LongRangeMineralScanner", |
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:PodLauncher"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "PodLauncher", |
− | label = " | + | label = "pod launcher", |
− | description = [[A | + | description = [[A fueling port for launching one transport pod. Pod launchers can launch as a group - but the launchers must be placed adjacent to each other.]], |
− | + | size = {1, 2}, | |
− | + | altitudeLayer = "Building", | |
− | + | passability = "Impassable", | |
− | + | fillPercent = 1.0, | |
− | + | terrainAffordanceNeeded = "Medium", | |
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
MaxHitPoints = 200, | MaxHitPoints = 200, | ||
− | + | WorkToBuild = 3000, | |
− | WorkToBuild = | + | Flammability = 0.5, |
− | + | }, | |
− | + | costList = { | |
− | + | Steel = 50, | |
− | + | ComponentIndustrial = 1, | |
− | |||
− | |||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Refuelable = { | |
− | + | fuelCapacity = 150.0, | |
+ | targetFuelLevelConfigurable = true, | ||
+ | initialConfigurableTargetFuelLevel = 75, | ||
+ | fuelFilter = { | ||
+ | thingDefs = { | ||
+ | "Chemfuel", | ||
+ | }, | ||
+ | }, | ||
+ | consumeFuelOnlyWhenUsed = true, | ||
+ | autoRefuelPercent = 1, | ||
+ | showFuelGizmo = true, | ||
+ | drawOutOfFuelOverlay = false, | ||
+ | drawFuelGaugeInMap = true, | ||
+ | showAllowAutoRefuelToggle = true, | ||
+ | }, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
researchPrerequisites = { | researchPrerequisites = { | ||
− | " | + | "TransportPod", |
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:TransportPod"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "TransportPod", |
− | label = " | + | label = "transport pod", |
− | description = [[A | + | description = [[A launchable sub-orbital cargo pod capable of carrying people, items, or animals. Can be used for sending gifts, transporting people or supplies, surprise attacks, or reinforcing battles.]], |
− | + | size = {1, 1}, | |
− | + | altitudeLayer = "BuildingOnTop", | |
− | + | passability = "PassThroughOnly", | |
− | + | fillPercent = 0.5, | |
− | + | terrainAffordanceNeeded = "Medium", | |
− | |||
− | |||
− | |||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 250, |
− | + | WorkToBuild = 1600, | |
− | WorkToBuild = | + | Flammability = 0.5, |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
costList = { | costList = { | ||
− | + | Steel = 60, | |
+ | ComponentIndustrial = 1, | ||
}, | }, | ||
− | + | comps = { | |
− | + | CompProperties_Transporter = { | |
+ | restEffectiveness = 0.8, | ||
+ | }, | ||
+ | CompProperties_Launchable = { | ||
+ | skyfallerLeaving = "DropPodLeaving", | ||
+ | }, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
researchPrerequisites = { | researchPrerequisites = { | ||
− | " | + | "TransportPod", |
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:MultiAnalyzer"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "MultiAnalyzer", |
− | label = " | + | label = "multi-analyzer", |
− | description = [[ | + | description = [[Increases research speed when placed near hi-tech research bench and unlocks new research projects. Each research bench can only use one multi-analyzer.]], |
+ | researchPrerequisites = { | ||
+ | "MultiAnalyzer", | ||
+ | }, | ||
+ | size = {2, 2}, | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.5, | ||
+ | minifiedDef = "MinifiedThing", | ||
+ | terrainAffordanceNeeded = "Medium", | ||
+ | thingCategories = { | ||
+ | "BuildingsMisc", | ||
+ | }, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 200, |
− | WorkToBuild = | + | WorkToBuild = 10000, |
− | Mass = | + | Mass = 60, |
Flammability = 1.0, | Flammability = 1.0, | ||
− | + | }, | |
− | + | costList = { | |
− | + | Steel = 40, | |
− | + | Plasteel = 50, | |
− | + | Gold = 20, | |
+ | ComponentIndustrial = 8, | ||
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | shortCircuitInRain = true, | |
− | + | basePowerConsumption = 200, | |
− | + | }, | |
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_Facility = { | ||
+ | statOffsets = { | ||
+ | ResearchSpeedFactor = 0.1, | ||
}, | }, | ||
+ | maxSimultaneous = 1, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:VitalsMonitor"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "VitalsMonitor", |
− | label = " | + | label = "vitals monitor", |
− | description = [[ | + | description = [[Increases medical tend quality, surgery success chance, and immunity gain speed when placed directly adjacent to a hospital bed. Only works for hospital beds - normal beds will not benefit. Attaching more than one vitals monitor to the same bed will have no effect.]], |
+ | researchPrerequisites = { | ||
+ | "VitalsMonitor", | ||
+ | }, | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.2, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 100, |
− | + | WorkToBuild = 6000, | |
− | Mass = | + | Mass = 20, |
− | + | Flammability = 0.7, | |
− | + | }, | |
− | + | size = {1, 1}, | |
− | + | costList = { | |
+ | Steel = 50, | ||
+ | ComponentIndustrial = 3, | ||
+ | }, | ||
+ | minifiedDef = "MinifiedThing", | ||
+ | thingCategories = { | ||
+ | "BuildingsMisc", | ||
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Power = { | |
− | + | compClass = "CompPowerTrader", | |
− | + | shortCircuitInRain = true, | |
− | + | basePowerConsumption = 80, | |
+ | }, | ||
+ | CompProperties_Flickable = {}, | ||
+ | CompProperties_Facility = { | ||
+ | statOffsets = { | ||
+ | MedicalTendQualityOffset = 0.07, | ||
+ | ImmunityGainSpeedFactor = 0.02, | ||
+ | SurgerySuccessChanceFactor = 0.05, | ||
}, | }, | ||
+ | maxSimultaneous = 1, | ||
+ | mustBePlacedAdjacent = true, | ||
}, | }, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:ToolCabinet"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "ToolCabinet", |
− | label = " | + | label = "tool cabinet", |
− | description = [[ | + | description = [[Increases work speed when placed near a workbench. One workbench use to up to two tool cabinets.]], |
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | fillPercent = 0.5, | ||
+ | pathCost = 42, | ||
statBases = { | statBases = { | ||
− | + | MaxHitPoints = 100, | |
− | Mass = | + | WorkToBuild = 1800, |
− | + | Mass = 20, | |
− | + | Flammability = 0.5, | |
− | + | }, | |
− | + | size = {2, 1}, | |
+ | costList = { | ||
+ | Steel = 200, | ||
+ | }, | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
+ | }, | ||
+ | minifiedDef = "MinifiedThing", | ||
+ | thingCategories = { | ||
+ | "BuildingsMisc", | ||
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Facility = { | |
− | + | statOffsets = { | |
− | + | WorkTableWorkSpeedFactor = 0.06, | |
− | |||
}, | }, | ||
+ | maxSimultaneous = 2, | ||
}, | }, | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Grave"] = { |
_ = { | _ = { | ||
ParentName = "BuildingBase", | ParentName = "BuildingBase", | ||
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Grave", |
− | + | label = "grave", | |
− | label = " | + | description = [[A decent final resting place. Colonists will visit full graves to gain meditative joy.]], |
− | description = [[ | + | thingClass = "Building_Grave", |
− | + | altitudeLayer = "FloorEmplacement", | |
− | |||
useHitPoints = false, | useHitPoints = false, | ||
− | + | size = {1, 2}, | |
statBases = { | statBases = { | ||
− | WorkToBuild = | + | WorkToBuild = 800, |
− | + | MeditationFocusStrength = 0.06, | |
}, | }, | ||
+ | passability = "Standable", | ||
building = { | building = { | ||
− | + | isInert = true, | |
− | + | preventDeteriorationInside = true, | |
artificialForMeditationPurposes = false, | artificialForMeditationPurposes = false, | ||
+ | fixedStorageSettings = { | ||
+ | filter = { | ||
+ | categories = { | ||
+ | "Corpses", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | defaultStorageSettings = { | ||
+ | priority = "Important", | ||
+ | filter = { | ||
+ | categories = { | ||
+ | "CorpsesHumanlike", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
+ | terrainAffordanceNeeded = "Diggable", | ||
comps = { | comps = { | ||
CompProperties_AssignableToPawn = { | CompProperties_AssignableToPawn = { | ||
drawAssignmentOverlay = false, | drawAssignmentOverlay = false, | ||
− | compClass = " | + | compClass = "CompAssignableToPawn_Grave", |
+ | }, | ||
+ | CompProperties_MeditationFocus = { | ||
+ | statDef = "MeditationFocusStrength", | ||
+ | focusTypes = { | ||
+ | "Morbid", | ||
+ | }, | ||
+ | offsets = { | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_GraveFull", | ||
+ | }, | ||
+ | offset = 0.10, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_GraveCorpseRelationship", | ||
+ | }, | ||
+ | offset = 0.10, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_NearbyGraves", | ||
+ | }, | ||
+ | defs = { | ||
+ | "Grave", | ||
+ | "Sarcophagus", | ||
+ | }, | ||
+ | offsetPerBuilding = 0.01, | ||
+ | radius = 9.9, | ||
+ | maxBuildings = 4, | ||
+ | focusPerFullGrave = 0.01, | ||
+ | explanationKey = "MeditationFocusPerGrave", | ||
+ | explanationKeyAbstract = "MeditationFocusPerGraveAbstract", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:Sarcophagus"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "Sarcophagus", |
− | + | label = "sarcophagus", | |
− | label = " | + | description = [[An ornamented burial receptacle for the honored dead.]], |
− | description = [[ | + | thingClass = "Building_Sarcophagus", |
− | + | size = {1, 2}, | |
− | pathCost = | + | pathCost = 42, |
− | + | fillPercent = 0.5, | |
building = { | building = { | ||
− | + | preventDeteriorationInside = true, | |
− | + | fixedStorageSettings = { | |
− | + | filter = { | |
− | + | categories = { | |
− | + | "Corpses", | |
− | statBases = { | + | }, |
− | MaxHitPoints = | + | }, |
+ | }, | ||
+ | defaultStorageSettings = { | ||
+ | priority = "Important", | ||
+ | filter = { | ||
+ | categories = { | ||
+ | "CorpsesHumanlike", | ||
+ | }, | ||
+ | specialFiltersToDisallow = { | ||
+ | "AllowCorpsesStranger", | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | }, | ||
+ | statBases = { | ||
+ | WorkToBuild = 2400, | ||
+ | MaxHitPoints = 250, | ||
Flammability = 1.0, | Flammability = 1.0, | ||
− | + | MeditationFocusStrength = 0.10, | |
− | + | Beauty = 0, | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
comps = { | comps = { | ||
+ | { | ||
+ | compClass = "CompQuality", | ||
+ | }, | ||
+ | CompProperties_Art = { | ||
+ | nameMaker = "NamerArtSarcophagusPlate", | ||
+ | descriptionMaker = "ArtDescription_SarcophagusPlate", | ||
+ | mustBeFullGrave = true, | ||
+ | }, | ||
CompProperties_AssignableToPawn = { | CompProperties_AssignableToPawn = { | ||
drawAssignmentOverlay = false, | drawAssignmentOverlay = false, | ||
− | compClass = " | + | compClass = "CompAssignableToPawn_Grave", |
+ | }, | ||
+ | CompProperties_MeditationFocus = { | ||
+ | statDef = "MeditationFocusStrength", | ||
+ | focusTypes = { | ||
+ | "Morbid", | ||
+ | }, | ||
+ | offsets = { | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_GraveFull", | ||
+ | }, | ||
+ | offset = 0.10, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_GraveCorpseRelationship", | ||
+ | }, | ||
+ | offset = 0.10, | ||
+ | }, | ||
+ | { | ||
+ | _ = { | ||
+ | Class = "FocusStrengthOffset_NearbyGraves", | ||
+ | }, | ||
+ | defs = { | ||
+ | "Grave", | ||
+ | "Sarcophagus", | ||
+ | }, | ||
+ | offsetPerBuilding = 0.01, | ||
+ | radius = 9.9, | ||
+ | maxBuildings = 4, | ||
+ | focusPerFullGrave = 0.01, | ||
+ | explanationKey = "MeditationFocusPerGrave", | ||
+ | explanationKeyAbstract = "MeditationFocusPerGraveAbstract", | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
+ | }, | ||
+ | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | terrainAffordanceNeeded = "Light", | ||
+ | researchPrerequisites = { | ||
+ | "ComplexFurniture", | ||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:CryptosleepCasket"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "CryptosleepCasket", |
− | + | label = "cryptosleep casket", | |
− | label = " | + | description = [[A self-powered sarcophagus designed to keep a person in a state of suspended animation for many years.]], |
− | description = [[A | + | thingClass = "Building_CryptosleepCasket", |
− | + | researchPrerequisites = { | |
− | + | "Cryptosleep", | |
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | pathCost = 42, | ||
+ | fillPercent = 0.5, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | WorkToBuild = 3200, |
− | Flammability = | + | MaxHitPoints = 250, |
− | + | Flammability = 0.5, | |
− | + | }, | |
− | + | size = {1, 2}, | |
− | + | hasInteractionCell = true, | |
− | + | costList = { | |
− | + | Steel = 180, | |
+ | Uranium = 5, | ||
+ | ComponentIndustrial = 4, | ||
+ | ComponentSpacer = 1, | ||
}, | }, | ||
comps = { | comps = { | ||
− | + | CompProperties_Explosive = { | |
− | + | explosiveRadius = 2.66, | |
− | + | explosiveDamageType = "Flame", | |
+ | }, | ||
+ | CompProperties_EmptyStateGraphic = { | ||
+ | graphicData = { | ||
+ | texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor", | ||
+ | graphicClass = "Graphic_Multi", | ||
+ | drawSize = {1, 2}, | ||
+ | }, | ||
}, | }, | ||
}, | }, | ||
+ | terrainAffordanceNeeded = "Medium", | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:AncientCryptosleepCasket"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "AncientCryptosleepCasket", |
− | label = " | + | label = "ancient cryptosleep casket", |
− | description = [[ | + | description = [[This cryptosleep casket looks like it has been here for a very long time. Who knows what it might contain?]], |
+ | thingClass = "Building_AncientCryptosleepCasket", | ||
altitudeLayer = "Building", | altitudeLayer = "Building", | ||
+ | passability = "PassThroughOnly", | ||
+ | pathCost = 42, | ||
+ | fillPercent = 0.5, | ||
statBases = { | statBases = { | ||
− | MaxHitPoints = | + | MaxHitPoints = 250, |
− | |||
− | |||
Flammability = 1.0, | Flammability = 1.0, | ||
− | |||
− | |||
}, | }, | ||
− | + | size = {1, 2}, | |
− | + | hasInteractionCell = true, | |
− | + | costList = { | |
− | + | Steel = 180, | |
+ | Uranium = 5, | ||
+ | }, | ||
+ | killedLeavings = { | ||
+ | ChunkSlagSteel = 1, | ||
+ | Steel = 25, | ||
+ | Uranium = 3, | ||
+ | }, | ||
+ | comps = { | ||
+ | CompProperties_Explosive = { | ||
+ | explosiveRadius = 2.66, | ||
+ | explosiveDamageType = "Flame", | ||
+ | }, | ||
+ | CompProperties_EmptyStateGraphic = { | ||
+ | graphicData = { | ||
+ | texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor", | ||
+ | graphicClass = "Graphic_Multi", | ||
+ | drawSize = {1, 2}, | ||
+ | }, | ||
+ | }, | ||
}, | }, | ||
+ | leaveResourcesWhenKilled = false, | ||
+ | terrainAffordanceNeeded = "Medium", | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:MarriageSpot"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "MarriageSpot", |
− | label = " | + | label = "marriage spot", |
− | description = [[ | + | description = [[Designates a spot where marriage ceremonies will take place. Spectators can watch from either side.]], |
− | altitudeLayer = " | + | thingClass = "Building_MarriageSpot", |
+ | altitudeLayer = "FloorEmplacement", | ||
statBases = { | statBases = { | ||
− | + | WorkToBuild = 0, | |
− | + | }, | |
− | + | useHitPoints = false, | |
− | + | size = {2, 1}, | |
− | + | passability = "Standable", | |
− | + | building = { | |
+ | sowTag = "SupportPlantsOnly", | ||
+ | artificialForMeditationPurposes = false, | ||
+ | }, | ||
+ | }, | ||
+ | |||
+ | ["ThingDef:PartySpot"] = { | ||
+ | _ = { | ||
+ | ParentName = "BuildingBase", | ||
+ | DefCategory = "ThingDef", | ||
+ | FileName = "Buildings_Misc.xml", | ||
+ | DLC = "Core", | ||
+ | }, | ||
+ | defName = "PartySpot", | ||
+ | label = "party spot", | ||
+ | description = [[Designates a spot for throwing parties.]], | ||
+ | altitudeLayer = "FloorEmplacement", | ||
+ | statBases = { | ||
+ | WorkToBuild = 0, | ||
}, | }, | ||
− | + | useHitPoints = false, | |
− | + | passability = "Standable", | |
building = { | building = { | ||
− | + | sowTag = "SupportPlantsOnly", | |
− | + | artificialForMeditationPurposes = false, | |
− | |||
− | |||
}, | }, | ||
}, | }, | ||
− | ["ThingDef: | + | ["ThingDef:CaravanPackingSpot"] = { |
_ = { | _ = { | ||
− | ParentName = " | + | ParentName = "BuildingBase", |
− | FileName = " | + | DefCategory = "ThingDef", |
+ | FileName = "Buildings_Misc.xml", | ||
DLC = "Core", | DLC = "Core", | ||
}, | }, | ||
− | defName = " | + | defName = "CaravanPackingSpot", |
− | label = " | + | label = "caravan packing spot", |
− | description = [[ | + | description = [[Designates a spot for forming caravans. Put this near your stockpiles to speed up the caravan loading process.]], |
− | altitudeLayer = " | + | altitudeLayer = "FloorEmplacement", |
statBases = { | statBases = { | ||
− | + | WorkToBuild = 0, | |
− | WorkToBuild |