diff --git a/scripts/expertise/expertise_structure_architect_advanced_theory_1.py b/scripts/expertise/expertise_structure_architect_advanced_theory_1.py index 762a10ca..42e72115 100644 --- a/scripts/expertise/expertise_structure_architect_advanced_theory_1.py +++ b/scripts/expertise/expertise_structure_architect_advanced_theory_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_advanced_theory_1') - - actor.addSkillMod('structure_experimentation', 10) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_advanced_theory_1') - - actor.removeSkillMod('structure_experimentation', 10) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_theory_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_theory_1") return diff --git a/scripts/expertise/expertise_structure_architect_dexterity_1.py b/scripts/expertise/expertise_structure_architect_dexterity_1.py index eaf875af..b3644dbd 100644 --- a/scripts/expertise/expertise_structure_architect_dexterity_1.py +++ b/scripts/expertise/expertise_structure_architect_dexterity_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_dexterity_1') - - actor.addSkillMod('structure_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_dexterity_1') - - actor.removeSkillMod('structure_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_dexterity_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_dexterity_1") return diff --git a/scripts/expertise/expertise_structure_architect_dexterity_2.py b/scripts/expertise/expertise_structure_architect_dexterity_2.py index e3a98a3d..d87f7a01 100644 --- a/scripts/expertise/expertise_structure_architect_dexterity_2.py +++ b/scripts/expertise/expertise_structure_architect_dexterity_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_dexterity_2') - - actor.addSkillMod('structure_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_dexterity_2') - - actor.removeSkillMod('structure_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_dexterity_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_dexterity_2") return diff --git a/scripts/expertise/expertise_structure_architect_dexterity_3.py b/scripts/expertise/expertise_structure_architect_dexterity_3.py index ca3b2d31..f07fb9ae 100644 --- a/scripts/expertise/expertise_structure_architect_dexterity_3.py +++ b/scripts/expertise/expertise_structure_architect_dexterity_3.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_dexterity_3') - - actor.addSkillMod('structure_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_dexterity_3') - - actor.removeSkillMod('structure_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_dexterity_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_dexterity_3") return diff --git a/scripts/expertise/expertise_structure_architect_dexterity_4.py b/scripts/expertise/expertise_structure_architect_dexterity_4.py index a3d8534f..339e3773 100644 --- a/scripts/expertise/expertise_structure_architect_dexterity_4.py +++ b/scripts/expertise/expertise_structure_architect_dexterity_4.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_dexterity_4') - - actor.addSkillMod('structure_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_dexterity_4') - - actor.removeSkillMod('structure_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_dexterity_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_dexterity_4") return diff --git a/scripts/expertise/expertise_structure_architect_hypothesis_1.py b/scripts/expertise/expertise_structure_architect_hypothesis_1.py index b5eafa01..7c1de09a 100644 --- a/scripts/expertise/expertise_structure_architect_hypothesis_1.py +++ b/scripts/expertise/expertise_structure_architect_hypothesis_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_hypothesis_1') - - actor.addSkillMod('expertise_experimentation_increase_architect', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_hypothesis_1') - - actor.removeSkillMod('expertise_experimentation_increase_architect', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_hypothesis_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_hypothesis_1") return diff --git a/scripts/expertise/expertise_structure_architect_hypothesis_2.py b/scripts/expertise/expertise_structure_architect_hypothesis_2.py index ec83d7d4..e9acaf9b 100644 --- a/scripts/expertise/expertise_structure_architect_hypothesis_2.py +++ b/scripts/expertise/expertise_structure_architect_hypothesis_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_hypothesis_2') - - actor.addSkillMod('expertise_experimentation_increase_architect', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_hypothesis_2') - - actor.removeSkillMod('expertise_experimentation_increase_architect', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_hypothesis_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_hypothesis_2") return diff --git a/scripts/expertise/expertise_structure_architect_hypothesis_3.py b/scripts/expertise/expertise_structure_architect_hypothesis_3.py index 15ddc720..b43dc039 100644 --- a/scripts/expertise/expertise_structure_architect_hypothesis_3.py +++ b/scripts/expertise/expertise_structure_architect_hypothesis_3.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_hypothesis_3') - - actor.addSkillMod('expertise_experimentation_increase_architect', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_hypothesis_3') - - actor.removeSkillMod('expertise_experimentation_increase_architect', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_hypothesis_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_hypothesis_3") return diff --git a/scripts/expertise/expertise_structure_architect_hypothesis_4.py b/scripts/expertise/expertise_structure_architect_hypothesis_4.py index 00e33f1b..7a184294 100644 --- a/scripts/expertise/expertise_structure_architect_hypothesis_4.py +++ b/scripts/expertise/expertise_structure_architect_hypothesis_4.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_hypothesis_4') - - actor.addSkillMod('expertise_experimentation_increase_architect', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_hypothesis_4') - - actor.removeSkillMod('expertise_experimentation_increase_architect', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_hypothesis_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_hypothesis_4") return diff --git a/scripts/expertise/expertise_structure_architect_insight_1.py b/scripts/expertise/expertise_structure_architect_insight_1.py index ff19b257..9ff69aa3 100644 --- a/scripts/expertise/expertise_structure_architect_insight_1.py +++ b/scripts/expertise/expertise_structure_architect_insight_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_insight_1') - - actor.addSkillMod('expertise_complexity_decrease_architect', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_insight_1') - - actor.removeSkillMod('expertise_complexity_decrease_architect', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_insight_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_insight_1") return diff --git a/scripts/expertise/expertise_structure_architect_insight_2.py b/scripts/expertise/expertise_structure_architect_insight_2.py index e48c07f5..b5acc5e0 100644 --- a/scripts/expertise/expertise_structure_architect_insight_2.py +++ b/scripts/expertise/expertise_structure_architect_insight_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_insight_2') - - actor.addSkillMod('expertise_complexity_decrease_architect', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_insight_2') - - actor.removeSkillMod('expertise_complexity_decrease_architect', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_insight_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_insight_2") return diff --git a/scripts/expertise/expertise_structure_architect_keen_understanding_1.py b/scripts/expertise/expertise_structure_architect_keen_understanding_1.py index 1ff82037..5e63c078 100644 --- a/scripts/expertise/expertise_structure_architect_keen_understanding_1.py +++ b/scripts/expertise/expertise_structure_architect_keen_understanding_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_keen_understanding_1') - - actor.addSkillMod('expertise_complexity_decrease_architect', 2) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_keen_understanding_1') - - actor.removeSkillMod('expertise_complexity_decrease_architect', 2) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_keen_understanding_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_keen_understanding_1") return diff --git a/scripts/expertise/expertise_structure_architect_keen_understanding_2.py b/scripts/expertise/expertise_structure_architect_keen_understanding_2.py index 552ebd65..a35ab95e 100644 --- a/scripts/expertise/expertise_structure_architect_keen_understanding_2.py +++ b/scripts/expertise/expertise_structure_architect_keen_understanding_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_keen_understanding_2') - - actor.addSkillMod('expertise_complexity_decrease_architect', 2) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_keen_understanding_2') - - actor.removeSkillMod('expertise_complexity_decrease_architect', 2) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_keen_understanding_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_keen_understanding_2") return diff --git a/scripts/expertise/expertise_structure_architect_schematic_1_1.py b/scripts/expertise/expertise_structure_architect_schematic_1_1.py index 7ef6e4eb..77d60042 100644 --- a/scripts/expertise/expertise_structure_architect_schematic_1_1.py +++ b/scripts/expertise/expertise_structure_architect_schematic_1_1.py @@ -1,46 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_schematic_1_1') - - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_schematic_1_1') - - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_schematic_1_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_schematic_1_1") return diff --git a/scripts/expertise/expertise_structure_architect_schematic_2_1.py b/scripts/expertise/expertise_structure_architect_schematic_2_1.py index 7df673d9..9db9ab48 100644 --- a/scripts/expertise/expertise_structure_architect_schematic_2_1.py +++ b/scripts/expertise/expertise_structure_architect_schematic_2_1.py @@ -1,46 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_architect_schematic_2_1') - - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_architect_schematic_2_1') - - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_architect_schematic_2_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_architect_schematic_2_1") return diff --git a/scripts/expertise/expertise_structure_artisan_advanced_theory_1.py b/scripts/expertise/expertise_structure_artisan_advanced_theory_1.py index f2498949..59364e96 100644 --- a/scripts/expertise/expertise_structure_artisan_advanced_theory_1.py +++ b/scripts/expertise/expertise_structure_artisan_advanced_theory_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_advanced_theory_1') - - actor.addSkillMod('general_experimentation', 10) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_advanced_theory_1') - - actor.removeSkillMod('general_experimentation', 10) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_advanced_theory_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_advanced_theory_1") return diff --git a/scripts/expertise/expertise_structure_artisan_dexterity_1.py b/scripts/expertise/expertise_structure_artisan_dexterity_1.py index 5dd3479f..6b4364cf 100644 --- a/scripts/expertise/expertise_structure_artisan_dexterity_1.py +++ b/scripts/expertise/expertise_structure_artisan_dexterity_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_dexterity_1') - - actor.addSkillMod('general_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_dexterity_1') - - actor.removeSkillMod('general_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_dexterity_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_dexterity_1") return diff --git a/scripts/expertise/expertise_structure_artisan_dexterity_2.py b/scripts/expertise/expertise_structure_artisan_dexterity_2.py index 7390c520..e5bee87f 100644 --- a/scripts/expertise/expertise_structure_artisan_dexterity_2.py +++ b/scripts/expertise/expertise_structure_artisan_dexterity_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_dexterity_2') - - actor.addSkillMod('general_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_dexterity_2') - - actor.removeSkillMod('general_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_dexterity_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_dexterity_2") return diff --git a/scripts/expertise/expertise_structure_artisan_dexterity_3.py b/scripts/expertise/expertise_structure_artisan_dexterity_3.py index 91971842..fb2b5c62 100644 --- a/scripts/expertise/expertise_structure_artisan_dexterity_3.py +++ b/scripts/expertise/expertise_structure_artisan_dexterity_3.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_dexterity_3') - - actor.addSkillMod('general_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_dexterity_3') - - actor.removeSkillMod('general_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_dexterity_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_dexterity_3") return diff --git a/scripts/expertise/expertise_structure_artisan_dexterity_4.py b/scripts/expertise/expertise_structure_artisan_dexterity_4.py index 4cb0041e..c4fea7ab 100644 --- a/scripts/expertise/expertise_structure_artisan_dexterity_4.py +++ b/scripts/expertise/expertise_structure_artisan_dexterity_4.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_dexterity_4') - - actor.addSkillMod('general_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_dexterity_4') - - actor.removeSkillMod('general_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_dexterity_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_dexterity_4") return diff --git a/scripts/expertise/expertise_structure_artisan_hypothesis_1.py b/scripts/expertise/expertise_structure_artisan_hypothesis_1.py index 18cbdb54..c5ec040c 100644 --- a/scripts/expertise/expertise_structure_artisan_hypothesis_1.py +++ b/scripts/expertise/expertise_structure_artisan_hypothesis_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_hypothesis_1') - - actor.addSkillMod('expertise_experimentation_increase_artisan', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_hypothesis_1') - - actor.removeSkillMod('expertise_experimentation_increase_artisan', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_hypothesis_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_hypothesis_1") return diff --git a/scripts/expertise/expertise_structure_artisan_hypothesis_2.py b/scripts/expertise/expertise_structure_artisan_hypothesis_2.py index 1260a16f..c8803e0c 100644 --- a/scripts/expertise/expertise_structure_artisan_hypothesis_2.py +++ b/scripts/expertise/expertise_structure_artisan_hypothesis_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_hypothesis_2') - - actor.addSkillMod('expertise_experimentation_increase_artisan', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_hypothesis_2') - - actor.removeSkillMod('expertise_experimentation_increase_artisan', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_hypothesis_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_hypothesis_2") return diff --git a/scripts/expertise/expertise_structure_artisan_hypothesis_3.py b/scripts/expertise/expertise_structure_artisan_hypothesis_3.py index 5101ccc2..0995112b 100644 --- a/scripts/expertise/expertise_structure_artisan_hypothesis_3.py +++ b/scripts/expertise/expertise_structure_artisan_hypothesis_3.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_hypothesis_3') - - actor.addSkillMod('expertise_experimentation_increase_artisan', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_hypothesis_3') - - actor.removeSkillMod('expertise_experimentation_increase_artisan', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_hypothesis_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_hypothesis_3") return diff --git a/scripts/expertise/expertise_structure_artisan_hypothesis_4.py b/scripts/expertise/expertise_structure_artisan_hypothesis_4.py index ae1c642f..d5a30bc6 100644 --- a/scripts/expertise/expertise_structure_artisan_hypothesis_4.py +++ b/scripts/expertise/expertise_structure_artisan_hypothesis_4.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_artisan_hypothesis_4') - - actor.addSkillMod('expertise_experimentation_increase_artisan', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_artisan_hypothesis_4') - - actor.removeSkillMod('expertise_experimentation_increase_artisan', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_artisan_hypothesis_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_artisan_hypothesis_4") return diff --git a/scripts/expertise/expertise_structure_resource_processing_1.py b/scripts/expertise/expertise_structure_resource_processing_1.py index 80444cc0..38475c6d 100644 --- a/scripts/expertise/expertise_structure_resource_processing_1.py +++ b/scripts/expertise/expertise_structure_resource_processing_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_resource_processing_1') - - actor.addSkillMod('expertise_resource_quality_increase', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_resource_processing_1') - - actor.removeSkillMod('expertise_resource_quality_increase', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_resource_processing_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_resource_processing_1") return diff --git a/scripts/expertise/expertise_structure_resource_processing_2.py b/scripts/expertise/expertise_structure_resource_processing_2.py index 89253106..79d11128 100644 --- a/scripts/expertise/expertise_structure_resource_processing_2.py +++ b/scripts/expertise/expertise_structure_resource_processing_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_resource_processing_2') - - actor.addSkillMod('expertise_resource_quality_increase', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_resource_processing_2') - - actor.removeSkillMod('expertise_resource_quality_increase', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_resource_processing_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_resource_processing_2") return diff --git a/scripts/expertise/expertise_structure_resource_refinement_1.py b/scripts/expertise/expertise_structure_resource_refinement_1.py index 948b3822..5b55ffb2 100644 --- a/scripts/expertise/expertise_structure_resource_refinement_1.py +++ b/scripts/expertise/expertise_structure_resource_refinement_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_resource_refinement_1') - - actor.addSkillMod('expertise_resource_quality_increase', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_resource_refinement_1') - - actor.removeSkillMod('expertise_resource_quality_increase', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_resource_refinement_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_resource_refinement_1") return diff --git a/scripts/expertise/expertise_structure_resource_refinement_2.py b/scripts/expertise/expertise_structure_resource_refinement_2.py index bc8e7478..d9347d52 100644 --- a/scripts/expertise/expertise_structure_resource_refinement_2.py +++ b/scripts/expertise/expertise_structure_resource_refinement_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_resource_refinement_2') - - actor.addSkillMod('expertise_resource_quality_increase', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_resource_refinement_2') - - actor.removeSkillMod('expertise_resource_quality_increase', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_resource_refinement_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_resource_refinement_2") return diff --git a/scripts/expertise/expertise_structure_shipwright_advanced_theory_1.py b/scripts/expertise/expertise_structure_shipwright_advanced_theory_1.py index 3ad59ca5..7077e0e4 100644 --- a/scripts/expertise/expertise_structure_shipwright_advanced_theory_1.py +++ b/scripts/expertise/expertise_structure_shipwright_advanced_theory_1.py @@ -1,60 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_advanced_theory_1') - - actor.addSkillMod('chassis_experimentation', 10) - actor.addSkillMod('weapon_systems_experimentation', 10) - actor.addSkillMod('engine_experimentation', 10) - actor.addSkillMod('booster_experimentation', 10) - actor.addSkillMod('power_systems_experimentation', 10) - actor.addSkillMod('shields_experimentation', 10) - actor.addSkillMod('advanced_ship_experimentation', 10) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_advanced_theory_1') - - actor.removeSkillMod('chassis_experimentation', 10) - actor.removeSkillMod('weapon_systems_experimentation', 10) - actor.removeSkillMod('engine_experimentation', 10) - actor.removeSkillMod('booster_experimentation', 10) - actor.removeSkillMod('power_systems_experimentation', 10) - actor.removeSkillMod('shields_experimentation', 10) - actor.removeSkillMod('advanced_ship_experimentation', 10) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_advanced_theory_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_advanced_theory_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_dexterity_1.py b/scripts/expertise/expertise_structure_shipwright_dexterity_1.py index 210f669b..f3bd8da5 100644 --- a/scripts/expertise/expertise_structure_shipwright_dexterity_1.py +++ b/scripts/expertise/expertise_structure_shipwright_dexterity_1.py @@ -1,60 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_dexterity_1') - - actor.addSkillMod('chassis_assembly', 5) - actor.addSkillMod('engine_assembly', 5) - actor.addSkillMod('booster_assembly', 5) - actor.addSkillMod('power_systems', 5) - actor.addSkillMod('weapon_systems', 5) - actor.addSkillMod('shields_assembly', 5) - actor.addSkillMod('advanced_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_dexterity_1') - - actor.removeSkillMod('chassis_assembly', 5) - actor.removeSkillMod('engine_assembly', 5) - actor.removeSkillMod('booster_assembly', 5) - actor.removeSkillMod('power_systems', 5) - actor.removeSkillMod('weapon_systems', 5) - actor.removeSkillMod('shields_assembly', 5) - actor.removeSkillMod('advanced_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_dexterity_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_dexterity_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_dexterity_2.py b/scripts/expertise/expertise_structure_shipwright_dexterity_2.py index b1bc4bd6..c242e7f8 100644 --- a/scripts/expertise/expertise_structure_shipwright_dexterity_2.py +++ b/scripts/expertise/expertise_structure_shipwright_dexterity_2.py @@ -1,60 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_dexterity_2') - - actor.addSkillMod('chassis_assembly', 5) - actor.addSkillMod('engine_assembly', 5) - actor.addSkillMod('booster_assembly', 5) - actor.addSkillMod('power_systems', 5) - actor.addSkillMod('weapon_systems', 5) - actor.addSkillMod('shields_assembly', 5) - actor.addSkillMod('advanced_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_dexterity_2') - - actor.removeSkillMod('chassis_assembly', 5) - actor.removeSkillMod('engine_assembly', 5) - actor.removeSkillMod('booster_assembly', 5) - actor.removeSkillMod('power_systems', 5) - actor.removeSkillMod('weapon_systems', 5) - actor.removeSkillMod('shields_assembly', 5) - actor.removeSkillMod('advanced_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_dexterity_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_dexterity_2") return diff --git a/scripts/expertise/expertise_structure_shipwright_dexterity_3.py b/scripts/expertise/expertise_structure_shipwright_dexterity_3.py index 09592b62..7690812b 100644 --- a/scripts/expertise/expertise_structure_shipwright_dexterity_3.py +++ b/scripts/expertise/expertise_structure_shipwright_dexterity_3.py @@ -1,60 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_dexterity_3') - - actor.addSkillMod('chassis_assembly', 5) - actor.addSkillMod('engine_assembly', 5) - actor.addSkillMod('booster_assembly', 5) - actor.addSkillMod('power_systems', 5) - actor.addSkillMod('weapon_systems', 5) - actor.addSkillMod('shields_assembly', 5) - actor.addSkillMod('advanced_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_dexterity_3') - - actor.removeSkillMod('chassis_assembly', 5) - actor.removeSkillMod('engine_assembly', 5) - actor.removeSkillMod('booster_assembly', 5) - actor.removeSkillMod('power_systems', 5) - actor.removeSkillMod('weapon_systems', 5) - actor.removeSkillMod('shields_assembly', 5) - actor.removeSkillMod('advanced_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_dexterity_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_dexterity_3") return diff --git a/scripts/expertise/expertise_structure_shipwright_dexterity_4.py b/scripts/expertise/expertise_structure_shipwright_dexterity_4.py index 242ccbd2..a63652c5 100644 --- a/scripts/expertise/expertise_structure_shipwright_dexterity_4.py +++ b/scripts/expertise/expertise_structure_shipwright_dexterity_4.py @@ -1,60 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_dexterity_4') - - actor.addSkillMod('chassis_assembly', 5) - actor.addSkillMod('engine_assembly', 5) - actor.addSkillMod('booster_assembly', 5) - actor.addSkillMod('power_systems', 5) - actor.addSkillMod('weapon_systems', 5) - actor.addSkillMod('shields_assembly', 5) - actor.addSkillMod('advanced_assembly', 5) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_dexterity_4') - - actor.removeSkillMod('chassis_assembly', 5) - actor.removeSkillMod('engine_assembly', 5) - actor.removeSkillMod('booster_assembly', 5) - actor.removeSkillMod('power_systems', 5) - actor.removeSkillMod('weapon_systems', 5) - actor.removeSkillMod('shields_assembly', 5) - actor.removeSkillMod('advanced_assembly', 5) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_dexterity_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_dexterity_4") return diff --git a/scripts/expertise/expertise_structure_shipwright_hypothesis_1.py b/scripts/expertise/expertise_structure_shipwright_hypothesis_1.py index 6fc0b225..65ef4ba2 100644 --- a/scripts/expertise/expertise_structure_shipwright_hypothesis_1.py +++ b/scripts/expertise/expertise_structure_shipwright_hypothesis_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_hypothesis_1') - - actor.addSkillMod('expertise_experimentation_increase_shipwright', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_hypothesis_1') - - actor.removeSkillMod('expertise_experimentation_increase_shipwright', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_hypothesis_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_hypothesis_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_hypothesis_2.py b/scripts/expertise/expertise_structure_shipwright_hypothesis_2.py index 101a7342..4ab8f864 100644 --- a/scripts/expertise/expertise_structure_shipwright_hypothesis_2.py +++ b/scripts/expertise/expertise_structure_shipwright_hypothesis_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_hypothesis_2') - - actor.addSkillMod('expertise_experimentation_increase_shipwright', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_hypothesis_2') - - actor.removeSkillMod('expertise_experimentation_increase_shipwright', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_hypothesis_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_hypothesis_2") return diff --git a/scripts/expertise/expertise_structure_shipwright_hypothesis_3.py b/scripts/expertise/expertise_structure_shipwright_hypothesis_3.py index 2c00785c..af933c60 100644 --- a/scripts/expertise/expertise_structure_shipwright_hypothesis_3.py +++ b/scripts/expertise/expertise_structure_shipwright_hypothesis_3.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_hypothesis_3') - - actor.addSkillMod('expertise_experimentation_increase_shipwright', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_hypothesis_3') - - actor.removeSkillMod('expertise_experimentation_increase_shipwright', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_hypothesis_3") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_hypothesis_3") return diff --git a/scripts/expertise/expertise_structure_shipwright_hypothesis_4.py b/scripts/expertise/expertise_structure_shipwright_hypothesis_4.py index d723697e..4b120a10 100644 --- a/scripts/expertise/expertise_structure_shipwright_hypothesis_4.py +++ b/scripts/expertise/expertise_structure_shipwright_hypothesis_4.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_hypothesis_4') - - actor.addSkillMod('expertise_experimentation_increase_shipwright', 3) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_hypothesis_4') - - actor.removeSkillMod('expertise_experimentation_increase_shipwright', 3) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_hypothesis_4") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_hypothesis_4") return diff --git a/scripts/expertise/expertise_structure_shipwright_insight_1.py b/scripts/expertise/expertise_structure_shipwright_insight_1.py index 82b35892..43dd055e 100644 --- a/scripts/expertise/expertise_structure_shipwright_insight_1.py +++ b/scripts/expertise/expertise_structure_shipwright_insight_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_insight_1') - - actor.addSkillMod('expertise_complexity_decrease_shipwright', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_insight_1') - - actor.removeSkillMod('expertise_complexity_decrease_shipwright', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_insight_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_insight_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_insight_2.py b/scripts/expertise/expertise_structure_shipwright_insight_2.py index d50e67a5..0fe7dd52 100644 --- a/scripts/expertise/expertise_structure_shipwright_insight_2.py +++ b/scripts/expertise/expertise_structure_shipwright_insight_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_insight_2') - - actor.addSkillMod('expertise_complexity_decrease_shipwright', 1) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_insight_2') - - actor.removeSkillMod('expertise_complexity_decrease_shipwright', 1) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_insight_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_insight_2") return diff --git a/scripts/expertise/expertise_structure_shipwright_keen_understanding_1.py b/scripts/expertise/expertise_structure_shipwright_keen_understanding_1.py index 06d07813..211217c1 100644 --- a/scripts/expertise/expertise_structure_shipwright_keen_understanding_1.py +++ b/scripts/expertise/expertise_structure_shipwright_keen_understanding_1.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_keen_understanding_1') - - actor.addSkillMod('expertise_complexity_decrease_shipwright', 2) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_keen_understanding_1') - - actor.removeSkillMod('expertise_complexity_decrease_shipwright', 2) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_keen_understanding_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_keen_understanding_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_keen_understanding_2.py b/scripts/expertise/expertise_structure_shipwright_keen_understanding_2.py index bd0f235a..c11a18a0 100644 --- a/scripts/expertise/expertise_structure_shipwright_keen_understanding_2.py +++ b/scripts/expertise/expertise_structure_shipwright_keen_understanding_2.py @@ -1,48 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_keen_understanding_2') - - actor.addSkillMod('expertise_complexity_decrease_shipwright', 2) - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_keen_understanding_2') - - actor.removeSkillMod('expertise_complexity_decrease_shipwright', 2) - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_keen_understanding_2") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_keen_understanding_2") return diff --git a/scripts/expertise/expertise_structure_shipwright_schematic_1_1.py b/scripts/expertise/expertise_structure_shipwright_schematic_1_1.py index 7e8de7a2..2cce7bef 100644 --- a/scripts/expertise/expertise_structure_shipwright_schematic_1_1.py +++ b/scripts/expertise/expertise_structure_shipwright_schematic_1_1.py @@ -1,46 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_schematic_1_1') - - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_schematic_1_1') - - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_schmematic_1_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_schmematic_1_1") return diff --git a/scripts/expertise/expertise_structure_shipwright_schematic_2_1.py b/scripts/expertise/expertise_structure_shipwright_schematic_2_1.py index 71c2d9b5..b23f6f2c 100644 --- a/scripts/expertise/expertise_structure_shipwright_schematic_2_1.py +++ b/scripts/expertise/expertise_structure_shipwright_schematic_2_1.py @@ -1,46 +1,9 @@ import sys -def addExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.addSkill('expertise_structure_shipwright_schematic_2_1') - - - addAbilities(core, actor, player) - - return - -def removeExpertisePoint(core, actor): - - player = actor.getSlottedObject('ghost') - - if not player: - return - - if not player.getProfession() == 'trader_struct_1a': - return - - actor.removeSkill('expertise_structure_shipwright_schematic_2_1') - - - removeAbilities(core, actor, player) - - return - -# this checks what abilities the player gets by level, need to also call this on level-up def addAbilities(core, actor, player): - - + actor.addAbility("expertise_structure_shipwright_schmematic_2_1") return def removeAbilities(core, actor, player): - - + actor.removeAbility("expertise_structure_shipwright_schmematic_2_1") return