Enforce order also on multiple room descs
This commit is contained in:
parent
2ac1f88ad9
commit
18569482f1
3 changed files with 6 additions and 6 deletions
|
|
@ -345,7 +345,7 @@ class ExtendedRoom(DefaultRoom):
|
|||
**{None: self.db.desc or ""},
|
||||
**{
|
||||
attr.key[5:]: attr.value
|
||||
for attr in self.db_attributes.filter(db_key__startswith="desc_")
|
||||
for attr in self.db_attributes.filter(db_key__startswith="desc_").order_by("db_key")
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -219,12 +219,12 @@ Base room description.
|
|||
f"""
|
||||
Room Room(#{self.room1.id}) Season: autumn. Time: afternoon. States: None
|
||||
|
||||
Room state spring:
|
||||
Spring description.
|
||||
|
||||
Room state burning:
|
||||
Burning description.
|
||||
|
||||
Room state spring:
|
||||
Spring description.
|
||||
|
||||
Room state (default) (active):
|
||||
Base room description.
|
||||
""".strip(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue