Jump to content
  • New Topics

  • 2552 The Ultimate Question!

    1. 1. Which is better: pancakes or waffles?


      • PANCAKES
      • WAFFLES

  • Posts

    • Version:[42.7.0] [rev:28118] Mode: [Singleplayer] Server settings: [N/A] Mods: [do not matter] Save: [do not matter] Reproduction steps:
    • Version:[42.7.0] [rev:28118] Mode: [Singleplayer] Server settings: [N/A] Mods: [None] Save: [New Save] Reproduction steps: vehicle get bloody, but it check only for pure water (and do not matter which container is)   if ISWashVehicle.hasBlood(vehicle) then local option = context:addOption(getText("ContextMenu_Vehicle_Wash"), playerObj, ISVehicleMenu.onWash, vehicle); local toolTip = ISToolTip:new(); toolTip:initialise(); toolTip:setVisible(false); toolTip:setName(getText("Tooltip_Vehicle_WashTitle")); toolTip.description = getText("Tooltip_Vehicle_WashWaterRequired1", 100 / ISWashVehicle.BLOOD_PER_WATER); local waterAvailable = ISWashVehicle.getWaterAmountForPlayer(playerObj); option.notAvailable = waterAvailable <= 0 if waterAvailable <= 1.0 then toolTip.description = toolTip.description .. " <BR> " .. getText("Tooltip_Vehicle_WashWaterRequired2"); else toolTip.description = toolTip.description .. " <BR> " .. getText("Tooltip_Vehicle_WashWaterRequired3", waterAvailable); end option.toolTip = toolTip; end   the same time farming ability to water crops have different mechanics.   if #waterSources > 0 then if test then return ISWorldObjectContextMenu.setTest() end local waterOption = cropsMenu:addOption(getText("ContextMenu_Water"), worldobjects, nil); local subMenuWater = ISContextMenu:getNew(cropsMenu); cropsMenu:addSubMenu(waterOption, subMenuWater); table.sort(waterSources, ISFarmingMenu.itemSortByName) for _, waterSource in ipairs(waterSources) do local waterSourceOption = subMenuWater:addOption(waterSource:getName(), worldobjects, nil); local waterSourceSubMenu = ISContextMenu:getNew(subMenuWater); subMenuWater:addSubMenu(waterSourceOption, waterSourceSubMenu); -- if waterLvl missing is below the max use of the water plant (so we can't have the option for 40 water if the plant have 80) local use = ISFarmingMenu.getWaterUsesInteger(waterSource); local missingWaterUse = math.ceil((100 - currentPlant.waterLvl) / 10); if missingWaterUse < use then use = missingWaterUse; end waterSourceSubMenu:addOption(getText("ContextMenu_Full", use * 10), worldobjects, ISFarmingMenu.onWater, use, waterSource, playerObj, currentPlant, sq, context); if use > 10 then use = 10 else use = use - 1 end for i=use,1,-1 do waterSourceSubMenu:addOption(tostring(i * 10), worldobjects, ISFarmingMenu.onWater, i, waterSource, playerObj, currentPlant, sq, context); end end end end 3   22
    • Version:[42.7.0] [rev:28118] Mode: [Singleplayer] Server settings: [N/A] Mods: [None] Save: [New Save] Reproduction steps: get vehicle, remove doors, cant access to seats-storage from outside. get vehicle OPEN DOOR, remove door- CAN access to seats-storage from outside. logs.zip
    • Thank you so much for your help. I think it's because I placed the fishing net too far out that I couldn't retrieve it. I followed your method, built a floor tile on the shore, and was able to retrieve the fishing net (unfortunately with no catch, but of course...) AND the floor tile and nail that I used to build that tile. Thank you once again for the work-around.  
    • I also had this happen in my current save while hitting a zombie inside a house.  Window was about 4 tiles away I think.  Couldn't recreate so didn't report.
×
×
  • Create New...