Change: unified perks into one single parent, added translations for perk tooltips (b42)

This commit is contained in:
ZioPao
2025-04-03 00:37:18 +02:00
parent e07af54d27
commit 67f51ca845
3 changed files with 7 additions and 22 deletions

View File

@@ -143,7 +143,6 @@ function ISBaseTimedAction:perform()
if dcInst:getIsCut(limbName) and dcInst:getIsVisible(limbName) then
local side = CommonMethods.GetSide(limbName)
-- TODO Test it
local xpObj = LocalPlayerController.playerObj:getXp()
if xpObj:getLevel() < 10 then

View File

@@ -4,9 +4,11 @@ IG_UI_EN = {
IGUI_perks_Amputations = "Amputations",
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_Prosthesis = "Prosthesis",
IGUI_perks_ProstFamiliarity= "Familiarity",
IGUI_perks_Left Side_Description = "Familiarity with amputations on the left side of your body",
IGUI_perks_Prosthesis = "Prosthesis Familiarity",
IGUI_perks_Prosthesis Familiarity_Description = "Familiarity with prosthetic limbs",
IGUI_ItemCat_Prosthesis = "Prosthesis",
IGUI_ItemCat_Surgery = "Surgery",

View File

@@ -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
{
parent = Prosthesis,
name = ProstFamiliarity,
translation = ProstFamiliarity,
parent = Amputations,
name = Prosthesis,
translation = Prosthesis,
passive = false,
xp1 = 50,
xp2 = 100,