ClassLayout
src.layouts.ClassLayout
Bases: NormalLayout
Class card layout, introduced in Adventures in the Forgotten Realms.
Source code in src\layouts.py
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
|
Attributes
card_class: str = LayoutType.Class
- Class Properties
Functions
class_description() -> str
Description at the top of the Class card.
Source code in src\layouts.py
1167 1168 1169 1170 |
|
class_lines() -> list[dict]
Unpack class text into list of dictionaries containing ability levels, cost, and text.
Source code in src\layouts.py
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
|
class_text() -> str
Text comprised of class ability lines.
Source code in src\layouts.py
1162 1163 1164 1165 |
|