mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 14:10:44 -05:00
rebranding part3
This commit is contained in:
parent
31d832dfc6
commit
cc1d222a98
@ -18,7 +18,7 @@ this list of conditions and the following disclaimers.
|
||||
this list of conditions and the following disclaimers in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the names of Merijn Hendriks, SPT-AKI, nor the names of
|
||||
* SPT, nor the names of
|
||||
its contributors may be used to endorse or promote products derived from
|
||||
this Software without specific prior written permission.
|
||||
|
||||
|
@ -59,7 +59,7 @@ namespace SPT.Custom.Patches
|
||||
? await GetManifestJson(jsonfile)
|
||||
: await GetManifestBundle(filepath);
|
||||
|
||||
// lazy-initialize aki bundles
|
||||
// lazy-initialize SPT bundles
|
||||
if (BundleManager.Bundles.Keys.Count == 0)
|
||||
{
|
||||
await BundleManager.DownloadManifest();
|
||||
|
@ -51,7 +51,7 @@ namespace SPT.PrePatch
|
||||
{
|
||||
string errorTitle = (!launcherUsed) ? "Startup Error" : "Missing Core Files";
|
||||
string errorMessage = (!launcherUsed) ? launcherError : pluginErrorMessage;
|
||||
MessageBoxHelper.Show(errorMessage, $"[SPT-AKI] {errorTitle}", MessageBoxHelper.MessageBoxType.OK);
|
||||
MessageBoxHelper.Show(errorMessage, $"[SPT] {errorTitle}", MessageBoxHelper.MessageBoxType.OK);
|
||||
Environment.Exit(0);
|
||||
return;
|
||||
}
|
||||
@ -68,7 +68,7 @@ namespace SPT.PrePatch
|
||||
return true;
|
||||
}
|
||||
|
||||
message = "Please start SPT-AKI using Aki.Launcher.exe. Exiting.";
|
||||
message = "Please start SPT using SPT.Launcher.exe. Exiting.";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
|
||||
Logger.LogError(errorMessage);
|
||||
|
||||
// Show errors in the server console
|
||||
ServerLog.Error("Aki.Singleplayer", errorMessage);
|
||||
ServerLog.Error("SPT.Singleplayer", errorMessage);
|
||||
|
||||
// Show an error in the in-game console, we have to write this in reverse order because the
|
||||
// in-game console shows newer messages at the top
|
||||
|
@ -40,7 +40,7 @@ namespace SPT.SinglePlayer.Utils.Insurance
|
||||
|
||||
foreach (var item in _items)
|
||||
{
|
||||
var aki = new SPTInsuredItemClass
|
||||
var spt = new SPTInsuredItemClass
|
||||
{
|
||||
id = item.Id
|
||||
};
|
||||
@ -49,18 +49,18 @@ namespace SPT.SinglePlayer.Utils.Insurance
|
||||
|
||||
if (dura != null)
|
||||
{
|
||||
aki.durability = dura.Durability;
|
||||
aki.maxDurability = dura.MaxDurability;
|
||||
spt.durability = dura.Durability;
|
||||
spt.maxDurability = dura.MaxDurability;
|
||||
}
|
||||
|
||||
var faceshield = item.GetItemComponent<FaceShieldComponent>();
|
||||
|
||||
if (faceshield != null)
|
||||
{
|
||||
aki.hits = faceshield.Hits;
|
||||
spt.hits = faceshield.Hits;
|
||||
}
|
||||
|
||||
itemsToSend.Add(aki);
|
||||
itemsToSend.Add(spt);
|
||||
}
|
||||
|
||||
return itemsToSend;
|
||||
|
Loading…
x
Reference in New Issue
Block a user