-- Example LUA function SteamDetails() -- Setting of Steam details ModBase.SetSteamWorkshopDetails("BerryGoodMod", "Mega Berry Maker. Adds converter for berries along with recipe.", {"berries", "berry converter"}, "BerryLogo.png") end function Creation() -- Creation of any new custom objects like converters, food, holdables, buildings etc. go here -- Create a new Berry Converter [Takes 4xPlanks and 3xPoles to make it] [Using in game model - workbench] ModConverter.CreateConverter("TheBerryMaker", {"Berries"}, {"Plank", "Pole"}, {4, 3}, "Models/Buildings/Converters/Workbench", {-1,-1}, {1,0}, {0,1}, {1,1}, false) end function BeforeLoad() -- Before Load Function - Pre-loading of map calls go here -- Create Berry Recipe - All Converters - 1 stick = 10 berries produced ModVariable.SetIngredientsForRecipe("Berries", {"Stick"}, {1}, 10) -- Set Storage for Sticks to 200 ModVariable.SetVariableForStorageAmount("Stick", 200) -- Set Storage for Berries to 200 ModVariable.SetVariableForStorageAmount("Berries", 200) end function AfterLoad() -- After Load Function - Anything after map creation goes here -- Spawn Berry at (50,50) ModBase.SpawnItem("Berries", 50, 50) end