-- ui/survival-mode.lua

UIEvents ("ui/survival-mode-Events.lua");

CreateComp ("Label", "bg");
SetProperty ("label.bitmap", "MENU_BACKGROUND");

CreateComp ("Emitter", "untitled");
SetProperty ("position", 23, 496);
SetProperty ("emitter.fx", "fxs/fog.lua");

CreateComp ("Label", "fader");
SetProperty ("inherit", "FaderLabel2");

CreateComp ("Label", "panel");
SetProperty ("position", 33, 8);
SetProperty ("label.bitmap", "ui/gfx/panel-huge.png");

CreateComp ("Label", "dummy");
SetProperty ("parent", "panel");
SetProperty ("position", 47, 10);

CreateComp ("Label", "bubble");
SetProperty ("position", 161, 124);
SetProperty ("label.bitmap", "ui/gfx/shamantalk.png");

CreateComp ("Label", "empty1");
SetProperty ("parent", "dummy");
SetProperty ("position", 545, 230);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty2");
SetProperty ("parent", "dummy");
SetProperty ("position", 324, 355);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty3");
SetProperty ("parent", "dummy");
SetProperty ("position", 435, 355);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty4");
SetProperty ("parent", "dummy");
SetProperty ("position", 102, 354);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty5");
SetProperty ("parent", "dummy");
SetProperty ("position", 214, 354);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty6");
SetProperty ("parent", "dummy");
SetProperty ("position", 543, 356);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty7");
SetProperty ("parent", "dummy");
SetProperty ("position", -7, 354);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "empty8");
SetProperty ("parent", "dummy");
SetProperty ("position", -6, 227);
SetProperty ("label.bitmap", "board/talisman-unknown.png");

CreateComp ("Label", "title");
SetProperty ("parent", "panel");
SetProperty ("position", 369, 25);
SetProperty ("align", "HCENTER");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.font", "fonts/big.mft");
SetProperty ("label.text", "Survival");

CreateComp ("Label", "bg_talisman");
SetProperty ("position", 87, 108);
SetProperty ("label.bitmap", "talisman/t1-complete.png");

CreateComp ("Label", "name");
SetProperty ("inherit", "BigLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "bubble");
SetProperty ("position", 276, 11);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Talisman of Power");

CreateComp ("Button", "Slot1");
SetProperty ("inherit", "AmuletButton2");
SetProperty ("parent", "dummy");
SetProperty ("position", 776, 25);
SetProperty ("button.bm_icon", "board/piece-jadebomb.png");

CreateComp ("Button", "Slot2");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("parent", "dummy");
SetProperty ("position", 774, 147);
SetProperty ("button.bm_icon", "!NONE");

CreateComp ("Button", "Slot3");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("parent", "dummy");
SetProperty ("position", 779, 262);
SetProperty ("button.bm_icon", "!NONE");

CreateComp ("Button", "Ok");
SetProperty ("parent", "panel");
SetProperty ("position", 107, 521);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "Back");

CreateComp ("Button", "Amulet_Hammer");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("parent", "dummy");
SetProperty ("position", -6, 227);
SetProperty ("button.bm_icon", "board/piece-hammer.png");

CreateComp ("Button", "Amulet_JadeBomb");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("active", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", -7, 355);
SetProperty ("button.bm_icon", "board/piece-jadebomb.png");

CreateComp ("Button", "Amulet_Karma");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 543, 229);
SetProperty ("button.bm_icon", "board/piece-jokerspawn.png");

CreateComp ("Button", "Amulet_Humble");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 544, 356);
SetProperty ("button.bm_icon", "board/piece-humble.png");

CreateComp ("Button", "Amulet_Short");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("parent", "dummy");
SetProperty ("position", -299, 60);
SetProperty ("button.bm_icon", "board/piece-short.png");

CreateComp ("Button", "Amulet_Time");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 434, 356);
SetProperty ("button.bm_icon", "board/piece-hourglass.png");

CreateComp ("Button", "Amulet_Shaman");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 213, 354);
SetProperty ("button.bm_icon", "board/piece-shamanpilar.png");

CreateComp ("Button", "Amulet_FallingStar");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 324, 355);
SetProperty ("button.bm_icon", "board/piece-fallingstar.png");

CreateComp ("Button", "Amulet_Extinction");
SetProperty ("inherit", "AmuletButton1");
SetProperty ("visible", 0);
SetProperty ("parent", "dummy");
SetProperty ("position", 102, 354);
SetProperty ("button.bm_icon", "board/piece-extinction.png");

CreateComp ("Label", "desc");
SetProperty ("inherit", "SmallDarkLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "bubble");
SetProperty ("position", 285, 52);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "398");
SetProperty ("label.text", "Connect 4+ to explode tiles.");

CreateComp ("Label", "subtitle");
SetProperty ("parent", "panel");
SetProperty ("position", 371, 69);
SetProperty ("align", "HCENTER");
SetProperty ("label.textbox_width", "364");
SetProperty ("label.textbox_align", "HCENTER");
SetProperty ("label.text", "Use discovered Talismans to survive as long as possible.");

CreateComp ("Button", "Play");
SetProperty ("parent", "panel");
SetProperty ("position", 624, 520);
SetProperty ("align", "CENTER");
SetProperty ("button.text", "Play");

CreateComp ("Label", "complete");
SetProperty ("inherit", "SmallLabel");
SetProperty ("parent", "panel");
SetProperty ("position", 357, 517);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "Completed: 0%");

CreateComp ("Label", "big_talisman_bm");
SetProperty ("parent", "bg_talisman");
SetProperty ("position", 30, 40);
SetProperty ("label.bitmap", "board/piece-jadebomb-big.png");

CreateComp ("Label", "star_pos");
SetProperty ("parent", "panel");
SetProperty ("position", 188, 319);

CreateComp ("Label", "Hammer_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 97, 336);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "JadeBomb_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 92, 464);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "Extinction_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 204, 465);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "Shaman_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 313, 464);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "FallingStar_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 427, 465);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "Time_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 538, 462);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "Humble_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 647, 459);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

CreateComp ("Label", "Karma_Progress");
SetProperty ("inherit", "SmallLabel");
SetProperty ("localize", 0);
SetProperty ("parent", "panel");
SetProperty ("position", 647, 336);
SetProperty ("align", "HCENTER");
SetProperty ("label.text", "0%");

