Difference between revisions of "Object Template"

From UnReal World Wiki
Jump to: navigation, search
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox Object
+
{{infobox Object
 
| cultures    =  
 
| cultures    =  
 
| weight      =  
 
| weight      =  
Line 5: Line 5:
 
| flammable    =  
 
| flammable    =  
 
| burnTime    =  
 
| burnTime    =  
| weapon      =
 
 
| clothing    =  
 
| clothing    =  
 +
| clothingType =
 +
| bodyPart    =
 +
| weapon      =
 
| craftable    =  
 
| craftable    =  
 
| combatSkill  =  
 
| combatSkill  =  
Line 12: Line 14:
 
| edge        =  
 
| edge        =  
 
| point        =  
 
| point        =  
| attackBonus  =
+
| attackBonus  =  
 
| defenseBonus =  
 
| defenseBonus =  
 +
| finishTime  =
 +
| Material    =
 
| craftSkills  =  
 
| craftSkills  =  
 
| tools        =  
 
| tools        =  
 +
| prefers      =
 
| ingredients  =  
 
| ingredients  =  
| craftTime    =
+
| craftTime    =  
| finishTime  =
+
| finishTime  =  
 
}}
 
}}
  
 +
; 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::Kuikka-Tribe]]</nowiki> is redundant.
  
== Real World Info ==
+
<br/>
 +
; weight      = Weight in 0.0 lbs
 +
: Weight of a single item
 +
<br/>
 +
; value        =
 +
: Base trade value of the item
 +
<br/>
 +
; flammable    =
 +
: Whether or not it can be burned, simply Yes or No
 +
<br/>
 +
; burnTime    = Example: '''1h 30m'''
 +
<br/>
 +
; clothing    =
 +
: Whether the item is wearable, Yes or No
 +
<br/>
 +
; clothingType = Item's category: <nowiki>[[:Category:Shoes|]], [[:Category:Headgear|]], [[:Category:Torso armor|]], [[:Category:Limb armor|]], [[:Category:Leg armor|]], [[:Category:Necklace|]], [[:Category:Belt|]] </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/>
 +
; weapon      =
 +
: If the item is a weapon, Yes/No
 +
<br/>
 +
; craftable    =
 +
: If the item is craftable, Yes/No
 +
: If it can be crafted.
 +
<br/>
  
 +
''' Combat Values for Weapons, Only appears if weapon is Yes'''
 +
; combatSkill  = Example <nowiki>[[requires::Knife]]</nowiki>
 +
: 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 =
 +
<br/>
 +
'''Levels of Protection: Only appears if Clothing is Yes.'''
  
== Cultural Lore ==
+
: 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
  
  
 +
<br/>
 +
; craftSkills  = Example <nowiki> [[requires::Hideworking]] </nowiki>
 +
: Skill used in crafting
 +
<br/>
 +
; tools        = <nowiki> [[requires::Broad knife]], {{Axe All}}, <[[Handaxe]]> </nowiki>
 +
: List of required tools
 +
: 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/>
 +
; ingredients  =  Example <nowiki> [[requires::Slender Tree Trunk]]</nowiki>
 +
: List of ingredients
 +
<br/>
 +
; craftTime    =
 +
: Time to complete crafting
 +
<br/>
 +
; finishTime    =
 +
: Wait time after finished crafting
 
<!-- Template End-->
 
<!-- Template End-->
 
<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