Jump to content

lance789

Member
  • Posts

    53
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

999 profile views
  1. So I have added to the Soup.txt (added recipes) Here's the full code with additions: /* CONTENTS ITEMS PotOfTomatoSoup PotOfTastyTomatoSoup TomatoSoupBowl TastyTomatoSoupBowl */ module EFM { import { Base } item PotOfTomatoSoup { HungerChange = -115, ThirstChange = -18, Weight = 2, Type = Food, IsCookable = TRUE, UnhappyChange = 30, MinutesToBurn = 130, DisplayName = Pot of Tomato Soup, ReplaceOnUse = Pot, Icon = PotFull, MinutesToCook = 40, DaysTotallyRotten = 6, DaysFresh = 3, CustomContextMenu = Drink, CustomEatSound = EatingSoup, Carbohydrates = 110, Proteins = 12, Lipids = 0.1, Calories = 600, StaticModel = CookingPot, GoodHot = true, BadCold = true, WorldStaticModel = CookingPotSoup_Ground, EatType = Pot, CookingSound = BoilingFood, } item PotOfTastyTomatoSoup { HungerChange = -172, ThirstChange = -14, Weight = 2, Type = Food, IsCookable = TRUE, UnhappyChange = -18, MinutesToBurn = 130, DisplayName = Pot of Tasty Tomato Soup, ReplaceOnUse = Pot, Icon = PotFull, MinutesToCook = 48, DaysTotallyRotten = 7, DaysFresh = 5, CustomContextMenu = Drink, CustomEatSound = EatingSoup, Carbohydrates = 120, Proteins = 15, Lipids = 0.12, Calories = 610, StaticModel = CookingPot, GoodHot = true, BadCold = true, WorldStaticModel = CookingPotSoup_Ground, EatType = Pot, CookingSound = BoilingFood, } item TomatoSoupBowl { HungerChange = -35, ThirstChange = -15, Type = Food, DisplayName = Bowl of Tomato Soup, MinutesToCook = 15, Weight = 1, Carbohydrates = 19, Proteins = 2, Lipids = 0.03, Calories = 112, IsCookable = TRUE, DaysTotallyRotten = 6, UnhappyChange = -8, MinutesToBurn = 15, Icon = BowlFull, ReplaceOnUse = Bowl, DaysFresh = 2, CustomContextMenu = Drink, CustomEatSound = EatingSoup, GoodHot = true, BadCold = true, StaticModel = Bowl, EatType = 2handbowl, WorldStaticModel = BowlSoup_Ground, CookingSound = BoilingFood, } item TastyTomatoSoupBowl { HungerChange = -50, ThirstChange = -15, Type = Food, DisplayName = Bowl of Tasty Tomato Soup, MinutesToCook = 15, Weight = 1, Carbohydrates = 19, Proteins = 3, Lipids = 0.03, Calories = 110, IsCookable = FALSE, DaysTotallyRotten = 6, UnhappyChange = -18, MinutesToBurn = 35, Icon = BowlFull, ReplaceOnUse = Bowl, DaysFresh = 2, CustomContextMenu = Drink, CustomEatSound = EatingSoup, GoodHot = true, BadCold = true, StaticModel = Bowl, EatType = 2handbowl, WorldStaticModel = BowlSoup_Ground, CookingSound = BoilingFood, } -- ======================= R E C I P I E S ======================= recipe Make Pot of Tomato Soup { CannedTomatoOpen/Tomato=3, WaterPot, Result:PotOfTomatoSoup, OnCreate:Recipe.OnCreate.PotOfTomatoSoup, Time:130.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking8, } recipe Make Pot of Tasty Tomato Soup { CannedTomatoOpen/Tomato=5, WildGarlic, OnionSlices, ButterCube, WaterPot, Result:PotOfTastyTomatoSoup, OnCreate:Recipe.OnCreate.PotOfTastyTomatoSoup, Time:150.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking20, } recipe Distribute Bowls of Tomato Soup { Bowl=5, PotOfTomatoSoup, keep [Recipe.GetItemTypes.spoon], -- keep Pot, Result:TomatoSoupBowl=5, OnCreate:Recipe.OnCreate.TomatoSoupBowl, Time:70.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.None, } recipe Distribute Bowls of Tasty Tomato Soup { Bowl=5, PotOfTastyTomatoSoup, keep [Recipe.GetItemTypes.spoon], keep Pot, Result:TomatoSoupBowl=5, OnCreate:Recipe.OnCreate.TastyTomatoSoupBowl, Time:70.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.None, } recipe Merge Bowls of Tomato Soup { Pot, TomatoSoupBowl=5, keep Spoon, Result:PotOfTomatoSoup, Result:Bowl=5, OnCreate:Recipe.OnCreate.PotOfTomatoSoup, Time:15.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.None, } recipe Merge Bowls of Tasty Tomato Soup { Pot, TomatoSoupBowl=5, keep Spoon, Result:PotOfTastyTomatoSoup, Result:Bowl=5, OnCreate:Recipe.OnCreate.PotOfTastyTomatoSoup, Time:15.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.None, } -- === End of File ======================================= }
  2. Now that I've graduated college and have no plans to return any time soon, I'm coming back to this mod for the PZ.41 build. I've already been working on it and have added several new recipes. However, the existing recipes (ramen, ice cream variants, smoothies, cereals, etc) have been removed for rebalancing with revamped recipes and distribution luas.
  3. Note: I'm kinda allergic to programming of any kind, though Im trying to make this mod regardless. The MOD: feel free to skip this backstory as its not needed for the help request... just gives some context if wanted... A few years ago (back in PZ build 36 or 38), I started a mod call Extended Foods Mod (EFM) where I add a bunch of new food items and recipes to PZ so perishables didnt go totally unused. I had help from the community here to get what little I had done then and the mod did work, though I only had a small amount of foods added. I had to drop development of the mod due to college cramming, but now that I've successfully graduated, I can return to the mod. Side Note: When I decided to reboot this mod, I followed a YouTube video to do it: The ISSUE(S): So when running my mod, 1 of several things happens. When all files (including back up files and archives) are present in topology, the game does launch where I can: boot to menu I can select new game select sandbox (I'm using settings which disables zombies, makes all loot abundant, removes all locks, removes all alarms, removes heli, and food last longer and degrade slower) select spawn location choose professions build survivor Go into black loading screen. ...however, its when I click to actually play the game that 1 of 2 things happens: a) the game literally freezes the entire computer, never passing the black click to continue screen, which forces me to power cycle the PC. OR b) the game loads into the map, but the nearly all of the UI is gone EXCEPT for the player inventory panel (other containers nor floor inventories can be accessed). 1 of these 2 things happens even iff I take out all the fluff files like .BACKUP files and .RARs removed. To simply put, I dont know why the code isnt working. TOPOLOGY ExtendedFoodsMod41 > media > lua > server > items > TomatoSoupDistributions.lua > scripts > EFM.TomatoSoup.txt > textures > mod.info > EFM_BANNER.png The CODE Lets start with just these for now: SCRIPTS > EFM.TomatoSoup.txt /* CONTENTS ITEMS PotOfTomatoSoup PotOfTastyTomatoSoup TomatoSoupBowl TastyTomatoSoupBowl */ module EFM { import { Base } item PotOfTomatoSoup { HungerChange = -115, ThirstChange = -18, Weight = 2, Type = Food, IsCookable = TRUE, UnhappyChange = 30, MinutesToBurn = 130, DisplayName = Pot of Tomato Soup, ReplaceOnUse = Pot, Icon = PotFull, MinutesToCook = 40, DaysTotallyRotten = 6, DaysFresh = 3, CustomContextMenu = Drink, CustomEatSound = EatingSoup, Carbohydrates = 110, Proteins = 12, Lipids = 0.1, Calories = 600, StaticModel = CookingPot, GoodHot = true, BadCold = true, WorldStaticModel = CookingPotSoup_Ground, EatType = Pot, CookingSound = BoilingFood, } item PotOfTastyTomatoSoup { HungerChange = -172, ThirstChange = -14, Weight = 2, Type = Food, IsCookable = TRUE, UnhappyChange = -18, MinutesToBurn = 130, DisplayName = Pot of Tasty Tomato Soup, ReplaceOnUse = Pot, Icon = PotFull, MinutesToCook = 48, DaysTotallyRotten = 7, DaysFresh = 5, CustomContextMenu = Drink, CustomEatSound = EatingSoup, Carbohydrates = 120, Proteins = 15, Lipids = 0.12, Calories = 610, StaticModel = CookingPot, GoodHot = true, BadCold = true, WorldStaticModel = CookingPotSoup_Ground, EatType = Pot, CookingSound = BoilingFood, } item TomatoSoupBowl { HungerChange = -35, ThirstChange = -15, Type = Food, DisplayName = Bowl of Tomato Soup, MinutesToCook = 15, Weight = 1, Carbohydrates = 19, Proteins = 2, Lipids = 0.03, Calories = 112, IsCookable = TRUE, DaysTotallyRotten = 6, UnhappyChange = -8, MinutesToBurn = 15, Icon = BowlFull, ReplaceOnUse = Bowl, DaysFresh = 2, CustomContextMenu = Drink, CustomEatSound = EatingSoup, GoodHot = true, BadCold = true, StaticModel = Bowl, EatType = 2handbowl, WorldStaticModel = BowlSoup_Ground, CookingSound = BoilingFood, } item TastyTomatoSoupBowl { HungerChange = -50, ThirstChange = -15, Type = Food, DisplayName = Bowl of Tasty Tomato Soup, MinutesToCook = 15, Weight = 1, Carbohydrates = 19, Proteins = 3, Lipids = 0.03, Calories = 110, IsCookable = FALSE, DaysTotallyRotten = 6, UnhappyChange = -18, MinutesToBurn = 35, Icon = BowlFull, ReplaceOnUse = Bowl, DaysFresh = 2, CustomContextMenu = Drink, CustomEatSound = EatingSoup, GoodHot = true, BadCold = true, StaticModel = Bowl, EatType = 2handbowl, WorldStaticModel = BowlSoup_Ground, CookingSound = BoilingFood, } -- ======================= R E C I P I E S ======================= recipe Make Pot of Tomato Soup { CannedTomatoOpen/Tomato=3, WaterPot, Result:PotOfTomatoSoup, Time:130.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking3, } recipe Make Pot of Tasty Tomato Soup { CannedTomatoOpen/Tomato=5, WildGarlic, WaterPot, Result:PotOfTastyTomatoSoup, Time:130.0, Category:Cooking, OnGiveXP:Recipe.OnGiveXP.Cooking3, } recipe Distribute Bowls of Tomato Soup { Bowl=5, PotOfTomatoSoup, keep [Recipe.GetItemTypes.spoon], -- keep Pot, Result:TomatoSoupBowl=5, OnCreate:Recipe.OnCreate.TomatoSoupBowl, Time:70.0, Category:Cooking, -- OnGiveXP:Recipe.OnGiveXP.Cooking3, } recipe Distribute Bowls of Tasty Tomato Soup { Bowl=5, PotOfTastyTomatoSoup, keep [Recipe.GetItemTypes.spoon], keep Pot, Result:TomatoSoupBowl=5, -- OnCreate:Recipe.OnCreate.TastyTomatoSoupBowl, Time:70.0, Category:Cooking, -- OnGiveXP:Recipe.OnGiveXP.Cooking3, } -- === End of File ======================================= } LUA > TomatoSoupDistributions.lua Distributions = Distributions or {}; local distributionTable = { -- ===================== -- TOMATO SOUP -- ===================== all = { freezer = { rolls = 3, items = { "EFM.TomatoSoupBowl", 0.8, "EFM.TastyTomatoSoupBowl", 0.5, } }, fridge = { rolls = 2, items = { "EFM.PotOfTomatoSoup", 1, "EFM.PotOfTastyTomatoSoup", 3, "EFM.TomatoSoupBowl", 3, "EFM.TastyTomatoSoupBowl", 2, } }, restaurantdisplay = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=20}, } }, stove = { rolls = 1, items = { "EFM.PotOfTomatoSoup", 2, "EFM.PotOfTastyTomatoSoup", 2, } }, }, breakroom = { counter = { procedural = true, procList = { {name="BreakRoomCounter", min=0, max=99}, } }, fridge = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=8}, {name="EFM.TomatoSoupBowl", min=0, max=10}, } }, }, burgerkitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=20}, } }, }, cafe = { isShop = true, displaycase = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=2, weightChance=10}, } } }, cafekitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, } }, }, conveniencestore = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=7}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, }, cornerstore = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=7}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, }, dinerkitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=7}, } }, }, fossoil = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, } }, }, gasstore = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, } }, }, generalstore = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, }, generalstorestorage = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, }, gigamart = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, } }, }, gigamartkitchen = { isShop = true, counter = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, } } }, grocery = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, }, grocerystorage = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=15}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=25}, } }, }, jayschicken_kitchen = { isShop = true, restaurantdisplay = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=30}, } }, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=25}, } }, }, kitchen_crepe = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=25}, } }, }, motelroomoccupied = { fridge = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=20}, } }, }, pizzakitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.PotOfTomatoSoup", min=0, max=99, weightChance=10}, {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, {name="EFM.TomatoSoupBowl", min=0, max=99, weightChance=15}, } }, displaycase = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, } }, restaurantdisplay = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=30}, } }, }, restaurant = { counter = { rolls = 0, items = { } }, displaycase = { procedural = true, procList = { {name="EFM.TastyTomatoSoupBowl", min=0, max=99, weightChance=10}, } }, }, restaurantkitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=40}, } }, }, spiffoskitchen = { isShop = true, fridge = { procedural = true, procList = { {name="EFM.PotOfTastyTomatoSoup", min=0, max=99, weightChance=15}, } }, }, Lunchbox = { rolls = 4, items = { "EFM.TomatoSoupBowl", 3, "EFM.TastyTomatoSoupBowl", 1, } }, Lunchbox2 = { rolls = 4, items = { "EFM.TomatoSoupBowl", 2, "EFM.TastyTomatoSoupBowl", 3, } }, table.insert(Distributions, 1, distributionTable); --for mod compat: SuburbsDistributions = distributionTable; }
  4. yes i have, still crashes though.
  5. not sure if bumping is aloud here...
  6. PLEASE NOTE I AM NOTE A CODER (I REALLY SUCK AT IT). This mod was also being tested in build 41 with other mods active. Mod was not tested in IWBUMS beta. THE PROBLEM I am currently in the process of reviving an old mod of mine that originally worked (well enough) in Build 31, though I've taken a look through some assets and files for the current build, I attempted to reformat the mod to meet the current build... Needless to say I don't I was successful as my mod seems the crash the game. What I'm trying to achieve: Add a ridiculous number of foods and recipes to make most vanilla food related foods, ingredients, and kitchen items actually useful Add foods which have nutritional values and effects happiness, fatigue, sickness recovery, raise or lower body temperature, etc. Some foods required to be FROZEN or cold Add MANY Evolving Recipes Specify which foods and ingredients can be used for different evolving recipes. Adding different files for each type of food (example, RAMEN based foods uses 1 script file for items, recipes, and evolving recipes (assuming this can be done)) Overwrite vanilla foods Use LUA to distribute food to various containers (stoves, microwaves, kitchen counters, outdoor grills, spiffo's, crepe, other restaurants, etc.) Add custom sprites Automatic mod compatibility (can use stuff from other mods automatically (especially Hydrocraft)) Recreate EFM thread for Build 41 (will make the old thread obsolete) Upload to Steam Workshop IWBUMS compatibility (eventually) My ACTIVE Modlist: (in order listed in Mod menu) Bef's Professions and Traits Christmas Food Craft Helper Mod (v1.1.2) for PZ 36.4 Crafted Baseball Bat Crafted weapons++ Crashed Cars Cremation - Corpse Disposal Filibuster Rhymes' Smaller Cars Filibuster Rhymes' Used Cars Fine Vanilla Items HuntingMod Hydrocraft Improved Maps Katana Lockpicking. Just. Lockpicking. More Build More Watches v1.0 More Zombie Loot No More Hidden Zombies (x3) Radial Menu Fix Realistic Weapon Durabilities ToS Huge Backpacks blindcoders utility functions inSayne working movable furniture MOD DOWNLOAD: ExtendedFoodsMod.rar I have included in the mod only 1 food type in it (Ramen) to reduce code bloating. THE MOD TOPOLOGY: MOD PATH: C:\ > Users > "user" > Zomboid > mods > ExtendedFoodsMod ExtebdedFoodsMod (PARENT FOLDER ) > FOLDER - media | > FOLDER - lua | | > FOLDER - server | | | > FOLDER - items | | | | Extended_Foods_Base_Distribution.lua | | | | Extended_Foods_Distribution.lua | | | EFMRecipeFunctions.lua | | | Extended_Foods.lua | | | Extended_Foods_Textues.lua | > FOLDER - scripts | | | EF_ChickenRamen.txt | > FOLDER - textures | | | Item_EFM_Berry_Icecream.png | | | Item_EFM_BLANK.png | | | Item_EFM_BLT_Sandwhich.png | | | Item_EFM_ChocoChunk_Icecream.png | | | Item_EFM_FriedSteak.png | | | Item_EFM_Pizzacheeseslice.png | | | Item_EFM_PizzaHomemade.png | | | Item_EFM_Roasted_Steak.png | | | Item_EFM_Roasted_Steak_Combo.png | | | Item_EFM_Strawberry_Icecream.png | | | Item_EFM_Sugarcup.png | mod.info | EFM_BANNER.png THE CODE (for those who do not want to trust attached .RAR file) mod.info EFMRecipeFunctions.lua Extended_Foods.lua Extended_Foods_Textues.lua EF_ChickenRamen.txt Extended_Foods_Base_Distribution.lua Extended_Foods_Distribution.lua ANY AND ALL HELP WILL BE GREATLY APPRECIATED!!! Those who help (fixing/providing code/assets) WILL BE CREDITED IN MOD AND PAGES! Here is a link to the original EXTENDED FOODS MOD thread (again, for the Build 41 mod, a new thread will be made).
  7. I'm looking to change my display to match my steam name but i cant seem to change it in account settings. Is there anyway I can change my display name or do I have to make a new account?
  8. So, so im trying to figure out how to spawn an item added by a mod directly into player inventory but whenever i use the associated recipe, the items needed gets used but the item doesn't spawn... Example: Item: module Extended_Foods{ imports { Base }item ChickenRamenPot_3_5 { HungerChange = -60, Type = Food, DisplayName = Pot of Chicken Flavoured Ramen, MinutesToCook = 30, Weight = 3, IsCookable = True, DaysTotallyRotten = 10, UnhappyChange = 90, FatigueChange = +80, StressChange = +70, MinutesToBurn = 30, Icon = EFM_BLANK, ReplaceOnUse = Pot, DaysFresh = 5, //BoredomChange = 30, DangerousUncooked = TRUE, }}Recipe: module Extended_Foods{ imports { Base }recipe Make ThreeFifths Pot of Ramen Chicken Flavor { ChickenRamenBowl=3, Pot, Result:Bowl=3, Time:20.0, }}3 Bowls Combined to make 3/5 of a Pot of Ramen: -- Recipe LUA-- Made by: Svarog-- (I added in this pot of ramen data)-- Pot of Ramen - B2P (3/5)function RecipeMake ThreeFifths Pot of Ramen Chicken Flavor_OnCreate(items, result, player) local inv = player:getInventory(); inv:AddItem("Extended_Foods.ChickenRamenPot");So every time i've made 3 Ramen Bowls and combined them, i'd get the 3 bowls back (so thats good), but no 3/5Ramen Pot... Could anyone please help me sort out how to get this properly working? Ive already have the codes for all ramen chicken "bowls -> pot", "pot -> bowls", and "pot -> pot" combinations done, i just need to get the Lua working. D:
  9. Longer experation dates are being made through packed meals and rations. Trying to figure out how to use lua to give more than 1 item when an item is used (i.e. when a packed meal is used, it may give 3 foods that were used to craft it)
  10. wow, out of all the desserts i had planned, brownies never occurred to me, These are great suggestions. as of build 31.2, french fries are already in the game, so yeah, happy meals are planned xD Ketchup and Mustard are also in game and i think meat patties are the ground beef equivalent. really liking the idea of Enchiladas, brownies and Quesadilla though i'll work on adding these when my next test is over (this coming friday)
  11. sorr, last 2 days i've been busy outside of home.... now spring break has ended which means back to labs ;__;
  12. THANKS MAN!!!! re-uploading a link with distribution values rebalanced to the intended values.
  13. Download of mod is available now, but mod needs some heaving fixing (which is why im releasing it now).
  14. some of these i didnt know were usable, like AlwaysWelcomeGift (need to get this implemented in my code) EnduranceChange (what exactly does this apply to?) AlcoholPower = 1 (HOLY CRAP i didnt know this was a thing!!! need to use) PoisonPower = 40 (didnt know this was a thing, should prob use this in conjunction with spicy foods) UseForPoison = 15, (I don't know what this does) EvolvedRecipe (i know how to use this, but since i've coded my items in a way to where some pieces are universal (such as batter and sandwhich fillings, i wont need this) PoisonDetectionLevel (i've seen this somewhere before, i think it may come in handy when NPCs are enabled) >:3 ReplaceOnUse = base.item (is the base.item part specifically needed? i know pre build 30 you just have the item tag alone to spawn it on use) So, this is pretty much what the first 40 items i have looks like: -- [ Script File]module Extended_Foods { imports { Base }item TasteyHamSandwich { HungerChange = -95, Type = Food, DisplayName = Ham Sandwich, IsCookable = FALSE, DaysTotallyRotten = 4, UnhappyChange = 35, FatigueChange = -5, StressChange = -3.0, Icon = Item_EFM_BLANK.png, DaysFresh = 2, } recipe Make Ham Sandwich { BreadSlices=2/Sandwich, HamSlices, SandwichFilling, Result:TasteyHamSandwich, Time:20.0, } recipe Make Ham Sandwich { HamSandwich, SandwichFilling, Result:TasteyHamSandwich, Time:20.0, }}-- [ LUA File ]require "Items/SuburbsDistributions";require "Items/Extended_Foods";require "Items/Extended_Foods_Medical";Extended_Foods = {}Extended_Foods.version = "1.0";Extended_Foods.author = "lance789";Extended_Foods.modName = "Extended Foods Mod";-- Tastey Ham Sandwichtable.insert(SuburbsDistributions["all"]["stove"].items, "Base.TasteyHamSandwich");table.insert(SuburbsDistributions["all"]["stove"].items, 2);table.insert(SuburbsDistributions["all"]["fridge"].items, "Base.HamSandwich");table.insert(SuburbsDistributions["all"]["fridge"].items, 1.0); table.insert(SuburbsDistributions["grocery"]["counter"].items, "Base.TasteyHamSandwich");table.insert(SuburbsDistributions["grocery"]["counter"].items, 0.1);table.insert(SuburbsDistributions["spiffoskitchen"]["counter"].items, "Base.TasteyHamSandwich");table.insert(SuburbsDistributions["spiffoskitchen"]["counter"].items, 0.5);table.insert(SuburbsDistributions["kitchen_crepe"]["counter"].items, "Base.TasteyHamSandwich");table.insert(SuburbsDistributions["kitchen_crepe"]["counter"].items, 0.4);Events.OnGameBoot.Add(Extended_Foods.init);so this looks about right?
×
×
  • Create New...