Forum

> > Stranded II > Scripts > how to modify the cooking time
Forums overviewStranded II overview Scripts overviewLog in to reply

English how to modify the cooking time

3 replies
To the start Previous 1 Next To the start

old how to modify the cooking time

nowhere
User Off Offline

Quote
recently i download the newest massive mod
and then i found something strange
that the food (no matter what kind of food)
they won't go cooked
in other words, no matter how many time i waste
they're still raw!!
i think is the cooking time problem
so please teach me how to modify the cooking time
and also ignore the English grammar mistake
because i am no a native speaker.
thanks

old Re: how to modify the cooking time

kosi maz
User Off Offline

Quote
I think this should be in file:
mods\Massive Mod\sys\items_edible.inf


i.e. Meat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
on:drop {
		ai_behavioursignal "eat","raptor",1450;
		ai_behavioursignal "eat","killerbird",2500;
		setrot "item",currentid(),"self",random(360),"self";
		//Cooking 
		$i=currentid();
		rpos "item", $i,0,20,0;
		if (count_inrange("object",256,50,"item",$i) > 0){
			if ($difficulty>=3){
				extendscript "item",currentid(),"sys/scripts/cooking_scripts_hard.s2s";
				$mct=$mct*5;
				$rU=$rU*5;
				$rL=$rL*5;
			}elseif ($difficulty==2){
				extendscript "item",currentid(),"sys/scripts/cooking_scripts_medium.s2s";
				$mct=$mct*2.5;
				$rU=$rU*2.5;
				$rL=$rL*2.5;
			}else{
				extendscript "item",currentid(),"sys/scripts/cooking_scripts.s2s";
			}
			timer "self",5000,1,"cookmeat";
		}
		freevar $i;
	}

just change this line;
1
timer "self",5000,1,"cookmeat";

This is time in milliseconds, more s2 cmd timer

note:
1 second == 1000 milliseconds
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview