Как настраивать рецепты и нужные игридиенты.

Нид хелп.
Классик клиент.
Рецепт добавил item_name, etcItem, recipe (естественно все файлы с припиской classic)
Куски в item_name, etcItem
Оружие в item_name и weapon gr
Добавил на сервер рецепт, куски как предметы
Добавил в recipe.xml рецепт
Code:
item
item_name_begin    id=19353    name=[Recipe:  Apocalypse Thrower (60%)]    additionalname=[]    description=[For Dwarves only. Recipe for making an Apocalypse Thrower. Requires level 9 of the create item skill. Success rate is 60%.]    popup=-1    default_action=[action_recipe]    use_order=0    name_class=-1    color=1    Tooltip_Texture=[None]    is_trade=1    is_drop=1    is_destruct=1    is_private_store=1    keep_type=7    is_npctrade=1    is_commission_store=1    item_name_end

etc
item_begin    tag=2    object_id=19353    drop_type=0    drop_anim_type=3    drop_radius=6    drop_height=3    drop_texture={{[dropitems.drop_scroll_m00];{[dropitemstex.drop_scroll_t00]}}}    icon={[icon.etc_recipe_gold_i00];[None];[None];[None];[None]}    durability=-1    weight=30    material_type=53    crystallizable=0    related_quest_id={}    color=1    is_attribution=0    property_params=0    icon_panel=[None]    complete_item_dropsound_type=[None]    inventory_type=3    mesh={[None]}    texture={[None]}    drop_sound=[ItemSound.itemdrop_scroll]    equip_sound=[None]    consume_type=2    etcitem_type=5    crystal_type=0    item_end

rec
recipe_begin    name=[mk_R2_bow]    id=1038    recipe_id=19353    level=9    product_id=17330    product_num=1    is_showtree=1    is_multiple_product=0    mp_consume=264    success_rate=60    material={{19353;1;0};{19209;22;0};{5554;8;612};{1890;675;38};{1888;300;36};{5550;450;608};{4042;150;0};{1462;422;0};{2134;86;0}}    recipe_end


Code:
</recipe>  
            <recipe id="878" name="Recipe: Apocalypse Thrower (60%)" level="9" mp_consume="225" success_rate="60" item_id="19353" is_common="false">
            <materials>
            <item id="19353" name="Recipe: Apocalypse Thrower (60%)" count="1"/>
            <item id="19209" name="Apocalypse Thrower Fragment" count="22"/>
            <item id="5554" name="Warsmith's Holder" count="8"/>
            <item id="1890" name="Mithril Alloy" count="675"/>
            <item id="1888" name="Synthetic Cokes" count="300"/>
            <item id="5550" name="Durable Metal Plate" count="450"/>
            <item id="4042" name="Enria" count="150"/>
            <item id="1462" name="Crystal (S-Grade)" count="422"/>
            <item id="2134" name="Gemstone S" count="86"/>
        </materials>
        <products>
            <item id="17330" name="Apocalypse Thrower" count="1"/>
        </products>
    </recipe>



Что получил:
Рецепт существует - спавню, могу записать
Куски существуют - спавнятся без проблем
Оружие готовое есть - можно юзать
Рецепт можно записать в книгу рецептов

НО
При открытие книги рецептов мой рецепт без иконки, и не кликабелен, не имеет имени. Причем рецепты что были до этого записываются, и кликабельны. Сервер загружается без ошибок



UPD:
Проблему нашел. В rec dat файле ID должен совпадать с XML
 

Attachments

  • Безымянный.jpg
    Безымянный.jpg
    67.6 KB · Views: 11
Last edited:
Back
Top