Jump to content

projecttemp

Member
  • Posts

    5
  • Joined

  • Last visited

projecttemp's Achievements

  1. I haven't test this yet, but from what it looks like you have not implemented metazones for this map. This might cause problem with trapping o.o
  2. Also the water code does not work and the problem lies in this line for _, plant in ipairs(planting[id]) do print(">>I AM IN PART A-4"); plant.waterLvl = plant.waterLvl + 1; if plant.waterLvl > 100 then plant.waterLvl = 100; end plant.lastWaterHour = basicFarming.hoursElapsed; print(">>Last water timed = " .. plant.lastWaterHour); -- for debug, plant grow every 2 hours -- if plant.nbOfGrow <= 7 then -- growPlant(plant, basicFarming.playerData["planting:" .. plant.id .. ":nextGrowing"], false); -- end if fertilizer and plant.state ~= "plow" and plant:isAlive() then if plant.fertilizer < 4 then plant.fertilizer = plant.fertilizer + 1; plant.nextGrowing = plant.nextGrowing - 20; if plant.nextGrowing < 1 then plant.nextGrowing = 1; end else -- too much fertilizer and our plant die ! basicFarming.rottenThis(plant); end end basicFarming.saveData(plant) endin waterPlant function. I have no idea where that file is. It is neither in the waterPipes mod, nor in the base game: [05:29:03][blindcoder@flora:~/Zomboid/mods/waterPipes]$ grep "I AM IN PART A-4" . -R[05:29:06][ret:1][blindcoder@flora:~/Zomboid/mods/waterPipes]$[05:29:08][blindcoder@flora:~]$ cd .local/share/Steam/SteamApps/common/ProjectZomboid/[05:29:15][blindcoder@flora:~/.local/share/Steam/SteamApps/common/ProjectZomboid]$ grep "I AM IN PART A-4" . -R[05:29:21][ret:1][blindcoder@flora:~/.local/share/Steam/SteamApps/common/ProjectZomboid]$Also, the files dko112 mentioned are not part of waterPipes mod: [05:31:13][blindcoder@flora:~/Zomboid/mods/waterPipes]$ find . -name ISBuildMenu.lua[05:31:30][blindcoder@flora:~/Zomboid/mods/waterPipes]$ find . -name ISContextMenu.lua[05:31:38][blindcoder@flora:~/Zomboid/mods/waterPipes]$Sorry, that was mistake on my part. I did not know you need to place the pipe on top of the crop for it to work. At this point in time, i can confirm that this mod work as intended on version 28.3.
  3. Have you try making a new world? Also the water code does not work and the problem lies in this line for _, plant in ipairs(planting[id]) do print(">>I AM IN PART A-4"); plant.waterLvl = plant.waterLvl + 1; if plant.waterLvl > 100 then plant.waterLvl = 100; end plant.lastWaterHour = basicFarming.hoursElapsed; print(">>Last water timed = " .. plant.lastWaterHour); -- for debug, plant grow every 2 hours -- if plant.nbOfGrow <= 7 then -- growPlant(plant, basicFarming.playerData["planting:" .. plant.id .. ":nextGrowing"], false); -- end if fertilizer and plant.state ~= "plow" and plant:isAlive() then if plant.fertilizer < 4 then plant.fertilizer = plant.fertilizer + 1; plant.nextGrowing = plant.nextGrowing - 20; if plant.nextGrowing < 1 then plant.nextGrowing = 1; end else -- too much fertilizer and our plant die ! basicFarming.rottenThis(plant); end end basicFarming.saveData(plant) endin waterPlant function. It would appear that planting[] is empty for some reason Edit: Also the water is being deducted form the barrel as well, just the plant aren't being watered
  4. Ok, i figure out why it didn't work(i need a hammer ><). Now once i placed them it seems to water the plant for a short while then it get stuck and do nothing. This is how i placed it
  5. This mod does not work for me on build 28. I can enter the menu and select the hose type i want to place, but when i click on a spot to place it, nothing happen. The sprite just get stuck on that plot of land. What does work is that it will auto equip it to my secondary. Once i left click or right click somewhere else, the sprite disappeared. Then i can't do anything except to build something or sleep. (This might be a bug i have for something else since after i use sledgehammer on anything this will also happen.
×
×
  • Create New...