Beispiel #1
0
 public void ReadConfigs()
 {
     if (!LocaleReader.ReadItemData())
     {
         GD.PrintErr("Failed to read item_data!");
     }
     if (!LocaleReader.ReadMobData())
     {
         GD.PrintErr("Failed to read mob_data!");
     }
     GD.Print("Configs read successfully");
 }
Beispiel #2
0
 protected override void OnInit()
 {
     LocaleReader.AddLocaleFromFolder(PathManager.Instance.ExternalLocaleFolder);
 }