Jump to content

Can't override base game recipes and 1 more recipes related


NoctisFalco

Recommended Posts

I'm developing a mod and today I wanted to publish it but seems you made some changes to recipes.

 

Before 41.45 I was able to override vanilla recipes in my mod like that (with some bugs probably related to recipes not having unique ids):

mymod/media/scripts/myrecipes.txt

module Base {

	imports
	{
		Base
	}

	recipe Open Canned Mushroom Soup
	{
		CannedMushroomSoup,
		keep TinOpener/KitchenKnife/HuntingKnife/Stone,

		Result:CannedMushroomSoupOpen,
		Time:80.0,
		Category:Cooking,
		OnTest:NFOCF_OpenCan_OnTest,
		OnCreate:NFOCF_OpenCan_OnCreate,
		OnGiveXP:Recipe.OnGiveXP.None,
		Override:true,
	}
}

instead of

	recipe Open Canned Mushroom Soup
	{
		CannedMushroomSoup,
		keep [Recipe.GetItemTypes.CanOpener],

		Result:CannedMushroomSoupOpen,
		Time:80.0,
		Category:Cooking,
		OnGiveXP:Recipe.OnGiveXP.None,
	}

 

But now (since 41.45) it gives two recipes: vanilla one and one from my mod.

xraMGst.png

 

WG2Wohj.png

 

Is it a bug or was intended? How to override recipes now?

Thanks.

Edited by NoctisFalco
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...