Change: unified perks into one single parent, added translations for perk tooltips (b42)
This commit is contained in:
@@ -143,7 +143,6 @@ function ISBaseTimedAction:perform()
|
|||||||
if dcInst:getIsCut(limbName) and dcInst:getIsVisible(limbName) then
|
if dcInst:getIsCut(limbName) and dcInst:getIsVisible(limbName) then
|
||||||
local side = CommonMethods.GetSide(limbName)
|
local side = CommonMethods.GetSide(limbName)
|
||||||
|
|
||||||
|
|
||||||
-- TODO Test it
|
-- TODO Test it
|
||||||
local xpObj = LocalPlayerController.playerObj:getXp()
|
local xpObj = LocalPlayerController.playerObj:getXp()
|
||||||
if xpObj:getLevel() < 10 then
|
if xpObj:getLevel() < 10 then
|
||||||
|
|||||||
@@ -4,9 +4,11 @@ IG_UI_EN = {
|
|||||||
|
|
||||||
IGUI_perks_Amputations = "Amputations",
|
IGUI_perks_Amputations = "Amputations",
|
||||||
IGUI_perks_Side_R = "Right Side",
|
IGUI_perks_Side_R = "Right Side",
|
||||||
|
IGUI_perks_Right Side_Description = "Familiarity with amputations on the right side of your body",
|
||||||
IGUI_perks_Side_L = "Left Side",
|
IGUI_perks_Side_L = "Left Side",
|
||||||
IGUI_perks_Prosthesis = "Prosthesis",
|
IGUI_perks_Left Side_Description = "Familiarity with amputations on the left side of your body",
|
||||||
IGUI_perks_ProstFamiliarity= "Familiarity",
|
IGUI_perks_Prosthesis = "Prosthesis Familiarity",
|
||||||
|
IGUI_perks_Prosthesis Familiarity_Description = "Familiarity with prosthetic limbs",
|
||||||
|
|
||||||
IGUI_ItemCat_Prosthesis = "Prosthesis",
|
IGUI_ItemCat_Prosthesis = "Prosthesis",
|
||||||
IGUI_ItemCat_Surgery = "Surgery",
|
IGUI_ItemCat_Surgery = "Surgery",
|
||||||
|
|||||||
@@ -52,27 +52,11 @@ perk Side_R
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
perk Prosthesis
|
|
||||||
{
|
|
||||||
parent = None,
|
|
||||||
translation = Prosthesis,
|
|
||||||
passive = false,
|
|
||||||
xp1 = 0,
|
|
||||||
xp2 = 0,
|
|
||||||
xp3 = 0,
|
|
||||||
xp4 = 0,
|
|
||||||
xp5 = 0,
|
|
||||||
xp6 = 0,
|
|
||||||
xp7 = 0,
|
|
||||||
xp8 = 0,
|
|
||||||
xp9 = 0,
|
|
||||||
xp10 = 0,
|
|
||||||
}
|
|
||||||
perk ProstFamiliarity
|
perk ProstFamiliarity
|
||||||
{
|
{
|
||||||
parent = Prosthesis,
|
parent = Amputations,
|
||||||
name = ProstFamiliarity,
|
name = Prosthesis,
|
||||||
translation = ProstFamiliarity,
|
translation = Prosthesis,
|
||||||
passive = false,
|
passive = false,
|
||||||
xp1 = 50,
|
xp1 = 50,
|
||||||
xp2 = 100,
|
xp2 = 100,
|
||||||
|
|||||||
Reference in New Issue
Block a user