Jump to content
Biscuitism

Question about ingredients

Recommended Posts

I'm making my first steps into modding. I have a few ideas I want to see if I can get working, however I have a question that I cannot find in the tutorials. I noticed there's a item type for food, but what about ingredients? Any help is appreciated!

Share this post


Link to post
Share on other sites

I dont know if it's what you mean but you can look into PZ/media/scripts/recipes.txt or items.txt

 

recipe Make Grilled Cheese Sandwich	  {	    Bread,	    Butter,	    Cheese,	    keep Pan,	    	    Result:GrilledCheese,	   Time:120.0,	  }item GrilledCheese	{		HungerChange	=	-80,		Type	=	Food,		DisplayName	=	Grilled Cheese Sandwich,		MinutesToCook	=	5,		Weight	=	0.3,		IsCookable	=	TRUE,		DaysTotallyRotten	=	4,		DangerousUncooked	=	FALSE,		MinutesToBurn	=	8,		Icon	=	Sandwich_Cheese,		BoredomChange	=	-15,		DaysFresh	=	2,	}

 

Share this post


Link to post
Share on other sites

I dont know if it's what you mean but you can look into PZ/media/scripts/recipes.txt or items.txt

 

recipe Make Grilled Cheese Sandwich	  {	    Bread,	    Butter,	    Cheese,	    keep Pan,	    	    Result:GrilledCheese,	   Time:120.0,	  }item GrilledCheese	{		HungerChange	=	-80,		Type	=	Food,		DisplayName	=	Grilled Cheese Sandwich,		MinutesToCook	=	5,		Weight	=	0.3,		IsCookable	=	TRUE,		DaysTotallyRotten	=	4,		DangerousUncooked	=	FALSE,		MinutesToBurn	=	8,		Icon	=	Sandwich_Cheese,		BoredomChange	=	-15,		DaysFresh	=	2,	}

 

 

Not exactly what I meant. Thanks though.

Share this post


Link to post
Share on other sites

Well you would have to write a new java.class to create a new type for the ingredients. But why not just use food for the ingredients!?

Creating another type for ingredients (which mostly are food too I guess) would be a bit superflous in my opinion :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...