From 3e6ea6a8bf86d4c060b36ea1e8f4e888f375eac7 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 4 Dec 2023 15:26:01 +0100 Subject: [PATCH] Fix preposition for seasonal names in extended room prefix --- evennia/contrib/grid/extended_room/extended_room.py | 2 +- evennia/web/templates/website/_menu.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/contrib/grid/extended_room/extended_room.py b/evennia/contrib/grid/extended_room/extended_room.py index f222ec08ed..2a8516e291 100644 --- a/evennia/contrib/grid/extended_room/extended_room.py +++ b/evennia/contrib/grid/extended_room/extended_room.py @@ -974,7 +974,7 @@ class CmdExtendedRoomGameTime(default_cmds.MuxCommand): season = location.get_season() timeslot = location.get_time_of_day() - prep = "a" if season == "autumn" else "an" + prep = "an" if season == "autumn" else "a" self.caller.msg(f"It's {prep} {season} day, in the {timeslot}.") diff --git a/evennia/web/templates/website/_menu.html b/evennia/web/templates/website/_menu.html index 72fe89de02..6bd1e0f704 100644 --- a/evennia/web/templates/website/_menu.html +++ b/evennia/web/templates/website/_menu.html @@ -1,6 +1,6 @@ {% comment %} Allow to customize the menu that appears at the top of every Evennia -webpage. Copy this file to your game dir's web/template_overrides/website +webpage. Copy this file to your game dir's web/website folder and edit it to add/remove links to the menu. {% endcomment %} {% load static %}