Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/weapon.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/game/base/weapon.cc b/src/game/base/weapon.cc
index 5e94784..416b4c3 100644
--- a/src/game/base/weapon.cc
+++ b/src/game/base/weapon.cc
@@ -312,10 +312,11 @@ void Weapon::generate_info()
str << "volume: ^B" << volume() << " ^Ncubic meter";
add_line(str.str());
str.str("");
+
+ add_line("");
- if (subtype() == Cannon) {
- add_line("");
- add_line("^BProjectiles:^N");
+ if ((subtype() == Cannon) || (subtype() == Turret)) {
+
str << "damage: ^B" << damage() << "^N";
add_line(str.str());
str.str("");
@@ -324,11 +325,11 @@ void Weapon::generate_info()
add_line(str.str());
str.str("");
- str << "speed: ^B" << floor(projectile_speed()) * 100.0f << " ^Nm/sec";
+ str << "speed: ^B" << floor(projectile_speed()) * 100.0f << " ^Nmeter/sec";
add_line(str.str());
str.str("");
- str << "interval: ^B" << projectile_interval() << " ^Nms";
+ str << "fire rate: ^B" << "1/" << projectile_interval() << " ^Nmilliseconds";
add_line(str.str());
str.str("");