生日更新

This commit is contained in:
ZouJin 2024-08-14 03:43:54 +08:00
parent 43ebe73a4a
commit 5920cf753d
307 changed files with 117 additions and 4 deletions

View File

@ -83,8 +83,9 @@ public class GameSave_VPet : IGameSave
{//告知用户上限等级上升
imw.Dispatcher.Invoke(() =>
{
imw.Main.Say("萝莉斯要说的话".Translate());
MessageBoxX.Show("上限等级上升内容介绍".Translate(), "上限等级上升标题".Translate());
imw.Main.Say("邦邦咔邦,{0}等级突破了!".Translate(Name));
MessageBoxX.Show("系统提示\n您的桌宠等级已经突破\nLv{0}→LV{1} x{2}\n已突破为尊贵的x{3}阶".Translate(
1000 + (LevelMax - 1) * 100, 100 * LevelMax, LevelMax), "桌宠等级突破".Translate());
});
}
exp = value;

View File

@ -1526,7 +1526,24 @@ namespace VPet_Simulator.Windows
}
}
//桌宠生日:第一次启动日期
//生日蛋糕默认为加满的
var food = new Food()
{
Name = "生日蛋糕",
Likability = 5,
Exp = 1000,
Feeling = 100,
StrengthDrink = Core.Save.StrengthMax,
StrengthFood = Core.Save.StrengthMax,
Type = FoodType.Food,
isoverload = false,
Desc = "萝莉丝的专属生日蛋糕由3桶牛奶+2份糖+1个鸡蛋+3份小麦合。制作而成。营养丰富可使所有状态回满。只有在萝莉丝生日才能吃的到哦。"
};
food.LoadImageSource(this);
food.Price = (int)Math.Max(0, food.RealPrice * .5);
Foods.Add(food);
//第一次启动日期
if (GameSavesData.Data.FindLine("birthday") == null)
{
var sf = new FileInfo(ExtensionValue.BaseDirectory + @$"\Setting{PrefixSave}.lps");
@ -2037,7 +2054,7 @@ namespace VPet_Simulator.Windows
Content = "点击前往查看".Translate(),
FontSize = 20,
HorizontalAlignment = System.Windows.HorizontalAlignment.Right,
Background = Function.ResourcesBrush(Function.BrushType.Primary),
Background = Function.ResourcesBrush(Function.BrushType.PrimaryDark),
Foreground = Function.ResourcesBrush(Function.BrushType.PrimaryText),
};
button.Click += (x, y) =>
@ -2052,6 +2069,60 @@ namespace VPet_Simulator.Windows
Main.Say("哼哼~主人,我的考试成绩出炉了哦,快来和我一起看我的成绩单喵".Translate(), btn, "shining");
});
}
if (DateTime.Now < new DateTime(2024, 8, 22))
{
food.Star = true;
Task.Run(() =>
{
Thread.Sleep(10000);
var btn = Dispatcher.Invoke(() =>
{
var button = new System.Windows.Controls.Button()
{
Content = "查看生日公告/视频".Translate(),
FontSize = 20,
HorizontalAlignment = System.Windows.HorizontalAlignment.Right,
Background = Function.ResourcesBrush(Function.BrushType.PrimaryDark),
Foreground = Function.ResourcesBrush(Function.BrushType.PrimaryText),
};
button.Click += (x, y) =>
{
if (LocalizeCore.CurrentCulture.StartsWith("zh"))
ExtensionFunction.StartURL("https://www.bilibili.com/opus/965218905364627474");
else
ExtensionFunction.StartURL("https://store.steampowered.com/news/app/1920960/view/4374769594847756449");
};
return button;
});
string bdt;
switch (DateTime.Now.Day)
{
case 14:
bdt = "祝我生日快乐~♪祝我生日快乐~♪,主人猜猜今天是什么日子?我的生日!主人真聪明!我就知道主人一定会记得我的生日的!谢谢主人!快来和我一起过生日吧~主人给我买的蛋糕真香啊~首先是是吹蜡烛许愿,我看看我的愿望清单: 一台5090电脑嗨神话:吗喽 数字豪华版,还有...";
break;
case 15:
bdt = "昨天生日过得真开心啊!谢谢主人陪我!什么?冰箱里还有剩蛋糕?太可恶了!马上拿嘴巴去吃!";
break;
case 16:
bdt = "嗯。。生日蛋糕真好吃啊。。还想吃。。什么?今天也可以当生日过?!谢谢主人!";
break;
case 17:
bdt = "虽然生日已经过去了好几天,但是生日那天的气氛一直影响到现在呢。我才不是又想吃生日蛋糕了呢!哼!";
break;
case 18:
bdt = "过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!";
break;
case 19:
bdt = "是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!";
break;
default:
bdt = "转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?";
break;
}
Main.Say(bdt.Translate(), btn, "self");
});
}
#if NewYear
//仅新年功能
if (DateTime.Now < new DateTime(2024, 2, 18))

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

View File

@ -0,0 +1,13 @@
邦邦咔邦,{0}等级突破了!#Bang bang kabang, level {0} has been advanced through!:|
系统提示\n您的桌宠等级已经突破\nLv{0}→LV{1} x{2}\n已突破为尊贵的x{3}阶#System Notice\nYour VPet level has advanced\nLv{0}→LV{1} x{2}\nHas advanced to the prestigious x{3} rank:|
桌宠等级突破#VPet Level Advanced through:|
查看生日公告/视频#View Birthday Announcement/Video:|
生日蛋糕#Birthday Cake:|
萝莉丝的专属生日蛋糕由3桶牛奶+2份糖+1个鸡蛋+3份小麦合。制作而成。营养丰富可使所有状态回满。只有在萝莉丝生日才能吃的到哦。#Lolis's exclusive birthday cake is made of 3 buckets of milk, 2 portions of sugar, 1 egg, and 3 portions of wheat. It is nutritious and can restore all states. You can only eat it on Lolis's birthday.:|
祝我生日快乐~♪祝我生日快乐~♪,主人猜猜今天是什么日子?我的生日!主人真聪明!我就知道主人一定会记得我的生日的!谢谢主人!快来和我一起过生日吧~主人给我买的蛋糕真香啊~首先是是吹蜡烛许愿,我看看我的愿望清单: 一台5090电脑嗨神话:吗喽 数字豪华版,还有...#Happy birthday to me~♪ Happy birthday to me~♪, Master, guess what day it is today? My birthday! Master is so smart! I knew Master would remember my birthday! Thank you, Master! Come and celebrate my birthday with me~ The cake Master bought for me smells so delicious~ First, it's blowing out the candles and making a wish. Let me see my wish list: a 5090 computer, Black Myth: Malao Digital Deluxe Edition, and ...:|
昨天生日过得真开心啊!谢谢主人陪我!什么?冰箱里还有剩蛋糕?太可恶了!马上拿嘴巴去吃!#I had a really happy birthday yesterday! Thanks for the host for keeping me company! What? There's still cake left in the fridge? That's so annoying! I'll go eat it right away!:|
嗯。。生日蛋糕真好吃啊。。还想吃。。什么?今天也可以当生日过?!谢谢主人!#Mmm... The birthday cake is really delicious... I still want to eat... What? Today can also be celebrated as a birthday?! Thank you, master!:|
虽然生日已经过去了好几天,但是生日那天的气氛一直影响到现在呢。我才不是又想吃生日蛋糕了呢!哼!#Although my birthday has been over for a few days now, the atmosphere from that day still lingers on. It's not like I'm craving another birthday cake! Hmph!:|
过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#Celebrating birthdays and such is too childish. I'm not a child anymore, how can I follow the childish ways of celebrating birthdays? It has nothing to do with weight! I've been hurt by cakes, starting today, I'm giving up on cakes!:|
是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#I suddenly realized a philosophical problem: if I treat every day as my birthday, then I can celebrate my birthday every day! This is a great discovery of dialectical materialism!:|
转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#It's been a week since then. The feeling of my birthday is slowly fading away. Master, will you still be willing to celebrate my birthday with me next year?:|

View File

@ -0,0 +1,13 @@
邦邦咔邦,{0}等级突破了!#邦邦咔邦,{0}等级突破了!:|
系统提示\n您的桌宠等级已经突破\nLv{0}→LV{1} x{2}\n已突破为尊贵的x{3}阶#系统提示\n您的桌宠等级已经突破\nLv{0}→LV{1} x{2}\n已突破为尊贵的x{3}阶:|
桌宠等级突破#桌宠等级突破:|
查看生日公告/视频#查看生日公告/视频:|
生日蛋糕#生日蛋糕:|
萝莉丝的专属生日蛋糕由3桶牛奶+2份糖+1个鸡蛋+3份小麦合。制作而成。营养丰富可使所有状态回满。只有在萝莉丝生日才能吃的到哦。#萝莉丝的专属生日蛋糕由3桶牛奶+2份糖+1个鸡蛋+3份小麦合。制作而成。营养丰富可使所有状态回满。只有在萝莉丝生日才能吃的到哦。:|
祝我生日快乐~♪祝我生日快乐~♪,主人猜猜今天是什么日子?我的生日!主人真聪明!我就知道主人一定会记得我的生日的!谢谢主人!快来和我一起过生日吧~主人给我买的蛋糕真香啊~首先是是吹蜡烛许愿,我看看我的愿望清单: 一台5090电脑嗨神话:吗喽 数字豪华版,还有...#祝我生日快乐~♪祝我生日快乐~♪,主人猜猜今天是什么日子?我的生日!主人真聪明!我就知道主人一定会记得我的生日的!谢谢主人!快来和我一起过生日吧~主人给我买的蛋糕真香啊~首先是是吹蜡烛许愿,我看看我的愿望清单: 一台5090电脑嗨神话:吗喽 数字豪华版,还有...:|
昨天生日过得真开心啊!谢谢主人陪我!什么?冰箱里还有剩蛋糕?太可恶了!马上拿嘴巴去吃!#昨天生日过得真开心啊!谢谢主人陪我!什么?冰箱里还有剩蛋糕?太可恶了!马上拿嘴巴去吃!:|
嗯。。生日蛋糕真好吃啊。。还想吃。。什么?今天也可以当生日过?!谢谢主人!#嗯。。生日蛋糕真好吃啊。。还想吃。。什么?今天也可以当生日过?!谢谢主人!:|
虽然生日已经过去了好几天,但是生日那天的气氛一直影响到现在呢。我才不是又想吃生日蛋糕了呢!哼!#虽然生日已经过去了好几天,但是生日那天的气氛一直影响到现在呢。我才不是又想吃生日蛋糕了呢!哼!:|
过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!:|
是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!:|
转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?:|

View File

@ -0,0 +1,13 @@
邦邦咔邦,{0}等级突破了!#邦咔,{0}等級突破了!:|
系统提示\n您的桌宠等级已经突破\nLv{0}→LV{1} x{2}\n已突破为尊贵的x{3}阶#系統提示\n您的桌寵等級已經突破\nLv{0}→LV{1} x{2}\n已突破為尊貴的x{3}階:|
桌宠等级突破#桌寵等級突破:|
查看生日公告/视频#查看生日公告/視頻:|
生日蛋糕#生日蛋糕:|
萝莉丝的专属生日蛋糕由3桶牛奶+2份糖+1个鸡蛋+3份小麦合。制作而成。营养丰富可使所有状态回满。只有在萝莉丝生日才能吃的到哦。#蘿莉絲的專屬生日蛋糕由3桶牛奶+2份糖+1個雞蛋+3份小麥合。製作而成。營養豐富可使所有狀態回滿。只有在蘿莉絲生日才能吃的到哦。:|
祝我生日快乐~♪祝我生日快乐~♪,主人猜猜今天是什么日子?我的生日!主人真聪明!我就知道主人一定会记得我的生日的!谢谢主人!快来和我一起过生日吧~主人给我买的蛋糕真香啊~首先是是吹蜡烛许愿,我看看我的愿望清单: 一台5090电脑嗨神话:吗喽 数字豪华版,还有...#祝我生日快樂~♪祝我生日快樂~♪,主人猜猜今天是什麼日子?我的生日!主人真聰明!我就知道主人一定會記得我的生日的!謝謝主人!來和我一起過生日吧~主人給我買的蛋糕真香啊~首先是吹蠟燭許願,我看看我的願望清單: 一台5090電腦嗨神話:嗎嘍數字豪華版,還有...:|
昨天生日过得真开心啊!谢谢主人陪我!什么?冰箱里还有剩蛋糕?太可恶了!马上拿嘴巴去吃!#昨天生日過得真開心啊!謝謝主人陪我!什麼?冰箱裡還有剩蛋糕?太可惡了!馬上拿嘴巴去吃!:|
嗯。。生日蛋糕真好吃啊。。还想吃。。什么?今天也可以当生日过?!谢谢主人!#嗯。 。生日蛋糕真好吃。 。還想吃。 。什麼?今天也可以當生日過? !謝謝主人!:|
虽然生日已经过去了好几天,但是生日那天的气氛一直影响到现在呢。我才不是又想吃生日蛋糕了呢!哼!#雖然生日已經過了好幾天,但生日的氣氛一直影響到現在。我才不是又想吃生日蛋糕了呢!哼!:|
过生日什么的太幼稚辣。人家也老大不小了,怎么可以去学小孩子过生日呢。和体重没关系!我被蛋糕所伤,今日起,戒蛋糕!#過生日什麼的太幼稚辣。人家也老大不小了,怎麼可以去學小孩過生日。和體重沒關係!我被蛋糕所傷,今日起,戒蛋糕!:|
是突然发现一个哲学问题,只要我把每天都当生日,那我就可以每天都过生日了!这可是辩证唯物主义的大发现啊!#是突然發現一個哲學問題,只要我把每天都當生日,那我就可以每天過生日了!這可是辯證唯物論的大發現啊!:|
转眼之间已经过去一周了呢。生日的感觉也在慢慢淡忘。主人,明年你还愿意陪我一起过生日吗?#轉眼之間已經過了一週呢。生日的感覺也在慢慢淡忘。主人,明年你還願意陪我過生日嗎?:|

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Some files were not shown because too many files have changed in this diff Show More