Skip to content

Commit

Permalink
Valheim Legends and Potions Plus Compatability (#16)
Browse files Browse the repository at this point in the history
* Valheim Legends and Potions Plus direct compatability.
  • Loading branch information
BrandonT80 authored Feb 6, 2022
1 parent 1eaa477 commit a456133
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Loki/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions Loki/Properties/Resources.ko-KR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,15 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Abjuration" xml:space="preserve">
<value>포기</value>
</data>
<data name="All" xml:space="preserve">
<value>모두</value>
</data>
<data name="Alteration" xml:space="preserve">
<value>변경</value>
</data>
<data name="Amber" xml:space="preserve">
<value>호박석</value>
</data>
Expand Down Expand Up @@ -279,6 +285,9 @@
<data name="Clubs" xml:space="preserve">
<value>둔기</value>
</data>
<data name="Conjuration" xml:space="preserve">
<value>주문</value>
</data>
<data name="Consumable" xml:space="preserve">
<value>소모품</value>
</data>
Expand All @@ -294,9 +303,15 @@
<data name="Deaths" xml:space="preserve">
<value>죽음</value>
</data>
<data name="Discipline" xml:space="preserve">
<value>규율</value>
</data>
<data name="Draugr fang" xml:space="preserve">
<value>드라우그 송곳니</value>
</data>
<data name="Evocation" xml:space="preserve">
<value>환기</value>
</data>
<data name="fart" xml:space="preserve">
<value>fart</value>
</data>
Expand Down Expand Up @@ -348,6 +363,9 @@
<data name="Huntsman bow" xml:space="preserve">
<value>사냥꾼 활</value>
</data>
<data name="Illusion" xml:space="preserve">
<value>환각</value>
</data>
<data name="Inventory" xml:space="preserve">
<value>인벤토리</value>
</data>
Expand Down Expand Up @@ -450,6 +468,9 @@
<data name="Ponytail 4" xml:space="preserve">
<value>포니테일 4</value>
</data>
<data name="PP_Alchemy" xml:space="preserve">
<value>연금술</value>
</data>
<data name="Rag pants" xml:space="preserve">
<value>누더기 바지</value>
</data>
Expand Down Expand Up @@ -525,6 +546,9 @@
<data name="Swords" xml:space="preserve">
<value>검</value>
</data>
<data name="test" xml:space="preserve">
<value>test</value>
</data>
<data name="Tool" xml:space="preserve">
<value>도구</value>
</data>
Expand Down Expand Up @@ -552,6 +576,24 @@
<data name="Utility" xml:space="preserve">
<value>유틸리티</value>
</data>
<data name="VL_Abjuration" xml:space="preserve">
<value>포기</value>
</data>
<data name="VL_Alteration" xml:space="preserve">
<value>변경</value>
</data>
<data name="VL_Conjuration" xml:space="preserve">
<value>주문</value>
</data>
<data name="VL_Discipline" xml:space="preserve">
<value>규율</value>
</data>
<data name="VL_Evocation" xml:space="preserve">
<value>환기</value>
</data>
<data name="VL_Illusion" xml:space="preserve">
<value>환각</value>
</data>
<data name="Wolf armor chest" xml:space="preserve">
<value>늑대 흉갑 방어구</value>
</data>
Expand Down
21 changes: 21 additions & 0 deletions Loki/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@
<data name="Ponytail 4" xml:space="preserve">
<value>Ponytail 4</value>
</data>
<data name="PP_Alchemy" xml:space="preserve">
<value>PP_Alchemy</value>
</data>
<data name="Rag pants" xml:space="preserve">
<value>Rag pants</value>
</data>
Expand Down Expand Up @@ -552,6 +555,24 @@
<data name="Utility" xml:space="preserve">
<value>Utility</value>
</data>
<data name="VL_Abjuration" xml:space="preserve">
<value>VL_Abjuration</value>
</data>
<data name="VL_Alteration" xml:space="preserve">
<value>VL_Alteration</value>
</data>
<data name="VL_Conjuration" xml:space="preserve">
<value>VL_Conjuration</value>
</data>
<data name="VL_Discipline" xml:space="preserve">
<value>VL_Discipline</value>
</data>
<data name="VL_Evocation" xml:space="preserve">
<value>VL_Evocation</value>
</data>
<data name="VL_Illusion" xml:space="preserve">
<value>VL_Illusion</value>
</data>
<data name="Wolf armor chest" xml:space="preserve">
<value>Wolf armor chest</value>
</data>
Expand Down
7 changes: 7 additions & 0 deletions Loki/Skill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ private static string GetSkillName(SkillType type)
SkillType.Run => Properties.Resources.Run,
SkillType.Swim => Properties.Resources.Swim,
SkillType.Ride => Properties.Resources.Riding,
SkillType.VL_Discipline => Properties.Resources.VL_Discipline,
SkillType.VL_Abjuration => Properties.Resources.VL_Abjuration,
SkillType.VL_Alteration => Properties.Resources.VL_Alteration,
SkillType.VL_Conjuration => Properties.Resources.VL_Conjuration,
SkillType.VL_Evocation => Properties.Resources.VL_Evocation,
SkillType.VL_Illusion => Properties.Resources.VL_Illusion,
SkillType.PP_Alchemy => Properties.Resources.PP_Alchemy,
SkillType.All => Properties.Resources.All,
//_ => throw new ArgumentOutOfRangeException(nameof(type), type, "Unrecognised skill type"),
_ => Properties.Resources.Unknown,
Expand Down
7 changes: 7 additions & 0 deletions Loki/SkillType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ public enum SkillType
Run = 102,
Swim = 103,
Ride = 110,
VL_Discipline = 781,
VL_Abjuration = 791,
VL_Alteration = 792,
VL_Conjuration = 793,
VL_Evocation = 794,
VL_Illusion = 795,
PP_Alchemy = 2015031201,
All = 999
}
}

0 comments on commit a456133

Please sign in to comment.