Exemple #1
0
 public void ToggleMenuPanel()
 {
     MenuPanel.SetActive(!MenuPanel.activeSelf);
     TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
     InnButton.GetComponent <Image>().sprite      = Inn_Dark;
     BankButton.GetComponent <Image>().sprite     = Bank_Dark;
     TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
     SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
     VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
     ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
     WellButton.GetComponent <Image>().sprite     = Well_Dark;
     RoadButton.GetComponent <Image>().sprite     = Road_Dark;
     BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
     TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;
     InfoText.text = "";
     storeSelected = 0;
 }
Exemple #2
0
    public void TownHallSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;

        TownHallButton.GetComponent <Image>().sprite = TownHall_Bright;

        InfoText.text = "This is Thelmore's seat of political power. The Govenor whose office is housed in this building is a representative of King Eragor himself, and member of the Kingdom's nobility.";

        storeSelected = 8;
    }
Exemple #3
0
    public void BarracksSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        BarracksButton.GetComponent <Image>().sprite = Barracks_Bright;

        InfoText.text = "Thelmore has a town guard, although it is stretched quite thin with recent events and the influx of Adventurers that has caused. Still, here is where the best fighters in town can be found, training themselves for action.";

        storeSelected = 8;
    }
Exemple #4
0
    public void RoadSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        RoadButton.GetComponent <Image>().sprite = Road_Bright;

        InfoText.text = "One of the Three main roads leaving Thelmore.";

        storeSelected = 8;
    }
Exemple #5
0
    public void WellSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        WellButton.GetComponent <Image>().sprite = Well_Bright;

        InfoText.text = "This is where the fateful well that breached the <color=red>DEADLY DARK DEEPS</color> was being dug. It is now enclosed in a wall and guarded, night and day. Officially, no one is allowed through. Unofficially, you can buy passage for a small fee to the guard on duty.";

        storeSelected = 8;
    }
Exemple #6
0
    public void ToolShopSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Bright;

        InfoText.text = "Adventurers wielding steel and magic can nevertheless be defeated a simple lack of rope. This toolshop should have whatever miscellanous supplies and tools that you need.";

        storeSelected = 7;
    }
Exemple #7
0
    public void VoncarSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        VoncarButton.GetComponent <Image>().sprite = Voncar_Bright;

        InfoText.text = "Voncar's Mysterium is an odd place, but it is the only place in Thelmore to find magical supplies and advice.";

        storeSelected = 6;
    }
Exemple #8
0
    public void BlackSmithSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        SmithButton.GetComponent <Image>().sprite = Smith_Bright;

        InfoText.text = "Not every blacksmith can work with weapons and armor, but Thelmore's blacksmith has risen to the challenge of Adventurers flooding the town, and is proud to turn out arms and armor that rival the expensive armorsmiths of larger cities.";

        storeSelected = 5;
    }
Exemple #9
0
    public void ADARTempleSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        TempleButton.GetComponent <Image>().sprite = Temple_Bright;

        InfoText.text = "The humans of Atania worship many gods, but in Thelmore, ADAR is the primary deity. Still, shrines to the other gods are housed in ADAR's temple, and no worshipers are turned away by the clerics that serve in the Temple.";

        storeSelected = 4;
    }
Exemple #10
0
    public void BankSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        BankButton.GetComponent <Image>().sprite = Bank_Bright;

        InfoText.text = "The First Bank of Eragor is the realm's bank. As Thelmore is a crossroads town, this branch boasts a full vault with the best protections King Eragor's Wizards could conjure. A perfect place to store any wealth that you would rather not risk carrying on your person.";

        storeSelected = 3;
    }
Exemple #11
0
    public void StagNBoarSelected()
    {
        TavernButton.GetComponent <Image>().sprite   = Tavern_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        InnButton.GetComponent <Image>().sprite = Inn_Bright;

        InfoText.text = "The Stag & Boar Inn is Thelmore's oldest and only Inn. Come here to stay relax in the common room or stay the night in a clean bed. The Stag & Boar also has a full kitchen, and is an excellent place for meals that are higher quality than trail rations.";

        storeSelected = 2;
    }
Exemple #12
0
    public void TavinsFlagonSelected()
    {
        //Set all other buttons back to Non-Selected status
        InnButton.GetComponent <Image>().sprite      = Inn_Dark;
        BankButton.GetComponent <Image>().sprite     = Bank_Dark;
        TempleButton.GetComponent <Image>().sprite   = Temple_Dark;
        SmithButton.GetComponent <Image>().sprite    = Smith_Dark;
        VoncarButton.GetComponent <Image>().sprite   = Voncar_Dark;
        ItemShopButton.GetComponent <Image>().sprite = ItemShop_Dark;
        WellButton.GetComponent <Image>().sprite     = Well_Dark;
        RoadButton.GetComponent <Image>().sprite     = Road_Dark;
        BarracksButton.GetComponent <Image>().sprite = Barracks_Dark;
        TownHallButton.GetComponent <Image>().sprite = TownHall_Dark;

        //Set Tavin's Flagon Button to selected status
        TavernButton.GetComponent <Image>().sprite = Tavern_Bright;

        //Update Info text with information about Tavin's Flagon
        InfoText.text = "Tavin's Flagon is a friendly tavern where you can get a drink, relax and listen to rumors, collect information, and meet fellow adventurers.";

        //Set Store_Selected variable to Tavin's Flagon
        storeSelected = 1;
    }