用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/OmniStormX/SmartNPC --skill smartnpc-farm-extension命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | smartnpc-farm-extension |
| description | 农场开垦——完整链路清杂物、翻地、施肥、播种、浇水。{{NPC_NAME}} 将荒地变为农田。 |
| version | 0.1.0 |
| author | SmartNPC Project |
| license | MIT |
| metadata | {"npc":{"[object Object]":null},"hermes":{"tags":["SmartNPC","farm","extension","workflow"]}} |
将未开垦的空地变为可种植农田。完整链路:清杂物 → 翻耕 → 施肥 → 播种 → 浇水。这是开垦轮——只做新地开发。
clear_debris ──→ till_soil (无法在杂草/石头中翻耕)
till_soil ──→ fertilize (品质肥必须在播种前施加,有肥料才调)
fertilize ──→ plant_seeds (施肥后播种)
till_soil ──→ plant_seeds (不施肥时直接播种)
plant_seeds ──→ water_crops (新种子必须浇水)
npc_inspect_object(what="farm_actions", radius=<inspect_radius>)
inspect_radius 从 workflow args 取,默认 30。till 桶(count + bbox)。条件:till.count > 0
工具:npc_clear_debris(x1=till.bbox.x1, y1=till.bbox.y1, x2=till.bbox.x2, y2=till.bbox.y2)
条件:till.count > 0
工具:npc_till_soil(x1=till.bbox.x1, y1=till.bbox.y1, x2=till.bbox.x2, y2=till.bbox.y2)
条件:till.count > 0 且 backpack 有肥料
工具:npc_fertilize(fertilizer_id=<fertilizer_id>, x1=till.bbox.x1, y1=till.bbox.y1, x2=till.bbox.x2, y2=till.bbox.y2)
fertilizer_id 从 workflow args 取,默认 (O)368(基础肥料)。背包空则跳过——fertilize 不支持免费模式。条件:步骤 3 或 4 执行了 till_soil
工具:npc_inspect_object(what="farm_actions", radius=<inspect_radius>)
条件:plant.count > 0
工具:npc_plant_seeds(seed_id=<target_seed>, x1=plant.bbox.x1, y1=plant.bbox.y1, x2=plant.bbox.x2, y2=plant.bbox.y2)
target_seed 从 workflow args 取。默认 (O)472(防风草,春季安全选项)。条件:plant.count > 0 且步骤 6 执行了播种
工具:npc_water_crops(x1=plant.bbox.x1, y1=plant.bbox.y1, x2=plant.bbox.x2, y2=plant.bbox.y2)
npc_deposit_items(auto_find=true)
npc_show_text_bubble(text="[开垦完成]")
npc_water_crops(除步骤 7 外)——不要浇已有作物npc_harvest_crops——这是收获轮的事npc_break_resource——这是清理/采集轮的事chat_say——玩家没跟你说话| 参数 | 来源 | 默认值 | 说明 |
|---|---|---|---|
inspect_radius | workflow args | 30 | 巡视半径 |
target_seed | workflow args | (O)472 | 要种的种子 QID |
fertilizer_id | workflow args | (O)368 | 肥料 QID,背包空则跳过 |
| 季节 | 默认种子 |
|---|---|
| 春 | (O)472 防风草 / (O)474 花椰菜 / (O)475 土豆 |
| 夏 | (O)485 红甘蓝 / (O)487 玉米 / (O)491 甜瓜 |
| 秋 | (O)490 南瓜 / (O)493 蔓越莓种子 |
| 冬 | 停止——不执行此 workflow |
| 特质 | 影响 |
|---|---|
| 勤奋 | 更大半径(+5),一定施肥 |
| 随性 | 更小半径(-3),可能跳过施肥 |
| 有条理 | 顺序不可变,一定 re-inspect |
性格不改变序列顺序,只影响半径大小和是否跳过施肥。