Topic on Talk:Injury

Jump to navigation Jump to search
PapaToph (talkcontribs)

Can anyone post the source of the pawn recovery stats referenced here, i.e. default 8, +4 in sleeping spot, etc.? Trying to mod pawn heal rates and cannot find source code controlling this.

Jimyoda (talkcontribs)

You might try asking the editor who added that info... FixSomeBugs' Talk page and/or ask in Mods > Help on the official forum.

Harakoni (talkcontribs)

Unfortunately FixSomeBugs has not been active since May, you should try but they're unlikely to get back to you. Asking for help on the Official Forum is a good idea also. In the mean time, a quick investigation of the defs indicates that beds have a <bed_healPerDay> defined as 4 for bedrolls and beds, and 10 for hospital beds, and not defined (presumably defaults to 0) for sleeping spots. Assuming what FSB added is correct, its likely the other +4 comes from just sleeping/resting. If you have the source code decompiled, I'd start looking for references to that.

Reply to "Data Source"