• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Citizens/角色/炼金术士:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“{{Trait | PICTURE = Alchemist.png | AUTHOR = aPunch | NAME = Alchemist | VERSION = 1.1 | CITIZENSBUILD = 2.0 | DEVSTATUS = InDev | DEPENDS =...”)
 
 
(未显示同一用户的4个中间版本)
第6行: 第6行:
| CITIZENSBUILD  = 2.0
| CITIZENSBUILD  = 2.0
| DEVSTATUS    = InDev
| DEVSTATUS    = InDev
| DEPENDS = None
| DEPENDS =
| DOWNLOADLINK  = http://ci.citizensnpcs.co/view/Add-ons/job/Alchemist/
| DOWNLOADLINK  = http://ci.citizensnpcs.co/view/Add-ons/job/Alchemist/
| DESCRIPTION  = Customizable Potion Recipes
| DESCRIPTION  = 自定义药水配方
}}
}}


Alchemist is a Citizens 2.0 character trait that gives NPCs the ability to:
炼金术士是Citizens 2.0的一个角色特性,可以让NPC:
* Craft potions based on pre-defined recipes.
* 基于预设的配方炼制药水.
* Charge a fee for their service.
* 收费替玩家炼制药水.




==如何使用==
==如何使用==
===General Information===
===总体信息===
Alchemists provide the ability to create custom recipes for potions. You can customize these recipes in the configuration file. A default recipe is provided as an example.
炼金术士可以用相当于的合成配方来炼制药水.你可以在配置内自定义炼金配方. 默认的配方即为示例.


Keep in mind, there is no way to view an alchemist's current recipe ingredients using this plugin. This is intentional, as you, the server admin, should be allowed total freedom to decide how you display recipes. You could show the ingredients using signs, another plugin, or not at all.
记住,目前没有办法用这个插件查看炼金术士的食炼金配方. 这一设计是故意的, 你如果是服务器管理员,你可以决定如何呈现出这些配方. 你可以用告示牌或其他插件来展示.


===交互===
===交互===
Right-clicking the alchemist with the proper ingredients will remove them from your hand and give them to the alchemist. Once the recipe has been completely fulfilled, the alchemist will drop a potion around it's location. If the user walks too far away, the alchemist will stop brewing the potion and any items that were given to it will be lost.
带着正确的炼金材料右键炼金术士就可以把材料给予炼金术士并开始炼金.炼金完成后,炼金术士会在附近掉落药水.如果玩家离得太远的话,炼金术士会停止炼药并且炼金材料会被炼金术士私吞.


==指令==
==指令==
To use alchemist commands, you must have an NPC selected and be the owner of that NPC. There are no permission nodes required for commands.
想要使用炼金术士指令,你需要先选择一个NPC且你是该NPC的主人. 这些指令没有权限节点.


{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
|-
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''Alchemist Commands'''
! style="width: 100%; background-color:#ADD8E6" colspan="6" | '''炼金术士指令'''
|-
|-
! style="width: 250px;" | Command
! style="width: 250px;" | 指令
! Description
! 描述
|-
|-
| /alchemist help
| /alchemist help
第46行: 第46行:


==权限==
==权限==
To use alchemists, you only need one permission node. The permission node ''alchemist.interact'' allows a player to interact with an alchemist.
使用炼金术士只需一个权限. 权限 ''alchemist.interact'' 可以让玩家与炼金术士NPC交互.


==配置==
==配置==
The configuration file for Alchemists is found in ''/plugins/Alchemist/config.yml'' and is generated automatically when not present.
配置位于 ''/plugins/Alchemist/config.yml''.
===默认配置===
===默认配置===
Mouseover each section to view it's description.
鼠标移动到文字上来查看配置描述.
  <nowiki></nowiki># Alchemist Configuration
  <nowiki></nowiki># 炼金术士配置
  <nowiki></nowiki>{{H:title|Recipes Block|recipes:}}
  <nowiki></nowiki>{{H:title|Recipes Block|recipes:}}
   {{H:title|Name of 1st recipe|default:}}
   {{H:title|第一个配方的名称|default:}}
     {{H:title|Result section. Defines what happens when "example recipe" is used|result:}}
     {{H:title|结果. Defines what happens when "example recipe" is used|result:}}
       {{H:title|What potion effect is the result|effect: fire-resistance}}
       {{H:title|执行的药水效果|effect: fire-resistance}}
       {{H:title|Duration of the effect|duration: 60}}
       {{H:title|持续时间|duration: 60}}
       {{H:title|Amplifies the strength of the results - Valid values are 1 and 2|amplifier: 1}}
       {{H:title|效果等级 - 有效数值为1和2|amplifier: 1}}
       {{H:title|Whether the potion is a splash potion|splash: false}}
       {{H:title|是否为喷溅药水|splash: false}}
     {{H:title|Ingredients section. Defines what ingredients are needed for this potion. All have to be present|ingredients:}}
     {{H:title|材料选择.设置该药水的酿造原料.|ingredients:}}
       {{H:title|ID of the ingredient. NOT item/block ID|'0':}}
       {{H:title|原料的ID.不是物品/方块的ID|'0':}}
         {{H:title|Name of the ingredient|name: sugar}}
         {{H:title|材料名|name: sugar}}
         {{H:title|Amount required|amount: 1}}
         {{H:title|所需数量|amount: 1}}
       {{H:title|ID of the ingredient. NOT item/block ID|'1':}}
       {{H:title|原料的ID. 原料的ID.不是物品/方块的ID|'1':}}
         {{H:title|Name of the ingredient|name: glass-bottle}}
         {{H:title|材料名|name: glass-bottle}}
         {{H:title|Amount required|amount: 1}}
         {{H:title|所需数量|amount: 1}}
       {{H:title|ID of the ingredient. NOT item/block ID|'2':}}
       {{H:title|原料的ID. 原料的ID.不是物品/方块的ID|'2':}}
         {{H:title|Name of the ingredient|name: wool}}
         {{H:title|材料名|name: wool}}
         {{H:title|Amount required|amount: 1}}
         {{H:title|所需数量|amount: 1}}
         {{H:title|Data of the item/block|data: 6}}
         {{H:title|物品/方块的数据|data: 6}}
  <nowiki></nowiki>{{H:title|Messages block|messages:}}
  <nowiki></nowiki>{{H:title|Messages block|messages:}}
   {{H:title|Message sent to the player when they right click on the Alchemist|initialization-message: <nowiki><e>Hello there, <player>. Give me what I need and I will brew you a potion!</nowiki>}}
   {{H:title|右键炼金术士时发送给玩家的消息|initialization-message: <nowiki><e>你好, <player>. 给我原料我就可以帮你酿造!</nowiki>}}
   {{H:title|Message sent to the player if the brewing was successful|success-message: <nowiki><e>I have combined the ingredients to concoct a potion of <a><potion><e>.</nowiki>}}
   {{H:title|成功酿造时发送给玩家的消息|success-message: <nowiki><e>我成功地酿造了<a><potion><e>药水.</nowiki>}}
   {{H:title|Message sent to the player if they are still in the cool down period|cooldown-not-expired: You've already had your turn. Come back later!}}
   {{H:title|处于冷却时发送给玩家的消息|cooldown-not-expired: 你已经炼过金了. 稍后再来!}}
  <nowiki></nowiki>{{H:title|Time a player has to wait until they can use the alchemist again|cooldown-in-seconds: 60}}
  <nowiki></nowiki>{{H:title|玩家可以再次使用炼金术士的冷却|cooldown-in-seconds: 60}}


==可用效果名==
==可用效果名==
* ''speed'' - 增加移速.
* ''speed'' - 增加移速.
* ''slow'' - 降低移速.
* ''slow'' - 降低移速.
* ''fast-digging'' - Increases dig speed.
* ''fast-digging'' - 增加挖掘速度.
* ''slow-digging'' - Decreases dig speed.
* ''slow-digging'' - 减少挖掘速度.
* ''increase-damage'' - 增加伤害.
* ''increase-damage'' - 增加伤害.
* ''heal'' - Heals player instantly.
* ''heal'' - 瞬间治疗.
* ''harm'' - Harms player instantly.
* ''harm'' - 瞬间伤害.
* ''jump'' - Increases jump height.
* ''jump'' - 增加跳跃高度.
* ''confusion'' - Warps vision on player's client.
* ''confusion'' - 反胃.
* ''regeneration'' - Regenerates health.
* ''regeneration'' - 生命恢复.
* ''damage-resistance'' - Decreases damage dealt to the player.
* ''damage-resistance'' - 抗性提升.
* ''fire-resistance'' - Adds resistance to the effects of fire.
* ''fire-resistance'' - 抗火.
* ''water-breathing'' - Allows breathing underwater.
* ''water-breathing'' - 水下呼吸.
* ''blindness'' - Blinds the player.
* ''blindness'' - 致盲.
* ''hunger'' - Increases hunger.
* ''hunger'' - 饥饿.
* ''weakness'' - Decreases damage dealt by player.
* ''weakness'' - 减少玩家攻击力.
* ''poision'' - Deals damage to player over time.
* ''poision'' - 中毒.


[[Category:Characters]]
[[Category:Characters]]


{{NavBox}}
{{NavBox}}

2019年1月13日 (日) 13:36的最新版本

文件:Alchemist.png

Alchemist


作者 aPunch
版本 1.1
Citizens 版本 2.0
其它前置
下载地址 Link
描述: 自定义药水配方

炼金术士是Citizens 2.0的一个角色特性,可以让NPC:

  • 基于预设的配方炼制药水.
  • 收费替玩家炼制药水.


如何使用

总体信息

炼金术士可以用相当于的合成配方来炼制药水.你可以在配置内自定义炼金配方. 默认的配方即为示例.

记住,目前没有办法用这个插件查看炼金术士的食炼金配方. 这一设计是故意的, 你如果是服务器管理员,你可以决定如何呈现出这些配方. 你可以用告示牌或其他插件来展示.

交互

带着正确的炼金材料右键炼金术士就可以把材料给予炼金术士并开始炼金.炼金完成后,炼金术士会在附近掉落药水.如果玩家离得太远的话,炼金术士会停止炼药并且炼金材料会被炼金术士私吞.

指令

想要使用炼金术士指令,你需要先选择一个NPC且你是该NPC的主人. 这些指令没有权限节点.

权限

使用炼金术士只需一个权限. 权限 alchemist.interact 可以让玩家与炼金术士NPC交互.

配置

配置位于 /plugins/Alchemist/config.yml.

默认配置

鼠标移动到文字上来查看配置描述.

# 炼金术士配置
recipes:
 default:
   result:
     effect: fire-resistance
     duration: 60
     amplifier: 1
     splash: false
   ingredients:
     '0':
       name: sugar
       amount: 1
     '1':
       name: glass-bottle
       amount: 1
     '2':
       name: wool
       amount: 1
       data: 6
messages:
 initialization-message: <e>你好, <player>. 给我原料我就可以帮你酿造!
 success-message: <e>我成功地酿造了<a><potion><e>药水.
 cooldown-not-expired: 你已经炼过金了. 稍后再来!
cooldown-in-seconds: 60

可用效果名

  • speed - 增加移速.
  • slow - 降低移速.
  • fast-digging - 增加挖掘速度.
  • slow-digging - 减少挖掘速度.
  • increase-damage - 增加伤害.
  • heal - 瞬间治疗.
  • harm - 瞬间伤害.
  • jump - 增加跳跃高度.
  • confusion - 反胃.
  • regeneration - 生命恢复.
  • damage-resistance - 抗性提升.
  • fire-resistance - 抗火.
  • water-breathing - 水下呼吸.
  • blindness - 致盲.
  • hunger - 饥饿.
  • weakness - 减少玩家攻击力.
  • poision - 中毒.