Jump to content

Adding a new item and a new recipe, using existing ones


7_Phelon

Recommended Posts

hello everyone!

 

I really like this game, and I wish to start mod, just to make something new.

I readed some info about adding new items and recipes, but I've not found what i need.

So... I wish to add new recipe, for ex:

 

recipe Make New Food
{
Salt,

Pepper,

keep Pan,

Result:SaltAndPepper,
Time:100.0,
}

 

Then, the new item:

 

item SaltAndPepper
{
Type = Food,
Weight = 0.1,
DisplayName = Salt And Pepper,
Icon = SaltAndPepper.png,
HungerChange = -2,
UnhappyChange = 10,
DaysTotallyRotten = 5,
DaysFresh = 25,
ReplaceOnUse = Pan,
}

 

So... Nothing new.

There is no menu voice to click, no function, absolutely nothing.

 

I guess I have to add some "lua" function, isn't it?
Please someone can tell me what is the easiest way to make it?

Thank you very much!
bye!

 

(sorry for my poor english)

Link to comment
Share on other sites

Welp, considering I can't find one that uses "keep Pan," I'm guessing that's one of the problems.

 

Right, I've already tryed the command line "Pan," and "keep Pan," too... noone works =/

 

So I wonder what is the real problem =?

Thank you!

Link to comment
Share on other sites

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...