Difference between revisions of "Object Template"

From UnReal World Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
Line 6: Line 6:
 
| burnTime    =  
 
| burnTime    =  
 
| clothing    =  
 
| clothing    =  
 +
| clothingType =
 
| bodyPart    =  
 
| bodyPart    =  
 
| weapon      =  
 
| weapon      =  
Line 25: Line 26:
 
}}
 
}}
  
; 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 43: 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 <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>
+
; 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 65: Line 67:
 
'''Levels of Protection: Only appears if Clothing is Yes.'''
 
'''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 valuable values give same results.
+
: 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.
  
; Material = Fur/Leather/Wool/Nettle/Linen/Birch/Iron/Mail/Lamellar
+
: Material = Fur/Leather/Wool/Nettle/Linen/Birch/Iron/Mail/Lamellar
  
  

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