diff --git a/CensusSystem.cs b/CensusSystem.cs index 2bdeaae..c0ece23 100644 --- a/CensusSystem.cs +++ b/CensusSystem.cs @@ -21,8 +21,6 @@ internal class CensusSystem : ModSystem internal static CensusSystem instance; internal static bool calculated; - private LocalizedText Next; - public override void Load() { /* * WorldGen.spawnDelay controls when TrySpawningTownNPC->SpawnTownNPC is called. 20 ticks in updateworld. random tiles until a house is found. @@ -49,7 +47,6 @@ public override void Load() { */ instance = this; calculated = false; - Next = Language.GetText(Mod.GetLocalizationKey("Next")); //modTownNPCsInfos = new List(); Terraria.IL_Main.UpdateTime_SpawnTownNPCs += Main_UpdateTime_SpawnTownNPCs; @@ -278,7 +275,7 @@ public override void ModifyInterfaceLayers(List layers) { //text = Main.npc[missingNPCWhoAmI].FullName; text = Lang.GetNPCNameValue(missingNPCType); if (WorldGen.prioritizedTownNPCType == missingNPCType) - text += $"\n{Next.Value}"; + text = Language.GetTextValue("Mods.Census.Next", Lang.GetNPCNameValue(missingNPCType)); else if (Main.townNPCCanSpawn[missingNPCType]) { //text += "\nOn their way!"; } @@ -287,7 +284,7 @@ public override void ModifyInterfaceLayers(List layers) { if (unknown) text += $" - Townspeople spawn during the day"; else - text += $" - {t.conditions.Value}"; + text = Language.GetTextValue("Mods.Census.Condition", Lang.GetNPCNameValue(missingNPCType), t.conditions.Value); // text += "\nNot coming" + $"\nNeeds: {condition}"; } } diff --git a/Localization/TranslationsNeeded.txt b/Localization/TranslationsNeeded.txt index 2c38398..80984b7 100644 --- a/Localization/TranslationsNeeded.txt +++ b/Localization/TranslationsNeeded.txt @@ -1,9 +1,9 @@ -en-US, 48/48, 100%, missing 0 -de-DE, 0/48, 0%, missing 48 -it-IT, 0/48, 0%, missing 48 -fr-FR, 0/48, 0%, missing 48 -es-ES, 0/48, 0%, missing 48 -ru-RU, 48/48, 100%, missing 0 -zh-Hans, 48/48, 100%, missing 0 -pt-BR, 48/48, 100%, missing 0 -pl-PL, 0/48, 0%, missing 48 +en-US, 49/49, 100%, missing 0 +de-DE, 0/49, 0%, missing 49 +it-IT, 0/49, 0%, missing 49 +fr-FR, 0/49, 0%, missing 49 +es-ES, 0/49, 0%, missing 49 +ru-RU, 49/49, 100%, missing 0 +zh-Hans, 48/49, 98%, missing 1 +pt-BR, 48/49, 98%, missing 1 +pl-PL, 0/49, 0%, missing 49 diff --git a/Localization/de-DE_Mods.Census.hjson b/Localization/de-DE_Mods.Census.hjson index 99d03af..0923cf7 100644 --- a/Localization/de-DE_Mods.Census.hjson +++ b/Localization/de-DE_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -// Next: Next +/* Next: + ''' + {0} + Next + ''' */ +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { // Unknown: Conditions unknown - // Guide: Always available, spawned on world generation - // Merchant: Have [i/s50:SilverCoin] in your inventory - // Nurse: Have more than 100 HP and for the Merchant to have arrived - // Demolitionist: Have an explosive in your inventory - // DyeTrader: Find dye item and either defeat boss or find strange plant - // Angler: Find on the ocean - // BestiaryGirl: Fill at least 10% of the bestiary + // Guide: Always available; spawns when a new world is created + // Merchant: Have at least [i/s50:SilverCoin] in your inventory + // Nurse: Have more than 100 max HP and the Merchant has arrived + // Demolitionist: Have an explosive in your inventory and the Merchant has arrived + // DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + // Angler: Found on the Ocean + // BestiaryGirl: Fill at least 10% of the Bestiary /* Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat either the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' */ - // Painter: Acquire 8 other townspeople - // Golfer: Find in the underground desert + // Painter: Have at least 8 other town NPCs arrived + // Golfer: Find in the Underground Desert // ArmsDealer: Have bullets or a gun in your inventory - // DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - // Stylist: Find in a spider nest - // GoblinTinkerer: Find in the world after a goblin invasion has been defeated - // WitchDoctor: When Queen Bee has been defeated - // Clothier: When Skeletron has been defeated - // Mechanic: Find in the dungeon - // PartyGirl: Acquire 14 other townspeople - // Wizard: Find in the cavern layer in hardmode - // TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - // Truffle: In hardmode, build a house in an above ground mushroom biome - // Pirate: When a Pirate invasion has been defeated - // Steampunker: When a Mechanical boss has been defeated - // Cyborg: When Plantera has been defeated - // SantaClaus: When Frost Legion has been defeated, only during December 15-31 - // Princess: Have all other town npcs in the world - // TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - // TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - // TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - // TownSlimeBlue: When King Slime has been defeated. - // TownSlimeGreen: When there is a naturally occurring Party. - // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - // TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - // TownSlimeRed: Fished up during a Blood Moon. - // TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - // TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + // DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + // Stylist: Find in Spider Nests + // GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + // WitchDoctor: Defeat the Queen Bee + // Clothier: Defeat Skeletron + // Mechanic: Find in the Dungeon + // PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + // Wizard: Find in the Cavern layer during Hardmode + // TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + // Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + // Pirate: Defeat a Pirate invasion + // Steampunker: Defeat any Mechanical boss + // Cyborg: Defeat Plantera + // SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + // Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + // TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + // TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + // TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + // TownSlimeBlue: Defeat King Slime + // TownSlimeGreen: Appears during a naturally occurring Party + // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + // TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + // TownSlimeRed: Can be fished up during a Blood Moon + // TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + // TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/en-US_Mods.Census.hjson b/Localization/en-US_Mods.Census.hjson index 45a908e..9e918cd 100644 --- a/Localization/en-US_Mods.Census.hjson +++ b/Localization/en-US_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -Next: Next +Next: + ''' + {0} + Next + ''' +# {0} - NPC name, {1} - condition +Condition: "{0} - {1}" SpawnConditions: { Unknown: Conditions unknown - Guide: Always available, spawned on world generation - Merchant: Have [i/s50:SilverCoin] in your inventory - Nurse: Have more than 100 HP and for the Merchant to have arrived - Demolitionist: Have an explosive in your inventory - DyeTrader: Find dye item and either defeat boss or find strange plant - Angler: Find on the ocean - BestiaryGirl: Fill at least 10% of the bestiary + Guide: Always available; spawns when a new world is created + Merchant: Have at least [i/s50:SilverCoin] in your inventory + Nurse: Have more than 100 max HP and the Merchant has arrived + Demolitionist: Have an explosive in your inventory and the Merchant has arrived + DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + Angler: Found on the Ocean + BestiaryGirl: Fill at least 10% of the Bestiary Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' - Painter: Acquire 8 other townspeople - Golfer: Find in the underground desert + Painter: Have at least 8 other town NPCs arrived + Golfer: Find in the Underground Desert ArmsDealer: Have bullets or a gun in your inventory - DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - Stylist: Find in a spider nest - GoblinTinkerer: Find in the world after a goblin invasion has been defeated - WitchDoctor: When Queen Bee has been defeated - Clothier: When Skeletron has been defeated - Mechanic: Find in the dungeon - PartyGirl: Acquire 14 other townspeople - Wizard: Find in the cavern layer in hardmode - TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - Truffle: In hardmode, build a house in an above ground mushroom biome - Pirate: When a Pirate invasion has been defeated - Steampunker: When a Mechanical boss has been defeated - Cyborg: When Plantera has been defeated - SantaClaus: When Frost Legion has been defeated, only during December 15-31 - Princess: Have all other town npcs in the world - TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - TownSlimeBlue: When King Slime has been defeated. - TownSlimeGreen: When there is a naturally occurring Party. - TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - TownSlimeRed: Fished up during a Blood Moon. - TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + Stylist: Find in Spider Nests + GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + WitchDoctor: Defeat the Queen Bee + Clothier: Defeat Skeletron + Mechanic: Find in the Dungeon + PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + Wizard: Find in the Cavern layer during Hardmode + TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + Pirate: Defeat a Pirate invasion + Steampunker: Defeat any Mechanical boss + Cyborg: Defeat Plantera + SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + TownSlimeBlue: Defeat King Slime + TownSlimeGreen: Appears during a naturally occurring Party + TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + TownSlimeRed: Can be fished up during a Blood Moon + TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/es-ES_Mods.Census.hjson b/Localization/es-ES_Mods.Census.hjson index 99d03af..0923cf7 100644 --- a/Localization/es-ES_Mods.Census.hjson +++ b/Localization/es-ES_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -// Next: Next +/* Next: + ''' + {0} + Next + ''' */ +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { // Unknown: Conditions unknown - // Guide: Always available, spawned on world generation - // Merchant: Have [i/s50:SilverCoin] in your inventory - // Nurse: Have more than 100 HP and for the Merchant to have arrived - // Demolitionist: Have an explosive in your inventory - // DyeTrader: Find dye item and either defeat boss or find strange plant - // Angler: Find on the ocean - // BestiaryGirl: Fill at least 10% of the bestiary + // Guide: Always available; spawns when a new world is created + // Merchant: Have at least [i/s50:SilverCoin] in your inventory + // Nurse: Have more than 100 max HP and the Merchant has arrived + // Demolitionist: Have an explosive in your inventory and the Merchant has arrived + // DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + // Angler: Found on the Ocean + // BestiaryGirl: Fill at least 10% of the Bestiary /* Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat either the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' */ - // Painter: Acquire 8 other townspeople - // Golfer: Find in the underground desert + // Painter: Have at least 8 other town NPCs arrived + // Golfer: Find in the Underground Desert // ArmsDealer: Have bullets or a gun in your inventory - // DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - // Stylist: Find in a spider nest - // GoblinTinkerer: Find in the world after a goblin invasion has been defeated - // WitchDoctor: When Queen Bee has been defeated - // Clothier: When Skeletron has been defeated - // Mechanic: Find in the dungeon - // PartyGirl: Acquire 14 other townspeople - // Wizard: Find in the cavern layer in hardmode - // TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - // Truffle: In hardmode, build a house in an above ground mushroom biome - // Pirate: When a Pirate invasion has been defeated - // Steampunker: When a Mechanical boss has been defeated - // Cyborg: When Plantera has been defeated - // SantaClaus: When Frost Legion has been defeated, only during December 15-31 - // Princess: Have all other town npcs in the world - // TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - // TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - // TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - // TownSlimeBlue: When King Slime has been defeated. - // TownSlimeGreen: When there is a naturally occurring Party. - // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - // TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - // TownSlimeRed: Fished up during a Blood Moon. - // TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - // TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + // DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + // Stylist: Find in Spider Nests + // GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + // WitchDoctor: Defeat the Queen Bee + // Clothier: Defeat Skeletron + // Mechanic: Find in the Dungeon + // PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + // Wizard: Find in the Cavern layer during Hardmode + // TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + // Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + // Pirate: Defeat a Pirate invasion + // Steampunker: Defeat any Mechanical boss + // Cyborg: Defeat Plantera + // SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + // Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + // TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + // TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + // TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + // TownSlimeBlue: Defeat King Slime + // TownSlimeGreen: Appears during a naturally occurring Party + // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + // TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + // TownSlimeRed: Can be fished up during a Blood Moon + // TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + // TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/fr-FR_Mods.Census.hjson b/Localization/fr-FR_Mods.Census.hjson index 99d03af..0923cf7 100644 --- a/Localization/fr-FR_Mods.Census.hjson +++ b/Localization/fr-FR_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -// Next: Next +/* Next: + ''' + {0} + Next + ''' */ +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { // Unknown: Conditions unknown - // Guide: Always available, spawned on world generation - // Merchant: Have [i/s50:SilverCoin] in your inventory - // Nurse: Have more than 100 HP and for the Merchant to have arrived - // Demolitionist: Have an explosive in your inventory - // DyeTrader: Find dye item and either defeat boss or find strange plant - // Angler: Find on the ocean - // BestiaryGirl: Fill at least 10% of the bestiary + // Guide: Always available; spawns when a new world is created + // Merchant: Have at least [i/s50:SilverCoin] in your inventory + // Nurse: Have more than 100 max HP and the Merchant has arrived + // Demolitionist: Have an explosive in your inventory and the Merchant has arrived + // DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + // Angler: Found on the Ocean + // BestiaryGirl: Fill at least 10% of the Bestiary /* Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat either the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' */ - // Painter: Acquire 8 other townspeople - // Golfer: Find in the underground desert + // Painter: Have at least 8 other town NPCs arrived + // Golfer: Find in the Underground Desert // ArmsDealer: Have bullets or a gun in your inventory - // DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - // Stylist: Find in a spider nest - // GoblinTinkerer: Find in the world after a goblin invasion has been defeated - // WitchDoctor: When Queen Bee has been defeated - // Clothier: When Skeletron has been defeated - // Mechanic: Find in the dungeon - // PartyGirl: Acquire 14 other townspeople - // Wizard: Find in the cavern layer in hardmode - // TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - // Truffle: In hardmode, build a house in an above ground mushroom biome - // Pirate: When a Pirate invasion has been defeated - // Steampunker: When a Mechanical boss has been defeated - // Cyborg: When Plantera has been defeated - // SantaClaus: When Frost Legion has been defeated, only during December 15-31 - // Princess: Have all other town npcs in the world - // TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - // TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - // TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - // TownSlimeBlue: When King Slime has been defeated. - // TownSlimeGreen: When there is a naturally occurring Party. - // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - // TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - // TownSlimeRed: Fished up during a Blood Moon. - // TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - // TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + // DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + // Stylist: Find in Spider Nests + // GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + // WitchDoctor: Defeat the Queen Bee + // Clothier: Defeat Skeletron + // Mechanic: Find in the Dungeon + // PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + // Wizard: Find in the Cavern layer during Hardmode + // TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + // Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + // Pirate: Defeat a Pirate invasion + // Steampunker: Defeat any Mechanical boss + // Cyborg: Defeat Plantera + // SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + // Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + // TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + // TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + // TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + // TownSlimeBlue: Defeat King Slime + // TownSlimeGreen: Appears during a naturally occurring Party + // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + // TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + // TownSlimeRed: Can be fished up during a Blood Moon + // TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + // TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/it-IT_Mods.Census.hjson b/Localization/it-IT_Mods.Census.hjson index 99d03af..0923cf7 100644 --- a/Localization/it-IT_Mods.Census.hjson +++ b/Localization/it-IT_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -// Next: Next +/* Next: + ''' + {0} + Next + ''' */ +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { // Unknown: Conditions unknown - // Guide: Always available, spawned on world generation - // Merchant: Have [i/s50:SilverCoin] in your inventory - // Nurse: Have more than 100 HP and for the Merchant to have arrived - // Demolitionist: Have an explosive in your inventory - // DyeTrader: Find dye item and either defeat boss or find strange plant - // Angler: Find on the ocean - // BestiaryGirl: Fill at least 10% of the bestiary + // Guide: Always available; spawns when a new world is created + // Merchant: Have at least [i/s50:SilverCoin] in your inventory + // Nurse: Have more than 100 max HP and the Merchant has arrived + // Demolitionist: Have an explosive in your inventory and the Merchant has arrived + // DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + // Angler: Found on the Ocean + // BestiaryGirl: Fill at least 10% of the Bestiary /* Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat either the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' */ - // Painter: Acquire 8 other townspeople - // Golfer: Find in the underground desert + // Painter: Have at least 8 other town NPCs arrived + // Golfer: Find in the Underground Desert // ArmsDealer: Have bullets or a gun in your inventory - // DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - // Stylist: Find in a spider nest - // GoblinTinkerer: Find in the world after a goblin invasion has been defeated - // WitchDoctor: When Queen Bee has been defeated - // Clothier: When Skeletron has been defeated - // Mechanic: Find in the dungeon - // PartyGirl: Acquire 14 other townspeople - // Wizard: Find in the cavern layer in hardmode - // TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - // Truffle: In hardmode, build a house in an above ground mushroom biome - // Pirate: When a Pirate invasion has been defeated - // Steampunker: When a Mechanical boss has been defeated - // Cyborg: When Plantera has been defeated - // SantaClaus: When Frost Legion has been defeated, only during December 15-31 - // Princess: Have all other town npcs in the world - // TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - // TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - // TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - // TownSlimeBlue: When King Slime has been defeated. - // TownSlimeGreen: When there is a naturally occurring Party. - // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - // TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - // TownSlimeRed: Fished up during a Blood Moon. - // TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - // TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + // DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + // Stylist: Find in Spider Nests + // GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + // WitchDoctor: Defeat the Queen Bee + // Clothier: Defeat Skeletron + // Mechanic: Find in the Dungeon + // PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + // Wizard: Find in the Cavern layer during Hardmode + // TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + // Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + // Pirate: Defeat a Pirate invasion + // Steampunker: Defeat any Mechanical boss + // Cyborg: Defeat Plantera + // SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + // Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + // TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + // TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + // TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + // TownSlimeBlue: Defeat King Slime + // TownSlimeGreen: Appears during a naturally occurring Party + // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + // TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + // TownSlimeRed: Can be fished up during a Blood Moon + // TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + // TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/pl-PL_Mods.Census.hjson b/Localization/pl-PL_Mods.Census.hjson index 99d03af..0923cf7 100644 --- a/Localization/pl-PL_Mods.Census.hjson +++ b/Localization/pl-PL_Mods.Census.hjson @@ -38,49 +38,55 @@ Configs: { } } -// Next: Next +/* Next: + ''' + {0} + Next + ''' */ +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { // Unknown: Conditions unknown - // Guide: Always available, spawned on world generation - // Merchant: Have [i/s50:SilverCoin] in your inventory - // Nurse: Have more than 100 HP and for the Merchant to have arrived - // Demolitionist: Have an explosive in your inventory - // DyeTrader: Find dye item and either defeat boss or find strange plant - // Angler: Find on the ocean - // BestiaryGirl: Fill at least 10% of the bestiary + // Guide: Always available; spawns when a new world is created + // Merchant: Have at least [i/s50:SilverCoin] in your inventory + // Nurse: Have more than 100 max HP and the Merchant has arrived + // Demolitionist: Have an explosive in your inventory and the Merchant has arrived + // DyeTrader: Have a dye, dye plant, Strange Plant, or Dye Vat in your inventory and at least 4 other town NPCs have arrived + // Angler: Found on the Ocean + // BestiaryGirl: Fill at least 10% of the Bestiary /* Dryad: ''' - The Eye of Cthulhu, Eater of Worlds, - Brain of Cthulhu, or Skeletron has been defeated + Defeat either the Eye of Cthulhu, + Eater of Worlds, Brain of Cthulhu, or Skeletron ''' */ - // Painter: Acquire 8 other townspeople - // Golfer: Find in the underground desert + // Painter: Have at least 8 other town NPCs arrived + // Golfer: Find in the Underground Desert // ArmsDealer: Have bullets or a gun in your inventory - // DD2Bartender: When Eater of World or Brain of Cthulhu has been defeated, found in world - // Stylist: Find in a spider nest - // GoblinTinkerer: Find in the world after a goblin invasion has been defeated - // WitchDoctor: When Queen Bee has been defeated - // Clothier: When Skeletron has been defeated - // Mechanic: Find in the dungeon - // PartyGirl: Acquire 14 other townspeople - // Wizard: Find in the cavern layer in hardmode - // TaxCollector: In hardmode, purify tortured soul with {$ItemName.PurificationPowder} [i:PurificationPowder] in the underworld - // Truffle: In hardmode, build a house in an above ground mushroom biome - // Pirate: When a Pirate invasion has been defeated - // Steampunker: When a Mechanical boss has been defeated - // Cyborg: When Plantera has been defeated - // SantaClaus: When Frost Legion has been defeated, only during December 15-31 - // Princess: Have all other town npcs in the world - // TownCat: Use {$ItemName.LicenseCat} [i:LicenseCat], sold by Zoologist - // TownDog: Use {$ItemName.LicenseDog} [i:LicenseDog], sold by Zoologist - // TownBunny: Use {$ItemName.LicenseBunny} [i:LicenseBunny], sold by Zoologist - // TownSlimeBlue: When King Slime has been defeated. - // TownSlimeGreen: When there is a naturally occurring Party. - // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern Layer with a {$ItemName.GoldenKey} [i:GoldenKey] after defeating Skeletron. - // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space Layer. - // TownSlimeRainbow: Drop {$ItemName.GelBalloon} [i:GelBalloon] into Shimmer. - // TownSlimeRed: Fished up during a Blood Moon. - // TownSlimeYellow: Use {$ItemName.PurificationPowder} [i:PurificationPowder] on a Mystic Frog in the Jungle. - // TownSlimeCopper: Drop a {$ItemName.CopperHelmet} [i:CopperHelmet] or a {$ItemName.CopperShortsword} [i:CopperShortsword] on a slime. + // DD2Bartender: Find in your world after the Eater of Worlds or Brain of Cthulhu has been defeated + // Stylist: Find in Spider Nests + // GoblinTinkerer: Find in the Cavern layer after a goblin invasion has been defeated + // WitchDoctor: Defeat the Queen Bee + // Clothier: Defeat Skeletron + // Mechanic: Find in the Dungeon + // PartyGirl: Has a low chance of appearing after at least 14 other town NPCs have arrived + // Wizard: Find in the Cavern layer during Hardmode + // TaxCollector: Purify a Tortured Soul with [i:PurificationPowder] {$ItemName.PurificationPowder} in the Underworld during Hardmode + // Truffle: Build a house in the surface Glowing Mushroom biome during Hardmode + // Pirate: Defeat a Pirate invasion + // Steampunker: Defeat any Mechanical boss + // Cyborg: Defeat Plantera + // SantaClaus: Arrives during the Christmas event, after the Frost Legion has been defeated + // Princess: Have all of the vanilla town NPCs (except Santa Claus) present in your world + // TownCat: Use [i:LicenseCat] {$ItemName.LicenseCat}, sold by the Zoologist + // TownDog: Use [i:LicenseDog] {$ItemName.LicenseDog}, sold by the Zoologist + // TownBunny: Use [i:LicenseBunny] {$ItemName.LicenseBunny}, sold by the Zoologist + // TownSlimeBlue: Defeat King Slime + // TownSlimeGreen: Appears during a naturally occurring Party + // TownSlimeOld: Unlock an Old Shaking Chest in the Cavern layer with a [i:GoldenKey] {$ItemName.GoldenKey} after defeating Skeletron + // TownSlimePurple: Break the balloon of the Clumsy Balloon Slime in the Space layer + // TownSlimeRainbow: Drop a [i:GelBalloon] {$ItemName.GelBalloon} into Shimmer + // TownSlimeRed: Can be fished up during a Blood Moon + // TownSlimeYellow: Use [i:PurificationPowder] {$ItemName.PurificationPowder} on a Mystic Frog in the Jungle + // TownSlimeCopper: Drop a [i:CopperHelmet] {$ItemName.CopperHelmet} or a [i:CopperShortsword] {$ItemName.CopperShortsword} on a slime enemy } diff --git a/Localization/pt-BR_Mods.Census.hjson b/Localization/pt-BR_Mods.Census.hjson index 304b4ea..2e76411 100644 --- a/Localization/pt-BR_Mods.Census.hjson +++ b/Localization/pt-BR_Mods.Census.hjson @@ -38,7 +38,13 @@ Configs: { } } -Next: Próximo +Next: + ''' + {0} + Próximo + ''' +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { Unknown: Condições desconhecidas diff --git a/Localization/ru-RU_Mods.Census.hjson b/Localization/ru-RU_Mods.Census.hjson index d0d7d76..c6f3d5f 100644 --- a/Localization/ru-RU_Mods.Census.hjson +++ b/Localization/ru-RU_Mods.Census.hjson @@ -1,95 +1,101 @@ Configs: { CensusConfigClient: { - DisplayName: Клиентские настройки Census + DisplayName: Клиентская конфигурация ShowLocatingArrow: { - Label: Показывать стрелку-указатель для НИПов + Label: Стрелка-указатель на НИПов Tooltip: ''' - При наведении на иконку заселившегося в мире НИПа в меню заселения, - возле игрока появится стрелка, указывающая на его местоположение - Пригодиться, чтобы находить НИПов, которых вы не смогли найти с помощью карты + При наведении на иконку НИПа в меню заселения, + возле персонажа появится стрелка, указывающая на его местоположение. + Полезно для нахождения НИПов, которых вы потеряли на карте. ''' } ArrowColor: { - Label: Цвет стрелки-указателя для НИПов + Label: Цвет стрелки-указателя на НИПов Tooltip: "" } DisableConditionsText: { Label: Отключить подсказки с условиями заселения - Tooltip: При наведении на иконку отсутствующего в мире НИПа, отображаться будет только его имя без текста с условиями его появления + Tooltip: Включите эту настройку, чтобы отключить отображение условий появления НИПов в меню заселения. } - Headers.DeveloperOptions: "[c/ff0000:Настройки разработчика]" + Headers.DeveloperOptions: "[c/ff0000:Для разработчиков]" DisableAutoLocalization: { Label: Отключить автолокализацию Tooltip: ''' - Census автоматически переводит непереведённые условия заселения НИПов из некоторых модов - Включите эту настройку, чтобы отключить автоматический перевод + Если у вас включён Census при сборке мода, добавляющего нового городского НИПа, + то он автоматически создаст ключ локализации для условий его заселения. + Включите эту настройку, чтобы отключить автоматическое создание ключей. ''' } } } -Next: Следующий +Next: + ''' + {0} + Придёт следующим + ''' +# {0} - NPC name, {1} - condition +Condition: "{0}: {1}" SpawnConditions: { Unknown: Условия заселения неизвестны - Guide: Условий нет, можно найти неподалёку от точки возрождения сразу же после создания мира - Merchant: Необходимо наличие [i/s50:SilverCoin] в инвентаре - Nurse: Необходимо иметь более 100 ед. максимального здоровья и заселившегося в мире торговца - Demolitionist: Необходимо наличие любой взрывчатки в инвентаре и заселившийся в мире торговец + Guide: Всегда доступен — появляется при генерации мира + Merchant: Необходимо иметь как минимум [i/s50:SilverCoin] в инвентаре + Nurse: Необходимо иметь как минимум 100 ед. максимального здоровья и заселившегося в мире торговца + Demolitionist: Необходимо наличие любой взрывчатки в инвентаре и заселившегося в мире торговец DyeTrader: ''' - Необходимо наличие красителя, ингредиента для красителя - или странного растения в инвентаре и минимум 4 заселившихся в мире НИПов + + Необходимо наличие красителя, ингредиента для красителя, странного растения + или чана для красителей в инвентаре и как минимум 4 заселившихся в мире жителей ''' - Angler: Можно найти в океане - BestiaryGirl: Необходимо открыть бестиарий минимум на 10% - Dryad: Необходимо победить Глаз Ктулху, Пожирателя миров, Мозг Ктулху или Скелетрона - Painter: Необходимо наличие минимум 8 заселившихся в мире НИПов - Golfer: Можно найти в подземной пустыне - ArmsDealer: Необходимо наличие любого огнестрельного оружия или боеприпасов к нему в инвентаре - DD2Bartender: Можно найти в мире после победы над Пожирателем миров или Мозгом Ктулху - Stylist: Можно найти в паучьем гнезде - GoblinTinkerer: Можно найти в пещерах после победы над Армией гоблинов - WitchDoctor: Необходимо победить Королеву пчёл - Clothier: Необходимо победить Скелетрона - Mechanic: Можно найти в темнице после победы над Скелетроном - PartyGirl: Необходимо наличие минимум 14 заселившихся в мире НИПов - Wizard: Можно найти в пещерах после победы над Стеной плоти + Angler: Найдите рядом с океаном и разбудите + BestiaryGirl: Откройте бестиарий как минимум на 10% + Dryad: Одолейте Глаз Ктулху, Пожирателя миров, Мозг Ктулху или Скелетрона + Painter: Необходимо наличие как минимум 8 заселившихся в мире жителей + Golfer: Найдите в подземной пустыне и поговорите + ArmsDealer: Необходимо иметь любое огнестрельное оружие или как минимум одну пулю в инвентаре + DD2Bartender: Найдите в случайном месте после победы над Пожирателем миров или Мозгом Ктулху и разбудите + Stylist: Найдите в паучьем гнезде и освободите + GoblinTinkerer: Найдите в пещерах после победы над армией гоблинов и освободите + WitchDoctor: Одолейте Королеву пчёл + Clothier: Одолейте Скелетрона + Mechanic: Найдите в Темнице после победы над Скелетроном и освободите + PartyGirl: Приходит с очень низким шансом, если в мире есть как минимум 14 заселившихся жителей + Wizard: Найдите в пещерах в хардмоде и освободите TaxCollector: ''' - Необходимо осыпать [i:PurificationPowder] очищающим порошком - измученную душу, появляющуюся в преисподней после победы над Стеной плоти - ''' - Truffle: Необходимо иметь свободное жильё в наземном биоме светящихся грибов и победить Стену плоти - Pirate: Необходимо победить Пиратское нашествие - Steampunker: Необходимо победить любого механического босса - Cyborg: Необходимо победить Плантеру - SantaClaus: Необходимо сезонное событие Рождества (15-31 дек.) и победить Морозный легион - Princess: - ''' - Необходимо наличие всех остальных заселившихся в мире ванильных НИПов - (кроме Санта-Клауса и НИПов, которые не могут заселиться) + + Осыпьте [i:PurificationPowder] очищающим порошком измученную душу, + появляющуюся в преисподней в хардмоде ''' - TownCat: Необходимо использовать [i:LicenseCat] разрешение на кошку, купить которое можно у зоолога - TownDog: Необходимо использовать [i:LicenseDog] разрешение на собаку, купить которое можно у зоолога - TownBunny: Необходимо использовать [i:LicenseBunny] разрешение на кролика, купить которое можно у зоолога - TownSlimeBlue: Необходимо победить Короля Слизней - TownSlimeGreen: Необходимо событие Вечеринки + Truffle: Приходит в хардмоде только в жильё, построенное в наземном биоме светящихся грибов + Pirate: Одолейте вторжение пиратов + Steampunker: Одолейте любого механического босса + Cyborg: Одолейте Плантеру + SantaClaus: Приходит только в сезон Рождества после победы над Морозным легионом + Princess: Необходимо наличие всех остальных заселившихся в мире ванильных НИПов (кроме Санта-Клауса) + TownCat: Используйте [i:LicenseCat] разрешение на кошку, которое можно купить у зоолога + TownDog: Используйте [i:LicenseDog] разрешение на собаку, которое можно купить у зоолога + TownBunny: Используйте [i:LicenseBunny] разрешение на кролика, которое можно купить у зоолога + TownSlimeBlue: Одолейте Короля Слизней + TownSlimeGreen: Приходит во время вечеринки TownSlimeOld: ''' - Необходимо открыть [i:GoldenKey] золотым ключом - старый трясущийся сундук, появляющийся в пещерах после победы над Скелетроном + + Откройте [i:GoldenKey] золотым ключом старый трясущийся сундук, + появляющийся в пещерах после победы над Скелетроном ''' - TownSlimePurple: Необходимо лопнуть шарик неуклюжего слизня на шарике, появляющегося в космсое - TownSlimeRainbow: Необходимо бросить [i:GelBalloon] блестящий слизевой шарик в мерцание + TownSlimePurple: Лопните шарик неуклюжего слизня, появляющегося в космосе + TownSlimeRainbow: Бросьте [i:GelBalloon] блестящий слизевой шарик в мерцание TownSlimeRed: Можно выловить удочкой во время кровавой луны - TownSlimeYellow: Необходимо осыпать [i:PurificationPowder] очищающим порошком таинственную лягушку, появляющуюся в джунглях - TownSlimeCopper: Необходимо бросить [i:CopperHelmet] медный шлем или [i:CopperShortsword] медный клинок в любого слизня + TownSlimeYellow: Осыпьте [i:PurificationPowder] очищающим порошком таинственную лягушку, появляющуюся в джунглях + TownSlimeCopper: Бросьте [i:CopperHelmet] медный шлем или [i:CopperShortsword] медный клинок в любого враждебного слизня } diff --git a/Localization/zh-Hans_Mods.Census.hjson b/Localization/zh-Hans_Mods.Census.hjson index 4c1facd..de87345 100644 --- a/Localization/zh-Hans_Mods.Census.hjson +++ b/Localization/zh-Hans_Mods.Census.hjson @@ -38,7 +38,13 @@ Configs: { } } -Next: 文本 +Next: + ''' + {0} + 文本 + ''' +# {0} - NPC name, {1} - condition +// Condition: "{0} - {1}" SpawnConditions: { Unknown: 未知条件。