Skip to content

TransformTemplate

src.templates.transform.TransformTemplate

Bases: TransformMod, NormalTemplate

Template for double faced Transform cards introduced in Innistrad block.

Source code in src\templates\transform.py
225
226
227
228
229
230
231
232
233
class TransformTemplate (TransformMod, NormalTemplate):
    """Template for double faced Transform cards introduced in Innistrad block."""

    @auto_prop_cached
    def pinlines_layer(self) -> Optional[ArtLayer]:
        """Does not support colored land layers."""
        if self.is_land and self.pinlines != LAYERS.LAND:
            return psd.getLayer(self.pinlines, LAYERS.PINLINES_TEXTBOX)
        return super().pinlines_layer

Functions

pinlines_layer() -> Optional[ArtLayer]

Does not support colored land layers.

Source code in src\templates\transform.py
228
229
230
231
232
233
@auto_prop_cached
def pinlines_layer(self) -> Optional[ArtLayer]:
    """Does not support colored land layers."""
    if self.is_land and self.pinlines != LAYERS.LAND:
        return psd.getLayer(self.pinlines, LAYERS.PINLINES_TEXTBOX)
    return super().pinlines_layer