Skip to content

Replace hard-coded MUD School area update rules #182

@Synival

Description

@Synival

(After #181)

We should replace the special logic used for refreshing the MUD School with specific area update parameters. In the JSON file, the rules should be:

"always_reset_age": 3,
"active_reset_age": 3

When loading areas, the MUD School should be detected, and the following values should be set:

if (some_check_for_mud_school (new_area)) {
    new_area->always_reset_age = 3;
    new_area->active_reset_age = 3;
}

(This is so we can keep the vanilla MUD School .are file while making the area update logic nice and consistent :D)

Metadata

Metadata

Assignees

No one assigned

    Labels

    rewriteThe existing behavior or code is dumb. It should be rewritten while producing the same result.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions