Exemplo n.º 1
0
		private void ComponentInformation(MaterialComponentData component)
		{
			Name = component.Name;
			CostModifier = component.ComponentCostModifier;
			MasterworkCost = component.MasterworkCostModifier;
			WeightModifier = component.ComponentWeightModifier;
			ToHit = component.ToHitBonus;
			DamageModifier = component.ComponentDamageModifier;
			Description = component.ComponentDescription;
			IsMasterwork = component.IsMasterwork;
			AdditionalCostModifier = component.AdditionalCostModifier;
		}
 public static string BasicIngotDisplay(MaterialComponentData ingotInfo)
 {
     return(string.Format("Name: {1}{0}Cost Modifier: '{2} gold pieces'{0}\tAdditional Cost: '{3}'{0}Weight Multiplier: '{4}'{0}Is Masterwork: '{5}'{0}Masterwork Cost: '{6}'{0}To Hit Bonus: '{7}'{0}Damage Modifier: '{8}'{0}Description:{0}\t{9}",
                          Environment.NewLine,
                          ingotInfo.Name,
                          ingotInfo.ComponentCostModifier,
                          ingotInfo.AdditionalCostModifier,
                          ingotInfo.ComponentWeightModifier,
                          ingotInfo.IsMasterwork,
                          ingotInfo.MasterworkCostModifier,
                          ingotInfo.ToHitBonus,
                          ingotInfo.ComponentDamageModifier,
                          ingotInfo.ComponentDescription));
 }
Exemplo n.º 3
0
 public static string BasicIngotDisplay(MaterialComponentData ingotInfo)
 {
     return string.Format("Name: {1}{0}Cost Modifier: '{2} gold pieces'{0}\tAdditional Cost: '{3}'{0}Weight Multiplier: '{4}'{0}Is Masterwork: '{5}'{0}Masterwork Cost: '{6}'{0}To Hit Bonus: '{7}'{0}Damage Modifier: '{8}'{0}Description:{0}\t{9}",
         Environment.NewLine,
         ingotInfo.Name,
         ingotInfo.ComponentCostModifier,
         ingotInfo.AdditionalCostModifier,
         ingotInfo.ComponentWeightModifier,
         ingotInfo.IsMasterwork,
         ingotInfo.MasterworkCostModifier,
         ingotInfo.ToHitBonus,
         ingotInfo.ComponentDamageModifier,
         ingotInfo.ComponentDescription);
 }
Exemplo n.º 4
0
		public MaterialComponentOrder(MaterialComponentData component)
		{
			ComponentInformation(component);
		}