diff --git a/JotunnModStub/Aswid/AswidBloodPotions.cs b/JotunnModStub/Aswid/AswidBloodPotions.cs
index a9a17f1..cf592e4 100644
--- a/JotunnModStub/Aswid/AswidBloodPotions.cs
+++ b/JotunnModStub/Aswid/AswidBloodPotions.cs
@@ -27,8 +27,8 @@ namespace RacesOfValheim
public const string SuperiorBaseName = "MeadBaseSuperiorBloodPotion";
public const string SuperiorPotionName = "MeadSuperiorBloodPotion";
- private const string PotionDisplayName = "Blood Potion";
- private const string SuperiorPotionDisplayName = "Superior Blood Potion";
+ private const string PotionDisplayName = "$rov_item_aswid_bloodpotion_name";
+ private const string SuperiorPotionDisplayName = "$rov_item_aswid_superiorbloodpotion_name";
private const float HealDuration = 8f;
private const float HealFraction = 0.05f;
@@ -54,15 +54,14 @@ namespace RacesOfValheim
SE_BloodPotion superiorDrink = CreateEffect("SE_SuperiorBloodPotion", SuperiorPotionDisplayName,
SuperiorHealFraction, AswidBloodRefinery.SuperiorEssenceName, "MoltenCore");
- GameObject meadBase = CloneItem(BaseName, "MeadBaseHealthMinor", "Blood Potion Mead Base",
- "Blood, berries and crypt light, waiting on a barrel.");
+ GameObject meadBase = CloneItem(BaseName, "MeadBaseHealthMinor", "$rov_item_aswid_bloodpotionbase_name",
+ "$rov_item_aswid_bloodpotionbase_desc");
GameObject potion = CloneItem(PotionName, "MeadHealthMinor", PotionDisplayName,
- "Drink and the hunger stops mattering for a while. Fills every stomach with blood essence, " +
- "full or not, and knits the flesh back together.");
- GameObject superiorBase = CloneItem(SuperiorBaseName, "MeadBaseHealthMedium", "Superior Blood Potion Mead Base",
- "The twice-rendered draught, still raw.");
+ "$rov_item_aswid_bloodpotion_desc");
+ GameObject superiorBase = CloneItem(SuperiorBaseName, "MeadBaseHealthMedium", "$rov_item_aswid_superiorbloodpotionbase_name",
+ "$rov_item_aswid_superiorbloodpotionbase_desc");
GameObject superiorPotion = CloneItem(SuperiorPotionName, "MeadHealthMedium", SuperiorPotionDisplayName,
- "The same mercy, twice as deep.");
+ "$rov_item_aswid_superiorbloodpotion_desc");
AttachEffect(potion, drink);
AttachEffect(superiorPotion, superiorDrink);
diff --git a/JotunnModStub/Aswid/AswidBloodRefinery.cs b/JotunnModStub/Aswid/AswidBloodRefinery.cs
index c89a2fd..0e8d711 100644
--- a/JotunnModStub/Aswid/AswidBloodRefinery.cs
+++ b/JotunnModStub/Aswid/AswidBloodRefinery.cs
@@ -30,10 +30,10 @@ namespace RacesOfValheim
// The Aswid food patches recognise a meal by its display name, so these strings are part
// of the contract with AswidPatches - see IsAswidMeal.
- public const string EssenceDisplayName = "Blood Essence";
- public const string SuperiorEssenceDisplayName = "Superior Blood Essence";
- public const string CoreDisplayName = "Blood Core";
- public const string PieceDisplayName = "Blood Refinery";
+ public const string EssenceDisplayName = "$rov_item_aswid_bloodessence_name";
+ public const string SuperiorEssenceDisplayName = "$rov_item_aswid_superiorbloodessence_name";
+ public const string CoreDisplayName = "$rov_item_aswid_bloodcore_name";
+ public const string PieceDisplayName = "$rov_piece_aswid_bloodrefinery_name";
// Regeneration is tied to the health value rather than set per tier, so 60 hp gives 5 and
// 80 hp gives 6.67 without a second number to keep in sync.
@@ -94,7 +94,7 @@ namespace RacesOfValheim
public static bool IsAswidMeal(ItemDrop.ItemData item)
{
if (item == null || item.m_shared == null || item.m_shared.m_name == null) return false;
- return item.m_shared.m_name.StartsWith("Aswid Food:")
+ return item.m_shared.m_name.StartsWith(AswidRace.AswidFoodNamePrefix)
|| item.m_shared.m_name == EssenceDisplayName
|| IsEssence(item);
}
@@ -122,8 +122,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = CoreDisplayName;
- shared.m_description = "A knot of clotted blood kept beating by something that is not a heart. " +
- "The dead trade them; only the dead know how they are made.";
+ shared.m_description = "$rov_item_aswid_bloodcore_desc";
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_food = 0f;
shared.m_foodStamina = 0f;
@@ -142,8 +141,7 @@ namespace RacesOfValheim
EssencePrefab = BuildEssence(
EssenceName,
EssenceDisplayName,
- "Blood rendered down to what it actually is. The only real food an Aswid can " +
- "still chew, and the base of every draught worth brewing.",
+ "$rov_item_aswid_bloodessence_desc",
food: 60f,
tint: EssenceTint,
iconSource: "GemstoneRed");
@@ -151,7 +149,7 @@ namespace RacesOfValheim
SuperiorEssencePrefab = BuildEssence(
SuperiorEssenceName,
SuperiorEssenceDisplayName,
- "The same blood, rendered twice. Darker, thicker, and worth five of the first pass.",
+ "$rov_item_aswid_superiorbloodessence_desc",
food: 80f,
tint: SuperiorEssenceTint,
iconSource: "MoltenCore");
@@ -267,7 +265,7 @@ namespace RacesOfValheim
PieceConfig config = new PieceConfig
{
Name = PieceDisplayName,
- Description = "Flesh goes in, bone goes in, and what is left of both comes out red.",
+ Description = "$rov_piece_aswid_bloodrefinery_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Requirements = new[]
diff --git a/JotunnModStub/Aswid/AswidClaws.cs b/JotunnModStub/Aswid/AswidClaws.cs
index cbfe3db..774857d 100644
--- a/JotunnModStub/Aswid/AswidClaws.cs
+++ b/JotunnModStub/Aswid/AswidClaws.cs
@@ -20,8 +20,8 @@ namespace RacesOfValheim
public override string RaceId => "Aswid";
public override string ItemName => "AswidBeastClaws";
- public override string DisplayName => "Claws of the Beast";
- public override string Description => "Grown in the dark, and darker for it. They do not come off.";
+ public override string DisplayName => "$rov_item_aswid_claws_name";
+ public override string Description => "$rov_item_aswid_claws_desc";
// The Bjorn claw first, by name, because that is the one this race is meant to wear. The
// rest are the near-identical ids the manifest also carries - see SvermConfig's own
diff --git a/JotunnModStub/Aswid/AswidRace.cs b/JotunnModStub/Aswid/AswidRace.cs
index c864a7f..2ca35de 100644
--- a/JotunnModStub/Aswid/AswidRace.cs
+++ b/JotunnModStub/Aswid/AswidRace.cs
@@ -7,6 +7,9 @@ namespace RacesOfValheim
{
public class AswidRace : MonoBehaviour
{
+ /// The start of every Aswid food's name, and how those items are told apart.
+ public const string AswidFoodNamePrefix = "$rov_item_aswid_food_name";
+
public static AswidRace Instance { get; private set; }
private static Dictionary mobToTrophyMap = new Dictionary
@@ -117,8 +120,12 @@ namespace RacesOfValheim
string foodName = "AswidFood_" + mobName;
Jotunn.Configs.ItemConfig config = new Jotunn.Configs.ItemConfig();
- config.Name = "Aswid Food: " + mobName;
- config.Description = "The life force of the conquered.";
+ // The prefix token and the creature's own vanilla token ("$enemy_boar"), which the
+ // game translates too. The prefix is also how the refinery recognises these items -
+ // see AswidBloodRefinery.IsAswidMeal - so the two must stay the same string.
+ string mobDisplay = Jotunn.Managers.PrefabManager.Cache.GetPrefab(mobName)?.m_name;
+ config.Name = AswidFoodNamePrefix + " " + (string.IsNullOrEmpty(mobDisplay) ? mobName : mobDisplay);
+ config.Description = "$rov_item_aswid_food_desc";
Jotunn.Entities.CustomItem customItem = null;
diff --git a/JotunnModStub/Aswid/AswidSpectralClaw.cs b/JotunnModStub/Aswid/AswidSpectralClaw.cs
index 64f2c87..01e568d 100644
--- a/JotunnModStub/Aswid/AswidSpectralClaw.cs
+++ b/JotunnModStub/Aswid/AswidSpectralClaw.cs
@@ -156,8 +156,8 @@ namespace RacesOfValheim
ItemDrop itemDrop = clone.GetComponent();
if (itemDrop == null) return false;
- itemDrop.m_itemData.m_shared.m_name = "Spectral Claw";
- itemDrop.m_itemData.m_shared.m_description = "A claw of pure shadow, bound to your rage rather than your grip.";
+ itemDrop.m_itemData.m_shared.m_name = "$rov_item_aswid_spectralclaw_name";
+ itemDrop.m_itemData.m_shared.m_description = "$rov_item_aswid_spectralclaw_desc";
itemDrop.m_itemData.m_shared.m_weight = 0f;
itemDrop.m_itemData.m_shared.m_useDurability = false;
itemDrop.m_itemData.m_shared.m_questItem = true; // undroppable, unsellable
diff --git a/JotunnModStub/Butler/BoneServant.cs b/JotunnModStub/Butler/BoneServant.cs
index bbd9147..8c7a0a3 100644
--- a/JotunnModStub/Butler/BoneServant.cs
+++ b/JotunnModStub/Butler/BoneServant.cs
@@ -42,13 +42,13 @@ namespace RacesOfValheim
// The smith inherits the names the single servant had, so nothing already built is orphaned.
public const string SmithName = "BoneServant";
public const string SmithTableName = "ServantTable";
- public const string SmithDisplay = "Bone Smith";
- public const string SmithTableDisplay = "Smith's Table";
+ public const string SmithDisplay = "$rov_creature_bonesmith_name";
+ public const string SmithTableDisplay = "$rov_piece_smithtable_name";
public const string CookName = "BoneCook";
public const string CookTableName = "CookTable";
- public const string CookDisplay = "Bone Cook";
- public const string CookTableDisplay = "Cook's Table";
+ public const string CookDisplay = "$rov_creature_bonecook_name";
+ public const string CookTableDisplay = "$rov_piece_cooktable_name";
/// Vanilla's guaranteed-melee skeleton: the plain one rolls its own weapon, and the
/// point here is to have none at all.
@@ -90,7 +90,7 @@ namespace RacesOfValheim
if (RegisterServant(SmithName, SmithDisplay, ButlerFamily.Forge))
{
RegisterTable(SmithTableName, SmithTableDisplay, SmithName, ButlerFamily.Forge,
- "A slab of bone and slate, dusted with ore. Something patient waits by the fires.",
+ "$rov_piece_smithtable_desc",
"Coal");
PieceDensityLimit.Register(SmithTableName, TableSpacing, 1,
@@ -114,7 +114,7 @@ namespace RacesOfValheim
if (RegisterServant(CookName, CookDisplay, ButlerFamily.Kitchen))
{
RegisterTable(CookTableName, CookTableDisplay, CookName, ButlerFamily.Kitchen,
- "A slab of bone and slate, worn smooth. Something patient waits by the hearth.",
+ "$rov_piece_cooktable_desc",
"CookedMeat");
PieceDensityLimit.Register(CookTableName, TableSpacing, 1,
diff --git a/JotunnModStub/Draugh/DraughHumanMeat.cs b/JotunnModStub/Draugh/DraughHumanMeat.cs
index 6ba3293..8a4977f 100644
--- a/JotunnModStub/Draugh/DraughHumanMeat.cs
+++ b/JotunnModStub/Draugh/DraughHumanMeat.cs
@@ -72,8 +72,8 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = item.ItemDrop.m_itemData.m_shared;
ItemDrop.ItemData.SharedData source = nourishment.m_itemData.m_shared;
- shared.m_name = "Human Meat";
- shared.m_description = "A piece of somebody. The living gag on it; you do not.";
+ shared.m_name = "$rov_item_draugh_humanmeat_name";
+ shared.m_description = "$rov_item_draugh_humanmeat_desc";
// Raw meat is a Material in vanilla, so none of the food fields below would be read
// without this.
diff --git a/JotunnModStub/Draugh/DraughSpawner.cs b/JotunnModStub/Draugh/DraughSpawner.cs
index b921be7..9e00fd5 100644
--- a/JotunnModStub/Draugh/DraughSpawner.cs
+++ b/JotunnModStub/Draugh/DraughSpawner.cs
@@ -25,17 +25,17 @@ namespace RacesOfValheim
{
// ─── Names ───────────────────────────────────────────────────────────
public const string PieceName = "DraughBodyPile";
- public const string PieceDisplayName = "Cursed Body Pile";
+ public const string PieceDisplayName = "$rov_piece_draugh_bodypile_name";
public const string BoneName = "CursedBone";
- public const string BoneDisplayName = "Cursed Bone";
+ public const string BoneDisplayName = "$rov_item_draugh_cursedbone_name";
public const string GreaterBoneName = "GreaterCursedBone";
- public const string GreaterBoneDisplayName = "Greater Cursed Bone";
+ public const string GreaterBoneDisplayName = "$rov_item_draugh_greatercursedbone_name";
public const string ThrallName = "DraughThrall_Draugr";
public const string ThrallEliteName = "DraughThrall_DraugrElite";
- public const string ThrallDisplayName = "Draugr Thrall";
- public const string ThrallEliteDisplayName = "Draugr Elite Thrall";
+ public const string ThrallDisplayName = "$rov_creature_draugh_thrall_name";
+ public const string ThrallEliteDisplayName = "$rov_creature_draugh_thrallelite_name";
// RaisedThrall groups by kind for follower caps and for the roster, so these are the strings
// that decide "is this one an officer" - no longer a display-name comparison.
@@ -118,9 +118,9 @@ namespace RacesOfValheim
public static void Register()
{
RegisterBone(BoneName, BoneDisplayName, BoneTint,
- "A bone that will not stay quiet. The dead sell them; the dead do not say why.");
+ "$rov_item_draugh_cursedbone_desc");
RegisterBone(GreaterBoneName, GreaterBoneDisplayName, GreaterBoneTint,
- "The same bone, older, and louder. A pile fed one of these starts keeping officers.");
+ "$rov_item_draugh_greatercursedbone_desc");
RegisterThrall(ThrallName, "Draugr", ThrallDisplayName, KindNormal, MaxFollowers);
RegisterThrall(ThrallEliteName, "Draugr_Elite", ThrallEliteDisplayName, KindElite, MaxEliteFollowers);
@@ -263,7 +263,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "Feed it and it answers. The dead here are yours, if you are dead enough to ask.",
+ Description = "$rov_piece_draugh_bodypile_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon(TrophyDraugr),
diff --git a/JotunnModStub/Dvergar/DvergarBanco.cs b/JotunnModStub/Dvergar/DvergarBanco.cs
index f686d6a..b18e968 100644
--- a/JotunnModStub/Dvergar/DvergarBanco.cs
+++ b/JotunnModStub/Dvergar/DvergarBanco.cs
@@ -36,7 +36,7 @@ namespace RacesOfValheim
public static class DvergarBanco
{
public const string PieceName = "DvergarContractBank";
- public const string PieceDisplayName = "Contract Bank";
+ public const string PieceDisplayName = "$rov_piece_dvergar_contractbank_name";
public const string RaceId = DvergarConfig.RaceId;
/// The Queen's drop, mapped to state 7 in BossProgressionManager. Mistlands money for
@@ -348,7 +348,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "A ledger, a seal and a heap of coin. Sign here and someone else does the dying.",
+ Description = "$rov_piece_dvergar_contractbank_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon("TrophyDvergr"),
diff --git a/JotunnModStub/Dvergar/DvergarBotte.cs b/JotunnModStub/Dvergar/DvergarBotte.cs
index b389bc8..05ee712 100644
--- a/JotunnModStub/Dvergar/DvergarBotte.cs
+++ b/JotunnModStub/Dvergar/DvergarBotte.cs
@@ -33,7 +33,7 @@ namespace RacesOfValheim
public static class DvergarBotte
{
public const string PieceName = "DvergarRuneBarrel";
- public const string PieceDisplayName = "Rune Barrel";
+ public const string PieceDisplayName = "$rov_piece_dvergar_runebarrel_name";
public const string RaceId = DvergarConfig.RaceId;
/// How many drinks it holds. One dose is one mercenary served, so twenty is four
@@ -101,8 +101,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "Pour a brew in and the crew drinks. What it does to them is whatever it " +
- "would have done to you - if they have the parts for it.",
+ Description = "$rov_piece_dvergar_runebarrel_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon("MeadHealthMinor") ?? BorrowIcon("TrophyDvergr"),
diff --git a/JotunnModStub/Fenrir/FenrirClaws.cs b/JotunnModStub/Fenrir/FenrirClaws.cs
index ebe749d..a9a8f15 100644
--- a/JotunnModStub/Fenrir/FenrirClaws.cs
+++ b/JotunnModStub/Fenrir/FenrirClaws.cs
@@ -19,8 +19,8 @@ namespace RacesOfValheim
public override string RaceId => "Fenrir";
public override string ItemName => "FenrirCursedClaws";
- public override string DisplayName => "Cursed Claws";
- public override string Description => "The wolf's hands, kept on in the man's shape. They do not come off.";
+ public override string DisplayName => "$rov_item_fenrir_claws_name";
+ public override string Description => "$rov_item_fenrir_claws_desc";
public override string[] ModelPrefabs => new[]
{
diff --git a/JotunnModStub/Fenrir/FenrirMangiatoia.cs b/JotunnModStub/Fenrir/FenrirMangiatoia.cs
index 79a9c38..b098f0a 100644
--- a/JotunnModStub/Fenrir/FenrirMangiatoia.cs
+++ b/JotunnModStub/Fenrir/FenrirMangiatoia.cs
@@ -35,12 +35,12 @@ namespace RacesOfValheim
{
// ─── Names ───────────────────────────────────────────────────────────
public const string PieceName = "FenrirPackTrough";
- public const string PieceDisplayName = "Pack Trough";
+ public const string PieceDisplayName = "$rov_piece_fenrir_packtrough_name";
public const string UlvsblodName = "Ulvsblod";
- public const string UlvsblodDisplayName = "Ulvsblod";
+ public const string UlvsblodDisplayName = "$rov_item_fenrir_ulvsblod_name";
public const string GreaterUlvsblodName = "GreaterUlvsblod";
- public const string GreaterUlvsblodDisplayName = "Greater Ulvsblod";
+ public const string GreaterUlvsblodDisplayName = "$rov_item_fenrir_greaterulvsblod_name";
public const int UlvsblodPrice = 500;
public const int GreaterUlvsblodPrice = 1500;
@@ -49,9 +49,9 @@ namespace RacesOfValheim
public const string UlvName = "FenrirPack_Ulv";
public const string FenrirName = "FenrirPack_Fenrir";
- public const string WolfDisplayName = "Pack Wolf";
- public const string UlvDisplayName = "Ulv";
- public const string FenrirDisplayName = "Fenrir";
+ public const string WolfDisplayName = "$rov_creature_fenrir_packwolf_name";
+ public const string UlvDisplayName = "$rov_creature_fenrir_packulv_name";
+ public const string FenrirDisplayName = "$rov_creature_fenrir_packfenrir_name";
public const string KindWolf = "FenrirPackWolf";
public const string KindUlv = "FenrirPackUlv";
@@ -140,18 +140,16 @@ namespace RacesOfValheim
public static void Register()
{
RegisterUlvsblod(UlvsblodName, UlvsblodDisplayName, UlvsblodTint,
- "Wolf blood, kept warm by something that should not be able to keep anything warm. " +
- "The Fenring sell it and do not explain it.");
+ "$rov_item_fenrir_ulvsblod_desc");
RegisterUlvsblod(GreaterUlvsblodName, GreaterUlvsblodDisplayName, GreaterUlvsblodTint,
- "Older blood, and further down the line. A trough given one of these starts raising " +
- "something worse than ulv.");
+ "$rov_item_fenrir_greaterulvsblod_desc");
RegisterPackAnimal(WolfName, "Wolf", WolfDisplayName, KindWolf,
- "It answers to the blood of the wolf, not to you.", 1f);
+ "$rov_creature_fenrir_pack_desc", 1f);
RegisterPackAnimal(UlvName, "Ulv", UlvDisplayName, KindUlv,
- "It answers to the blood of the wolf, not to you.", 1f);
+ "$rov_creature_fenrir_pack_desc", 1f);
RegisterPackAnimal(FenrirName, "Fenring", FenrirDisplayName, KindFenrir,
- "Only the blood of the wolf commands this one.", FenrirScale);
+ "$rov_creature_fenrir_packfenrir_desc", FenrirScale);
RegisterPiece();
@@ -338,7 +336,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "Fill it with meat and the pack comes. One at a time, and it remembers its dead.",
+ Description = "$rov_piece_fenrir_packtrough_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon("TrophyFenring"),
diff --git a/JotunnModStub/Furling/FurlingCrops.cs b/JotunnModStub/Furling/FurlingCrops.cs
index 75a7455..79cf5c9 100644
--- a/JotunnModStub/Furling/FurlingCrops.cs
+++ b/JotunnModStub/Furling/FurlingCrops.cs
@@ -65,27 +65,27 @@ namespace RacesOfValheim
{
new MetalCrop
{
- Metal = "Copper", FlaxName = "CopperFlax", FlaxDisplay = "Copper Flax",
- DustName = "CopperDust", DustDisplay = "Copper Dust",
+ Metal = "Copper", FlaxName = "CopperFlax", FlaxDisplay = "$rov_item_furling_copperflax_name",
+ DustName = "CopperDust", DustDisplay = "$rov_item_furling_copperdust_name",
PickableName = "Pickable_CopperFlax", SaplingName = "sapling_copperflax",
- SaplingDisplay = "Copper Flax", OrePrefab = "CopperOre",
+ SaplingDisplay = "$rov_piece_furling_copperflaxsapling_name", OrePrefab = "CopperOre",
Tint = new Color(0.72f, 0.45f, 0.20f, 1f),
},
new MetalCrop
{
- Metal = "Tin", FlaxName = "TinFlax", FlaxDisplay = "Tin Flax",
- DustName = "TinDust", DustDisplay = "Tin Dust",
+ Metal = "Tin", FlaxName = "TinFlax", FlaxDisplay = "$rov_item_furling_tinflax_name",
+ DustName = "TinDust", DustDisplay = "$rov_item_furling_tindust_name",
PickableName = "Pickable_TinFlax", SaplingName = "sapling_tinflax",
- SaplingDisplay = "Tin Flax", OrePrefab = "TinOre",
+ SaplingDisplay = "$rov_piece_furling_tinflaxsapling_name", OrePrefab = "TinOre",
Tint = new Color(0.80f, 0.82f, 0.85f, 1f),
},
new MetalCrop
{
- Metal = "Iron", FlaxName = "IronFlax", FlaxDisplay = "Iron Flax",
- DustName = "IronDust", DustDisplay = "Iron Dust",
+ Metal = "Iron", FlaxName = "IronFlax", FlaxDisplay = "$rov_item_furling_ironflax_name",
+ DustName = "IronDust", DustDisplay = "$rov_item_furling_irondust_name",
PickableName = "Pickable_IronFlax", SaplingName = "sapling_ironflax",
// Iron's raw form is IronScrap, not "IronOre" - there is no IronOre prefab.
- SaplingDisplay = "Iron Flax", OrePrefab = "IronScrap",
+ SaplingDisplay = "$rov_piece_furling_ironflaxsapling_name", OrePrefab = "IronScrap",
Tint = new Color(0.35f, 0.36f, 0.38f, 1f),
},
};
@@ -104,18 +104,29 @@ namespace RacesOfValheim
{
new RockBerry
{
- BerryName = "Stoneberry", BerryDisplay = "Stoneberry",
- BushName = "StoneberryBush", BushDisplay = "Stoneberry Bush",
+ BerryName = "Stoneberry", BerryDisplay = "$rov_item_furling_stoneberry_name",
+ BushName = "StoneberryBush", BushDisplay = "$rov_piece_furling_stoneberrybush_name",
YieldPrefab = "Stone", Tint = new Color(0.55f, 0.55f, 0.55f, 1f),
},
new RockBerry
{
- BerryName = "Flintberry", BerryDisplay = "Flintberry",
- BushName = "FlintberryBush", BushDisplay = "Flintberry Bush",
+ BerryName = "Flintberry", BerryDisplay = "$rov_item_furling_flintberry_name",
+ BushName = "FlintberryBush", BushDisplay = "$rov_piece_furling_flintberrybush_name",
YieldPrefab = "Flint", Tint = new Color(0.30f, 0.32f, 0.35f, 1f),
},
};
+ ///
+ /// The description token that goes with a name token: "$rov_item_furling_tinflax_name" gives
+ /// "$rov_item_furling_tinflax_desc". One whole sentence per crop in the translation files,
+ /// rather than one sentence with the metal dropped in, so a translator can decline the metal
+ /// or move it wherever their language wants it.
+ ///
+ private static string DescriptionFor(string nameToken)
+ {
+ return nameToken.EndsWith("_name") ? nameToken.Substring(0, nameToken.Length - 5) + "_desc" : nameToken;
+ }
+
public static void Register()
{
foreach (MetalCrop crop in Crops) RegisterCrop(crop);
@@ -151,8 +162,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = crop.FlaxDisplay;
- shared.m_description = $"Flax grown in {crop.Metal.ToLowerInvariant()}-poisoned soil, and it took. " +
- "Useless as cloth. Grind it and see.";
+ shared.m_description = DescriptionFor(crop.FlaxDisplay);
// Teleportable is inherited from Flax and left alone on purpose: the flax travels, the
// dust does not. That asymmetry is the whole point of the chain.
@@ -177,8 +187,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = crop.DustDisplay;
- shared.m_description = $"A sack of {crop.Metal.ToLowerInvariant()} ground fine. " +
- "A furnace cannot tell it from ore, and it will not go through a portal either.";
+ shared.m_description = DescriptionFor(crop.DustDisplay);
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_food = 0f;
shared.m_foodStamina = 0f;
@@ -280,7 +289,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = crop.SaplingDisplay,
- Description = $"Plant it and it grows more {crop.FlaxDisplay}.",
+ Description = DescriptionFor(crop.SaplingDisplay),
PieceTable = PieceTables.Cultivator,
Requirements = new[] { new RequirementConfig(crop.FlaxName, 1, 0, true) },
}));
@@ -310,7 +319,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = berry.BerryDisplay;
- shared.m_description = $"Not a berry, whatever it looks like. Bury one and a {berry.YieldPrefab.ToLowerInvariant()}-bearing bush comes up.";
+ shared.m_description = DescriptionFor(berry.BerryDisplay);
// Inedible, as designed. Material with every food value at zero also keeps it clear of
// the Trenta's vegan check and of the Aswid/Skeleton food gates, all three of which only
@@ -385,7 +394,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = berry.BushDisplay,
- Description = $"Yields {berry.YieldPrefab.ToLowerInvariant()}, and keeps yielding it.",
+ Description = DescriptionFor(berry.BushDisplay),
PieceTable = PieceTables.Cultivator,
// The one thing that was actually missing the first time round.
Icon = BorrowIcon(berry.YieldPrefab),
diff --git a/JotunnModStub/RaceMenuWard.cs b/JotunnModStub/RaceMenuWard.cs
index 255b38e..5457560 100644
--- a/JotunnModStub/RaceMenuWard.cs
+++ b/JotunnModStub/RaceMenuWard.cs
@@ -46,8 +46,8 @@ namespace RacesOfValheim
PieceConfig config = new PieceConfig
{
- Name = "Race Menu Ward",
- Description = "Commune with your heritage. Offer a fallen boss's relic to claim its power.",
+ Name = "$rov_piece_racemenuward_name",
+ Description = "$rov_piece_racemenuward_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Misc,
// Deliberately trivial: this is a utility the player needs early, not a reward.
@@ -167,7 +167,7 @@ namespace RacesOfValheim
// serialised m_hoverOffset, which is 0 unless the prefab sets one, so 0 is vanilla behaviour.
public float GetHoverOffset() => 0f;
- public string GetHoverName() => "Race Menu Ward";
+ public string GetHoverName() => "$rov_piece_racemenuward_name";
public string GetHoverText()
{
@@ -266,7 +266,7 @@ namespace RacesOfValheim
Image bg = panel.AddComponent();
bg.color = new Color(0f, 0f, 0f, 0.85f);
- AddLabel("Title", "Race Menu Ward", 46, new Vector2(0, 230), new Vector2(700, 90));
+ AddLabel("Title", ModText.Get("rov_piece_racemenuward_name"), 46, new Vector2(0, 230), new Vector2(700, 90));
AddLabel("Status", BuildStatusText(), 24, new Vector2(0, 110), new Vector2(900, 160));
diff --git a/JotunnModStub/Skadi/SkadiFrostHeart.cs b/JotunnModStub/Skadi/SkadiFrostHeart.cs
index 0b53594..d2d50cc 100644
--- a/JotunnModStub/Skadi/SkadiFrostHeart.cs
+++ b/JotunnModStub/Skadi/SkadiFrostHeart.cs
@@ -18,7 +18,7 @@ namespace RacesOfValheim
public static class SkadiFrostHeart
{
public const string PrefabName = "GreaterFrostHeart";
- public const string DisplayName = "Greater Frost Heart";
+ public const string DisplayName = "$rov_item_skadi_greaterfrostheart_name";
public const int Price = 1500;
private const string SourcePrefab = "FreezeGland";
@@ -43,7 +43,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = DisplayName;
- shared.m_description = "Older cold than the mountain's. The cultists sell it and will not say where they dig.";
+ shared.m_description = "$rov_item_skadi_greaterfrostheart_desc";
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_weight = 0.5f;
shared.m_maxStackSize = 10;
diff --git a/JotunnModStub/Skadi/SkadiGolem.cs b/JotunnModStub/Skadi/SkadiGolem.cs
index 07e6aeb..9a1035e 100644
--- a/JotunnModStub/Skadi/SkadiGolem.cs
+++ b/JotunnModStub/Skadi/SkadiGolem.cs
@@ -39,7 +39,7 @@ namespace RacesOfValheim
// ─── Names ───────────────────────────────────────────────────────────
public const string GolemName = "SkadiCrystalGolem";
public const string SeedPieceName = "SkadiCrystalGolemSeed";
- public const string DisplayName = "Crystal Golem";
+ public const string DisplayName = "$rov_creature_skadi_crystalgolem_name";
private const string SourceGolem = "StoneGolem";
@@ -271,8 +271,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = DisplayName,
- Description = "Cut at the stone and woken with a tear. It will not follow you, and it " +
- "will not leave the stonecutter that shaped it.",
+ Description = "$rov_piece_skadi_crystalgolem_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
// The stonecutter is the station, so vanilla itself refuses to place one anywhere its
diff --git a/JotunnModStub/Skeleton/SkeletonBonePile.cs b/JotunnModStub/Skeleton/SkeletonBonePile.cs
index 8824612..35fcdd9 100644
--- a/JotunnModStub/Skeleton/SkeletonBonePile.cs
+++ b/JotunnModStub/Skeleton/SkeletonBonePile.cs
@@ -33,29 +33,29 @@ namespace RacesOfValheim
{
// ─── Names ───────────────────────────────────────────────────────────
public const string PieceName = "SkeletonBonePile";
- public const string PieceDisplayName = "Bound Bone Pile";
+ public const string PieceDisplayName = "$rov_piece_skeleton_bonepile_name";
// The Soul Stone: a green ruby, sold by the Skeleton bench, and the thing that binds a skull and
// ten fragments into a sentry that cannot walk. Cheap on purpose - 50 coins - because the real
// cost of a sentry is the skull, which has to be taken off a skeleton rather than bought.
public const string SoulStoneName = "SoulStone";
- public const string SoulStoneDisplayName = "Soul Stone";
+ public const string SoulStoneDisplayName = "$rov_item_skeleton_soulstone_name";
public const int SoulStonePrice = 50;
private static readonly Color SoulStoneTint = new Color(0.15f, 0.85f, 0.35f, 1f);
public const string SkullName = "CursedSkull";
- public const string SkullDisplayName = "Cursed Skull";
+ public const string SkullDisplayName = "$rov_item_skeleton_cursedskull_name";
public const string GreaterSkullName = "GreaterCursedSkull";
- public const string GreaterSkullDisplayName = "Greater Cursed Skull";
+ public const string GreaterSkullDisplayName = "$rov_item_skeleton_greatercursedskull_name";
public const string ThrallMeleeName = "SkeletonThrall_Melee";
public const string ThrallRangedName = "SkeletonThrall_Ranged";
public const string ThrallRancidName = "SkeletonThrall_Rancid";
- public const string ThrallMeleeDisplay = "Bound Skeleton";
- public const string ThrallRangedDisplay = "Bound Archer";
- public const string ThrallRancidDisplay = "Bound Rancid Remains";
+ public const string ThrallMeleeDisplay = "$rov_creature_skeleton_thrallmelee_name";
+ public const string ThrallRangedDisplay = "$rov_creature_skeleton_thrallranged_name";
+ public const string ThrallRancidDisplay = "$rov_creature_skeleton_thrallrancid_name";
public const string KindMelee = "SkeletonMelee";
public const string KindRanged = "SkeletonRanged";
@@ -119,9 +119,9 @@ namespace RacesOfValheim
public static void Register()
{
RegisterSkull(SkullName, SkullDisplayName, SkullTint,
- "A skull that keeps counting. Set it down and the ground starts answering.");
+ "$rov_item_skeleton_cursedskull_desc");
RegisterSkull(GreaterSkullName, GreaterSkullDisplayName, GreaterSkullTint,
- "Older, and it counts higher. A pile given one of these raises the rotten too.");
+ "$rov_item_skeleton_greatercursedskull_desc");
RegisterSoulStone();
@@ -191,8 +191,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = SoulStoneDisplayName;
- shared.m_description = "Something is still in there, and it is still angry. Bind it to a skull " +
- "and it will stand watch as long as the bones hold.";
+ shared.m_description = "$rov_item_skeleton_soulstone_desc";
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_weight = 0.5f;
shared.m_maxStackSize = 20;
@@ -339,7 +338,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "Twenty fragments buy a place in the line. The one who fills it will keep standing up.",
+ Description = "$rov_piece_skeleton_bonepile_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon("TrophySkeleton"),
diff --git a/JotunnModStub/Skeleton/SkeletonSentry.cs b/JotunnModStub/Skeleton/SkeletonSentry.cs
index ef37404..dd96949 100644
--- a/JotunnModStub/Skeleton/SkeletonSentry.cs
+++ b/JotunnModStub/Skeleton/SkeletonSentry.cs
@@ -26,7 +26,7 @@ namespace RacesOfValheim
{
public const string SentryName = "SkeletonSentry";
public const string SeedPieceName = "SkeletonSentrySeed";
- public const string DisplayName = "Bound Sentry";
+ public const string DisplayName = "$rov_creature_skeleton_sentry_name";
/// Seconds without being hit before it starts closing its wounds.
public const float RegenDelay = 10f;
@@ -157,7 +157,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = DisplayName,
- Description = "A skull on a soul stone. It will not walk, and it will not stop watching.",
+ Description = "$rov_piece_skeleton_sentry_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon("TrophySkeleton"),
diff --git a/JotunnModStub/Sverm/SvermBlisterTick.cs b/JotunnModStub/Sverm/SvermBlisterTick.cs
index 7363fb1..507b97f 100644
--- a/JotunnModStub/Sverm/SvermBlisterTick.cs
+++ b/JotunnModStub/Sverm/SvermBlisterTick.cs
@@ -22,7 +22,7 @@ namespace RacesOfValheim
public static class SvermBlisterTick
{
public const string PrefabName = "SvermBlisterTick";
- public const string DisplayName = "Blister Tick";
+ public const string DisplayName = "$rov_creature_sverm_blistertick_name";
private const string SourcePrefab = "Tick";
/// How many slots this nest has bought. Permanent, and the respawn reads it.
diff --git a/JotunnModStub/Sverm/SvermClawSlot.cs b/JotunnModStub/Sverm/SvermClawSlot.cs
index 54201c6..34bf82e 100644
--- a/JotunnModStub/Sverm/SvermClawSlot.cs
+++ b/JotunnModStub/Sverm/SvermClawSlot.cs
@@ -42,7 +42,7 @@ namespace RacesOfValheim
/// longer resolve. The display name below is the only half a player ever reads.
///
public const string ItemName = "SvermMaulclaws";
- public const string ItemDisplayName = "Chitin Claws";
+ public const string ItemDisplayName = "$rov_item_sverm_claws_name";
/// Row in the reserved column the claws sit on. The other three await the carapace.
private const int ClawRow = 0;
@@ -80,7 +80,7 @@ namespace RacesOfValheim
{
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = ItemDisplayName;
- shared.m_description = "Grown, not forged. They do not come off.";
+ shared.m_description = "$rov_item_sverm_claws_desc";
// Quest item: Valheim refuses to drop, trade or stack these. It is the cheapest
// honest way to say "this is part of your body" without a patch per verb.
diff --git a/JotunnModStub/Sverm/SvermConfig.cs b/JotunnModStub/Sverm/SvermConfig.cs
index f5f0c93..0a341ca 100644
--- a/JotunnModStub/Sverm/SvermConfig.cs
+++ b/JotunnModStub/Sverm/SvermConfig.cs
@@ -444,7 +444,7 @@ namespace RacesOfValheim
public static readonly float MarketSize = 1.6f; // metres, the borrowed model's largest side
// ─── Seeker Worker ───────────────────────────────────────────────────
- public const string WorkerDisplayName = "Seeker Worker";
+ public const string WorkerDisplayName = "$rov_creature_sverm_worker_name";
public static readonly float WorkerScale = 0.5f;
public static readonly float WorkerHealthFraction = 0.5f;
public static readonly float WorkerDamageFraction = 0.5f;
diff --git a/JotunnModStub/Sverm/SvermHive.cs b/JotunnModStub/Sverm/SvermHive.cs
index 6e8f53b..3c2266b 100644
--- a/JotunnModStub/Sverm/SvermHive.cs
+++ b/JotunnModStub/Sverm/SvermHive.cs
@@ -95,7 +95,7 @@ namespace RacesOfValheim
// station ends up unplaceable with no error.
Piece piece = prefab.GetComponent() ?? prefab.AddComponent();
piece.m_name = DisplayName;
- piece.m_description = "The colony begins here. Everything else grows out of it.";
+ piece.m_description = "$rov_piece_sverm_broodmound_desc";
piece.m_groundPiece = true;
piece.m_groundOnly = true;
piece.m_cultivatedGroundOnly = false;
diff --git a/JotunnModStub/Sverm/SvermHiveStore.cs b/JotunnModStub/Sverm/SvermHiveStore.cs
index 39df58b..f63f642 100644
--- a/JotunnModStub/Sverm/SvermHiveStore.cs
+++ b/JotunnModStub/Sverm/SvermHiveStore.cs
@@ -258,7 +258,7 @@ namespace RacesOfValheim
public static class SvermHiveMarketPiece
{
public const string PieceName = "SvermHiveMarket";
- public const string DisplayName = "Hive Market";
+ public const string DisplayName = "$rov_piece_sverm_hivemarket_name";
/// Scenery only, and checked rather than trusted - see SvermHive.MouthCandidates.
private static readonly string[] SourceCandidates =
@@ -325,7 +325,7 @@ namespace RacesOfValheim
piece.m_craftingStation = null;
piece.m_resources = new Piece.Requirement[0];
piece.m_name = DisplayName;
- piece.m_description = "Where the colony trades. It spends the tank of the nest it stands in.";
+ piece.m_description = "$rov_piece_sverm_hivemarket_desc";
piece.m_groundPiece = true;
piece.m_groundOnly = true;
piece.m_canBeRemoved = true;
diff --git a/JotunnModStub/Sverm/SvermRace.cs b/JotunnModStub/Sverm/SvermRace.cs
index f3f1450..69a11f9 100644
--- a/JotunnModStub/Sverm/SvermRace.cs
+++ b/JotunnModStub/Sverm/SvermRace.cs
@@ -101,6 +101,6 @@ namespace RacesOfValheim
public static class SvermHiveNames
{
public const string PieceName = "SvermBroodMound";
- public const string PieceDisplayName = "Brood Mound";
+ public const string PieceDisplayName = "$rov_piece_sverm_broodmound_name";
}
}
diff --git a/JotunnModStub/Translations/English/items.json b/JotunnModStub/Translations/English/items.json
new file mode 100644
index 0000000..1d707d6
--- /dev/null
+++ b/JotunnModStub/Translations/English/items.json
@@ -0,0 +1,131 @@
+{
+ "rov_creature_bonecook_name": "Bone Cook",
+ "rov_creature_bonesmith_name": "Bone Smith",
+ "rov_creature_draugh_thrall_name": "Draugr Thrall",
+ "rov_creature_draugh_thrallelite_name": "Draugr Elite Thrall",
+ "rov_creature_fenrir_pack_desc": "It answers to the blood of the wolf, not to you.",
+ "rov_creature_fenrir_packfenrir_desc": "Only the blood of the wolf commands this one.",
+ "rov_creature_fenrir_packfenrir_name": "Fenrir",
+ "rov_creature_fenrir_packulv_name": "Ulv",
+ "rov_creature_fenrir_packwolf_name": "Pack Wolf",
+ "rov_creature_skadi_crystalgolem_name": "Crystal Golem",
+ "rov_creature_skeleton_sentry_name": "Bound Sentry",
+ "rov_creature_skeleton_thrallmelee_name": "Bound Skeleton",
+ "rov_creature_skeleton_thrallrancid_name": "Bound Rancid Remains",
+ "rov_creature_skeleton_thrallranged_name": "Bound Archer",
+ "rov_creature_sverm_blistertick_name": "Blister Tick",
+ "rov_creature_sverm_worker_name": "Seeker Worker",
+ "rov_item_aswid_bloodcore_desc": "A knot of clotted blood kept beating by something that is not a heart. The dead trade them; only the dead know how they are made.",
+ "rov_item_aswid_bloodcore_name": "Blood Core",
+ "rov_item_aswid_bloodessence_desc": "Blood rendered down to what it actually is. The only real food an Aswid can still chew, and the base of every draught worth brewing.",
+ "rov_item_aswid_bloodessence_name": "Blood Essence",
+ "rov_item_aswid_bloodpotion_desc": "Drink and the hunger stops mattering for a while. Fills every stomach with blood essence, full or not, and knits the flesh back together.",
+ "rov_item_aswid_bloodpotion_name": "Blood Potion",
+ "rov_item_aswid_bloodpotionbase_desc": "Blood, berries and crypt light, waiting on a barrel.",
+ "rov_item_aswid_bloodpotionbase_name": "Blood Potion Mead Base",
+ "rov_item_aswid_claws_desc": "Grown in the dark, and darker for it. They do not come off.",
+ "rov_item_aswid_claws_name": "Claws of the Beast",
+ "rov_item_aswid_food_desc": "The life force of the conquered.",
+ "rov_item_aswid_food_name": "Aswid Food:",
+ "rov_item_aswid_spectralclaw_desc": "A claw of pure shadow, bound to your rage rather than your grip.",
+ "rov_item_aswid_spectralclaw_name": "Spectral Claw",
+ "rov_item_aswid_superiorbloodessence_desc": "The same blood, rendered twice. Darker, thicker, and worth five of the first pass.",
+ "rov_item_aswid_superiorbloodessence_name": "Superior Blood Essence",
+ "rov_item_aswid_superiorbloodpotion_desc": "The same mercy, twice as deep.",
+ "rov_item_aswid_superiorbloodpotion_name": "Superior Blood Potion",
+ "rov_item_aswid_superiorbloodpotionbase_desc": "The twice-rendered draught, still raw.",
+ "rov_item_aswid_superiorbloodpotionbase_name": "Superior Blood Potion Mead Base",
+ "rov_item_draugh_cursedbone_desc": "A bone that will not stay quiet. The dead sell them; the dead do not say why.",
+ "rov_item_draugh_cursedbone_name": "Cursed Bone",
+ "rov_item_draugh_greatercursedbone_desc": "The same bone, older, and louder. A pile fed one of these starts keeping officers.",
+ "rov_item_draugh_greatercursedbone_name": "Greater Cursed Bone",
+ "rov_item_draugh_humanmeat_desc": "A piece of somebody. The living gag on it; you do not.",
+ "rov_item_draugh_humanmeat_name": "Human Meat",
+ "rov_item_fenrir_claws_desc": "The wolf's hands, kept on in the man's shape. They do not come off.",
+ "rov_item_fenrir_claws_name": "Cursed Claws",
+ "rov_item_fenrir_greaterulvsblod_desc": "Older blood, and further down the line. A trough given one of these starts raising something worse than ulv.",
+ "rov_item_fenrir_greaterulvsblod_name": "Greater Ulvsblod",
+ "rov_item_fenrir_ulvsblod_desc": "Wolf blood, kept warm by something that should not be able to keep anything warm. The Fenring sell it and do not explain it.",
+ "rov_item_fenrir_ulvsblod_name": "Ulvsblod",
+ "rov_item_furling_copperdust_desc": "A sack of copper ground fine. A furnace cannot tell it from ore, and it will not go through a portal either.",
+ "rov_item_furling_copperdust_name": "Copper Dust",
+ "rov_item_furling_copperflax_desc": "Flax grown in copper-poisoned soil, and it took. Useless as cloth. Grind it and see.",
+ "rov_item_furling_copperflax_name": "Copper Flax",
+ "rov_item_furling_flintberry_desc": "Not a berry, whatever it looks like. Bury one and a flint-bearing bush comes up.",
+ "rov_item_furling_flintberry_name": "Flintberry",
+ "rov_item_furling_irondust_desc": "A sack of iron ground fine. A furnace cannot tell it from ore, and it will not go through a portal either.",
+ "rov_item_furling_irondust_name": "Iron Dust",
+ "rov_item_furling_ironflax_desc": "Flax grown in iron-poisoned soil, and it took. Useless as cloth. Grind it and see.",
+ "rov_item_furling_ironflax_name": "Iron Flax",
+ "rov_item_furling_stoneberry_desc": "Not a berry, whatever it looks like. Bury one and a stone-bearing bush comes up.",
+ "rov_item_furling_stoneberry_name": "Stoneberry",
+ "rov_item_furling_tindust_desc": "A sack of tin ground fine. A furnace cannot tell it from ore, and it will not go through a portal either.",
+ "rov_item_furling_tindust_name": "Tin Dust",
+ "rov_item_furling_tinflax_desc": "Flax grown in tin-poisoned soil, and it took. Useless as cloth. Grind it and see.",
+ "rov_item_furling_tinflax_name": "Tin Flax",
+ "rov_item_skadi_greaterfrostheart_desc": "Older cold than the mountain's. The cultists sell it and will not say where they dig.",
+ "rov_item_skadi_greaterfrostheart_name": "Greater Frost Heart",
+ "rov_item_skeleton_cursedskull_desc": "A skull that keeps counting. Set it down and the ground starts answering.",
+ "rov_item_skeleton_cursedskull_name": "Cursed Skull",
+ "rov_item_skeleton_greatercursedskull_desc": "Older, and it counts higher. A pile given one of these raises the rotten too.",
+ "rov_item_skeleton_greatercursedskull_name": "Greater Cursed Skull",
+ "rov_item_skeleton_soulstone_desc": "Something is still in there, and it is still angry. Bind it to a skull and it will stand watch as long as the bones hold.",
+ "rov_item_skeleton_soulstone_name": "Soul Stone",
+ "rov_item_sverm_claws_desc": "Grown, not forged. They do not come off.",
+ "rov_item_sverm_claws_name": "Chitin Claws",
+ "rov_item_trenta_fertilizer_desc": "Everything that was meat, a month later. Press it into the soil and whatever is rooted there stops waiting.",
+ "rov_item_trenta_fertilizer_name": "Fertilizer",
+ "rov_item_trenta_heartwoodseed_desc": "A seed fed on a whole barrel of rot. Plant it and go away for a while.",
+ "rov_item_trenta_heartwoodseed_name": "Heartwood Seed",
+ "rov_item_trenta_rotseed_desc": "A seed that died before it could sprout, and did not stop. The forest folk sell them; only the forest knows what grows from one.",
+ "rov_item_trenta_rotseed_name": "Rot Seed",
+ "rov_item_trol_giantslog_desc": "A massive tree log wielded as a weapon.",
+ "rov_item_trol_giantslog_name": "Giant's Log",
+ "rov_item_trolshammer_desc": "A hammer swung by something that never had to duck through a doorway. It builds everything the ordinary one builds, out of the same materials, and simply builds it bigger.",
+ "rov_item_trolshammer_name": "Trol's Hammer",
+ "rov_item_warvulture_desc": "A vulture's head, kept. Raise it and the bird comes back under you, and it will carry you as long as you care to stay up - though it only has so much haste in it before it settles into a glide.",
+ "rov_item_warvulture_name": "War Vulture",
+ "rov_piece_aswid_bloodrefinery_desc": "Flesh goes in, bone goes in, and what is left of both comes out red.",
+ "rov_piece_aswid_bloodrefinery_name": "Blood Refinery",
+ "rov_piece_cooktable_desc": "A slab of bone and slate, worn smooth. Something patient waits by the hearth.",
+ "rov_piece_cooktable_name": "Cook's Table",
+ "rov_piece_draugh_bodypile_desc": "Feed it and it answers. The dead here are yours, if you are dead enough to ask.",
+ "rov_piece_draugh_bodypile_name": "Cursed Body Pile",
+ "rov_piece_dvergar_contractbank_desc": "A ledger, a seal and a heap of coin. Sign here and someone else does the dying.",
+ "rov_piece_dvergar_contractbank_name": "Contract Bank",
+ "rov_piece_dvergar_runebarrel_desc": "Pour a brew in and the crew drinks. What it does to them is whatever it would have done to you - if they have the parts for it.",
+ "rov_piece_dvergar_runebarrel_name": "Rune Barrel",
+ "rov_piece_fenrir_packtrough_desc": "Fill it with meat and the pack comes. One at a time, and it remembers its dead.",
+ "rov_piece_fenrir_packtrough_name": "Pack Trough",
+ "rov_piece_furling_copperflaxsapling_desc": "Plant it and it grows more Copper Flax.",
+ "rov_piece_furling_copperflaxsapling_name": "Copper Flax",
+ "rov_piece_furling_flintberrybush_desc": "Yields flint, and keeps yielding it.",
+ "rov_piece_furling_flintberrybush_name": "Flintberry Bush",
+ "rov_piece_furling_ironflaxsapling_desc": "Plant it and it grows more Iron Flax.",
+ "rov_piece_furling_ironflaxsapling_name": "Iron Flax",
+ "rov_piece_furling_stoneberrybush_desc": "Yields stone, and keeps yielding it.",
+ "rov_piece_furling_stoneberrybush_name": "Stoneberry Bush",
+ "rov_piece_furling_tinflaxsapling_desc": "Plant it and it grows more Tin Flax.",
+ "rov_piece_furling_tinflaxsapling_name": "Tin Flax",
+ "rov_piece_racemenuward_desc": "Commune with your heritage. Offer a fallen boss's relic to claim its power.",
+ "rov_piece_racemenuward_name": "Race Menu Ward",
+ "rov_piece_skadi_crystalgolem_desc": "Cut at the stone and woken with a tear. It will not follow you, and it will not leave the stonecutter that shaped it.",
+ "rov_piece_skeleton_bonepile_desc": "Twenty fragments buy a place in the line. The one who fills it will keep standing up.",
+ "rov_piece_skeleton_bonepile_name": "Bound Bone Pile",
+ "rov_piece_skeleton_sentry_desc": "A skull on a soul stone. It will not walk, and it will not stop watching.",
+ "rov_piece_smithtable_desc": "A slab of bone and slate, dusted with ore. Something patient waits by the fires.",
+ "rov_piece_smithtable_name": "Smith's Table",
+ "rov_piece_sverm_broodmound_desc": "The colony begins here. Everything else grows out of it.",
+ "rov_piece_sverm_broodmound_name": "Brood Mound",
+ "rov_piece_sverm_hivemarket_desc": "Where the colony trades. It spends the tank of the nest it stands in.",
+ "rov_piece_sverm_hivemarket_name": "Hive Market",
+ "rov_piece_trenta_composter_desc": "What rots is not lost. It feeds.",
+ "rov_piece_trenta_composter_name": "Composter",
+ "rov_piece_trenta_elderroot_desc": "What the Elder left behind, still growing. Mends itself, and everything a player built close enough to it.",
+ "rov_piece_trenta_elderroot_name": "Root of the Elder",
+ "rov_piece_trenta_heartwoodgrove_desc": "A crate of rot with something growing out of it. Give it time.",
+ "rov_piece_trenta_heartwoodgrove_name": "Heartwood Grove",
+ "rov_piece_trenta_heartwoodsapling_name": "Heartwood Sapling",
+ "rov_piece_trol_wartotem_desc": "A head that still remembers how to shout. Coin goes in, a warband walks out.",
+ "rov_piece_trol_wartotem_name": "War Totem"
+}
diff --git a/JotunnModStub/Translations/Italian/items.json b/JotunnModStub/Translations/Italian/items.json
new file mode 100644
index 0000000..40e5ddd
--- /dev/null
+++ b/JotunnModStub/Translations/Italian/items.json
@@ -0,0 +1,131 @@
+{
+ "rov_creature_bonecook_name": "Cuoco d'ossa",
+ "rov_creature_bonesmith_name": "Fabbro d'ossa",
+ "rov_creature_draugh_thrall_name": "Servo Draugr",
+ "rov_creature_draugh_thrallelite_name": "Servo Draugr d'élite",
+ "rov_creature_fenrir_pack_desc": "Risponde al sangue del lupo, non a te.",
+ "rov_creature_fenrir_packfenrir_desc": "Solo il sangue del lupo comanda questo.",
+ "rov_creature_fenrir_packfenrir_name": "Fenrir",
+ "rov_creature_fenrir_packulv_name": "Ulv",
+ "rov_creature_fenrir_packwolf_name": "Lupo del branco",
+ "rov_creature_skadi_crystalgolem_name": "Golem di cristallo",
+ "rov_creature_skeleton_sentry_name": "Sentinella vincolata",
+ "rov_creature_skeleton_thrallmelee_name": "Scheletro vincolato",
+ "rov_creature_skeleton_thrallrancid_name": "Resti rancidi vincolati",
+ "rov_creature_skeleton_thrallranged_name": "Arciere vincolato",
+ "rov_creature_sverm_blistertick_name": "Zecca vescicante",
+ "rov_creature_sverm_worker_name": "Operaio cercatore",
+ "rov_item_aswid_bloodcore_desc": "Un grumo di sangue rappreso che batte ancora, tenuto in vita da qualcosa che non è un cuore. I morti lo commerciano; solo i morti sanno come si fa.",
+ "rov_item_aswid_bloodcore_name": "Nucleo di sangue",
+ "rov_item_aswid_bloodessence_desc": "Sangue ridotto a ciò che è davvero. L'unico vero cibo che un Aswid riesce ancora a masticare, e la base di ogni pozione che valga la pena distillare.",
+ "rov_item_aswid_bloodessence_name": "Essenza di sangue",
+ "rov_item_aswid_bloodpotion_desc": "Bevi e la fame smette di contare per un po'. Riempie ogni stomaco di essenza di sangue, pieno o no, e ricuce la carne.",
+ "rov_item_aswid_bloodpotion_name": "Pozione di sangue",
+ "rov_item_aswid_bloodpotionbase_desc": "Sangue, bacche e luce di cripta, in attesa in un barile.",
+ "rov_item_aswid_bloodpotionbase_name": "Base per pozione di sangue",
+ "rov_item_aswid_claws_desc": "Cresciuti nel buio, e più scuri per questo. Non si staccano.",
+ "rov_item_aswid_claws_name": "Artigli della Bestia",
+ "rov_item_aswid_food_desc": "La forza vitale dei vinti.",
+ "rov_item_aswid_food_name": "Cibo Aswid:",
+ "rov_item_aswid_spectralclaw_desc": "Un artiglio di pura ombra, legato alla tua furia più che alla tua presa.",
+ "rov_item_aswid_spectralclaw_name": "Artiglio spettrale",
+ "rov_item_aswid_superiorbloodessence_desc": "Lo stesso sangue, ridotto due volte. Più scuro, più denso, e vale cinque volte il primo passaggio.",
+ "rov_item_aswid_superiorbloodessence_name": "Essenza di sangue superiore",
+ "rov_item_aswid_superiorbloodpotion_desc": "La stessa pietà, due volte più profonda.",
+ "rov_item_aswid_superiorbloodpotion_name": "Pozione di sangue superiore",
+ "rov_item_aswid_superiorbloodpotionbase_desc": "L'infuso ridotto due volte, ancora crudo.",
+ "rov_item_aswid_superiorbloodpotionbase_name": "Base per pozione di sangue superiore",
+ "rov_item_draugh_cursedbone_desc": "Un osso che non vuole stare zitto. I morti lo vendono; i morti non dicono perché.",
+ "rov_item_draugh_cursedbone_name": "Osso maledetto",
+ "rov_item_draugh_greatercursedbone_desc": "Lo stesso osso, più vecchio e più rumoroso. Un mucchio nutrito con uno di questi comincia a tenere ufficiali.",
+ "rov_item_draugh_greatercursedbone_name": "Osso maledetto superiore",
+ "rov_item_draugh_humanmeat_desc": "Un pezzo di qualcuno. Ai vivi viene il voltastomaco; a te no.",
+ "rov_item_draugh_humanmeat_name": "Carne umana",
+ "rov_item_fenrir_claws_desc": "Le mani del lupo, rimaste nella forma dell'uomo. Non si staccano.",
+ "rov_item_fenrir_claws_name": "Artigli maledetti",
+ "rov_item_fenrir_greaterulvsblod_desc": "Sangue più antico, più in basso nella discendenza. Una mangiatoia che ne riceve uno comincia a far nascere qualcosa di peggio di un ulv.",
+ "rov_item_fenrir_greaterulvsblod_name": "Ulvsblod superiore",
+ "rov_item_fenrir_ulvsblod_desc": "Sangue di lupo, tenuto caldo da qualcosa che non dovrebbe poter scaldare niente. I Fenring lo vendono e non lo spiegano.",
+ "rov_item_fenrir_ulvsblod_name": "Ulvsblod",
+ "rov_item_furling_copperdust_desc": "Un sacco di rame macinato fine. Una fornace non lo distingue dal minerale, e non passa nemmeno da un portale.",
+ "rov_item_furling_copperdust_name": "Polvere di rame",
+ "rov_item_furling_copperflax_desc": "Lino cresciuto in un terreno avvelenato dal rame, e ha attecchito. Inutile come stoffa. Macinalo e vedrai.",
+ "rov_item_furling_copperflax_name": "Lino di rame",
+ "rov_item_furling_flintberry_desc": "Non è una bacca, anche se ci somiglia. Seppelliscine una e spunta un cespuglio che dà selce.",
+ "rov_item_furling_flintberry_name": "Bacca di selce",
+ "rov_item_furling_irondust_desc": "Un sacco di ferro macinato fine. Una fornace non lo distingue dal minerale, e non passa nemmeno da un portale.",
+ "rov_item_furling_irondust_name": "Polvere di ferro",
+ "rov_item_furling_ironflax_desc": "Lino cresciuto in un terreno avvelenato dal ferro, e ha attecchito. Inutile come stoffa. Macinalo e vedrai.",
+ "rov_item_furling_ironflax_name": "Lino di ferro",
+ "rov_item_furling_stoneberry_desc": "Non è una bacca, anche se ci somiglia. Seppelliscine una e spunta un cespuglio che dà pietra.",
+ "rov_item_furling_stoneberry_name": "Bacca di pietra",
+ "rov_item_furling_tindust_desc": "Un sacco di stagno macinato fine. Una fornace non lo distingue dal minerale, e non passa nemmeno da un portale.",
+ "rov_item_furling_tindust_name": "Polvere di stagno",
+ "rov_item_furling_tinflax_desc": "Lino cresciuto in un terreno avvelenato dallo stagno, e ha attecchito. Inutile come stoffa. Macinalo e vedrai.",
+ "rov_item_furling_tinflax_name": "Lino di stagno",
+ "rov_item_skadi_greaterfrostheart_desc": "Un freddo più antico di quello della montagna. I cultisti lo vendono e non dicono dove scavano.",
+ "rov_item_skadi_greaterfrostheart_name": "Cuore di gelo superiore",
+ "rov_item_skeleton_cursedskull_desc": "Un teschio che continua a contare. Posalo e il terreno comincia a rispondere.",
+ "rov_item_skeleton_cursedskull_name": "Teschio maledetto",
+ "rov_item_skeleton_greatercursedskull_desc": "Più vecchio, e conta più in alto. Un mucchio che ne riceve uno fa risorgere anche i rancidi.",
+ "rov_item_skeleton_greatercursedskull_name": "Teschio maledetto superiore",
+ "rov_item_skeleton_soulstone_desc": "Là dentro c'è ancora qualcosa, ed è ancora arrabbiato. Legalo a un teschio e farà la guardia finché le ossa reggono.",
+ "rov_item_skeleton_soulstone_name": "Pietra dell'anima",
+ "rov_item_sverm_claws_desc": "Cresciuti, non forgiati. Non si staccano.",
+ "rov_item_sverm_claws_name": "Artigli di chitina",
+ "rov_item_trenta_fertilizer_desc": "Tutto ciò che era carne, un mese dopo. Premilo nel terreno e ciò che vi è radicato smette di aspettare.",
+ "rov_item_trenta_fertilizer_name": "Fertilizzante",
+ "rov_item_trenta_heartwoodseed_desc": "Un seme nutrito con un intero barile di marciume. Piantalo e vattene per un po'.",
+ "rov_item_trenta_heartwoodseed_name": "Seme di durame",
+ "rov_item_trenta_rotseed_desc": "Un seme morto prima di germogliare, che non si è fermato. Il popolo della foresta li vende; solo la foresta sa cosa ne cresce.",
+ "rov_item_trenta_rotseed_name": "Seme marcio",
+ "rov_item_trol_giantslog_desc": "Un enorme tronco d'albero brandito come arma.",
+ "rov_item_trol_giantslog_name": "Tronco del gigante",
+ "rov_item_trolshammer_desc": "Un martello brandito da qualcosa che non ha mai dovuto chinarsi sotto una porta. Costruisce tutto ciò che costruisce quello normale, con gli stessi materiali, e lo fa semplicemente più grande.",
+ "rov_item_trolshammer_name": "Martello del Trol",
+ "rov_item_warvulture_desc": "La testa di un avvoltoio, conservata. Sollevala e l'uccello torna sotto di te, e ti porterà finché vorrai restare in aria, anche se ha solo un po' di slancio prima di mettersi a planare.",
+ "rov_item_warvulture_name": "Avvoltoio da guerra",
+ "rov_piece_aswid_bloodrefinery_desc": "Entra carne, entra osso, e quel che resta di entrambi esce rosso.",
+ "rov_piece_aswid_bloodrefinery_name": "Raffineria di sangue",
+ "rov_piece_cooktable_desc": "Una lastra di osso e ardesia, consumata dall'uso. Qualcosa di paziente aspetta accanto al focolare.",
+ "rov_piece_cooktable_name": "Tavolo del cuoco",
+ "rov_piece_draugh_bodypile_desc": "Nutrilo e risponde. I morti qui sono tuoi, se sei abbastanza morto da chiederlo.",
+ "rov_piece_draugh_bodypile_name": "Mucchio di corpi maledetto",
+ "rov_piece_dvergar_contractbank_desc": "Un registro, un sigillo e un mucchio di monete. Firma qui e a morire ci pensa qualcun altro.",
+ "rov_piece_dvergar_contractbank_name": "Banca dei contratti",
+ "rov_piece_dvergar_runebarrel_desc": "Versaci una bevanda e la squadra beve. Quello che fa a loro è quello che avrebbe fatto a te, se hanno i pezzi giusti.",
+ "rov_piece_dvergar_runebarrel_name": "Barile runico",
+ "rov_piece_fenrir_packtrough_desc": "Riempila di carne e il branco arriva. Uno alla volta, e ricorda i suoi morti.",
+ "rov_piece_fenrir_packtrough_name": "Mangiatoia del branco",
+ "rov_piece_furling_copperflaxsapling_desc": "Piantalo e crescerà altro lino di rame.",
+ "rov_piece_furling_copperflaxsapling_name": "Lino di rame",
+ "rov_piece_furling_flintberrybush_desc": "Dà selce, e continua a darla.",
+ "rov_piece_furling_flintberrybush_name": "Cespuglio di bacche di selce",
+ "rov_piece_furling_ironflaxsapling_desc": "Piantalo e crescerà altro lino di ferro.",
+ "rov_piece_furling_ironflaxsapling_name": "Lino di ferro",
+ "rov_piece_furling_stoneberrybush_desc": "Dà pietra, e continua a darla.",
+ "rov_piece_furling_stoneberrybush_name": "Cespuglio di bacche di pietra",
+ "rov_piece_furling_tinflaxsapling_desc": "Piantalo e crescerà altro lino di stagno.",
+ "rov_piece_furling_tinflaxsapling_name": "Lino di stagno",
+ "rov_piece_racemenuward_desc": "Entra in comunione con la tua stirpe. Offri la reliquia di un boss caduto per reclamarne il potere.",
+ "rov_piece_racemenuward_name": "Sigillo della razza",
+ "rov_piece_skadi_crystalgolem_desc": "Tagliato dalla pietra e risvegliato con una lacrima. Non ti seguirà, e non lascerà lo scalpellino che l'ha plasmato.",
+ "rov_piece_skeleton_bonepile_desc": "Venti frammenti comprano un posto nella fila. Chi lo occupa continuerà a rialzarsi.",
+ "rov_piece_skeleton_bonepile_name": "Mucchio d'ossa vincolato",
+ "rov_piece_skeleton_sentry_desc": "Un teschio su una pietra dell'anima. Non camminerà, e non smetterà di guardare.",
+ "rov_piece_smithtable_desc": "Una lastra di osso e ardesia, spolverata di minerale. Qualcosa di paziente aspetta accanto ai fuochi.",
+ "rov_piece_smithtable_name": "Tavolo del fabbro",
+ "rov_piece_sverm_broodmound_desc": "La colonia comincia qui. Tutto il resto cresce da questo.",
+ "rov_piece_sverm_broodmound_name": "Cumulo della covata",
+ "rov_piece_sverm_hivemarket_desc": "Dove la colonia commercia. Spende la riserva del nido in cui si trova.",
+ "rov_piece_sverm_hivemarket_name": "Mercato dell'alveare",
+ "rov_piece_trenta_composter_desc": "Ciò che marcisce non è perduto. Nutre.",
+ "rov_piece_trenta_composter_name": "Compostiera",
+ "rov_piece_trenta_elderroot_desc": "Ciò che l'Antico si è lasciato dietro, ancora in crescita. Si ripara da sé, e ripara tutto ciò che un giocatore ha costruito abbastanza vicino.",
+ "rov_piece_trenta_elderroot_name": "Radice dell'Antico",
+ "rov_piece_trenta_heartwoodgrove_desc": "Una cassa di marciume con qualcosa che ci cresce dentro. Dagli tempo.",
+ "rov_piece_trenta_heartwoodgrove_name": "Boschetto di durame",
+ "rov_piece_trenta_heartwoodsapling_name": "Germoglio di durame",
+ "rov_piece_trol_wartotem_desc": "Una testa che ricorda ancora come si urla. Entrano monete, esce una banda da guerra.",
+ "rov_piece_trol_wartotem_name": "Totem di guerra"
+}
diff --git a/JotunnModStub/Trenta/TrentaComposter.cs b/JotunnModStub/Trenta/TrentaComposter.cs
index 92ddd18..914ec5e 100644
--- a/JotunnModStub/Trenta/TrentaComposter.cs
+++ b/JotunnModStub/Trenta/TrentaComposter.cs
@@ -100,8 +100,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = TrentaConfig.RotSeedDisplayName;
- shared.m_description = "A seed that died before it could sprout, and did not stop. " +
- "The forest folk sell them; only the forest knows what grows from one.";
+ shared.m_description = "$rov_item_trenta_rotseed_desc";
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_weight = 0.5f;
shared.m_maxStackSize = 20;
@@ -125,8 +124,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = TrentaConfig.FertilizerDisplayName;
- shared.m_description = "Everything that was meat, a month later. Press it into the soil and " +
- "whatever is rooted there stops waiting.";
+ shared.m_description = "$rov_item_trenta_fertilizer_desc";
// Consumable, not Material, and this is the only reason: a Material never reaches
// Humanoid.UseItem - vanilla refuses it before that - while a Consumable does, which is
@@ -223,7 +221,7 @@ namespace RacesOfValheim
PieceConfig config = new PieceConfig
{
Name = TrentaConfig.ComposterDisplayName,
- Description = "What rots is not lost. It feeds.",
+ Description = "$rov_piece_trenta_composter_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Requirements = new[]
diff --git a/JotunnModStub/Trenta/TrentaConfig.cs b/JotunnModStub/Trenta/TrentaConfig.cs
index f395a6e..35fc25d 100644
--- a/JotunnModStub/Trenta/TrentaConfig.cs
+++ b/JotunnModStub/Trenta/TrentaConfig.cs
@@ -405,13 +405,13 @@ namespace RacesOfValheim
// The chain: a Rot Seed bought from the Greydwarf faction bench gates the Composter, the
// Composter rots raw flesh into Fertilizer, and Fertilizer grows any plant on the spot.
public const string ComposterPieceName = "TrentaComposter";
- public const string ComposterDisplayName = "Composter";
+ public const string ComposterDisplayName = "$rov_piece_trenta_composter_name";
public const string FertilizerName = "Fertilizer";
- public const string FertilizerDisplayName = "Fertilizer";
+ public const string FertilizerDisplayName = "$rov_item_trenta_fertilizer_name";
public const string RotSeedName = "RotSeed";
- public const string RotSeedDisplayName = "Rot Seed";
+ public const string RotSeedDisplayName = "$rov_item_trenta_rotseed_name";
// Same band as the Aswid's Blood Core, which does the same job for the same reason.
public const int RotSeedPrice = 500;
@@ -452,7 +452,7 @@ namespace RacesOfValheim
// point would need if it had one: this is a race identity piece, not a purchase from
// someone else's bench (see the War Totem's own note on the same choice).
public const string ElderRootPieceName = "TrentaElderRoot";
- public const string ElderRootDisplayName = "Root of the Elder";
+ public const string ElderRootDisplayName = "$rov_piece_trenta_elderroot_name";
public const int ElderRootUnlockState = 3; // The Elder dead
@@ -507,11 +507,11 @@ namespace RacesOfValheim
// Plant a seed, wait, and the tree that comes up fertilises what surrounds it, stings what
// approaches it, and fills a chest with honey. Three independent functions on one piece.
public const string GroveSeedName = "HeartwoodSeed";
- public const string GroveSeedDisplayName = "Heartwood Seed";
+ public const string GroveSeedDisplayName = "$rov_item_trenta_heartwoodseed_name";
public const string GroveSaplingPieceName = "TrentaHeartwoodSapling";
- public const string GroveSaplingDisplayName = "Heartwood Sapling";
+ public const string GroveSaplingDisplayName = "$rov_piece_trenta_heartwoodsapling_name";
public const string GrovePieceName = "TrentaHeartwoodGrove";
- public const string GroveDisplayName = "Heartwood Grove";
+ public const string GroveDisplayName = "$rov_piece_trenta_heartwoodgrove_name";
// A grove costs exactly one full Composter batch. That is the whole balance argument.
public const int GroveSeedFertilizerCost = ComposterYield;
diff --git a/JotunnModStub/Trenta/TrentaElderRoot.cs b/JotunnModStub/Trenta/TrentaElderRoot.cs
index ccbcc54..d36d67c 100644
--- a/JotunnModStub/Trenta/TrentaElderRoot.cs
+++ b/JotunnModStub/Trenta/TrentaElderRoot.cs
@@ -93,8 +93,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = TrentaConfig.ElderRootDisplayName,
- Description = "What the Elder left behind, still growing. Mends itself, and " +
- "everything a player built close enough to it.",
+ Description = "$rov_piece_trenta_elderroot_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = icon,
diff --git a/JotunnModStub/Trenta/TrentaHeartwoodGrove.cs b/JotunnModStub/Trenta/TrentaHeartwoodGrove.cs
index aeb43c1..a8ca08c 100644
--- a/JotunnModStub/Trenta/TrentaHeartwoodGrove.cs
+++ b/JotunnModStub/Trenta/TrentaHeartwoodGrove.cs
@@ -58,7 +58,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = TrentaConfig.GroveSeedDisplayName;
- shared.m_description = "A seed fed on a whole barrel of rot. Plant it and go away for a while.";
+ shared.m_description = "$rov_item_trenta_heartwoodseed_desc";
shared.m_itemType = ItemDrop.ItemData.ItemType.Material;
shared.m_weight = 1f;
shared.m_maxStackSize = 10;
@@ -129,7 +129,7 @@ namespace RacesOfValheim
PieceConfig config = new PieceConfig
{
Name = TrentaConfig.GroveDisplayName,
- Description = "A crate of rot with something growing out of it. Give it time.",
+ Description = "$rov_piece_trenta_heartwoodgrove_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Misc,
Requirements = new[]
diff --git a/JotunnModStub/Trol/TrolRace.cs b/JotunnModStub/Trol/TrolRace.cs
index 3016bca..591ca5b 100644
--- a/JotunnModStub/Trol/TrolRace.cs
+++ b/JotunnModStub/Trol/TrolRace.cs
@@ -77,8 +77,8 @@ namespace RacesOfValheim
if (logPrefab != null)
{
Jotunn.Configs.ItemConfig config = new Jotunn.Configs.ItemConfig();
- config.Name = "Giant's Log";
- config.Description = "A massive tree log wielded as a weapon.";
+ config.Name = "$rov_item_trol_giantslog_name";
+ config.Description = "$rov_item_trol_giantslog_desc";
CustomItem customWep = new CustomItem("TrolWeapon_" + logName, "MaceIron", config);
if (customWep != null && customWep.ItemPrefab != null)
diff --git a/JotunnModStub/Trol/TrolTotem.cs b/JotunnModStub/Trol/TrolTotem.cs
index b4beb46..512437b 100644
--- a/JotunnModStub/Trol/TrolTotem.cs
+++ b/JotunnModStub/Trol/TrolTotem.cs
@@ -26,7 +26,7 @@ namespace RacesOfValheim
public static class TrolTotem
{
public const string PieceName = "TrolWarTotem";
- public const string PieceDisplayName = "War Totem";
+ public const string PieceDisplayName = "$rov_piece_trol_wartotem_name";
public const string RaceId = "Trol";
/// Core wood. The item is RoundLog - another display name that does not predict the id.
@@ -313,7 +313,7 @@ namespace RacesOfValheim
PieceManager.Instance.AddPiece(new CustomPiece(prefab, fixReference: false, new PieceConfig
{
Name = PieceDisplayName,
- Description = "A head that still remembers how to shout. Coin goes in, a warband walks out.",
+ Description = "$rov_piece_trol_wartotem_desc",
PieceTable = PieceTables.Hammer,
Category = PieceCategories.Crafting,
Icon = BorrowIcon(TrollHead),
diff --git a/JotunnModStub/TrolsHammer/TrolsHammerItem.cs b/JotunnModStub/TrolsHammer/TrolsHammerItem.cs
index 5fa4076..b008b59 100644
--- a/JotunnModStub/TrolsHammer/TrolsHammerItem.cs
+++ b/JotunnModStub/TrolsHammer/TrolsHammerItem.cs
@@ -24,7 +24,7 @@ namespace RacesOfValheim
public static class TrolsHammerItem
{
public const string PrefabName = "TrolsHammer";
- public const string DisplayName = "Trol's Hammer";
+ public const string DisplayName = "$rov_item_trolshammer_name";
private const string SourcePrefab = "Hammer";
private const string Label = "TrolsHammer";
@@ -51,9 +51,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = DisplayName;
- shared.m_description = "A hammer swung by something that never had to duck through a " +
- "doorway. It builds everything the ordinary one builds, out of the " +
- "same materials, and simply builds it bigger.";
+ shared.m_description = "$rov_item_trolshammer_desc";
if (shared.m_buildPieces == null)
{
diff --git a/JotunnModStub/WarVulture/WarVultureItem.cs b/JotunnModStub/WarVulture/WarVultureItem.cs
index e3443d9..7b735fa 100644
--- a/JotunnModStub/WarVulture/WarVultureItem.cs
+++ b/JotunnModStub/WarVulture/WarVultureItem.cs
@@ -32,7 +32,7 @@ namespace RacesOfValheim
public static class WarVultureItem
{
public const string PrefabName = "WarVulture";
- public const string DisplayName = "War Vulture";
+ public const string DisplayName = "$rov_item_warvulture_name";
private const string SourcePrefab = "StaffSkeleton";
private const string TrophyPrefab = "TrophyVolture";
@@ -62,9 +62,7 @@ namespace RacesOfValheim
ItemDrop.ItemData.SharedData shared = drop.m_itemData.m_shared;
shared.m_name = DisplayName;
- shared.m_description = "A vulture's head, kept. Raise it and the bird comes back under you, " +
- "and it will carry you as long as you care to stay up - though it only " +
- "has so much haste in it before it settles into a glide.";
+ shared.m_description = "$rov_item_warvulture_desc";
shared.m_useDurability = false;
// ItemType is left exactly as the vanilla staff has it: it decides the equip slot and