Difference between revisions of "Object Template"

From UnReal World Wiki
Jump to: navigation, search
(Add tearProtection and remove 'Category:' prefix from bodyPart)
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
| burnTime    =  
 
| burnTime    =  
 
| clothing    =  
 
| clothing    =  
 +
| clothingType =
 
| bodyPart    =  
 
| bodyPart    =  
 
| weapon      =  
 
| weapon      =  
Line 16: Line 17:
 
| defenseBonus =  
 
| defenseBonus =  
 
| finishTime  =  
 
| finishTime  =  
| avgProtection =
+
| Material    =
| warmthProtection =
+
| edgeProtection =
+
| squeezeProtection =
+
| pointProtection =
+
| bluntProtection =
+
| tearProtection =
+
 
| craftSkills  =  
 
| craftSkills  =  
 
| tools        =  
 
| tools        =  
Line 28: Line 23:
 
| ingredients  =  
 
| ingredients  =  
 
| craftTime    =  
 
| craftTime    =  
| finishTime     =  
+
| finishTime   =  
 
}}
 
}}
  
; cultures    = <nowiki> {{Cultures All}},</nowiki>  <br/> <nowiki>[[requires::Kuikki-Tribe]] </nowiki>
+
; cultures    = <nowiki> {{Cultures All}},</nowiki>  <br/> <nowiki>[[requires::Kuikka-Tribe]] </nowiki>
: List of tribes, <nowiki>{{Cultures All}}</nowiki> Actually includes all tribes, so the <br/> <nowiki>[[requires::Kuikki-Tribe]]</nowiki> is redundant.
+
: List of tribes, <nowiki>{{Cultures All}}</nowiki> Actually includes all tribes, so the <br/> <nowiki>[[requires::Kuikka-Tribe]]</nowiki> is redundant.
  
 
<br/>
 
<br/>
Line 49: Line 44:
 
: Whether the item is wearable, Yes or No
 
: Whether the item is wearable, Yes or No
 
<br/>
 
<br/>
; bodyPart    = Example <nowiki>[[:Category:Head]]</nowiki>
+
; clothingType = Item's category: <nowiki>[[:Category:Shoes|]], [[:Category:Headgear|]], [[:Category:Torso armor|]], [[:Category:Limb armor|]], [[:Category:Leg armor|]], [[:Category:Necklace|]], [[:Category:Belt|]] </nowiki>
: Where on the body it is warn, valid locations are [[:Category:Cap|Cap]], [[:Category:Face|Face]], [[:Category:Neck|Neck]], [[:Category:Shoulder|Shoulder]], [[:Category:Upper Arm|Upper Arm]], [[:Category:Chest|Chest]], [[:Category:Elbow|Elbow]], [[:Category:Arm|Arm]], [[:Category:Hand|Hand]], [[:Categroy:Hip|Hip]], [[:Category:Groin|Groin]], [[:Category:Thighs|Thighs]], [[:Category:Knees|Knees]], [[:Category:Shins|Shins]], [[:Category:Feet|Feet]]
+
; bodyPart    = e.g. Skull, Neck
 +
: Where on the body it is warn. <s>, valid locations are <nowiki>[[:Category:Cap|]], [[:Category:Face|]], [[:Category:Neck|]], [[:Category:Shoulder|]], [[:Category:Upper Arm|]], [[:Category:Chest|]], [[:Category:Elbow|]], [[:Category:Arm|]], [[:Category:Hand|]], [[:Categroy:Hip|]], [[:Category:Groin|]], [[:Category:Thighs|]], [[:Category:Knees|]], [[:Category:Shins|]], [[:Category:Feet|Feet]]</nowiki></s>
 
<br/>
 
<br/>
 
; weapon      =  
 
; weapon      =  
Line 61: Line 57:
  
 
''' Combat Values for Weapons, Only appears if weapon is Yes'''
 
''' Combat Values for Weapons, Only appears if weapon is Yes'''
; combatSkill  = Example <nowiki>[[requires::Dagger]]</nowiki>
+
; combatSkill  = Example <nowiki>[[requires::Knife]]</nowiki>
: Which weapon skill is used with this weapon. valid types are Shield, Dagger, Sword, Club, Axe, Flail, Spear, Bow, Crossbow
+
: Which weapon skill is used with this weapon. valid types are Shield, Knife, Sword, Club, Axe, Flail, Spear, Bow, Crossbow
 
; blunt        =  
 
; blunt        =  
 
; edge        =  
 
; edge        =  
Line 69: Line 65:
 
; defenseBonus =  
 
; defenseBonus =  
 
<br/>
 
<br/>
'''Levels of Protection: Only appears if Clothing is Yes'''
+
'''Levels of Protection: Only appears if Clothing is Yes.'''
; avgProtection =
+
 
; warmthProtection =
+
: the protection levels are automatically set by the template as long as Material variable is set. Valid values are (case sensitive): Fur, Nettle, Leather, Linen, Birch, Iron, Mail, Lamellar, Wool. In version 3.40b3 nettle and linen have identical values so they are grouped in the template as well, meaning both Material variable values give same results. This also means, that if linen and nettle stop having identical protection values, [[Template:Infobox_Object|the template]] needs to be edited. Also the template needs to be edited when the protection values change.
; edgeProtection =
+
 
; squeezeProtection =
+
: Material = Fur/Leather/Wool/Nettle/Linen/Birch/Iron/Mail/Lamellar
; pointProtection =
+
 
; bluntProtection =
+
; tearProtection
+
  
 
<br/>
 
<br/>

Latest revision as of 01:12, 16 February 2017

Object Template
File:Object Template.png
Basic Info
Cultures:
Weight:
Trade Value:
Flammable:


cultures = {{Cultures All}},
[[requires::Kuikka-Tribe]]
List of tribes, {{Cultures All}} Actually includes all tribes, so the
[[requires::Kuikka-Tribe]] is redundant.


weight = Weight in 0.0 lbs
Weight of a single item


value =
Base trade value of the item


flammable =
Whether or not it can be burned, simply Yes or No


burnTime = Example
1h 30m


clothing =
Whether the item is wearable, Yes or No


clothingType = Item's category
[[:Category:Shoes|]], [[:Category:Headgear|]], [[:Category:Torso armor|]], [[:Category:Limb armor|]], [[:Category:Leg armor|]], [[:Category:Necklace|]], [[:Category:Belt|]]
bodyPart = e.g. Skull, Neck
Where on the body it is warn. , valid locations are [[:Category:Cap|]], [[:Category:Face|]], [[:Category:Neck|]], [[:Category:Shoulder|]], [[:Category:Upper Arm|]], [[:Category:Chest|]], [[:Category:Elbow|]], [[:Category:Arm|]], [[:Category:Hand|]], [[:Categroy:Hip|]], [[:Category:Groin|]], [[:Category:Thighs|]], [[:Category:Knees|]], [[:Category:Shins|]], [[:Category:Feet|Feet]]


weapon =
If the item is a weapon, Yes/No


craftable =
If the item is craftable, Yes/No
If it can be crafted.


Combat Values for Weapons, Only appears if weapon is Yes

combatSkill = Example [[requires::Knife]]
Which weapon skill is used with this weapon. valid types are Shield, Knife, Sword, Club, Axe, Flail, Spear, Bow, Crossbow
blunt =
edge =
point =
attackBonus =
defenseBonus =


Levels of Protection: Only appears if Clothing is Yes.

the protection levels are automatically set by the template as long as Material variable is set. Valid values are (case sensitive): Fur, Nettle, Leather, Linen, Birch, Iron, Mail, Lamellar, Wool. In version 3.40b3 nettle and linen have identical values so they are grouped in the template as well, meaning both Material variable values give same results. This also means, that if linen and nettle stop having identical protection values, the template needs to be edited. Also the template needs to be edited when the protection values change.
Material = Fur/Leather/Wool/Nettle/Linen/Birch/Iron/Mail/Lamellar



craftSkills = Example [[requires::Hideworking]]
Skill used in crafting


tools = [[requires::Broad knife]], {{Axe All}}, <[[Handaxe]]>
List of required tools
To list complete groups of types of items use {{<Base Item> All}}


prefers = [[Handaxe]]
Indicate preferred tools. Don't add the "requires::" token in this field. This might need some testing but hopefully it works okay.


ingredients = Example [[requires::Slender Tree Trunk]]
List of ingredients


craftTime =
Time to complete crafting


finishTime =
Wait time after finished crafting








Template Parameters