mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
Structure - expertise scripts reworked
All commands and skills for expertise changed and checked
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user