forums | blogs | polls | tutorials | downloads | rules | help

Add new comment

I didn't have time this morning to have a look at your ribbon code kathy, I'm glad I didn't as I wouldn't have got anything done today for laughing, you've repeated yourself about ten times in that code, make the code simpler you prawn. The template below has a good chance of working and if it doesn't you can call me a prawn. Laughing out loud

[t:template,n:base_farmgirl_ribbon]
{
	doc = "ribbon base template";
	specializes = armor;
	[aspect]
	{
		[voice]
		{
			[put_down]
			{
				* = s_e_gui_put_down_helmet;
			}
		}
	}
	[equip_limit]
	{
		race_match = "farmgirl";     //you should only have to state this once for every template, same goes for the inventory height and inventory width.
	}
	[gui]
	{
		equip_slot = es_head;
		inventory_height = 2;
		inventory_width = 1;
	}
}
[t:template,n:revived_ribbon_testkat28]
{
	doc = "wig";
	specializes = base_farmgirl_ribbon;
	[common]
	{
			screen_name = "Ribbon";
	}
	[defend]
	{
		armor_style = 1007;
		armor_type = head-ribbon;
	  f defense = 2.000000;
	}
	[equip_limit]
	{
		race_match = "farmgirl";
	}
	[gui]
	{
		inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		inventory_height = 2;
		inventory_width = 1;
	}
	[pcontent]
	{
		[base]
		{
		  f modifier_max = 1.000000;
		  f modifier_min = 0.000000;
		}
		[c_fin]
		{
			armor_style = 1007;
			armor_type = head-ribbon;
		  f defense = 5.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		  f modifier_max = 3.000000;
		  f modifier_min = 1.000000;
		}
		[o_avg]
		{
			armor_style = 1007;
			armor_type = head-ribbon;
		  f defense = 8.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		  f modifier_max = 5.000000;
		  f modifier_min = 2.000000;
		}
		[o_fin]
		{
			armor_style = 1007;
			armor_type = head-ribbon;
		  f defense = 11.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		  f modifier_max = 6.000000;
		  f modifier_min = 3.000000;
		}
		[c_mag]
		{
			armor_style = 1007;
			armor_type = head-ribbon;
		  f defense = 13.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		  f modifier_max = 8.000000;
		  f modifier_min = 2.000000;
		}
		[c_str]
		{
			armor_style = 1007;
			armor_type = head-ribbon;
		  f defense = 16.000000;
			inventory_icon = b_gui_ig_i_a_hlmt_ribbon_1007;
		  f modifier_max = 11.000000;
		  f modifier_min = 2.000000;
		}
	}
}