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

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

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“{{Trait | PICTURE = Alchemist.png | AUTHOR = aPunch | NAME = Alchemist | VERSION = 1.1 | CITIZENSBUILD = 2.0 | DEVSTATUS = InDev | DEPENDS =...”)
 
无编辑摘要
第11行: 第11行:
}}
}}


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


==指令==
==指令==
第49行: 第49行:


==配置==
==配置==
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|Name of 1st recipe|default:}}

2018年11月15日 (四) 14:53的版本

文件:Alchemist.png

Alchemist


作者 aPunch
版本 1.1
Citizens 版本 2.0
其它前置 None
下载地址 Link
描述: Customizable Potion Recipes

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

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


如何使用

总体信息

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

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

交互

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

指令

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.

权限

To use alchemists, you only need one permission node. The permission node alchemist.interact allows a player to interact with an alchemist.

配置

配置位于 /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>Hello there, <player>. Give me what I need and I will brew you a potion!
 success-message: <e>I have combined the ingredients to concoct a potion of <a><potion><e>.
 cooldown-not-expired: You've already had your turn. Come back later!
cooldown-in-seconds: 60

可用效果名

  • speed - 增加移速.
  • slow - 降低移速.
  • fast-digging - Increases dig speed.
  • slow-digging - Decreases dig speed.
  • increase-damage - 增加伤害.
  • heal - Heals player instantly.
  • harm - Harms player instantly.
  • jump - Increases jump height.
  • confusion - Warps vision on player's client.
  • regeneration - Regenerates health.
  • damage-resistance - Decreases damage dealt to the player.
  • fire-resistance - Adds resistance to the effects of fire.
  • water-breathing - Allows breathing underwater.
  • blindness - Blinds the player.
  • hunger - Increases hunger.
  • weakness - Decreases damage dealt by player.
  • poision - Deals damage to player over time.