Does anybody know what the maximum amount of boolean variables can be for an object? I like boolean variables vs an array because I can give them meaningful names, and I’m wondering how many I can get away with within one object.
I’m trying to do something like this with my own version of topic variables:
aunt.tpcmurder = true;
In this object:
Object aunt “Mildred”
with name ‘mildred’,
has animate female proper;
At around 20 the list starts to look long, and I’ve already funneled off my conversation topics into another object. If 16,000 is the limit, which is incredible, should this work in all interpreters like Frotz and Parchment?
(The limit is 16000 property names across all objects. But it looks like you’re sharing the same set of property names across many objects, so that’s okay.)
These properties do use up Z-machine memory, which is a separate limit. However, it doesn’t look like you’re really using a lot of memory for this purpose. If you defined twenty properties on every object in the game, it might start to be a problem.