0 of 0

File information

Last updated

Original upload

Created by

UnDenya

Uploaded by

undenya

Virus scan

Safe to use

Tags for this mod

16 comments

  1. Pusher84
    Pusher84
    • member
    • 0 kudos
    When i go to add it it says "this file is probably not set up correctly" The file is saved as a rar file but even after changing it to a .7z file the prompt still comes up
    1. landfighter777
      landfighter777
      • member
      • 0 kudos
      If you haven't figured out how to set it up, just move the gamedata folder up to where the readme file is and it should work with being installed in MO2 if you use it.

      That's what I did and got it working.
    2. deruebleheinz
      deruebleheinz
      • supporter
      • 1 kudos
      Under the content section right-click on "Campfire Regens for Grok Body Health System" and click "set as anomaly directory", it should turn green and you are good to go.
  2. zweiDude
    zweiDude
    • supporter
    • 18 kudos
    Hi. Regen doesn't work on parts that have been temporarily healed with medical items, here's how I fixed it by editing regen_body_part in cozy_campfire_mcm.script file.

    function apply_body_part_regen(part, amount)
    local max_hp = zzz_player_injuries.maxhp[part]
    local new_hp = zzz_player_injuries.health[part] + amount
    local new_temp_hp = zzz_player_injuries.timedhp[part] - amount

    new_temp_hp = new_temp_hp > 0 and new_temp_hp or 0
    new_hp = new_hp < max_hp and new_hp or max_hp

    if zzz_player_injuries.timedhp[part] ~= new_temp_hp then
    zzz_player_injuries.timedhp[part] = new_temp_hp
    utils_obj.save_var(db.actor,"timedhp." .. part,zzz_player_injuries.timedhp[part])
    end

    if zzz_player_injuries.health[part] ~= new_hp then
    zzz_player_injuries.health[part] = new_hp
    utils_obj.save_var(db.actor,"health." .. part,zzz_player_injuries.health[part])
    end
    end

    function regen_body_part(amount)
    for key, value in pairs(zzz_player_injuries.health) do
    apply_body_part_regen(key, amount)
    end
    end
    
    1. HTHDIK
      HTHDIK
      • member
      • 0 kudos
      hi , should i just input those value or is there a certain data i have to replace / remove ?  
    2. zweiDude
      zweiDude
      • supporter
      • 18 kudos
      remove original regen_body_part function paste code from the post above.
    3. yesokok98767890
      yesokok98767890
      • member
      • 0 kudos
      I replaced the part that says regen_body_part and pasted it there but it didn't work 
    4. Boge42
      Boge42
      • supporter
      • 1 kudos
      Can you be more specific about exactly what you changed?  Perhaps post the entire text from your script file?
  3. envaris
    envaris
    • member
    • 0 kudos
    This works with cozy campfires?
  4. armaduke
    armaduke
    • member
    • 0 kudos
    Installed and worked just fine with gamma. Thanks for this
  5. RottenShadow
    RottenShadow
    • member
    • 21 kudos
    For anyone experiencing crashes with line 96

    You have to open zzz_player_injuries.script from BHS and remove the local keywork from those.

    1- maxhp
    2- health


    it should look like this after you change it.


    maxhp={}
    maxhp.head=11
    maxhp.torso=11
    maxhp.leftarm=5
    maxhp.rightarm=5
    maxhp.leftleg=5
    maxhp.rightleg=5

     health={}
    health.head=maxhp.head
    health.torso=maxhp.torso
    health.leftarm=maxhp.leftarm
    health.rightarm=maxhp.rightarm
    health.leftleg=maxhp.leftleg
    health.rightleg=maxhp.rightleg


    NOTE: if this script is overwritten make sure to do these steps the HIGHEST PRIORITY MOD
    FOR EFP Users
    : Edit the script in [HarukaSai] Dynamic Icon Indicators - Body Health System Patch and it should work fine.
    1. Eveerrss
      Eveerrss
      • premium
      • 0 kudos
      Well this fix didn't get me anywhere, though it was entertaining trying something different, reloading, throwing myself at the nearest campfire, crashing, repeat.
    2. RottenShadow
      RottenShadow
      • member
      • 21 kudos
      Ummm weird, make sure zzz_player_injuries.script isn't overwritten by another mod
  6. UlmanBegovic
    UlmanBegovic
    • member
    • 2 kudos
    hey banderite, just wanted to thank you for such good mod)
  7. trdonja00
    trdonja00
    • member
    • 0 kudos
    Hi, would it be posible to add an option under the "Enable grok's body system" that would heal body parts only as post heal? So that a player would still need to use any first heal item to start the post heal process.
  8. Sosombo
    Sosombo
    • member
    • 0 kudos
    Файно то є