Recording statistics on raider deaths?

Started by RemingtonRyder, August 19, 2016, 09:20:55 PM

Previous topic - Next topic

RemingtonRyder

Someone suggested an immersion mod over on Steam discussion board and I need a little bit of guidance if I want to tackle it.

The basic premise is this - when raiders send a raid and it fails, the number of raiders that died can decrease the chance for that faction to be chosen when the storyteller decides it's raid time. That makes sense, right? They want to recruit some more drifters and train them up before they send in another squad, or something.

I've had a look and I can see where the faction list is checked, and I'd probably have no problem detouring to a modded version of that. What I'd need to do first is set up some recording of stats on number of raider deaths, assuming that isn't already done somewhere. Also assuming it can be done with an economical amount of detouring, which when I look at doing something, is usually 'Nope.'

RawCode

If you want to record pawn deaths - hook "die" method.

If you want to incedent generator - make custom storyteller.