mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-27 19:09:21 +01:00
Update gamedata and services.
This commit is contained in:
parent
36d95c37bc
commit
a982c0a1c1
74 changed files with 907 additions and 960 deletions
|
|
@ -62,7 +62,7 @@ public partial class CustomizationOptions
|
|||
public string GetName(CustomName name)
|
||||
=> _names[(int)name];
|
||||
|
||||
internal CustomizationOptions(ITextureProvider textures, IDataManager gameData, IPluginLog log)
|
||||
internal CustomizationOptions(ITextureProvider textures, IDataManager gameData, IPluginLog log, NpcCustomizeSet npcCustomizeSet)
|
||||
{
|
||||
var tmp = new TemporaryData(gameData, this, log);
|
||||
_icons = new IconStorage(textures, gameData);
|
||||
|
|
@ -73,7 +73,7 @@ public partial class CustomizationOptions
|
|||
_customizationSets[ToIndex(race, gender)] = tmp.GetSet(race, gender);
|
||||
}
|
||||
|
||||
tmp.SetNpcData(_customizationSets);
|
||||
tmp.SetNpcData(_customizationSets, npcCustomizeSet);
|
||||
}
|
||||
|
||||
// Obtain localized names of customization options and race names from the game data.
|
||||
|
|
@ -163,9 +163,9 @@ public partial class CustomizationOptions
|
|||
return set;
|
||||
}
|
||||
|
||||
public void SetNpcData(CustomizationSet[] sets)
|
||||
public void SetNpcData(CustomizationSet[] sets, NpcCustomizeSet npcCustomizeSet)
|
||||
{
|
||||
var data = CustomizationNpcOptions.CreateNpcData(sets, _bnpcCustomize, _enpcBase);
|
||||
var data = CustomizationNpcOptions.CreateNpcData(sets, npcCustomizeSet);
|
||||
foreach (var set in sets)
|
||||
{
|
||||
if (data.TryGetValue((set.Clan, set.Gender), out var npcData))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue