PropertyExampleList

From ChatWars Wiki
Jump to: navigation, search

List of all properties for items


<!-- Set iteminfo -->
{{#set:
| ItemID=
| CraftCommand=
| note=

| BoolEventItem=

<!--please choose: Weapon/Cape/Protective Gear/Piece of Equipment/Recipe (Item)/Consumable/Resource/Misc/Special Equippable-->
| ItemType=
<!--please choose: Sword/Spear/Dagger/Bow/Shield/Blunt/Helmet/Armor/Gloves/Boots/Alchemy Resource/Ammunition-->
| ItemSubType=
<!--please choose: Heavy Armor/Robe Armor/Light Armor-->
| ArmorClass=

<!--add numbers-->
| Attack=
| Defense=
| Mana=
| Weight=
<!--Stats of special event items/reward items-->
| Stamina=
| InventoryIncrease=
| Luck=

<!--For potions, time in minutes-->
| BaseDuration=
| PotionEffect=

| Wrapping=

| LevelEquipRequirement=
| BoolEnchantment=
<!--e.g. Type of arrows needed-->
| Ammunition=


| BoolDepositGuild=
| ShopSellPrice=
| ShopBuyPrice=

| BoolExchange=
| BoolAuction=
| BoolCraft=

<!--Choose: Crafting (Skill)/Alchemy (Skill)-->
| SkillCraft=
| SkillCraftLevel=
| ManaCrafting=

| BoolQuest=
| PerceptionLevel=
<!-- Minimum level players need to have not regarding perception level (eg level 40 for bauxite)-->
| PlayerQuestMinLevel=

<!--All QuestXXX are boolean, used for “can be found then and there”-->
| QuestForestMorning=
| QuestForestDay=
| QuestForestEvening=
| QuestForestNight=

| QuestSwampMorning=
| QuestSwampDay=
| QuestSwampEvening=
| QuestSwampNight=

| QuestValleyMorning=
| QuestValleyDay=
| QuestValleyEvening=
| QuestValleyNight=

| QuestForayMorning=
| QuestForayDay=
| QuestForayEvening=
| QuestForayNight=

<!-- Enchantment atk bonus (increment, not total) -->
| EnchantAtk1=
| EnchantAtk2=
| EnchantAtk3=
| EnchantAtk4=

<!-- Enchantment def bonus (increment, not total) -->
| EnchantDef1=
| EnchantDef2=
| EnchantDef3=
| EnchantDef4=
}}

{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}

The rule of thumb for filling in the properties is:

  • All stats are only numbers (Attack, Defense, ...), no other characters (not "+31", but "31")
  • All properties with "Bool" in the name need a "true" or "false" (This also applies to the Quest_Forest/Swamp/Valley/Foray_Morning/Day/Evening/Night properties. This is for the drop info and indicates if the item/resource drops at this location at this time - if unknown, leave empty)
  • "Craftcommand" is the command that's used for crafting the item in the game, so /craft_<ID> for items and /brew_<ID> for potions
  • Stats that don't apply to this item (type) should be left empty, except for things like Stamina/Inventory Increase for items (The Champion Sword page should have those properties set to 0, the Coke page should have those left empty) - when in doubt just fill it in.
  • EnchantAtk/Def_X is the BONUS that you get from enchanting an item. The "X" represents which level of enchantment it is - check the Composite Bow page for a good example.
  • The subobjects at the end are the ingredients for crafting this item - if the item is not craftable, leave those empty. If it IS craftable, enter in "Crafting ingredient" the NAME OF THE PAGE of the ingredient (should be identical to the name in the game), in "Qty" enter the Quantity that's needed for those items. The order is irrelevant, the Template:RecipeInfobox automatically sorts them to be first the recipe, then the parts (if applicable) and then all other ingredients first ordered by quantity, then, if identical quantities, by alphabetical order of their names. There are a bunch of those subobjects on every page, if some stay empty after filling in the recipe just leave them empty and don't remove them. (It's irrelevant but easier for the next person to just copy the entire thing and paste it to another page)

Note: All properties have at least a basic kind of error checking for invalid inputs - properties of the type "number" won't accept letters and boolean properties don't accept anything except "true" or "false". If you enter an invalid value and save the page it will show a small yellow error mark on the page which says which property has invalid values when you hover over it. Alternatively the Processing error list shows all errors that happened while processing queries and properties, including (but not limited to) invalid property values. Properties that accept a text where you can choose from a number of options (like Property:ItemType) have restrictions to only allow those options. If any other text is entered they will show the same error message as before on the page and in the processing error list and the value will not be stored in the property. If for any reason a new category has to be made, it has to be added in the respective property page before it can be used. (Changes to property pages might take a (long) while to apply since the wiki has to apply those changes to all pages where the property is used)

Example properties (taken from Champion Sword)


<!-- Set iteminfo -->
{{#set:
| ItemID=w28
| CraftCommand=/craft_w28
| note=finished

| BoolEventItem=false

<!--please choose: Weapon/Cape/Protective Gear/Piece of Equipment/Recipe (Item)/Consumable/Resource/Misc/Special Equippable-->
| ItemType=Weapon
<!--please choose: Sword/Spear/Dagger/Shield/Blunt/Helmet/Armor/Gloves/Boots/Alchemy Resource/Ammunition-->
| ItemSubType=Sword
<!--please choose: Heavy Armor/Robe Armor/Light Armor-->
| ArmorClass=

<!--add numbers-->
| Attack=31
| Defense=0
| Mana=0
| Weight=180
<!--Stats of special event items/reward items-->
| Stamina=0
| InventoryIncrease=0
| Luck=0

<!--For potions, time in minutes-->
| BaseDuration=
| PotionEffect=

| Wrapping=2

| LevelEquipRequirement=25
| BoolEnchantment=true
<!--e.g. Type of arrows needed-->
| Ammunition=


| BoolDepositGuild=true
| ShopSellPrice=1488
| ShopBuyPrice=

| BoolExchange=false
| BoolAuction=true
| BoolCraft=true

<!--Choose: Crafting (Skill)/Alchemy (Skill)-->
| SkillCraft=Crafting (Skill)
| SkillCraftLevel=3
| ManaCrafting=150

| BoolQuest=false
| PerceptionLevel=
<!-- Minimum level players need to have not regarding perception level (eg level 40 for bauxite)-->
| PlayerQuestMinLevel=

<!--All QuestXXX are boolean, used for “can be found then and there”-->
| QuestForestMorning=
| QuestForestDay=
| QuestForestEvening=
| QuestForestNight=

| QuestSwampMorning=
| QuestSwampDay=
| QuestSwampEvening=
| QuestSwampNight=

| QuestValleyMorning=
| QuestValleyDay=
| QuestValleyEvening=
| QuestValleyNight=

| QuestForayMorning=
| QuestForayDay=
| QuestForayEvening=
| QuestForayNight=

<!-- Enchantment atk bonus (increment, not total) -->
| EnchantAtk1=2
| EnchantAtk2=2
| EnchantAtk3=2
| EnchantAtk4=2

<!-- Enchantment def bonus (increment, not total) -->
| EnchantDef1=
| EnchantDef2=
| EnchantDef3=
| EnchantDef4=
}}

{{#subobject:
 |Crafting ingredient=Champion Sword Recipe
 |Qty=1
}}
{{#subobject:
 |Crafting ingredient=Champion Blade
 |Qty=3
}}
{{#subobject:
 |Crafting ingredient=Ruby
 |Qty=1
}}
{{#subobject:
 |Crafting ingredient=Steel Mold
 |Qty=3
}}
{{#subobject:
 |Crafting ingredient=Coke
 |Qty=41
}}
{{#subobject:
 |Crafting ingredient=Metal Plate
 |Qty=41
}}
{{#subobject:
 |Crafting ingredient=Silver Alloy
 |Qty=27
}}
{{#subobject:
 |Crafting ingredient=Hardener
 |Qty=3
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}
{{#subobject:
 |Crafting ingredient=
 |Qty=
}}

Obsolete/Outdated properties

While working on the wiki some properties got dropped, but some may still be seen on various pages, here's a list of properties that are not used anymore:

  • CraftIcon

(A long list, I know)