Jump to content

Why Are These Broken?


Hydromancerx

Recommended Posts

Since the update of IWBUMS with the new crafting I have a couple files that are now broken. So with the new system please help explain why these files no do not work.

 

Food Taters

module Hydrocraft{    imports    {        Base    }/************************ITEMS************************/item HCBakedpotato	{	HungerChange			=	-35,	BoredomChange			=	-10,	UnhappyChange			=	-15,	Weight				=	0.3,	Type				=	Food,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	MinutesToCook			=	30,	MinutesToBurn			=	70,	DisplayName			=	Baked Potato,	Icon				=	HCBakedpotato,	DaysFresh			=	3,	DaysTotallyRotten		=	7,	}item HCHashbrowns	{	HungerChange			=	-30,	BoredomChange			=	-10,	UnhappyChange			=	-10,	Weight				=	2,	Type				=	Food,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	DaysTotallyRotten		=	6,	DisplayName			=	Hashbrowns,	DaysFresh			=	3,	ReplaceOnUse			=	Pan, 	Icon				=	HCHashbrowns,}item HCPotatopancakes	{	HungerChange			=	-10,	BoredomChange			=	-10,	UnhappyChange			=	-15,	Weight				=	0.2,	Type				=	Food,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	DaysTotallyRotten		=	6,	DisplayName			=	Potato Pancakes,	DaysFresh			=	3,	ReplaceOnUse			=	Pan,	Icon				=	HCPotatopancakes,	}item HCMashedpotatosplain	{	HungerChange			=	-30,	Weight				=	0.3,	Type				=	Food,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	MinutesToCook			=	30,	MinutesToBurn			=	50,	DaysFresh			=	3,		DaysTotallyRotten		=	6,	Icon				=	PotFull,	ReplaceOnCooked			=	Hydrocraft.HCMashedpotatosplaincooked,	ReplaceOnUse			=	Pot, 	DisplayName			=	Plain Mashed Potatos,}item HCMashedpotatoscreamy	{	HungerChange			=	-40,	Weight				=	0.3,	Type				=	Food,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	MinutesToCook			=	30,	MinutesToBurn			=	50,	DaysFresh			=	3,	DaysTotallyRotten		=	6,	Icon				=	PotFull,	ReplaceOnUse			=	Pot, 		ReplaceOnCooked			=	Hydrocraft.HCMashedpotatoscreamycooked,	DisplayName			=	Creamy Mashed Potatos,	}	item HCMashedpotatosplaincooked	{	HungerChange			=	-30,	Weight				=	0.3,	Type				=	Food,	DaysFresh			=	3,		DaysTotallyRotten		=	6,	DisplayName			=	Cooked Plain Mashed Potatos,	Icon				=	PotFull,	ReplaceOnUse			=	Pot, 	}	item HCMashedpotatoscreamycooked	{	HungerChange			=	-40,	BoredomChange			=	-20,	UnhappyChange			=	-30,	Weight				=	0.3,	Type				=	Food,	DaysFresh			=	3,		DaysTotallyRotten		=	6,	DisplayName			=	Cooked Plain Mashed Potatos,	Icon				=	PotFull,	ReplaceOnUse			=	Pot, 	}item HCMashedpotatosplainbowl	{	HungerChange			=	-15,	Weight				=	0.3,	Type				=	Food,	DaysFresh			=	3,		DaysTotallyRotten		=	6,	DisplayName			=	Bowl of Plain Mashed Potatos,	Icon				=	HCMashedbowl,	ReplaceOnUse			=	Bowl, 	}item HCMashedpotatoscreamybowl	{	HungerChange			=	-20,	BoredomChange			=	-10,	UnhappyChange			=	-15,	Weight				=	0.3,	Type				=	Food,	DaysFresh			=	3,		DaysTotallyRotten		=	6,	DisplayName			=	Bowl of Creamy Mashed Potatos,	Icon				=	HCMashedbowl,	ReplaceOnUse			=	Bowl, 		}item HCFries    {	HungerChange			=	-15,	Weight				=	0.3,	Type				=	Food,	UnhappyChange			=	-10,	DisplayName			=	Homemade Fries,	DaysTotallyRotten		=	5,	DaysFresh 			= 	3,	Icon				=	Fries,	IsCookable			=	TRUE,	DangerousUncooked		=	TRUE,	MinutesToCook			=	10,	MinutesToBurn			=	20,    }item HCPotatoflour	{	Weight				=	1,	Type				=	Drainable,	UseWhileEquipped		=	FALSE,	UseDelta			=	0.25,	DisplayName			=	Bag of Potato Flour,	ReplaceOnUse			=	HCZipperbagempty,	Icon				=	HCPotatoflour,	}	item HCPotatomush	{	HungerChange			=	-30,	Weight				=	2,	Type				=	Food,	UnhappyChange			=	10,	BoredomChange			=	10,	DisplayName			=	Tray of Potato Mush,	IsCookable 			= 	TRUE,	MinutesToCook			=	45,	MinutesToBurn			=	70,	ReplaceOnCooked			=	Hydrocraft.HCPotatomushbaked,	ReplaceOnUse			=	BakingTray,	DaysTotallyRotten		=	7,	DaysFresh 			= 	4,	Icon				=	HCPotatomush,	}item HCPotatomushbaked	{	HungerChange			=	-30,	Weight				=	2,	Type				=	Food,	UnhappyChange			=	-10,	BoredomChange			=	-10,	DisplayName			=	Tray of Dried Potato Mush,	ReplaceOnUse			=	BakingTray,	Icon				=	HCPotatomush,	}/************************RECIPES************************/  recipe Bake Potato	{		keep BakingTray,		Potato,		Butter/HCCookingoil,		Result:HCBakedpotato,		Time:55.0,	}  recipe Make Hashbrowns	{       		SkillRequired:Cooking=2,		keep Pan,		keep HCCheesegrater,		keep HCPotatopeeler,		Potato,		Result:HCHashbrowns,		Time:50.0,	}	recipe Make Potato Pancakes	{       		SkillRequired:Cooking=2,		keep Pan,		Butter/HCCookingoil,		HCMashedpotatos,		Result:HCPotatopancakes=4,		Time:50.0,	}recipe Make Plain Mashed Potatos	{		Potato=2,		keep HCPotatopeeler,		WaterPot/Pot,		Water = 2,		keep HCPotatomasher,		Result:HCMashedpotatosplain,		Time:75.0,}recipe Make Creamy Mashed Potatos	{       		SkillRequired:Cooking=1,		Potato=2,		keep HCPotatopeeler,		WaterPot,		Butter/CookingOil,		keep HCPotatomasher,		Result: HCMashedpotatoscreamy,		Time:75.0,	}		recipe Make Bowl of Plain Mashed Potatos	{		Bowl=2,		HCMashedpotatosplaincooked,		Result: HCMashedpotatosplainbowl=2,		Time:35.0,	}		recipe Make Bowl of Creamy Mashed Potatos	{		Bowl=2,		HCMashedpotatoscreamycooked		Result: HCMashedpotatoscreamybowl=2,		Time:35.0,	}recipe Make French Fries	{       		SkillRequired:Cooking=2,		keep Pot,		keep KitchenKnife,		keep HCPotatopeeler,		Potato,		HCCookingoil=2,		Result:HCFries,		Time:85.0,	}recipe Prepare Potato Flour	{       		SkillRequired:Cooking=2,		keep HCPotatomasher,		destroy BakingTray,		Potato=2,		keep HCPotatopeeler,		Result:HCPotatomush,		Time:75.0,	}	recipe Smash Dried Potato to Flour	{       		SkillRequired:Cooking=2,		keep HCPotatomasher,		HCPotatomushbaked,		HCZipperbag/HCZipperbagempty,		Result:HCPotatoflour,		Time:55.0,	}		}

Food Soup

module Hydrocraft{    imports    {        Base    }/************************ITEMS************************/item HCRice    {    Weight                =    1,    Type                =    Drainable,    UseWhileEquipped        =    FALSE,    UseDelta            =    0.25,    DisplayName            =    Bag of Rice,    Icon                =    HCRice,    }    item HCSoupbouillon    {    Weight                =    0.5,    Type                =    Drainable,    UseWhileEquipped        =    FALSE,    UseDelta            =    0.25,    DisplayName            =    Soup Bouillon,    Icon                =    HCSoupbuillon,        Spice               =       true,        EvolvedRecipe             =     Soup:2;Stew:2,    }    item HCCookedrice    {    HungerChange            =    -20,    Weight                =    0.3,    Type                =    Food,    IsCookable            =    TRUE,    DangerousUncooked        =    TRUE,    MinutesToCook            =    30,    MinutesToBurn            =    50,    DaysFresh            =    3,        DaysTotallyRotten        =    6,    DisplayName            =    Bowl of Plain Rice,    Icon                =    HCRicebowl,    ReplaceOnUse            =    Bowl,    EvolvedRecipe             =     Soup:10;Stew:10;Stir fry:10,        }item HCFriedrice    {    HungerChange            =    -20,    Weight                =    0.3,    Type                =    Food,    IsCookable            =    TRUE,    DangerousUncooked        =    TRUE,    MinutesToCook            =    30,    MinutesToBurn            =    50,    DaysFresh            =    3,        DaysTotallyRotten        =    6,    DisplayName            =    Bowl of Fried Rice,    Icon                =    HCFriedricebowl,        ReplaceOnUse            =    Bowl,    EvolvedRecipe             =     Soup:15;Stew:15;Stir fry:15,             }item HCRiceandbeanspot    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    90,    MinutesToBurn            =    140,    DisplayName            =    Pot of Rice and Beans,    ReplaceOnUse            =    Pot,    ReplaceOnCooked            =    Hydrocraft.HCRiceandbeanscooked,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    4,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }item HCRiceandbeanscooked    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Pot of Fresh Rice and Beans,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    }item HCRiceandbeansbowl    {    HungerChange            =    -15,    Weight                =    1,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Bowl of Rice and Beans,    ReplaceOnUse            =    Bowl,    Icon                =    HCChilibowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    EvolvedRecipe             =     Soup:20;Stew:20;Stir fry:20,        }    item HCChili    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    90,    MinutesToBurn            =    140,    DisplayName            =    Pot of Chili,    ReplaceOnUse            =    Pot,    ReplaceOnCooked            =    Hydrocraft.HCChilicooked,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    4,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }item HCChilicooked    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Pot of Fresh Chili,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    }item HCChilibowl    {    HungerChange            =    -15,    Weight                =    1,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Bowl of Fresh Chili,    ReplaceOnUse            =    Bowl,    Icon                =    HCChilibowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    EvolvedRecipe             =     Soup:15;Stew:15;Sandwich:5;Burger:5;Salad:5,        }    item HCRicepudding{    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    90,    MinutesToBurn            =    140,    DisplayName            =    Pot of Rice Pudding,    ReplaceOnUse            =    Pot,    ReplaceOnCooked            =    Hydrocraft.HCRicepuddingcooked,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    4,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }item HCRicepuddingcooked    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Pot of Cooked Rice Pudding,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    }item HCRicepuddingbowl    {    HungerChange            =    -15,    Weight                =    1,    Type                =    Food,    UnhappyChange            =    -20,    DisplayName            =    Bowl of Rice Pudding,    ReplaceOnUse            =    Bowl,    Icon                =    HCRicebowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    7,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    }item HCRisotto    {    HungerChange            =    -35,    Weight                =    2,    Type                =    Food,    IsCookable            =    TRUE,    DangerousUncooked        =    TRUE,    UnhappyChange            =    -45,    MinutesToCook            =    30,    MinutesToBurn            =    50,    DisplayName            =    Risotto,    ReplaceOnUse            =    Pan,    Icon                =    HCRisotto,    BoredomChange            =    -15,    DaysTotallyRotten        =    6,    DaysFresh             =     3,    CustomContextMenu         =     Eat,    }item HCBrothbowl    {    HungerChange            =    -8,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Bowl of Broth,    ReplaceOnUse            =    Bowl,    Icon                =    HCSoupbowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }    item HCPlainsoup    {    HungerChange            =    -35,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Pot of Plain Soup,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }    item HCPlainsoupbowl    {    HungerChange            =    -10,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Bowl of Plain Soup,    ReplaceOnUse            =    Bowl,    Icon                =    HCSoupbowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }    item HCMushroomsoup    {    HungerChange            =    -45,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Pot of Mushroom Soup,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }item HCMushroomsoupbowl    {    HungerChange            =    -8,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Bowl of Mushroom Soup,    ReplaceOnUse            =    Bowl,    Icon                =    HCSoupbowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }    item HCNoodlesoup    {    HungerChange            =    -55,    Weight                =    6,    Type                =    Food,    IsCookable            =    TRUE,    UnhappyChange            =    -20,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Pot of Noodle Soup,    ReplaceOnUse            =    Pot,    Icon                =    PotFull,    BoredomChange            =    -15,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }    item HCNoodlesoupbowl    {    HungerChange            =    -8,    Weight                =    1,    Type                =    Food,    IsCookable            =    TRUE,    MinutesToCook            =    40,    MinutesToBurn            =    60,    DisplayName            =    Bowl of Noodle Soup,    ReplaceOnUse            =    Bowl,    Icon                =    HCSoupbowl,    BoredomChange            =    -5,    DaysTotallyRotten        =    5,    DaysFresh             =     2,    CustomContextMenu         =     Eat,    }/************************RECIPES************************/   recipe Cook Plain Rice    {        keep Pot/WaterPot,        destroy Bowl,        Water=2,        HCRice,            Result:HCCookedrice,        Time:75.0,    }    recipe Cook Fried Rice    {               SkillRequired:Cooking=1,        keep Pan,        destroy HCCookedrice,        Butter/HCCookingoil,        Egg/Broccoli/Cabbage/Carrots,            Result:HCFriedrice,        Time:75.0,    }recipe Cook Pot of Rice and Beans        {        destroy WaterPot,        OpenBeans,        HCRice,        Tomato/HCTomatosaucebowl,        Result:HCRiceandbeanspot,        Time:95.0,    }recipe Fill Rice and Beans into Bowls    {        Bowl=4,        HCRiceandbeanscooked,        Result:HCRiceandbeansbowl=4,        Time:50.0,    }    recipe Cook Pot of Chili    {               SkillRequired:Cooking=1,        HCRiceandbeanspot/HCRiceandbeanscooked,        Onion/HCGarlicpowder,        Pepper,        Steak/BeefJerky/HCSimplejerky/HCTastyjerky,        Result:HCChili,        Time:95.0,    }        recipe Fill Chili into Bowls    {        Bowl=4,        HCChilicooked,        Result:HCChilibowl=4,        Time:50.0,    }recipe Cook Pot of Rice Pudding    {               SkillRequired:Cooking=1,        destroy Pot/WaterPot,        Sugar,        Milk/HCUHTmilk/HCSoymilk,        Result:HCRicepudding,        Time:95.0,    }        recipe Fill Rice Pudding into Bowls    {        destroy Bowl=4,        HCRicepuddingcooked,        Result:HCRicepuddingbowl=4,        Time:50.0,    }recipe Cook Risotto    {               SkillRequired:Cooking=5,            destroy Pan,        Water=2,        HCRice,        Broccoli/MushroomGeneric1/MushroomGeneric2/MushroomGeneric3/MushroomGeneric4/MushroomGeneric5/MushroomGeneric6/MushroomGeneric7/Egg/Carrots,        Result:HCRisotto,        Time:90.0,    }        recipe Make Bowl of Broth    {        destroy Bowl/WaterBowl,        Water,        HCSoupbouillon,        Result:HCBrothbowl,        Time:40.0,    }    recipe Make Pot of Plain Soup    {        destroy WaterPot,        HCSoupbouillon,        Carrots/Broccoli/Cabbage,        Result:HCPlainsoup,        Time:75.0,    }    recipe Fill Plain Soup into Bowls    {        Bowl=4,        HCPlainsoup,        Result:HCPlainsoupbowl=4,        Time:50.0,    }        recipe Make Pot of Mushroom Soup    {        destroy WaterPot,        HCSoupbouillon,        MushroomGeneric1/MushroomGeneric2/MushroomGeneric3/MushroomGeneric4/MushroomGeneric5/MushroomGeneric6/MushroomGeneric7        Result:HCMushroomsoup,        Time:75.0,    }    recipe Fill Mushroom Soup into Bowls    {        Bowl=4,        HCMushroomsoup,        Result:HCMushroomsoupbowl=4,        Time:50.0,    }        recipe Make Pot of Noodle Soup    {        destroy WaterPot,        HCSoupbouillon,        Carrots/Broccoli/Cabbage/MushroomGeneric1/MushroomGeneric2/MushroomGeneric3/MushroomGeneric4/MushroomGeneric5/MushroomGeneric6/MushroomGeneric7,        HCDrypasta,        Result:HCNoodlesoup,        Time:75.0,    }    recipe Fill Noodle Soup into Bowls    {        Bowl=4,        HCNoodlesoup,        Result:HCNoodlesoupbowl=4,        Time:50.0,    }        }
Link to comment
Share on other sites

Well for the taters I tracked it down to a comma.

recipe Make Bowl of Creamy Mashed Potatos    {        Bowl=2,        HCMashedpotatoscreamycooked        Result:HCMashedpotatoscreamybowl=2,        Time:35.0,    }

This the little thing that kill the menu. I suspect the other file might have the same problem but i ave not checked yet.

 

EDIT: Yup another missing comma

recipe Make Pot of Mushroom Soup    {        destroy WaterPot,        HCSoupbouillon,        MushroomGeneric1/MushroomGeneric2/MushroomGeneric3/MushroomGeneric4/MushroomGeneric5/MushroomGeneric6/MushroomGeneric7        Result:HCMushroomsoup,        Time:75.0,    }   
Link to comment
Share on other sites

recipe Make Pot of Mushroom Soup    {        destroy WaterPot,        HCSoupbouillon,        MushroomGeneric1/MushroomGeneric2/MushroomGeneric3/MushroomGeneric4/MushroomGeneric5/MushroomGeneric6/MushroomGeneric7        Result:HCMushroomsoup,        Time:75.0,    }    
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...