diff options
Diffstat (limited to 'godot/scripts/vehicles/Gunboat.gd')
| -rw-r--r-- | godot/scripts/vehicles/Gunboat.gd | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/godot/scripts/vehicles/Gunboat.gd b/godot/scripts/vehicles/Gunboat.gd index e1a61c5..8c3f54e 100644 --- a/godot/scripts/vehicles/Gunboat.gd +++ b/godot/scripts/vehicles/Gunboat.gd @@ -1,4 +1,4 @@ -extends "res://scripts/machines/NetworkedMachine.gd" +extends "res://scripts/machines/NetworkedMachineGDS.gd" export var team = 0 @@ -16,11 +16,14 @@ export var rudder_speed = 25 export var rudder_constant = 1800 const RUDDER_MAX = 60 -const health_max = 1000 +const health_max = 3000 var health = health_max const damage_threshold = 20 const max_depth = 2 +#boat ids +onready var nav_rid = $NavigationMeshInstance.get_region_rid() + #controls var throttle: float = 0.0 var rudder: float = 0.0 |
