From d6de25f4ca774ec30d2b43bf8311b817b3e90013 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 27 Jun 2024 17:09:45 +0200 Subject: [PATCH] Include multimatch template instructions in rpsystem installation instructions. Resolve #3551 --- evennia/contrib/rpg/rpsystem/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/evennia/contrib/rpg/rpsystem/README.md b/evennia/contrib/rpg/rpsystem/README.md index 8fa3df8f18..0df7407863 100644 --- a/evennia/contrib/rpg/rpsystem/README.md +++ b/evennia/contrib/rpg/rpsystem/README.md @@ -73,8 +73,14 @@ class Room(ContribRPRoom): # ... ``` +You need to set up Evennia to use the RPsystem's form to separate +between sdescs (`3-tall`) to make it compatible with how the rest of Evennia +separates between other multi-matches of searches/commands: -You will then need to reload the server and potentially force-reload + SEARCH_MULTIMATCH_REGEX = r"(?P[0-9]+)-(?P[^-]*)(?P.*)" + SEARCH_MULTIMATCH_TEMPLATE = " {number}-{name}{aliases}{info}\n" + +Finally, you will then need to reload the server and potentially force-reload your objects, if you originally created them without this. Example for your character: