After you have created your item(s) you will want to have a easy way of testing them. For this step, you will need npc_blacksmith.gas to edit. Note that it is edited by me(Nivisec) to remove all other items sold by the smith besides the ones we add. If this is not done, you risk the chance of your templates not always showing up in the list. Please download it and have it handy:
1. First, we need to make a new directory under the base directory with the items you want to have available at the blacksmith. It is in the form of /world/contentdb/templates/regular/actors/good/npc. Make sure to use the same base directory as you did for the items. See figure 1 as an example.

[t:template,n:blacksmith_zabar_treseck]
{
category_name = "1W_shopkeep";
doc = "blacksmith, elddim (MP)";
specializes = base_npc_bs;
[actor] {portrait_icon = b_gui_ig_i_ic_c_foulton;}
[aspect]
{
model = m_c_gbn_bk_pos_1;
[textures] { 0=b_c_gbn_bs-02; }
}
common:screen_name = "Blacksmith Zabar Treseck";
[inventory]
{
[store_pcontent]
{
full_ratio = 1;
[our_items]
{
[all*]
{
il_main = #nivisec_simple_chain_mail;
max = 10;
min = 10;
}
[all*]
{
il_main = #nivisec_simple_sword/1-2500;
max = 10;
min = 10;
}
}
[armor]
{
[all*]
{
il_main = #body/1-8;
max = 10;
min = 10;
}
[all*]
{
il_main = #body/20-41;
max = 4;
min = 4;
}
[all*]
{
il_main = #boots/1-12;
max = 8;
min = 8;
}
[all*]
{
il_main = #gloves/1-12;
max = 8;
min = 8;
}
[all*]
{
il_main = #helm/1-12;
max = 8;
min = 8;
}
[all*]
{
il_main = #boots/25-35;
max = 4;
min = 4;
}
[all*]
{
il_main = #gloves/25-35;
max = 4;
min = 4;
}
[all*]
{
il_main = #helm/25-35;
max = 4;
min = 4;
}
}
[shields]
{
[all*]
{
il_main = #shield/1-10;
max = 8;
min = 8;
}
[all*]
{
il_main = #shield/10-16;
max = 4;
min = 4;
}
[all*]
{
il_main = #shield/25-35;
max = 4;
min = 4;
}
}
[weapons]
{
[all*]
{
il_main = #melee/1-6;
max = 15;
min = 15;
}
[all*]
{
il_main = #melee/15-20;
max = 4;
min = 4;
}
[all*]
{
il_main = #ranged/1-6;
max = 15;
min = 15;
}
[all*]
{
il_main = #ranged/15-20;
max = 4;
min = 4;
}
}
}
}
[store]
{
item_markup = 2;
[item_restock]
{
nivisec_simple_chain_mail = 3;
nivisec_simple_sword = 3;
}
}
}
//CUT OFF FOR VIEWING PURPOSES, DO NOT DELETE THE OTHER INFORMATION