Jump to content

Radnom recipe


Maris

Recommended Posts

I want to make magazine with specific name which will give a random recipe.

But it must give the same recipe each time and all other magazines of this type must give the same recipe.

 

How can I do this?

 

Edited by Maris
Link to comment
Share on other sites

I figured out that I need following:

Events.OnGameStart.Add(function()
    ......
end);

But how can I access and change all my custom magazines?

Or at least can I access item as soon as it appears in inventory or become visible in container?

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