mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 10:12:14 +00:00
Factory spawns trains (#1408)
## Description: - Change trains so it spawns from factories only - Increase train frequency as they will now spawn from a single structure. - Factory will spawn more trains depending on its level - Fix port to connect to nearby railroads - Add factory description ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: IngloriousTom --------- Co-authored-by: Tom Rouillard <trouilla@mathworks.com> Co-authored-by: evanpelle <evanpelle@gmail.com>
This commit is contained in:
@@ -90,6 +90,8 @@
|
||||
"build_desc": "Description",
|
||||
"build_city": "City",
|
||||
"build_city_desc": "Increases your max population. Useful when you can't expand your territory or you're about to hit your population limit.",
|
||||
"build_factory": "Factory",
|
||||
"build_factory_desc": "Creates railroads automatically with nearby structures, and spawns trains sporadically.",
|
||||
"build_defense": "Defense Post",
|
||||
"build_defense_desc": "Increases defenses around nearby borders, which show a checkered pattern. Attacks from enemies are slower and have more casualties.",
|
||||
"build_port": "Port",
|
||||
@@ -409,8 +411,9 @@
|
||||
"sam_launcher": "Defends against incoming nukes",
|
||||
"warship": "Captures trade ships, destroys ships and boats",
|
||||
"port": "Sends trade ships to generate gold",
|
||||
"defense_post": "Increase defenses of nearby borders",
|
||||
"city": "Increase max population"
|
||||
"defense_post": "Increases defenses of nearby borders",
|
||||
"city": "Increases max population",
|
||||
"factory": "Creates railroads and spawns trains"
|
||||
},
|
||||
"not_enough_money": "Not enough money"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user