var/tmp/list/old_card_version = list("/card/monster/LOB/blue_eyes_white_dragon")
datum/Read(savefile/F)
for(var/A in old_card_version)
if(A == F[A])
F[A] << null
src << "A card was deleted from the old savefile"
..()
Problem description:
So I know your proberbly tired of me of asking this question all the time. But this time I beleive I am onto something. All I want the code to do is before the default Read() occur is to delete anything that matches in the old_card_version list. How would I do that? I have an example that doesn't work above, am I close or am I failing so hard?
In that case you'd have to navigate the savefile directories using savefile.dir and savefile.cd, then you can use savefile.dir.Remove(data) to cut the data.
If you need to know the format of your save so you can properly navigate it code-wise, you can run ExportText() on it (see the reference) to get a plain-text output.