mirror of
https://github.com/LorisYounger/VPet.ModMaker.git
synced 2024-08-30 18:22:21 +00:00
更新
This commit is contained in:
parent
51fc7c1c78
commit
4c48706d6b
@ -112,10 +112,15 @@ public class PetModel : ObservableObjectX
|
|||||||
RaisePoint.Ill = new(loader.Config.RaisePoint[3].X, loader.Config.RaisePoint[3].Y);
|
RaisePoint.Ill = new(loader.Config.RaisePoint[3].X, loader.Config.RaisePoint[3].Y);
|
||||||
// 如果这个宠物数据来自本体, 则不载入 Work 和 Move
|
// 如果这个宠物数据来自本体, 则不载入 Work 和 Move
|
||||||
if (FromMain = fromMain)
|
if (FromMain = fromMain)
|
||||||
|
{
|
||||||
|
Name = ID.Translate();
|
||||||
|
PetName = PetNameID.Translate();
|
||||||
|
Description = DescriptionID.Translate();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var work in loader.Config.Works)
|
foreach (var work in loader.Config.Works)
|
||||||
Works.Add(new(work) { I18nResource = ModInfoModel.Current.I18nResource });
|
Works.Add(new(work) { I18nResource = I18nResource! });
|
||||||
foreach (var move in loader.Config.Moves)
|
foreach (var move in loader.Config.Moves)
|
||||||
Moves.Add(new(move));
|
Moves.Add(new(move));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user