Spell in question:The materials are the material component. When building a magic device trap that isn't a one-shot trap, you put in 100* the cost of the material component, and thereafter, the trap just works.Originally Posted by SRD
So the trap of Fabricate (30 gp diamonds) costs raw diamonds requiring 100 * 1/3rd of 30 gp, or 1,000 gp in materials. Thereafter, it spits out a 30 gp cut diamond every time it goes off. Forever. As a 5th level spell at caster level 9, the non-material component portion costs 22,500 gp and 180 xp. So for 23,500 gp and 180 xp, you can make a Fabricate trap that gives you a 30 gp diamond every round forever. After one day (14,400 rounds), you have 14,400 30 gp diamonds, or 432,000 gp worth of diamonds. It takes 47 days to craft, you need to have Craft Wondrous Item, and you need to be able to cast Fabricate.
The more you put into the effect in terms of raw materials, the more you can get out of it.
So the trap of Fabricate (3,000 gp diamonds) costs raw diamonds requiring 100 * 1/3rd of 3,000 gp, or 100,000 gp in materials. Thereafter, it spits out a 3,000 gp cut diamond every time it goes off. Forever. As a 5th level spell at caster level 9, the non-material component portion costs 22,500 gp and 180 xp. So for 122,500 gp and 180 xp, you can make a Fabricate trap that gives you a 3,000 gp diamond every round forever. After one day (14,400 rounds), you have 14,400 3,000 gp diamonds, or 43,200,000 gp worth of diamonds. It takes 245 days to craft, you need to have Craft Wondrous Item, and you need to be able to cast Fabricate.