rimworld吧 关注:239,530贴子:4,250,882
  • 2回复贴,共1

AI水,用文心一言来写mod

取消只看楼主收藏回复

很久之前就想做的一个散兵坑mod,让小人可以在平地挖坑获得掩体,不知道可不可以运行
周末回家试一试


IP属地:广东来自Android客户端1楼2024-03-05 23:35回复
    贴吧包打听被楼主禁言,将不能再进行回复
    嘶,忘了这游戏的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>


    IP属地:广东来自Android客户端10楼2024-03-07 21:41
    回复
      其实之前研究过原版防卫拓展的战壕,然后改数据复制粘贴,但是,贴图不显示,爆红。然后放弃治疗(主要是快上学了没时间搞)


      IP属地:广东来自Android客户端11楼2024-03-07 21:45
      回复