整理
This commit is contained in:
115
MCP/vector_cache/JobDef.txt
Normal file
115
MCP/vector_cache/JobDef.txt
Normal file
@@ -0,0 +1,115 @@
|
||||
根据向量相似度分析,与 'JobDef' 最相关的代码定义如下:
|
||||
|
||||
---
|
||||
**文件路径 (精确匹配):** `C:\Steam\steamapps\common\RimWorld\Data\dll1.6\Verse\JobDef.txt`
|
||||
|
||||
```csharp
|
||||
public class JobDef : Def
|
||||
{
|
||||
public Type driverClass;
|
||||
|
||||
[MustTranslate]
|
||||
public string reportString = "Doing something.";
|
||||
|
||||
public bool playerInterruptible = true;
|
||||
|
||||
public bool forceCompleteBeforeNextJob;
|
||||
|
||||
public CheckJobOverrideOnDamageMode checkOverrideOnDamage = CheckJobOverrideOnDamageMode.Always;
|
||||
|
||||
public bool alwaysShowWeapon;
|
||||
|
||||
public bool neverShowWeapon;
|
||||
|
||||
public bool suspendable = true;
|
||||
|
||||
public bool casualInterruptible = true;
|
||||
|
||||
public bool allowOpportunisticPrefix;
|
||||
|
||||
public bool collideWithPawns;
|
||||
|
||||
public bool isIdle;
|
||||
|
||||
public TaleDef taleOnCompletion;
|
||||
|
||||
public bool neverFleeFromEnemies;
|
||||
|
||||
public bool sleepCanInterrupt = true;
|
||||
|
||||
public bool makeTargetPrisoner;
|
||||
|
||||
public int waitAfterArriving;
|
||||
|
||||
public bool carryThingAfterJob;
|
||||
|
||||
public bool dropThingBeforeJob = true;
|
||||
|
||||
public bool isCrawlingIfDowned = true;
|
||||
|
||||
public bool alwaysShowReport;
|
||||
|
||||
public bool abilityCasting;
|
||||
|
||||
public bool tryStartFlying;
|
||||
|
||||
public bool ifFlyingKeepFlying;
|
||||
|
||||
public float overrideFlyChance = -1f;
|
||||
|
||||
public bool displayAsAreaInFloatMenu = true;
|
||||
|
||||
public int joyDuration = 4000;
|
||||
|
||||
public int joyMaxParticipants = 1;
|
||||
|
||||
public float joyGainRate = 1f;
|
||||
|
||||
public SkillDef joySkill;
|
||||
|
||||
public float joyXpPerTick;
|
||||
|
||||
public JoyKindDef joyKind;
|
||||
|
||||
public Rot4 faceDir = Rot4.Invalid;
|
||||
|
||||
public int learningDuration = 20000;
|
||||
|
||||
public ReservationLayerDef containerReservationLayer;
|
||||
|
||||
public override IEnumerable<string> ConfigErrors()
|
||||
{
|
||||
foreach (string item in base.ConfigErrors())
|
||||
{
|
||||
yield return item;
|
||||
}
|
||||
if (joySkill != null && joyXpPerTick == 0f)
|
||||
{
|
||||
yield return "funSkill is not null but funXpPerTick is zero";
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
---
|
||||
**文件路径:** `C:\Steam\steamapps\common\RimWorld\Data\Core\Defs\JobDefs\Jobs_Animal.xml`
|
||||
**相似度:** 0.5912
|
||||
|
||||
```xml
|
||||
<JobDef>
|
||||
<defName>Nuzzle</defName>
|
||||
<driverClass>JobDriver_Nuzzle</driverClass>
|
||||
<reportString>nuzzling TargetA.</reportString>
|
||||
<allowOpportunisticPrefix>true</allowOpportunisticPrefix>
|
||||
</JobDef>
|
||||
```
|
||||
---
|
||||
**文件路径:** `C:\Steam\steamapps\common\RimWorld\Data\Ideology\Defs\JobDefs\Jobs_Gatherings.xml`
|
||||
**相似度:** 0.5788
|
||||
|
||||
```xml
|
||||
<JobDef>
|
||||
<defName>Dance</defName>
|
||||
<driverClass>JobDriver_Dance</driverClass>
|
||||
<reportString>dancing.</reportString>
|
||||
</JobDef>
|
||||
```
|
||||
Reference in New Issue
Block a user