Skip to content

Game rules in the worlds file #45

@davidmayr

Description

@davidmayr

Is your feature request related to a problem? Please describe.
Game rules are not stored in Slime Worlds, and I think that's great - in many cases these will be wasted storage anyway. I always used to have slime worlds for mini-game maps only, and these were loaded by the game itself and had the default game rules applied by the game.

But then I wanted to expand the usage of slime worlds to lobbies, waiting lobbies etc. and I encountered the reason why I'm creating this issue: There is no way of configuring default game rules - like setting random tick speed to zero, which is quite important for the type of maps I have.

Describe the solution you'd like
I think that users should be able to define game rules in the worlds.yml that get applied every time the world gets loaded. This doesn't result in extra wasted data in slime worlds, and I think it should be fairly easy to implement and would be (depending on the implementation) a completely optional feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions