Move triggers from slaves to arrays
My goal beyond this MR is to move some some very rarely needed slave properties into global arrays. Some of these properties are documented and some not. They are:
birth
induce
burst
death
They are almost never needed, and I won't have to loop over the entire slave array in place like the birth scene to find the slaves that are flagged.
This MR moves toward that goal by using functions as middlemen, to make the future switch more painless.
If there are any more like this, please let me know.
Merge request reports
Activity
Burst, too, technically.
A few ways I can see to handle it.
- Diverge the structure of the PC object.
- Pass PC ID as -1 to the new arrays.
- Make a new global bool just for the PC's induce state, and one for pc burst.
Edited by lowercasedonkeySorry, I'll edit. And I think the first is the worst probably, since we're trying to keep the structures close long term.
edit: I see PC.labor and PC.burst but not actually PC.induce. And it doesn't seem to have any overlap at all with slave loops. May just be easiest to go from
PC.labor
toPClabor
if that's ok.Edited by lowercasedonkeyBasic tests run? The immediate birth startingGirl options should be ideal.
Looking at the file change list though, I'm not seeing it on there. Is that a problem?
Edited by PregmodderHmm, would it be in startingGirls.tw? I can't find either. Maybe they are just very, very pregnant?
Edited by lowercasedonkey
mentioned in commit 424c1240
mentioned in merge request !8041 (merged)