Difference between revisions of "Object Template"

From UnReal World Wiki
Jump to: navigation, search
(Added "prefers =" to help indicate/clarify preferred tools.)
 
(8 intermediate revisions by 3 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 =  
+
 
| craftSkills  =  
 
| craftSkills  =  
 
| tools        =  
 
| tools        =  
Line 27: 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 48: 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]], [[: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]]
+
; 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 60: 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 68: 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 =
+
  
<br/>
 
'''Levels of Protection: Only appears if Crafting is Yes'''
 
  
 
<br/>
 
<br/>
Line 83: Line 76:
 
: Skill used in crafting
 
: Skill used in crafting
 
<br/>
 
<br/>
; tools        = <nowiki> [[requires::{{Axe All}}, <[[Handaxe]]> </nowiki>
+
; tools        = <nowiki> [[requires::Broad knife]], {{Axe All}}, <[[Handaxe]]> </nowiki>
 
: List of required tools
 
: List of required tools
 
: To list complete groups of types of items use {{<Base Item> All}}
 
: To list complete groups of types of items use {{<Base Item> All}}
 +
<br/>
 +
; prefers      = <nowiki> [[Handaxe]] </nowiki>
 +
: Indicate preferred tools. Don't add the "requires::" token in this field. This might need some testing but hopefully it works okay.
 
<br/>
 
<br/>
 
; ingredients  =  Example <nowiki> [[requires::Slender Tree Trunk]]</nowiki>
 
; ingredients  =  Example <nowiki> [[requires::Slender Tree Trunk]]</nowiki>

Latest revision as of 02: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