How to made your own Recipe?
Well;
as all of reciples, you need to start with;
recipe_begin
Later name of recipe with special "prefix" Lets made recipe for "Dragon Token" or at least Gold Coins (Depends of your custom things)
as i said, now start with special prefix;
[mk_dragon_token]
Now as can you see, we'v created a "Name" thats special prefix is "mk"
Lets see next steps;
567
Depends whats are count of your LAST Recipe in list (recipe.txt) in /Script folder.
I mean exactly, your last Recipe code in thats folder, just put one more *567, and yours is 568*
Next step;
level=1-9
Its depends whats level you wants to Craft char have, to have acces for create your item.
Now, next step, your materials, whats need to have for create an item (Dragon Token)
material={{[ancient_adena];50000};{[dragon_token_fragment];20};{[spirit_ore];300};{[your_own_item];150}}
as can you see, we 'v got materials wich will be needed to create your own item.
the
50000, 20, 300, 150
is ammount of items.
Now, write your catalyst (always is empty) and product name;
catalyst={} product={{[dragon_token];1}}
Now write your's npc_fee (also always empty;
npc_fee={}
Now yours mp_consume, wich dwarf will needs to have , for create item;
mp_consume=150
You can set it how ever you wants (but no 0-1 and 5k or more) just dont!
now set your succes_rate;
success_rate=100
~ 100 - 100% of create item.
now set your item id!;
item_id=9831
Then set commrecipe (always set to 1)
iscommonrecipe=1
at last step you have just put
recipe_end
Yours own recipe is now succesfully end!
its looks like that now;
recipe_begin [mk_dragon_token] 567 level=6 material={{[ancient_adena];50000};{[dragon_token_fragment];20};{[spirit_ore];300};{[your_own_item];150}} catalyst={} product={{[dragon_token];1}} npc_fee={} mp_consume=150 success_rate=100 item_id=9831 iscommonrecipe=1 recipe_end
Now last step of all, you need to put Dragon Token, at your's Item_data.txt and item_pch.txt;
item_pch.txt lines;
[dragon_token] = 9831 - Item ID
and the item_data.txt lines;
[dragon_token] = 9831 - Item ID
Just same as _pch.
and ofc add to yours itemname-e by fileedit
9831 Recipe: Dragon Token For Create your fck item. The recipe for a Dragon Token. Requires Create Item Skill Level 6. The success rate is 100%. -1