1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
-----------------------------
-- Companion Manager
-----------------------------
{
interactTypes = { INTERACTION_COMPANION_MENU } ,
-- we want to abort like vanilla interactions, but because vanilla
-- interactions are tied to individual scenes we need to instead gate
-- on _any_ companion interaction
end
end ,
}
-- Shared search for companion equipment
local filterTargetDescriptor =
{
[ BACKGROUND_LIST_FILTER_TARGET_BAG_SLOT ] =
{
searchFilterList =
{
BACKGROUND_LIST_FILTER_TYPE_NAME ,
} ,
{
BAG_BACKPACK ,
BAG_COMPANION_WORN ,
}
} ,
}
end
return newScene
end
--The companion's current level and the amount of experience the companion has earned at that level
--The total amount of experience required to go from the current level to the next
local isMaxLevel = totalXpInLevel == 0
end
end
end
end |