From 9b3ca3ef203c32589caf3e56cc19086c5c55d880 Mon Sep 17 00:00:00 2001 From: BattleJenkins Date: Sun, 23 Apr 2017 18:44:16 -0700 Subject: [PATCH] More thorough explanation of clothing types Added some further explanation of clothing types and their purpose. I felt like it wasn't clear enough that you could change the given clothing types or even elect not to use clothing types at all in your own implementation of the system. --- evennia/contrib/clothing.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/evennia/contrib/clothing.py b/evennia/contrib/clothing.py index 0608dac03a..7fc85b7c85 100644 --- a/evennia/contrib/clothing.py +++ b/evennia/contrib/clothing.py @@ -76,7 +76,14 @@ from evennia.utils import evtable # Options start here. # Maximum character length of 'wear style' strings, or None for unlimited. WEARSTYLE_MAXLENGTH = 50 -# The order in which clothing types appear on the description. Untyped clothing goes last. + +# The rest of these options have to do with clothing types. Clothing types are optional, +# but can be used to give better control over how different items of clothing behave. You +# can freely add, remove, or change clothing types to suit the needs of your game and use +# the options below to affect their behavior. + +# The order in which clothing types appear on the description. Untyped clothing or clothing +# with a type not given in this list goes last. CLOTHING_TYPE_ORDER = ['hat', 'jewelry', 'top', 'undershirt', 'gloves', 'fullbody', 'bottom', 'underpants', 'socks', 'shoes', 'accessory'] # The maximum number of each type of clothes that can be worn. Unlimited if untyped or not specified.