edited 1×, last 12.09.12 11:51:48 am
Scripts
Vitamins
Vitamins
1

)
on:eat {
	 process "drinking",'time for drinking in mileseconds';
	 consume 'health','hunger','thirst','exaustion';
	 $alchool+='value you want for alchool increasing';
	 if ($alchool>=200) {
				 timer "unit",1,'time between vomits in milleseconds',1,"vomit";
				 }
}
on:vomit {
		process "vomiting",'time for vomiting in mileseconds';
		consume 'health','hunger','thirst','exaustion';
		play "vomit.wav";
		vomit 1;
		if ($alchool>=200) {
				 timer "unit",1,'time between vomits in milleseconds',1,"vomit";
					}else{
				 freetimers "unit",1,"vomit";
		}
}
on:eat {
	 process "Eating vitamin",'time required for eating vitamin';
	 $alchool-='quantity of alchool reduced';
	 freetimers "unit",1,"vomit";
}
Stranded_Guy2910 has writtenon:eat {
	 process "drinking",'time for drinking in mileseconds';
	 consume 'health','hunger','thirst','exaustion';
	 $alchool+='value you want for alchool increasing';
	 if ($alchool>=200) {
				 timer "unit",1,'time between vomits in milleseconds',1,"vomit";
				 }
}
on:vomit {
		process "vomiting",'time for vomiting in mileseconds';
		consume 'health','hunger','thirst','exaustion';
		play "vomit.wav";
		vomit 1;
		if ($alchool>=200) {
				 timer "unit",1,'time between vomits in milleseconds',1,"vomit";
					}else{
				 freetimers "unit",1,"vomit";
		}
}
on:eat {
	 process "Eating vitamin",'time required for eating vitamin';
	 $alchool-='quantity of alchool reduced';
	 freetimers "unit",1,"vomit";
}
1
