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

Configuration #2

Open
nightpool opened this issue Jul 22, 2011 · 1 comment
Open

Configuration #2

nightpool opened this issue Jul 22, 2011 · 1 comment
Assignees

Comments

@nightpool
Copy link
Contributor

More of a feature, but I can't seem to get at the tagging system atm.

Feature request: add the ability to change configuration options on a per-world basis. This would be accomplished by creating multiple yml files, like NotchFace.yml of Test.yml. Then, when you create a world, first it searches if there is a yml file by the name in the id, and if not, falls back on default options and the hmap defined by the id. The config file would look a little something like this:

items:
    torches: yes      # Should we spawn torches?
    torchFactor: 20   # Prob. of spawning torches
image: hmap           # where hmap.jpg is a heightmap
                      # in the BananaImageToMap folder, where this config file resides

Of course, this is just sample code I made off the top of my head, but do you get the idea?

@codename-B
Copy link
Owner

Hmm yeah, I'm just always loathe to add configuration as it leaves room for people to make mistakes :P

@ghost ghost assigned codename-B Jul 23, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants