Skip to content

Commit

Permalink
桌宠偷藏1000私房钱应急用
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed Oct 11, 2023
1 parent 1f3bd42 commit c643183
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 6 deletions.
4 changes: 2 additions & 2 deletions VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<Image x:Name="ImageWHY" Width="28" Height="28" Source="/Res/BetterBuy.png"
VerticalAlignment="Center" Margin="30,0,0,0" />
<Button Style="{DynamicResource TextButtonStyle}" Foreground="{DynamicResource DARKPrimaryText}"
Content="{ll:Str 更好买}" VerticalAlignment="Center" FontSize="20" Click="BtnTitle_Click"
pu:WindowX.IsDragMoveArea="False" Margin="10,0,0,0" />
VerticalAlignment="Center" FontSize="20" Click="BtnTitle_Click"
pu:WindowX.IsDragMoveArea="False" Margin="10,0,0,0" Loaded="Button_Loaded" />
<Grid Grid.Column="1" Margin="15,0,0,0" pu:WindowX.IsDragMoveArea="False" Width="200">
<Grid.ColumnDefinitions>
<ColumnDefinition />
Expand Down
14 changes: 13 additions & 1 deletion VPet-Simulator.Windows/WinDesign/winBetterBuy.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,17 @@ public void Show(Food.FoodType type)
}
else
{
MessageBoxX.Show("看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你".Translate());
MessageBoxX.Show("看到您囊中羞涩,{0}拿出了1000块私房钱出来给你".Translate());
mw.GameSavesData[(gbol)"self"] = true;
mw.Core.Save.Money += 1000;
}
}
else if (mw.Core.Save.Money >= 11000 && mw.GameSavesData[(gbol)"self"])
{
mw.Core.Save.Money -= 1000;
mw.GameSavesData[(gbol)"self"] = false;
MessageBoxX.Show("{0}偷偷藏了1000块私房钱".Translate());
}

Show();
}
Expand Down Expand Up @@ -396,5 +402,11 @@ private void Switch_AutoGift_Checked(object sender, RoutedEventArgs e)
{
mw.Set.AutoGift = _puswitchautogift.IsChecked.Value;
}

private void Button_Loaded(object sender, RoutedEventArgs e)
{
((Button)sender).Content = "更好买".Translate() + mw.PrefixSave;
;
}
}
}
1 change: 0 additions & 1 deletion VPet-Simulator.Windows/mod/0000_core/lang/en/Base2309.lps
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ EXP#EXP:|
让宠物自己买礼物#Let the pet buy gifts for itself:|
按好感度#By favorability:|
更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账#Better buy old customers big discounts! I'll pay for the food money of the VPET!\nBetter buy tips you: $10 or less food / medicine, etc. can be charged at will:|
看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你#Seeing that you are shy in your pocket, the VPET took out 1000 yuan of private money to give you:|
隐藏窗口#Hide Window:|
在任务切换器中隐藏窗口#Hide window from task switcher:|
在Alt+Tab中隐藏#Hide from Alt+Tab:|
Expand Down
2 changes: 2 additions & 0 deletions VPet-Simulator.Windows/mod/0000_core/lang/en/Base2310.lps
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
看到您囊中羞涩,{0}拿出了1000块私房钱出来给你#Seeing that you are shy in your pocket, {0} has taken out $1000 of private money to give you:|
{0}偷偷藏了1000块私房钱#{0} secretly hid $1000 of private money:|
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ EXP#EXP:|
让宠物自己买礼物#让宠物自己买礼物:|
按好感度#按好感度:|
更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账#更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账:|
看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你#看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你:|
隐藏窗口#隐藏窗口:|
在任务切换器中隐藏窗口#在任务切换器中隐藏窗口:|
在Alt+Tab中隐藏#在Alt+Tab中隐藏:|
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
看到您囊中羞涩,{0}拿出了1000块私房钱出来给你#看到您囊中羞涩,{0}拿出了1000块私房钱出来给你:|
{0}偷偷藏了1000块私房钱#{0}偷偷藏了1000块私房钱:|
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ EXP#EXP:|
让宠物自己买礼物#讓寵物自行買禮物:|
按好感度#依好感度:|
更好买老顾客大优惠!桌宠的食物钱我来出!\n更好买提示您:$10以下的食物/药品等随便赊账#更好買老顧客大優惠!桌寵的食物錢我來出!\n更好買提示您:$10以下的食物/藥品等隨意賒帳:|
看到您囊中羞涩,桌宠拿出了1000块私房钱出来给你#看到您囊中羞澀,桌寵拿出了1000塊私房錢出來給你:|
隐藏窗口#隱藏視窗:|
在任务切换器中隐藏窗口#在Alt+Tab選單中隱藏視窗:|
在Alt+Tab中隐藏#在Alt+Tab選單中隱藏視窗:|
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
看到您囊中羞涩,{0}拿出了1000块私房钱出来给你#看到您囊中羞澀,{0}拿出了1000塊私房錢出來給你:|
{0}偷偷藏了1000块私房钱#{0}偷偷藏了1000塊私房錢:|

0 comments on commit c643183

Please sign in to comment.