ImpulsiveLad / BetterTotalScrap

Quick little LC mod to make the end game screen show the scrap collected out of the REAL total scrap in the level
MIT License
0 stars 0 forks source link

earth leviathan / forest keepers #1

Open sangca2002 opened 8 months ago

sangca2002 commented 8 months ago

when those two monsters kill a person with scrap, the scrap gets removed from the game, resulting in them not being calculated.

ImpulsiveLad commented 8 months ago

Yeah there really is no way to count something that doesn't exist anymore, only objects that currently exist in the scene can be referenced in code. Once it is destroyed it won't be tracked as existing, the count is taken when the level is pulled. same issue I had with the apparatus in 1.0.0 as it was not a thing anymore when the scrap used to be counted

sangca2002 commented 8 months ago

can't you fix it by registering the scrap when a player gets killed? It can be taken for account later when the calculation takes place... i have ocd too and i cant take vow having 150 worth scrap in total