1.x/Blacksmith: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Blacksmiths''' repair your tools and armor. Right-clicking a blacksmith will repair your item-in-hand if it is repairable. An item is "repairable" if it contains a durability (i.e. pickaxe, shears, armor, etc..).
{{NoSupport}}
'''Blacksmiths''' repair your tools and armor. Right-clicking a blacksmith will repair your item-in-hand if it is repairable. An item is "repairable" if it contains a durability (i.e. pickaxe, shears, armor, etc.).


See below for more information.
See below for more information.


== Configuration Nodes ==
== Configuration Nodes ==
These nodes can be found in ''citizens.yml''. They are for configuration of the use of blacksmiths.
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
|-
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Configuration Settings'''
|-
! style="width: 250px;" | Setting
! style="width: 200px;" | Default Value
! Description
|-
| economy.prices.blacksmith.armorrepair.(material)
| varies
| Base values for armor material repair, used in equation to determine the cost of an armor repair
|-
| economy.prices.blacksmith.toolrepair.(material)
| varies
| Base values for tool material repair, used in equation to determine the cost of a tool repair
|}


== Commands ==
== Commands ==
'''[]''' - Mandatory
Commands specifically dealing with Blacksmiths
<br>'''()''' - Optional


'''Command''' - command's syntax
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
<br>'''Args Description''' - description of the command's arguments
|-
<br>'''Require Selected''' - whether the command requires an NPC to be selected
! style="width: 100%; background-color:#ADD8E6" colspan="5" | '''Blacksmith Commands'''
<br>'''Require Ownership''' - whether the commands requires you to be the owner of the NPC
|-
<br>'''Permission''' - command's permission node
<br>'''Description''' - short description of the command
 
{| class="wikitable" style="text-align: center;"
! style="width: 250px;" | Command
! style="width: 250px;" | Command
! style="width: 200px;" | Args Description
! style="width: 150px;" | Require Selected
! style="width: 150px;" | Require Selected
! style="width: 150px;" | Require Ownership
! style="width: 150px;" | Require Ownership
Line 25: Line 38:
|-
|-
| /blacksmith help
| /blacksmith help
| ''None''
| false
| false
| false
| false
Line 32: Line 44:
|-
|-
| /blacksmith status
| /blacksmith status
| ''None''
| true
| true
| true
| true
Line 40: Line 51:


== Other Permissions ==
== Other Permissions ==
Permissions specific to the use/creation of blacksmiths.


'''Permission''' - permission node
{| class="wikitable collapsible collapsed" style="text-align: center; width: 100%"
<br>'''Description''' - description of permission node
|-
 
! style="width: 100%; background-color:#ADD8E6" colspan="3" | '''Blacksmith Permissions'''
{| class="wikitable" style="text-align: center;"
|-
! style="width: 250px;" | Permission
! style="width: 250px;" | Permission
! style="width: 500px;" | Description
! style="width: 500px;" | Description
Line 51: Line 63:
| Ability to right-click a blacksmith to repair an items
| Ability to right-click a blacksmith to repair an items
|}
|}
== Calculating the Cost of an Item Repair ==
Blacksmiths charge for an item repair based on this equation:
<pre>(maxItemDurability - currentItemDurability) * basePrice</pre>
'''maxItemDurability:''' The maximum uses that an item has
'''currentItemDurability:''' An item's total uses
'''basePrice:''' price specified in citizens.yml
== Future ==
* Cooldowns between each repair
{{NavBox}}
[[Category:Citizens1]]

Latest revision as of 12:19, 19 February 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Blacksmith. If you feel this message was displayed in error, please contact an administrator.

Blacksmiths repair your tools and armor. Right-clicking a blacksmith will repair your item-in-hand if it is repairable. An item is "repairable" if it contains a durability (i.e. pickaxe, shears, armor, etc.).

See below for more information.

Configuration Nodes

These nodes can be found in citizens.yml. They are for configuration of the use of blacksmiths.

Commands

Commands specifically dealing with Blacksmiths

Other Permissions

Permissions specific to the use/creation of blacksmiths.

Calculating the Cost of an Item Repair

Blacksmiths charge for an item repair based on this equation:

(maxItemDurability - currentItemDurability) * basePrice

maxItemDurability: The maximum uses that an item has

currentItemDurability: An item's total uses

basePrice: price specified in citizens.yml

Future

  • Cooldowns between each repair