From: adrianna Date: Sat, 5 Mar 2016 22:25:57 +0000 (+0200) Subject: armour X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=ce7b05023f3e5ba5a9d3791bcea83cf1c8882922;p=koperkapel.git armour --- 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)