catsmackaroo / LibertyTweaks

A comprehensive yet highly configurable quality-of-life mod for Grand Theft Auto IV.
34 stars 3 forks source link

Add autosaves on collectibles #3

Closed SandeMC closed 7 months ago

SandeMC commented 8 months ago

Will autosave the game when killing a pigeon, seagull or doing a stunt jump if the autosaves and the option are enabled. Hopefully made sure to include enough checks to avoid unnecessary runs or making sure the savefile changed, although it's probably still full of bad practices. Feel free to comment for any changes.

Also add this to the config:

[Autosave on Collectibles]
Enable=1

Granted, a better implementation would be to hijack the game's function for increasing the stat when you collect a collectible, but I'm unable to do so.

catsmackaroo commented 7 months ago

added

SandeMC commented 7 months ago

Couldn't you merge the PR?