Telescope Reset

mredge73

Member
How do you reset the properties for the telescope?

what is this?
lastTelescopeReset=10

upon ascension I want to know how to have mafia reset these, when going from HC to BM the telescope is removed but the properties will remain like so (for example):

telescope1=a hedgehog
telescope2=see a large cowboy hat
telescope3
telescope4
telescope5
telescope6
telescope7
telescopeLookedHigh=false
telescopeUpgrades=2

I would expect when going from HC to BM the properties would reset to default:

telescope1
telescope2
telescope3
telescope4
telescope5
telescope6
telescope7
telescopeLookedHigh
telescopeUpgrades

this is not the case so I would like to know if there is a way to do this through ash without messing anything up.
 

jasonharper

Developer
All of the built-in prefs with names ending in "Reset" hold the ascension number for which the related prefs have valid data. None of the telescope prefs get touched at all in Bad Moon, so the fact that lastTelescopeReset doesn't match your ascension count indicates that the rest are invalid.

Unfortunately, there wasn't any way to easily get your ascension count from ASH. r7427 adds my_ascensions() for this purpose.
 
Top