From ce7b05023f3e5ba5a9d3791bcea83cf1c8882922 Mon Sep 17 00:00:00 2001 From: adrianna Date: Sun, 6 Mar 2016 00:25:57 +0200 Subject: [PATCH] armour --- koperkapel/vehicles/base.py | 1 + koperkapel/vehicles/quadcopter.py | 1 + koperkapel/vehicles/robot.py | 1 + koperkapel/vehicles/roomba.py | 1 + 4 files changed, 4 insertions(+) diff --git a/koperkapel/vehicles/base.py b/koperkapel/vehicles/base.py index 258ffe0..fdc9b7f 100644 --- a/koperkapel/vehicles/base.py +++ b/koperkapel/vehicles/base.py @@ -19,6 +19,7 @@ class Vehicle: approximate_radius = 200 weapons_taped_on = True selected_seat_overlay_color = (255, 0, 0, 255) + armour = 0 def __init__(self): self.seats = self.init_seats() diff --git a/koperkapel/vehicles/quadcopter.py b/koperkapel/vehicles/quadcopter.py index 64f921f..4370139 100644 --- a/koperkapel/vehicles/quadcopter.py +++ b/koperkapel/vehicles/quadcopter.py @@ -7,6 +7,7 @@ class Quadcopter(Vehicle): vehicle_type = "quadcopter" overlay_frame_no = 1 + armour = 5 def init_seats(self): return circle_of_seats(4, vehicle=self) diff --git a/koperkapel/vehicles/robot.py b/koperkapel/vehicles/robot.py index 8fe3fa9..de8799e 100644 --- a/koperkapel/vehicles/robot.py +++ b/koperkapel/vehicles/robot.py @@ -7,6 +7,7 @@ class Robot(Vehicle): vehicle_type = "robot" overlay_frame_no = 1 + armour = 10 def init_seats(self): return circle_of_seats(8, vehicle=self) diff --git a/koperkapel/vehicles/roomba.py b/koperkapel/vehicles/roomba.py index c868763..985abb1 100644 --- a/koperkapel/vehicles/roomba.py +++ b/koperkapel/vehicles/roomba.py @@ -7,6 +7,7 @@ class Roomba(Vehicle): vehicle_type = "roomba" overlay_frame_no = 1 + armour = 2 def init_seats(self): return circle_of_seats(6, vehicle=self) -- 2.34.1