Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
 
											 
													


 
						 
						

 
			





wastedPercent = ZombRand(100) / 100
if(character:getTraits():contains("Lucky")) then
wastedPercent = math.min(wastedPercent, ZombRand(100) / 100)
end
waste = wastedPercent * waste
The actual wasted amount depends on luck, and is 0-100% of the preliminary value. If you have the 'Lucky' trait, you get 2 rolls and take the lower one. The final value cannot be greater than the preliminary one.
Step 1 - preliminary
waste = 0.3 - (skill * 0.06) + knifeWaste
knifeWaste = 0.2
if(knife:hasSharpness()) then knifeWaste = (1 - knife:getSharpness()) * 0.15
That means base waste is 30%, any knife that has no sharpness will add 20%, and any knife that has sharpness will add 0-15% depending on the sharpness.
That all is counteracted by the Cooking Skill. At level 9 you will reduce 54% waste. That means at level 9 you won't waste any fish (except the rounding down that is used), even if you use a knife without sharpness, e.g. a Sharp Flint or a Stone Knife.
In steamapps\workshop\content\108600\3395624315\mods\PortionSizes\42\media\scripts
edit PortionSizes_recipes.txt and recipes.txt
In 'inputs' change
item 1 [Base.FishFillet] flags[InheritFoodAge],
to
item 1 [Base.FishFillet] flags[InheritCooked;InheritFoodAge;ItemCount],
Using 'ItemCount' will use the whole item instead of 1 Use / 1 Hunger. (And 'InheritCooked' will output a cooked fish fillet when the input is cooked)
As mentioned by the previous comment (2nd April), these recipes seem to not work as intended. As far as I can tell, instead of destroying the original Fish Fillet, the recipe instead only destroyes "1 Use" (that means 1 Hunger) of the original Fish Fillet, which is then kept in inventory with the same amount of calories/nutrition. That means unfortunately all 3 recipes duplicate your fish fillets.
As of 42.7 the vanilla recipe "HalveFillet" is still broken, too.