Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Used by: Item: Drone Control Unit
- from customEffects import increase
- import model.fitting
- type = 'active'
- def dronesMaxActiveDroneBonusModAddMaxActiveActive(self, fitting, state):
- if state >= model.fitting.STATE_ACTIVE:
- increase(fitting.ship, "_maxActiveDrones", "maxActiveDroneBonus", self.item)
Add Comment
Please, Sign In to add comment