Jump to content

[ 39.67.5] The disappearance of cooked food from the stove.


undvoice

Recommended Posts

 

I write through Google translator.

Friends, good afternoon, I am a fashion developer, and I have the following problem, in multiplayer, I added cookies. I add them to the stove, they get ready, but when I transfer them to the inventory - they disappear in 3 seconds, in a single player this code works fine, and nothing disappears. What could I miss?

Liver code under the spoiler:

	recipe RoastingBiscuitsBlack
	{
	   destroy RoastingPan,
	   destroy PastryDough,
	   destroy Chocolate,

	   Result:RawBiscuitsBlack,
	   OnGiveXP:NoXP_OnGiveXP,
	   Time:40.0,
	   Category:Cooking,
	}

    item RawBiscuitsBlack
    {
	    Weight	=	0.4,
	    Type	=	Food,
	    DisplayName	=	Raw Biscuits Black,
	    Icon	=	RawBiscuitsBlack,
	    ReplaceOnCooked   = CraftRUServerRP.FinishedBiscuitsBlack,
	    IsCookable	=	TRUE,
	    MinutesToCook	=	40,
	    MinutesToBurn	=	80,
    }

    item FinishedBiscuitsBlack
	{
		Type				=			Food,
		DisplayName			=		    Finished Biscuits Black,
		Icon				=			FinishedBiscuitsBlack,
		ReplaceOnUse		= 			RoastingPan,
	    IsCookable			=			TRUE,
	    MinutesToCook		=			0,
	    MinutesToBurn		=			20,
		Weight				=			0.4,
	}

    recipe Make BiscuitsBlack
    {
       FinishedBiscuitsBlack,

       Result:BiscuitsBlack=20,
       Time:50.0,
       Category:Cooking,
       OnGiveXP:NoXP_OnGiveXP,
    }
	
	item BiscuitsBlack
	{
        Type	=	Food,
		Weight	=	0.05,
		Icon	=	BiscuitsBlack,
		DisplayName	=	Biscuits Black,
		HungerChange	=	-5,
		ThirstChange	=	+5,
		UnhappyChange	=	-30,
	}
Link to comment
Share on other sites

16 hours ago, undvoice said:

 

I write through Google translator.

Friends, good afternoon, I am a fashion developer, and I have the following problem, in multiplayer, I added cookies. I add them to the stove, they get ready, but when I transfer them to the inventory - they disappear in 3 seconds, in a single player this code works fine, and nothing disappears. What could I miss?

 

Hey undvoice,

 

his looks like a MOD issue, you're better off notifying the creator.

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