1
Fork 0
mirror of https://github.com/Steffo99/lihzahrd.git synced 2024-11-22 08:04:24 +00:00
lihzahrd/lihzahrd/tileentities/mannequin.py

13 lines
517 B
Python

from typing import *
from ..items.itemstack import ItemStack
from .clothingdisplay import ClothingDisplay
class Mannequin(ClothingDisplay):
"""A `Mannequin <https://terraria.gamepedia.com/Mannequin>`_
/ `Womannequin <https://terraria.gamepedia.com/Womannequin>`_ containing up to 3 dyed armor pieces and up
to 5 dyed accessories."""
def __init__(self, items: List[ItemStack], dyes: List[ItemStack]):
super().__init__(items, dyes)
assert len(items) == 8
assert len(dyes) == 8