diff --git a/Box more!/42/media/lua/server/ConditionInheriter.lua b/Box more!/42/media/lua/server/ConditionInheriter.lua index 90511b1..829d1a9 100644 --- a/Box more!/42/media/lua/server/ConditionInheriter.lua +++ b/Box more!/42/media/lua/server/ConditionInheriter.lua @@ -1,6 +1,8 @@ require 'recipecode' -function Recipe.OnCreate.FromConditionInheriter(craftRecipeData, player) +ConditionInheriter = ConditionInheriter or {} + +function ConditionInheriter.FromConditionInheriter(craftRecipeData, player) local items = craftRecipeData:getAllConsumedItems(); local results = craftRecipeData:getAllCreatedItems() local box = items:get(0); @@ -13,7 +15,7 @@ function Recipe.OnCreate.FromConditionInheriter(craftRecipeData, player) end end -function Recipe.OnCreate.ToConditionInheriter(craftRecipeData, player) +function ConditionInheriter.ToConditionInheriter(craftRecipeData, player) local results = craftRecipeData:getAllCreatedItems() local items = craftRecipeData:getAllConsumedItems(); @@ -24,4 +26,12 @@ function Recipe.OnCreate.ToConditionInheriter(craftRecipeData, player) box:getModData()["condition" .. i] = item:getCondition(); end end -end \ No newline at end of file +end + +if type(Recipe) == "table" then + if type(Recipe.OnCreate) ~= "table" then + Recipe.OnCreate = {} + end + Recipe.OnCreate.FromConditionInheriter = ConditionInheriter.FromConditionInheriter + Recipe.OnCreate.ToConditionInheriter = ConditionInheriter.ToConditionInheriter +end diff --git a/Box more!/42/media/scripts/bm_craftrecipes.txt b/Box more!/42/media/scripts/bm_craftrecipes.txt index 8779169..35a86d5 100644 --- a/Box more!/42/media/scripts/bm_craftrecipes.txt +++ b/Box more!/42/media/scripts/bm_craftrecipes.txt @@ -679,7 +679,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfCrowbars] flags[Prop2], @@ -696,7 +696,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.Crowbar;Base.CrowbarForged] flags[Prop2], @@ -713,7 +713,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfIronBars] flags[Prop2], @@ -730,7 +730,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.IronBar] flags[Prop2], @@ -747,7 +747,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfIronPipes] flags[Prop2], @@ -764,7 +764,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.MetalPipe] flags[Prop2], @@ -781,7 +781,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfSteelBars] flags[Prop2], @@ -798,7 +798,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.SteelBar] flags[Prop2], @@ -815,7 +815,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfSteelRods] flags[Prop2], @@ -832,7 +832,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.MetalBar] flags[Prop2], @@ -849,7 +849,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.FromConditionInheriter, + OnCreate = ConditionInheriter.FromConditionInheriter, inputs { item 1 [Base.BoxOfPencils] flags[Prop2], @@ -866,7 +866,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Pencil] flags[Prop2], @@ -899,7 +899,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Frog] flags[Prop2], @@ -932,7 +932,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Clay] flags[Prop2], @@ -965,7 +965,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.StoneBlock] flags[Prop2], @@ -998,7 +998,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Stone2] flags[Prop2], @@ -1031,7 +1031,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.ClayBrick] flags[Prop2], @@ -1064,7 +1064,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.CharcoalCrafted] flags[Prop2], @@ -1097,7 +1097,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.ScrapMetal] flags[Prop2], @@ -1130,7 +1130,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Socks_Heavy] flags[Prop2], @@ -1163,7 +1163,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.TinOpener] flags[Prop2], @@ -1196,7 +1196,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 384 [Base.ToiletPaper] flags[Prop2], @@ -1229,7 +1229,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.CrowbarForged] flags[Prop2], @@ -1262,7 +1262,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 120 [Base.BlowTorch] mode:destroy flags[Prop2], @@ -1295,7 +1295,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.WeldingMask] flags[Prop2], @@ -1312,7 +1312,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.BeerCan] mode:destroy flags[Prop2], @@ -1345,7 +1345,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.AlcoholBandage] flags[Prop2], @@ -1378,7 +1378,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.NutsBolts] flags[Prop2], @@ -1411,7 +1411,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.CopperScrap] flags[Prop2], @@ -1444,7 +1444,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.SteelScrap] flags[Prop2], @@ -1477,7 +1477,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.IronScrap] flags[Prop2], @@ -1510,7 +1510,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.AluminumScrap] flags[Prop2], @@ -1543,7 +1543,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.UnusableWood] flags[Prop2], @@ -1576,7 +1576,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.BrassScrap] flags[Prop2], @@ -1609,7 +1609,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 180 [Base.GranolaBar] flags[Prop2], @@ -1642,7 +1642,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 240 [Base.DehydratedMeatStick] flags[Prop2], @@ -1675,7 +1675,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 180 [Base.Crisps] flags[Prop2], @@ -1708,7 +1708,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 180 [Base.Crisps2] flags[Prop2], @@ -1741,7 +1741,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 180 [Base.Crisps3] flags[Prop2], @@ -1774,7 +1774,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 180 [Base.Crisps4] flags[Prop2], @@ -1807,7 +1807,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 96 [Base.Nettles] flags[Prop2], @@ -1840,7 +1840,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.EngineParts] flags[Prop2], @@ -1873,7 +1873,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.Hammer] flags[Prop2], @@ -1906,7 +1906,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Plank] flags[Prop2], @@ -1939,7 +1939,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.TreeBranch2] flags[Prop2], @@ -1972,7 +1972,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Sapling] flags[Prop2], @@ -2005,7 +2005,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.RadioReceiver] flags[Prop2], @@ -2038,7 +2038,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.RadioTransmitter] flags[Prop2], @@ -2071,7 +2071,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Receiver] flags[Prop2], @@ -2104,7 +2104,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Amplifier] flags[Prop2], @@ -2137,7 +2137,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 480 [Base.Thread] flags[Prop2], @@ -2170,7 +2170,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 60 [Base.Twine] flags[Prop2], @@ -2203,7 +2203,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Razor] flags[Prop2], @@ -2236,7 +2236,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 480 [Base.Soap2] flags[Prop2], @@ -2269,7 +2269,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 60 [Base.Epoxy] flags[Prop2], @@ -2302,7 +2302,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 288 [Base.Butter] flags[Prop2], @@ -2335,7 +2335,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 24 [Base.Zipties] flags[Prop2], @@ -2368,7 +2368,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.TrapMouse] flags[Prop2], @@ -2401,7 +2401,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Screwdriver] flags[Prop2], @@ -2434,7 +2434,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Handiknife] flags[Prop2], @@ -2467,7 +2467,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Scissors] flags[Prop2], @@ -2500,7 +2500,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 12 [Base.Multitool] flags[Prop2], @@ -2533,7 +2533,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.BallPeenHammer] flags[Prop2], @@ -2566,7 +2566,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.BallPeenHammerForged] flags[Prop2], @@ -2599,7 +2599,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.BaseballBat] flags[Prop2], @@ -2632,7 +2632,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 60 [Base.Teabag2] flags[Prop2], @@ -2665,7 +2665,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.BaseballBat_Metal] flags[Prop2], @@ -2698,7 +2698,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 360 [Base.OilOlive] flags[Prop2], @@ -2731,7 +2731,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 360 [Base.OilVegetable] flags[Prop2], @@ -2764,7 +2764,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 120 [Base.Yeast] flags[Prop2], @@ -2797,7 +2797,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 120 [Base.Ramen] flags[Prop2], @@ -2830,7 +2830,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 120 [Base.Salt] flags[Prop2], @@ -2863,7 +2863,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.Katana] flags[Prop2], @@ -2896,7 +2896,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.Axe] flags[Prop2], @@ -2929,7 +2929,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.WoodAxe] flags[Prop2], @@ -2962,7 +2962,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.HandAxe] flags[Prop2], @@ -2995,7 +2995,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 6 [Base.HandAxeForged] flags[Prop2], @@ -3028,7 +3028,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 288 [Base.Margarine] flags[Prop2], @@ -3061,7 +3061,7 @@ module Base Time = 60, Tags = InHandCraft;CanBeDoneInDark, category = Packing, - OnCreate = Recipe.OnCreate.ToConditionInheriter, + OnCreate = ConditionInheriter.ToConditionInheriter, inputs { item 288 [Base.Lard] flags[Prop2],