CryptechTest / CryptechTest/cryptech

Give tamed NPCs jobs using tools

未关闭
#67 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Lua
星标
3
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

Allow a player to use a tool on NPCs to give it a job. Use the NPC formspec to set any needed parameters for the NPC to follow in their job.

### Hoe - Farmer
Clicking an NPC with a hoe gives them the hoe and changes them into a farmer. They will farm within a radius of where they are given a job and will put the farmed items into any nearby chest and replants crops. Better material hoe will improve farming yield and performance. They can be told to follow the owning player to a new farm.

#### actions
- Stand
- Follow
- Farm

### Pick - Miner
Clicking an NPC with a pick gives them the pick and changes them into a miner. They will mine within a radius of where they are given a job and will put the mined items into any nearby chest. Better material pick will improve mining yield and performance and allow the miner to mine harder materials. They can be told to follow the owning player to a new mining area.

#### actions
- Stand
- Follow
- Mine

### Sword - Fighter
Clicking an NPC with a sword gives them the sword and changes them into a fighter. They will fight hostile mobs and players within a radius of where they are and will accept a shield and armor additionally. Better material sword and armor will improve ability and performance of the fighter. They can be told to follow the owning player, stand guard, wander or patrol.

#### actions
- Stand
- Follow
- Wander
- Patrol

### Axe - Lumberjack
Clicking an NPC with a axe gives them the axe and changes them into a lumberjack. They will harvest within a radius of where they are given a job and will put the harvested items into any nearby chest. Better material axe will improve lumber yield and performance. They can be told to follow the owning player to a new harvest area.

#### actions
- Stand
- Follow
- Harvest

### Shovel - Excavator
Clicking an NPC with a shovel gives them the shovel and changes them into a excavator. They will dig holes or flatten areas where they are given a job and will put the excavated materials into any nearby chest. Better material shovel will improve performance. They can be told to follow the owning player to a new area.

#### actions
- Stand
- Follow
- Dig
- Flatten

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。