Skip to content

Commit

Permalink
Localization update
Browse files Browse the repository at this point in the history
  • Loading branch information
Vek17 committed Nov 9, 2021
1 parent ef11943 commit 91cbd26
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 127 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Adjusted Magical Tail Feats @Balkoth
* Kitsune polymorph is now correctly considered a polymorph
* Updated string handling to support general localization (will need help from speakers to do actual localization work)
* Shadow Enchantment should now work correctly

## Version 1.9.6b
* Aspect of Omox DR now stacks globaly
Expand Down
2 changes: 2 additions & 0 deletions TabletopTweaks/Config/Blueprints.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@
"SeekerDestinedBloodline": "1a62c90a-bfa8-426f-8f6c-7962cb162447",
"Self-Sufficient": "15b614ff-3f90-4f83-98d7-ad7777e22e9d",
"ShadowEnchantment": "d934f706-a12b-40ec-87a9-c8baf221b8a9",
"ShadowEnchantmentProperty": "de229bda-6ba2-4780-bb0e-1dfd01574596",
"ShadowEnchantmentGreater": "ba079628-2748-4eb3-8bf0-b6aadd9f5f22",
"ShadowEnchantmentGreaterProperty": "cdf1c37f-0d31-4947-b687-b3e2bf5f1a5d",
"ShatterDefensesBuff": "a9c869b5-519f-466c-bdeb-5952e4fb0232",
"ShatterDefensesDisplayBuff": "74688fc2-5e0c-4c2c-ae41-6a02a0fe6528",
"ShatterDefensesMythicBuff": "94046670-7810-4f5a-9dcf-a0f70e5464f2",
Expand Down
4 changes: 2 additions & 2 deletions TabletopTweaks/Extensions/ExtentionMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,11 @@ public static void SetDescription(this BlueprintItemEnchantment enchantment, str
}

public static void SetPrefix(this BlueprintItemEnchantment enchantment, string id, string prefix) {
enchantment.m_Prefix = Helpers.CreateString(id, $"{enchantment.name}.prefix", prefix);
enchantment.m_Prefix = Helpers.CreateString(id, $"{enchantment.name}.Prefix", prefix);
}

public static void SetSuffix(this BlueprintItemEnchantment enchantment, string id, string sufix) {
enchantment.m_Suffix = Helpers.CreateString(id, $"{enchantment.name}.suffix", sufix);
enchantment.m_Suffix = Helpers.CreateString(id, $"{enchantment.name}.Suffix", sufix);
}

public static void SetNameDescription(this BlueprintUnitFact feature, string nameId, string descriptionId, string displayName, string description) {
Expand Down
Loading

0 comments on commit 91cbd26

Please sign in to comment.