-- ui/game-ending-return.lua

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

CreateComp ("Label", "bg");
SetProperty ("position", -23, 1);
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", 141, 360);
SetProperty ("label.bitmap", "ui/gfx/pergament-story.png");

CreateComp ("Label", "label1t");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("parent", "note");
SetProperty ("position", 255, 18);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "480");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "I place the Relic on the altar and it starts to glow faintly. I can see human figures appearing around me. One of them bows before me and giggles. I feel like I've done them a great favor. I leave the temple feeling great!");

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

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

CreateComp ("Label", "untitled");
SetProperty ("inherit", "BigLabel");
SetProperty ("position", 254, 18);
SetProperty ("label.text", "I return the Relic");

