Restyle ship stat upgrades.
This commit is contained in:
		| @@ -1147,7 +1147,11 @@ function player:small_upgrade_opts() | |||||||
|  local ret = {{ |  local ret = {{ | ||||||
|   icon=53, |   icon=53, | ||||||
|   hdr="hull", |   hdr="hull", | ||||||
|   body=[[    armor |   body=[[----------SHIP | ||||||
|  |  | ||||||
|  | survive more | ||||||
|  |  unshielded | ||||||
|  |      hits. | ||||||
|  |  | ||||||
|     +2 hp]], |     +2 hp]], | ||||||
|   action=function() |   action=function() | ||||||
| @@ -1156,8 +1160,13 @@ function player:small_upgrade_opts() | |||||||
|   end, |   end, | ||||||
|  },{ |  },{ | ||||||
|   icon=52, |   icon=52, | ||||||
|   hdr="shield", |   hdr="capacity", | ||||||
|   body=[[  capacity |   body=[[--------SHIELD | ||||||
|  |  | ||||||
|  | shield can | ||||||
|  | absorb more | ||||||
|  | hits before | ||||||
|  | recharging. | ||||||
|  |  | ||||||
|     +1 hp]], |     +1 hp]], | ||||||
|   action=function() |   action=function() | ||||||
| @@ -1167,10 +1176,10 @@ function player:small_upgrade_opts() | |||||||
|  },{ |  },{ | ||||||
|   icon=1, |   icon=1, | ||||||
|   hdr="thrusters", |   hdr="thrusters", | ||||||
|   body=[[performance |   body=[[----------SHIP | ||||||
|  |  | ||||||
| move faster, | move faster, | ||||||
| steer faster]], | steer faster.]], | ||||||
|  action=function() |  action=function() | ||||||
|   --maxspd thrust drag |   --maxspd thrust drag | ||||||
|   self.maxspd += 0.5 |   self.maxspd += 0.5 | ||||||
| @@ -1179,12 +1188,12 @@ steer faster]], | |||||||
|  end, |  end, | ||||||
|  },{ |  },{ | ||||||
|   icon=20, |   icon=20, | ||||||
|   hdr="hull", |   hdr="magnet", | ||||||
|   body=[[   magnet |   body=[[----------SHIP | ||||||
|  |  | ||||||
|  pick up xp |  pick up xp | ||||||
| from further | from further | ||||||
|    away]], |    away.]], | ||||||
|   action=function () |   action=function () | ||||||
|    self.magnet += 2 |    self.magnet += 2 | ||||||
|   end, |   end, | ||||||
| @@ -1193,8 +1202,12 @@ from further | |||||||
|  if cdr > 0 then |  if cdr > 0 then | ||||||
|   add(ret, { |   add(ret, { | ||||||
|    icon = 6, |    icon = 6, | ||||||
|    hdr = "shield", |    hdr = "recharge", | ||||||
|    body=[[charge rate |    body=[[--------SHIELD | ||||||
|  |  | ||||||
|  | shield energy | ||||||
|  |  refill rate | ||||||
|  |   improves. | ||||||
|   |   | ||||||
|   ]] .. tostr(ceil(100 * cdr / self.shieldcooldown)) .. "% faster", |   ]] .. tostr(ceil(100 * cdr / self.shieldcooldown)) .. "% faster", | ||||||
|    action = function() |    action = function() | ||||||
| @@ -1206,8 +1219,14 @@ from further | |||||||
|  if pr > 0 then |  if pr > 0 then | ||||||
|   add(ret, { |   add(ret, { | ||||||
|    icon = 6, |    icon = 6, | ||||||
|    hdr = "shield", |    hdr = "recovery", | ||||||
|    body=[[disruption |    body=[[--------SHIELD | ||||||
|  |  | ||||||
|  |  reduce the | ||||||
|  | delay before | ||||||
|  | shield starts | ||||||
|  |  recovering | ||||||
|  | after a hit. | ||||||
|   |   | ||||||
|  ]] .. tostr(ceil(100 * pr / self.shieldpenalty)) .. "% shorter", |  ]] .. tostr(ceil(100 * pr / self.shieldpenalty)) .. "% shorter", | ||||||
|    action = function() |    action = function() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user