|
306 | 306 | ], |
307 | 307 | "topic": "TALK_PERK_MENU_SELECT" |
308 | 308 | }, |
| 309 | + { |
| 310 | + "condition": { "not": { "u_has_trait": "perk_thick_skin" } }, |
| 311 | + "text": "Gain [<trait_name:perk_thick_skin>]", |
| 312 | + "effect": [ |
| 313 | + { "set_string_var": "<trait_name:perk_thick_skin>", "target_var": { "context_val": "trait_name" } }, |
| 314 | + { |
| 315 | + "set_string_var": "<trait_description:perk_thick_skin>", |
| 316 | + "target_var": { "context_val": "trait_description" } |
| 317 | + }, |
| 318 | + { "set_string_var": "perk_thick_skin", "target_var": { "context_val": "trait_id" } }, |
| 319 | + { |
| 320 | + "set_string_var": "Must have <trait_name:perk_built_tough>.", |
| 321 | + "target_var": { "context_val": "trait_requirement_description" }, |
| 322 | + "i18n": true |
| 323 | + }, |
| 324 | + { "set_condition": "perk_condition", "condition": { "u_has_trait": "perk_built_tough" } } |
| 325 | + ], |
| 326 | + "topic": "TALK_PERK_MENU_SELECT" |
| 327 | + }, |
309 | 328 | { |
310 | 329 | "condition": { "not": { "u_has_trait": "perk_hauler" } }, |
311 | 330 | "text": "Gain [<trait_name:perk_hauler>]", |
|
754 | 773 | ], |
755 | 774 | "topic": "TALK_PERK_MENU_SELECT" |
756 | 775 | }, |
| 776 | + { |
| 777 | + "condition": { "not": { "u_has_trait": "perk_reduced_falling_damage" } }, |
| 778 | + "text": "Gain [<trait_name:perk_reduced_falling_damage>]", |
| 779 | + "effect": [ |
| 780 | + { "set_string_var": "<trait_name:perk_reduced_falling_damage>", "target_var": { "context_val": "trait_name" } }, |
| 781 | + { |
| 782 | + "set_string_var": "<trait_description:perk_reduced_falling_damage>", |
| 783 | + "target_var": { "context_val": "trait_description" } |
| 784 | + }, |
| 785 | + { "set_string_var": "perk_reduced_falling_damage", "target_var": { "context_val": "trait_id" } }, |
| 786 | + { |
| 787 | + "set_string_var": "Must have <trait_name:perk_tuck_and_roll>, the Parkour Expert proficiency, or dexterity 13.", |
| 788 | + "target_var": { "context_val": "trait_requirement_description" }, |
| 789 | + "i18n": true |
| 790 | + }, |
| 791 | + { |
| 792 | + "set_condition": "perk_condition", |
| 793 | + "condition": { |
| 794 | + "or": [ |
| 795 | + { "u_has_trait": "perk_tuck_and_roll" }, |
| 796 | + { "u_has_proficiency": "prof_parkour" }, |
| 797 | + { "math": [ "u_val('dexterity_base') + u_val('dexterity_bonus') >= 13" ] } |
| 798 | + ] |
| 799 | + } |
| 800 | + } |
| 801 | + ], |
| 802 | + "topic": "TALK_PERK_MENU_SELECT" |
| 803 | + }, |
757 | 804 | { |
758 | 805 | "condition": { "not": { "u_has_trait": "perk_grit_your_teeth" } }, |
759 | 806 | "text": "Gain [<trait_name:perk_grit_your_teeth>]", |
|
1191 | 1238 | ], |
1192 | 1239 | "topic": "TALK_PERK_MENU_SELECT" |
1193 | 1240 | }, |
| 1241 | + { |
| 1242 | + "condition": { "not": { "u_has_trait": "perk_situational_uncanny_dodge" } }, |
| 1243 | + "text": "Gain [<trait_name:perk_situational_uncanny_dodge>]", |
| 1244 | + "effect": [ |
| 1245 | + { "set_string_var": "<trait_name:perk_situational_uncanny_dodge>", "target_var": { "context_val": "trait_name" } }, |
| 1246 | + { |
| 1247 | + "set_string_var": "<trait_description:perk_situational_uncanny_dodge>", |
| 1248 | + "target_var": { "context_val": "trait_description" } |
| 1249 | + }, |
| 1250 | + { "set_string_var": "perk_situational_uncanny_dodge", "target_var": { "context_val": "trait_id" } }, |
| 1251 | + { |
| 1252 | + "set_string_var": "Requires Dodging 8 and the Lucky Dodge perk.", |
| 1253 | + "target_var": { "context_val": "trait_requirement_description" }, |
| 1254 | + "i18n": true |
| 1255 | + }, |
| 1256 | + { |
| 1257 | + "set_condition": "perk_condition", |
| 1258 | + "condition": { "and": [ { "math": [ "u_skill('dodge') >= 8" ] }, { "u_has_trait": "perk_lucky_dodge" } ] } |
| 1259 | + } |
| 1260 | + ], |
| 1261 | + "topic": "TALK_PERK_MENU_SELECT" |
| 1262 | + }, |
1194 | 1263 | { |
1195 | 1264 | "condition": { "not": { "u_has_trait": "perk_bedtime_reader" } }, |
1196 | 1265 | "text": "Gain [<trait_name:perk_bedtime_reader>]", |
|
1633 | 1702 | ], |
1634 | 1703 | "topic": "TALK_PERK_MENU_SELECT_PLAYSTYLE" |
1635 | 1704 | }, |
| 1705 | + { |
| 1706 | + "condition": { "not": { "u_has_trait": "perk_soup_healing" } }, |
| 1707 | + "text": "Gain [<trait_name:perk_soup_healing>]", |
| 1708 | + "effect": [ |
| 1709 | + { "set_string_var": "<trait_name:perk_soup_healing>", "target_var": { "context_val": "trait_name" } }, |
| 1710 | + { |
| 1711 | + "set_string_var": "<trait_description:perk_soup_healing>", |
| 1712 | + "target_var": { "context_val": "trait_description" } |
| 1713 | + }, |
| 1714 | + { "set_string_var": "perk_soup_healing", "target_var": { "context_val": "trait_id" } }, |
| 1715 | + { |
| 1716 | + "set_string_var": "No Requirements", |
| 1717 | + "target_var": { "context_val": "trait_requirement_description" }, |
| 1718 | + "i18n": true |
| 1719 | + }, |
| 1720 | + { "set_condition": "perk_condition", "condition": { "math": [ "0 == 0" ] } } |
| 1721 | + ], |
| 1722 | + "topic": "TALK_PERK_MENU_SELECT_PLAYSTYLE" |
| 1723 | + }, |
1636 | 1724 | { |
1637 | 1725 | "condition": { "not": { "u_has_trait": "perk_nocturnal" } }, |
1638 | 1726 | "text": "Gain [<trait_name:perk_nocturnal>]", |
|
0 commit comments