Fixed Achievements causing a crash on non-English devices
This commit is contained in:
parent
4902d49fcd
commit
eef3f31507
2 changed files with 11 additions and 11 deletions
|
@ -38,16 +38,16 @@ namespace Android {
|
|||
{"500Modifiers", "CgkI_Lyp7PcEEAIQDA"},
|
||||
{"1000Modifiers", "CgkI_Lyp7PcEEAIQDQ"},
|
||||
{"5000Modifiers", "CgkI_Lyp7PcEEAIQDg"},
|
||||
{"1.00MTickets", "CgkI_Lyp7PcEEAIQDw"},
|
||||
{"1.00BTickets", "CgkI_Lyp7PcEEAIQEA"},
|
||||
{"1.00TTickets", "CgkI_Lyp7PcEEAIQEQ"},
|
||||
{"1.00QTickets", "CgkI_Lyp7PcEEAIQEg"},
|
||||
{"1.00QiTickets", "CgkI_Lyp7PcEEAIQEw"},
|
||||
{"1.00STickets", "CgkI_Lyp7PcEEAIQFA"},
|
||||
{"1.00SpTickets", "CgkI_Lyp7PcEEAIQFQ"},
|
||||
{"1.00OTickets", "CgkI_Lyp7PcEEAIQFg"},
|
||||
{"1.00NTickets", "CgkI_Lyp7PcEEAIQFw"},
|
||||
{"1.00DTickets", "CgkI_Lyp7PcEEAIQGA"}
|
||||
{"1ExpTickets", "CgkI_Lyp7PcEEAIQDw"},
|
||||
{"2ExpTickets", "CgkI_Lyp7PcEEAIQEA"},
|
||||
{"3ExpTickets", "CgkI_Lyp7PcEEAIQEQ"},
|
||||
{"4ExpTickets", "CgkI_Lyp7PcEEAIQEg"},
|
||||
{"5ExpTickets", "CgkI_Lyp7PcEEAIQEw"},
|
||||
{"6ExpTickets", "CgkI_Lyp7PcEEAIQFA"},
|
||||
{"7ExpTickets", "CgkI_Lyp7PcEEAIQFQ"},
|
||||
{"8ExpTickets", "CgkI_Lyp7PcEEAIQFg"},
|
||||
{"9ExpTickets", "CgkI_Lyp7PcEEAIQFw"},
|
||||
{"10ExpTickets", "CgkI_Lyp7PcEEAIQGA"}
|
||||
};
|
||||
|
||||
private readonly Activity activity;
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace TouchyTickets {
|
|||
Register(new Achievement($"{amount}Modifiers", g => g.Map.GetAttractionAmount(null) > 0 && g.Map.GetAttractions().All(a => a.Item2.GetModifierAmount(null) >= amount)));
|
||||
for (var i = 1; i <= 10; i++) {
|
||||
var amount = BigInteger.Pow(1000, i + 1);
|
||||
Register(new Achievement($"{Ui.PrettyPrintNumber(amount).Replace(" ", "")}Tickets", g => g.Tickets >= amount));
|
||||
Register(new Achievement($"{i}ExpTickets", g => g.Tickets >= amount));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue