Forum Announcement, Click Here to Read More From EA_Cade.

Custom Recipes with a custom script and interactions

What additional changes do I need to make so that a custom recipe becomes available as an option in the Restaurant recipe customization option ?

So far I have made changes and added the following codes -

Recipe Tunings:

1. Available in restaurant:

<T n="available_in_restaurant">True</T>

2. Chef loot List(?)

<L n="chef_loot_list">
<T>139950</T>
</L>

3. Food poisoning chance -

<V t="enabled" n="food_poisoning_chance">
<U n="enabled">
<T n="base_chance">7</T>
</U>

4. Recipe Difficulty -

<E n="recipe_difficulty">4</E>

5. Recipe Tags -

<L n="recipe_tags">
<E>Recipe_Type_Food</E>
<E>Recipe_Course_Main</E>
<E>Recipe_Category_Meat</E>
<E>Recipe_Meal_Breakfast</E>
</L>

6.Restaurant Base price -

<T n="restaurant_base_price">25</T>
<T n="restaurant_menu_icon_definition">8562</T> (Example - I used the 32 bit ID of the food object for restaurant_menu_icon_definition)
Interaction tunings:

<V t="test_set_reference">
<T n="test_set_reference">135281<!--testSet_ChefStationChefSituationRunning--></T>
</V>

Comments

  • Options
    SimGuruEugiSimGuruEugi Posts: 503 SimGuru
    Did you include the SIMDATA file in your package? You need that for the recipe, since the tuning value is consumed by UI, not the scripts.
  • Options
    icemunmunicemunmun Posts: 128 Member
    Oh thank you for the info.
    I had not included the SIMDATA resource as I could get the custom recipes to work with the normal stoves and fridges without it using a script only.
    But It makes sense using SIMDATA resource in this case as you mentioned it is mostly UI related changes.
    Thank you! I will get back to you with the results!
  • Options
    icemunmunicemunmun Posts: 128 Member
    Got it to work :D . Thank you so much :dizzy:
Sign In or Register to comment.
Return to top