CompanionMod
src.templates._cosmetic.CompanionMod
Bases: BaseTemplate
Modifier for 'Companion' supported templates.
Modifies
- 'is_hollow_crown': Enabled for Companion cards
Adds
- 'companion_layer': Defines the Companion texture layer if card is Companion
- 'enable_companion_layers': Called when card is a Companion
Source code in src\templates\_cosmetic.py
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
|
Functions
companion_layer() -> Optional[ArtLayer]
Companion inner crown layer.
Source code in src\templates\_cosmetic.py
179 180 181 182 |
|
enable_companion_layers() -> None
Enable Hollow Crown companion texture.
Source code in src\templates\_cosmetic.py
188 189 190 191 |
|
frame_layer_methods() -> list[Callable]
Add companion layers step.
Source code in src\templates\_cosmetic.py
158 159 160 161 162 |
|
is_hollow_crown() -> bool
Enable hollow crown for Companion cards.
Source code in src\templates\_cosmetic.py
168 169 170 171 172 173 |
|