Skip to content

Commit

Permalink
Added torpedoes and rate of fire for the ships
Browse files Browse the repository at this point in the history
Added dedicated fields torp and rof to tables ships and ship_templates
in order to implement a new combat mechanism with limited stock of
photon torpedoes and different rate of fire between ships.
  • Loading branch information
kirirur committed Oct 14, 2014
1 parent bf53bda commit 6a815fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stfc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,8 @@ CREATE TABLE IF NOT EXISTS `ships` (
`unit_2` smallint(5) unsigned NOT NULL default '0',
`unit_3` smallint(5) unsigned NOT NULL default '0',
`unit_4` smallint(5) unsigned NOT NULL default '0',
`torp` mediumint(8) unsigned NOT NULL default '0',
`rof` tinyint(3) unsigned NOT NULL default '1',
`ship_repair` int(11) NOT NULL default '0',
`ship_scrap` int(11) NOT NULL default '0',
`ship_name` varchar(50) NOT NULL default '',
Expand Down Expand Up @@ -1456,6 +1458,8 @@ CREATE TABLE IF NOT EXISTS `ship_templates` (
`value_13` mediumint(8) unsigned NOT NULL default '0',
`value_14` mediumint(8) unsigned NOT NULL default '0',
`value_15` mediumint(8) unsigned NOT NULL default '0',
`rof` tinyint(3) unsigned NOT NULL default '1',
`max_torp` smallint(5) unsigned NOT NULL default '0',
`resource_1` mediumint(8) unsigned NOT NULL default '0',
`resource_2` mediumint(8) unsigned NOT NULL default '0',
`resource_3` mediumint(8) unsigned NOT NULL default '0',
Expand Down

0 comments on commit 6a815fb

Please sign in to comment.