OK, after reading this, I am thoroughly confused. I was under the impression that when you save something via set_property, it would save it as a string, even when it should be something else. That's why I set up a string to int conversion. The glyph checker would come up with the number of glyphs that you have, and would set a property. Sewer.ash would get that property, convert it to an int, and then use it as a regular variable. I wasn't going to bother setting a property, and just use a variable by combining the scripts... but do people want to have to check for glyphs every time they adventure in the sewers? It seemed like a wasted server hit that could be avoided.
That all being said, I have a few questions:
Was I right in thinking that when a property gets set with set_property, it saves it as a string?
If so, does mafia automatically turn it back into an int?
If mafia doesn't handle it automatically, does the code I wrote (with to_int) do the conversion?
If it works, but to_int is obscure, why is it obscure?