Added Stealth tech and Stealth Bombers (#4271)

* Changed some interception-related uniques

- "Can not be intercepted" -> "Cannot be intercepted"
  This really irked me, and the new version is also how it is written
  in the wiki.
- "Reduces damage taken from interception by 50%" ->
  "Damage taken from interception reduced by [50]%"

* Added "Cannot be carried by [unitFilter] units" unique

* Added an icon for Stealth

* Added Stealth technology and the Stealth Bomber

* Possibly fixed incorrect rounding for interception damage bonus

* Various code style changes

* Made Stealth Bomber interceptable, but with 100% damage reduction
This commit is contained in:
Arthur van der Staaij
2021-06-27 07:57:11 +02:00
committed by GitHub
parent 401c10c132
commit 0f0abad5ea
9 changed files with 430 additions and 401 deletions

View File

@ -621,8 +621,14 @@
{
"name": "Nanotechnology",
"row": 7,
"prerequisites": ["Robotics","Lasers"],
"prerequisites": ["Robotics"],
"quote": "'The impact of nanotechnology is expected to exceed the impact that the electronics revolution has had on our lives.' - Richard Schwartz"
},
{
"name": "Stealth",
"row": 8,
"prerequisites": ["Robotics", "Lasers"],
"quote": "'Be extremely subtle, even to the point of formlessness, be extremely mysterious, even to the point of soundlessness. Thereby you can be the director of the opponent' state.' Sun Tzu"
}
]
},
@ -636,7 +642,7 @@
{
"name": "Future Tech",
"row": 5,
"prerequisites": ["Particle Physics", "Nuclear Fusion", "Nanotechnology"],
"prerequisites": ["Particle Physics", "Nuclear Fusion", "Nanotechnology", "Stealth"],
"uniques": ["Who knows what the future holds?", "Can be continually researched"],
"quote": "'I think we agree, the past is over.' - George W. Bush"
}

View File

@ -287,7 +287,7 @@
{
"name": "Evasion",
"prerequisites": ["Siege II", "Bombardment II"],
"effect": "Reduces damage taken from interception by 50%",
"effect": "Damage taken from interception reduced by [50]%",
"unitTypes": ["Bomber"]
},

View File

@ -1134,7 +1134,7 @@
"cost": 375,
"requiredTech": "Radar",
"requiredResource": "Oil",
//"upgradesTo": "Stealth Bomber",
"upgradesTo": "Stealth Bomber",
"attackSound": "shot"
},
{
@ -1150,7 +1150,7 @@
"requiredTech": "Radar",
"requiredResource": "Oil",
"promotions": ["Evasion", "Siege I"],
//"upgradesTo": "Stealth Bomber",
"upgradesTo": "Stealth Bomber",
"attackSound": "shot"
},
{
@ -1350,22 +1350,19 @@
"requiredResource": "Uranium",
"uniques": ["Can move after attacking", "No defensive terrain bonus"]
},
/*
{
"name": "Stealth Bomber",
"unitType": "Bomber",
"movement": 2,
"strength": 85,
"rangedStrength": 65,
"rangedStrength": 85,
"range": 20,
"cost": 425,
"requiredTech": "Stealth",
"requiredResource": "Aluminum",
"uniques": ["Evasion", "6 tiles in every direction always visible"],
"uniques": ["Damage taken from interception reduced by [100]%", "Cannot be carried by [Carrier] units", "6 tiles in every direction always visible"],
"attackSound": "shot"
// cannot be based on carrier
},
*/
/* Great people */