Difference between revisions of "Materials (detailed)"

From IvanWiki
Jump to navigation Jump to search
(saving just in case again)
m (→‎Core: alphabetizin' son)
Line 6: Line 6:
 
Core values must be defined in every individual material's entry - they do not default to a set value.
 
Core values must be defined in every individual material's entry - they do not default to a set value.
  
'''StrengthValue''' - increases weapon damage, item durability, and resistance to physical damage for armor.<br>
+
'''AttachedGod''' - the [[gods|god]] the material is attached to. Gods are more pleased by offered items that are made of their materials.
 +
'''Color''' - the color of the material in RGB values.<br>
 
'''ConsumeType''' - determines which characters are able to [[eating|eat]] the material.<br>
 
'''ConsumeType''' - determines which characters are able to [[eating|eat]] the material.<br>
 
'''Density''' - influences the weight of anything made of the material (multiplied by volume)<br>
 
'''Density''' - influences the weight of anything made of the material (multiplied by volume)<br>
'''Color''' - the color of the material in RGB values.<br>
 
 
'''NameStem''' - the material's name (e.g. "granite")<br>
 
'''NameStem''' - the material's name (e.g. "granite")<br>
'''AttachedGod''' - the [[gods|god]] the material is attached to. Gods are more pleased by offered items that are made of their materials.
+
'''StrengthValue''' - increases weapon damage, item durability, and resistance to physical damage for armor.<br>
  
 
== Basic ==
 
== Basic ==

Revision as of 02:10, 8 September 2014

Coding: This article contains code which is for experienced users only, and may reveal game secrets

//work in progress
This page is designed to detail the mechanics behind each material's properties as defined in materials.dat. For more general usage, please see the list of materials.

Core

Core values must be defined in every individual material's entry - they do not default to a set value.

AttachedGod - the god the material is attached to. Gods are more pleased by offered items that are made of their materials. Color - the color of the material in RGB values.
ConsumeType - determines which characters are able to eat the material.
Density - influences the weight of anything made of the material (multiplied by volume)
NameStem - the material's name (e.g. "granite")
StrengthValue - increases weapon damage, item durability, and resistance to physical damage for armor.

Basic

Basic values are important and commonly utilized, but can default to pre-set values or do not need to be set at all.

Alpha - How transparent the material is, between 0-255. 255 is solid, 0 is invisible. PriceModifier - Artificially raises an item's sell value by this value multiplied by weight divided by 20000.
Flexibility - Most importantly determines the damage of whips and belts, but also reduces damage to armor and determines the language used around the item made of the material (e.g. "plate mail" is a low flex armor, "armor" is high)
IntelligenceRequirement - how much INT you need in order to harden a material to this material. For changing directly into the material, add 5 to this value.
HardenedMaterial - what the material hardens into when a scroll of harden material or successful prayer to Loricatus is used.
NaturalForm - what a terrain object or golem of the material reverts into when destroyed (e.g. stone, stick, lump)