Jump to content

Recommended Posts

Dear Community,

 

I am new to modding but still want to update an existing mod as it seems that it's owner has left it as it is.

 

name = "Recipe Book"
description = "Portable Cook Pot"
author = "edgorham"
 
Currently it contains only (outdated) base-game recipes but I'd like to update them and add RoG recipes as well. 
 
My problem is that the RoG-specific ingredients are not shown in-game.
 
I wanted to create Flower Salad recipe entry:
 
STRINGS.RECIPE_DESC.FLOWERSALAD   = "12.5 Hunger - 40 Health - 5 Sanity"
 
GLOBAL.Recipe("flowersalad",     {Ingredient("cactus_flower", 1) ,Ingredient("veggies", 2)} , RECIPETABS.RECIPEBOOK, {SCIENCE=0})
 
This shows up in menu, cactus picture is shown but the vegetable picture is missing. I tried to change "veggies" to "veggie", "vegtables" and "vegetable" unsuccessfully.
 
From the other files I think it should be "veggie" but I can't make it work.
 
Can anyone guide me?
 
Thank you!
 
PS. it would be nice to have a crock pot built as requirement.
 
post-408052-0-53591900-1442693293_thumb.

Is that really how the other recipes work? Surely it works there?

 

yes, I was able to add guacamole as a test and it appeared fine:

 

STRINGS.RECIPE_DESC.GUACAMOLE   = "37.5 Hunger - 20 Health - 0 Sanity"

 

GLOBAL.Recipe("guacamole",       {Ingredient("cactus_meat", 1) ,Ingredient("mole", 1)} , RECIPETABS.RECIPEBOOK, {SCIENCE=0})

 

It seems that I have problems only with categories or tags - as same applies for "sweetener" and "dairy".

I also searched for the string "veggie" in the original files and it seems to be right - or I am missing something. :-)

Edited by vihar1

You can only use explicit prefab names in crafting recipes (e.g. "corn","berries","durian","smallmeat").

I have no idea how you could solve that issue.

 

Sad to hear that :(

 

Hope if any developer gets here they can fix/develop this.

I checked what the original author did when a category was needed: he simply picked one ingredient from the category he thought would be the most "accurate" - so did I and now I can cook RoG-specific meals.

 

Thank you all for the replies. :joyous:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...