Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formulas in [exit] can lead to extreme WML-bloat of savefiles #40

Open
GoogleCodeExporter opened this issue Jul 19, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

formulas can be used effectively in exits, but instead of the formula logic
being carried over into the save file, it is expanded into a separate exit
per hex.

less extreme example:
[exit]
formula="x = 70 or y = 70"
xdst="xyz"
ydst="xyz"
[/exit]
This will fill up the x=70 and y=70 rows with exits, which on a 100 x 100
map is 1000 lines of WML code.

much, much more extreme example (and this is what I've done intuitively,
first):
[exit]
formula="x > 70 or y > 70"
xdst="xyz"
ydst="xyz"
[/exit]
This leads to 5100 lines of WML code if exits are not duplicated (which
they might be?)

It would be much more preferable to keep the formula logic in the save file.

Original issue reported on code.google.com by [email protected] on 19 Oct 2007 at 12:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant