#pragma once

#include <common/weapons/_all.qh>

#ifdef SVQC
// 400 (x2) DPS
float autocvar_g_vehicle_spiderbot_minigun_damage = 16;
float autocvar_g_vehicle_spiderbot_minigun_refire = 0.06;
float autocvar_g_vehicle_spiderbot_minigun_spread = 0.012;
int autocvar_g_vehicle_spiderbot_minigun_ammo_cost = 1;
int autocvar_g_vehicle_spiderbot_minigun_ammo_max = 100;
int autocvar_g_vehicle_spiderbot_minigun_ammo_regen = 40;
float autocvar_g_vehicle_spiderbot_minigun_ammo_regen_pause = 1;
float autocvar_g_vehicle_spiderbot_minigun_force = 9;
float autocvar_g_vehicle_spiderbot_minigun_solidpenetration = 32;

float autocvar_g_vehicle_spiderbot_rocket_damage = 50;
float autocvar_g_vehicle_spiderbot_rocket_force = 150;
float autocvar_g_vehicle_spiderbot_rocket_radius = 250;
float autocvar_g_vehicle_spiderbot_rocket_speed = 3500;
float autocvar_g_vehicle_spiderbot_rocket_spread = 0.05;
float autocvar_g_vehicle_spiderbot_rocket_refire = 0.1;
// volley
float autocvar_g_vehicle_spiderbot_rocket_refire2 = 0.025;
float autocvar_g_vehicle_spiderbot_rocket_reload = 4;
float autocvar_g_vehicle_spiderbot_rocket_health = 100;
float autocvar_g_vehicle_spiderbot_rocket_noise = 0.2;
float autocvar_g_vehicle_spiderbot_rocket_turnrate = 0.25;
float autocvar_g_vehicle_spiderbot_rocket_lifetime = 20;

void spiderbot_rocket_do(entity this);
#endif // SVQC
