View Revisions: Issue #2687

Summary 0002687: Pizza pamphlet not in Erik's mailbox item list but code exists to display it
Revision 2020-04-19 12:28 by Casiope
Description Probably because of an accidental copy-paste, the code to display Tony's Pizza flyer from Erik's mailbox is in the game; but this item is not supposed to appear in Erik's mailbox.
So either the list is incomplet, or some code lines have to be removed:

Line to check:
"erik": MailBoxManager("erik", ["m_dad_letter", "m_magazine", "m_newspaper"]),

Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        call expression game.dialog_select("mailbox_pizza_pamphlet")


Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        imagebutton:
            focus_mask True
            pos(240,480)
            idle game.timer.image("objects/object_mailbox_item02{}.png")
            hover HoverImage(game.timer.image("objects/object_mailbox_item02{}.png"))
            action HideAll(), Jump("eriks_mailbox_item")
Revision 2020-04-19 12:27 by Casiope
Description Probably because of an accidental copy-paste, the code to display Tony's Pizza flyer from Erik's mailbox is in the game; but this item is not supposed to appear in Erik's mailbox.
So either the list is incomplet, or some code lines are to be removed:

Line to check:
"erik": MailBoxManager("erik", ["m_dad_letter", "m_magazine", "m_newspaper"]),

Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        call expression game.dialog_select("mailbox_pizza_pamphlet")


Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        imagebutton:
            focus_mask True
            pos(240,480)
            idle game.timer.image("objects/object_mailbox_item02{}.png")
            hover HoverImage(game.timer.image("objects/object_mailbox_item02{}.png"))
            action HideAll(), Jump("eriks_mailbox_item")
Revision 2020-04-19 12:25 by Casiope
Description Probably because of an accidental copy-paste, the code to display Tony's Pizza flyer from Erik's mailbox is in the game; but this item is not supposed to appear in Erik's mailbox.
So either the list is incomplet, or some code lines are to be removed:

{b}Line to check:{/b}
{i}"erik": MailBoxManager("erik", ["m_dad_letter", "m_magazine", "m_newspaper"]),{/i}

{b}Lines to check:{/b}
{i}elif game.mail["erik"] == "m_pizza_pamphlet":
        call expression game.dialog_select("mailbox_pizza_pamphlet"){/i}

{b}Lines to check:{/b}
{i}elif game.mail["erik"] == "m_pizza_pamphlet":
        imagebutton:
            focus_mask True
            pos(240,480)
            idle game.timer.image("objects/object_mailbox_item02{}.png")
            hover HoverImage(game.timer.image("objects/object_mailbox_item02{}.png"))
            action HideAll(), Jump("eriks_mailbox_item"){/i}
Revision 2020-04-19 12:21 by Casiope
Description Probably because of an accidental copy-paste, the code to display Tony's Pizza flyer from Erik's mailbox is in the game; but this item is not supposed to appear in Erik's mailbox.
So either the list is incomplet, or some code lines are to be removed:

Line to check:
<code>"erik": MailBoxManager("erik", ["m_dad_letter", "m_magazine", "m_newspaper"]),</code>

Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        call expression game.dialog_select("mailbox_pizza_pamphlet")

Lines to check:
elif game.mail["erik"] == "m_pizza_pamphlet":
        imagebutton:
            focus_mask True
            pos(240,480)
            idle game.timer.image("objects/object_mailbox_item02{}.png")
            hover HoverImage(game.timer.image("objects/object_mailbox_item02{}.png"))
            action HideAll(), Jump("eriks_mailbox_item")