Пример #1
0
def register_gold_nugget():
    register_passive_item(
        item_type=ItemType.GOLD_NUGGET,
        ui_icon_sprite=UiIconSprite.ITEM_GOLD_NUGGET,
        sprite=Sprite.ITEM_GOLD_NUGGET,
        image_file_path="resources/graphics/item_gold_nugget.png",
        name="Gold nugget",
        description_lines=["It looks expensive..."])
Пример #2
0
def register_saphire():
    register_passive_item(
        item_type=ItemType.SAPHIRE,
        ui_icon_sprite=UiIconSprite.ITEM_SAPHIRE,
        sprite=Sprite.ITEM_SAPHIRE,
        image_file_path="resources/graphics/item_saphire.png",
        name="Saphire",
        description_lines=["It looks expensive..."])
Пример #3
0
def register_frog_item():
    register_passive_item(
        item_type=ItemType.FROG,
        ui_icon_sprite=UiIconSprite.ITEM_FROG,
        sprite=Sprite.ITEM_FROG,
        image_file_path="resources/graphics/item_frog.png",
        name="Frog",
        description_lines=["Who could this belong to?"]
    )
Пример #4
0
def register_torn_document_item():
    register_passive_item(
        item_type=ItemType.TORN_DOCUMENT,
        ui_icon_sprite=UiIconSprite.ITEM_TORN_DOCUMENT,
        sprite=Sprite.ITEM_TORN_DOCUMENT,
        image_file_path="resources/graphics/item_torn_document.png",
        name="Torn document",
        description_lines=[
            "This piece of paper is torn and crumpled, and its text seems to be written in an arcane language.",
            "[Bring it to someone who can make sense of it]"
        ])