评分
讨论
16在内容部分右键单击“Campfire Regens for Grok Body Health System”,然后点击“设为异常目录”,它应该会变成绿色,然后你就可以正常使用了。
2025-02-09
你能更具体地说说你究竟修改了什么吗?也许可以把脚本文件中的全部内容发布出来?
2025-01-31
我替换掉了原来的 `regen_body_part` 部分并粘贴了新的内容,但没有效果。
2024-09-23
移除原有的 `regen_body_part` 函数,粘贴上方帖子中的代码。
2024-02-24
你好,我应该直接输入这些值吗?还是有某些数据需要替换或删除?
2024-02-22
嗨。再生功能对暂时被医疗物品治愈的部分无效,这是我在编辑 `cozy_campfire_mcm.script` 文件中的 `regen_body_part` 函数后修复的方法: ```lua 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 ```
2024-02-16
如果你还没弄清楚如何设置,只需将 `gamedata` 文件夹移动到与 readme 文件相同的目录下,如果你使用 MO2,这样安装应该就能正常工作。这就是我所做的,并成功使其运行。
2023-12-26
当我尝试添加时,提示“此文件可能未正确设置”。该文件以RAR格式保存,但即使将其更改为.7z文件后,提示仍然出现。
2023-12-18
这与温馨篝火(cozy campfires)兼容吗?
2023-11-30
安装和运行都正常,与gamma兼容。感谢您的贡献。
2023-10-28