嘶,忘了这游戏的mod是xml格式的重新叫ai写了一个
<?xml version="1.0" encoding="UTF-8"?>
<RimWorld.Mod>
<DefName>DigFoxhole</DefName>
<ThingDefs>
<ThingDef ParentName="WorkGiver_Dig">
<defName>WorkGiver_DigFoxhole</defName>
<label>挖掘散兵坑</label>
<description>殖民者会挖掘一个散兵坑作为临时的避难所。</description>
<workTime>10.0</workTime>
<materialsCost>0</materialsCost>
<jobDriver>
<jobClass>JobDriver_Dig</jobClass>
<canBePaused>false</canBePaused>
<canBeAborted>false</canBeAborted>
<ignoreBuildingProhibitions>true</ignoreBuildingProhibitions>
<jobDriverProps>
<digDepth>0.5</digDepth>
<digAreaWidth>1.5</digAreaWidth>
<digAreaLength>1.5</digAreaLength>
<useWorkSpot>false</useWorkSpot>
</jobDriverProps>
</jobDriver>
<workGiverProps>
<requiredSkillLevel>0</requiredSkillLevel>
<requiredCapabilities>
<li>Dig</li>
</requiredCapabilities>
<ignoredCapabilities>
<li>Not_Digging</li>
</ignoredCapabilities>
<jobChancePerHour>1.0</jobChancePerHour>
<maxHoursPerDay>24.0</maxHoursPerDay>
<maxConsecutiveHours>24.0</maxConsecutiveHours>
<minHoursBetweenJobs>0.0</minHoursBetweenJobs>
<priority>1</priority>
</workGiverProps>
</ThingDef>
</ThingDefs>
</RimWorld.Mod>
<?xml version="1.0" encoding="UTF-8"?>
<RimWorld.Mod>
<DefName>DigFoxhole</DefName>
<ThingDefs>
<ThingDef ParentName="WorkGiver_Dig">
<defName>WorkGiver_DigFoxhole</defName>
<label>挖掘散兵坑</label>
<description>殖民者会挖掘一个散兵坑作为临时的避难所。</description>
<workTime>10.0</workTime>
<materialsCost>0</materialsCost>
<jobDriver>
<jobClass>JobDriver_Dig</jobClass>
<canBePaused>false</canBePaused>
<canBeAborted>false</canBeAborted>
<ignoreBuildingProhibitions>true</ignoreBuildingProhibitions>
<jobDriverProps>
<digDepth>0.5</digDepth>
<digAreaWidth>1.5</digAreaWidth>
<digAreaLength>1.5</digAreaLength>
<useWorkSpot>false</useWorkSpot>
</jobDriverProps>
</jobDriver>
<workGiverProps>
<requiredSkillLevel>0</requiredSkillLevel>
<requiredCapabilities>
<li>Dig</li>
</requiredCapabilities>
<ignoredCapabilities>
<li>Not_Digging</li>
</ignoredCapabilities>
<jobChancePerHour>1.0</jobChancePerHour>
<maxHoursPerDay>24.0</maxHoursPerDay>
<maxConsecutiveHours>24.0</maxConsecutiveHours>
<minHoursBetweenJobs>0.0</minHoursBetweenJobs>
<priority>1</priority>
</workGiverProps>
</ThingDef>
</ThingDefs>
</RimWorld.Mod>