-- ui/game-ending-keep.lua

UIEvents ("ui/game-ending-Events.lua");

CreateComp ("Label", "bg");
SetProperty ("position", -99, 3);
SetProperty ("label.bitmap", "ui/gfx/storybook-bg.jpg");

CreateComp ("Label", "frames");

CreateComp ("Label", "top");
SetProperty ("parent", "frames");
SetProperty ("label.bitmap", "ui/gfx/screenborder-top.png");

CreateComp ("Label", "left");
SetProperty ("parent", "frames");
SetProperty ("label.bitmap", "ui/gfx/screenborder-left.png");

CreateComp ("Label", "right");
SetProperty ("parent", "frames");
SetProperty ("position", 768, 0);
SetProperty ("label.bitmap", "ui/gfx/screenborder-right.png");

CreateComp ("Label", "bottom");
SetProperty ("parent", "frames");
SetProperty ("position", 0, 566);
SetProperty ("label.bitmap", "ui/gfx/screenborder-bottom.png");

CreateComp ("Label", "note");
SetProperty ("position", 137, 361);
SetProperty ("label.bitmap", "ui/gfx/pergament-story.png");

CreateComp ("Label", "label1t");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "note");
SetProperty ("position", 258, 17);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "458");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "The haunting visions have disappeared. Since my mind became clear, I decided to keep the Relic. Maybe I will use my immortality for something good. The trip was a success, even though the end result was unexpected.");

CreateComp ("Button", "Ok");
SetProperty ("position", 387, 520);
SetProperty ("align", "HCENTER");
SetProperty ("button.text", "The End");

CreateComp ("Label", "untitled");
SetProperty ("position", 58, 66);
SetProperty ("label.bitmap", "story/storycard-11-sundial.png");

CreateComp ("Label", "untitled");
SetProperty ("position", 371, 64);
SetProperty ("label.bitmap", "story/storycard-3-mountaintemple.png");

CreateComp ("Label", "untitled");
SetProperty ("inherit", "BigLabel");
SetProperty ("position", 279, 17);
SetProperty ("label.text", "I keep the Relic");

