Jump to content

WraithNath

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

WraithNath's Achievements

  1. Any Devs or mod developers read this forum or are contactable about this? I really want to be able to work on this mod and get it out there but stuck on this issue.
  2. Hello, I have been struggling with this issue for a few days. I am trying to create a recipe for Tea that requires a tea bag, and hot water, either from a WaterMug or a FullKettle. the recipe works when heat is not specified, but as soon as its added I get the following error when attempting to craft. Callframe at: IsRecipeValid function: isValid -- file: ISCraftAction.lua line # 10 Callframe at: StartAction function: begin -- file: ISBaseTimedAction.lua line # 71 function: onCompleted -- file: ISTimedActionQueue.lua line # 58 function: perform -- file: ISBaseTimedAction.lua line # 47 function: perform -- file: ISInventoryTransferAction.lua line # 285. ... java.lang.reflect.InvocationTargetException ... Caused by: java.lang.nullPointerException: Cannot invoke "java.util.ArrayList.iterator()" because "<paratermeter3" is null. after hours of debugging, I think this equates to the ItemContainer array list which is the 3rd parameter of the HasHeat function in the RecipieManager. Later in the function it tries to iterate the items in the container, but as its null it fails. Has anyone had this issue before or could assist me in getting this working? my items seem to be set up the same as sterilizing a bandage or ripped sheets. My Items are as follows: item EarlGreyTeabag { Weight = 0.01, Type = Food, HungerChange = -5, UnhappyChange = 10, ThirstChange = 10, FatigueChange = -15, DisplayName = Earl Grey Tea Bag, Icon = EarlGreyTeabag, FoodType = Tea, EvolvedRecipeName = Mug of Earl Grey Tea, } item TeaMug { Weight = 0.81, Type = Food, DisplayName = Mug of Tea, Icon = MugFulll, UnhappyChange = -5, ThirstChange = -10, StressChange = -5, ReplaceOnUse = Mugl, CustomContextMenu = Drink, CustomEatSound = DrinkingFromMug, GoodHot = true, BadCold = true, StaticModel = Mug, WorldStaticModel = Mug, EatType = Mug, } And My Recipes recipe Pepare Tea { destroy EarlGreyTeabag/PGTipsTeabag/BreakfastTeabag/LapsangSouchongTeabag/AssamTeabag, destroy WaterMug, Result:TeaMug, Time:100, Heat:-0.22, Category:Cooking, } recipe Pepare Tea { destroy EarlGreyTeabag/PGTipsTeabag/BreakfastTeabag/LapsangSouchongTeabag/AssamTeabag, destroy Mugl, FullKettle;3, Result:TeaMug, Time:100, Heat:-0.22, Category:Cooking, } Thank you.
×
×
  • Create New...