Guest User

Untitled

a guest
Jul 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #Used by: Item: Drone Control Unit
  2. from customEffects import increase
  3. import model.fitting
  4. type = 'active'
  5.  
  6. def dronesMaxActiveDroneBonusModAddMaxActiveActive(self, fitting, state):
  7. if state >= model.fitting.STATE_ACTIVE:
  8. increase(fitting.ship, "_maxActiveDrones", "maxActiveDroneBonus", self.item)
Add Comment
Please, Sign In to add comment