// -------------------------------------------------------------------------------
        //
        // -------------------------------------------------------------------------------
        private void OnEnable()
        {
            labelBtnNewGame.text  = Finder.txt.buttonNames.NewGame;
            labelBtnLoad.text     = Finder.txt.buttonNames.Load;
            labelBtnSettings.text = Finder.txt.buttonNames.Options;
            labelBtnCredits.text  = Finder.txt.buttonNames.Credits;
            labelBtnQuit.text     = Finder.txt.buttonNames.Quit;

            if (Finder.save.HasSaveFiles())
            {
                btnLoad.SetActive(true);
            }
            else
            {
                btnLoad.SetActive(false);
            }

            // -- Builds the Dictionaries
            DictionaryAttribute.load();
            DictionaryCharacterClass.load();
            DictionaryCharacterHero.load();
            DictionaryCombatStyle.load();
            DictionaryDungeon.load();
            DictionaryElement.load();
            DictionaryEquipment.load();
            DictionaryEquipmentSlot.load();
            DictionaryGossip.load();
            DictionaryItem.load();
            DictionarySkill.load();
            DictionarySpecies.load();
            DictionaryStatus.load();
            DictionaryTile.load();
            DictionaryTown.load();
        }
Exemple #2
0
        // ============================= FILTER FUNCTIONS ================================

        // -------------------------------------------------------------------------------
        // SetFilterEquipment
        // -------------------------------------------------------------------------------
        public void SetFilterEquipment(string filter)
        {
            equipmentType  = DictionaryEquipmentSlot.Get(filter);
            show_equipment = true;
            show_items     = false;
            Refresh();
        }