Page MenuHomeWildfire Games

Javelinist → Javelineer
ClosedPublic

Authored by Nescio on Jan 21 2020, 9:13 PM.

Details

Summary

According to wiktionary, a javelinist is an athelete (cf. cyclist) and a javelineer is a soldier (cf. musketeer). Although both terms are too rare to appear in my Oxford dictionary, I think it's plausible (and better pronounceable), hence this patch.
No files are moved (that would be a lot of work).

Test Plan

Check for mistakes and omissions.

Event Timeline

Nescio created this revision.Jan 21 2020, 9:13 PM

Successful build - Chance fights ever on the side of the prudent.

Linter detected issues:
Executing section Source...
Executing section JS...
|    | [NORMAL] ESLintBear (key-spacing):
|    | Extra space before value for key 'Phenotype'.
|----|    | /zpool0/trunk/binaries/data/mods/public/simulation/components/tests/test_Identity.js
|    |++++| /zpool0/trunk/binaries/data/mods/public/simulation/components/tests/test_Identity.js
|  21|  21| cmpIdentity = ConstructComponent(6, "Identity", {
|  22|  22| 	"Civ": "iber",
|  23|  23| 	"Lang": "iberian",
|  24|    |-	"Phenotype":  { "_string": "female" },
|    |  24|+	"Phenotype": { "_string": "female" },
|  25|  25| 	"GenericName": "Iberian Skirmisher",
|  26|  26| 	"SpecificName": "Lusitano Ezpatari",
|  27|  27| 	"SelectionGroupName": "units/iber_infantry_javelinist_b",
Executing section cli...

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1627/display/redirect

Gallaecio accepted this revision.Jan 22 2020, 12:13 PM
This revision is now accepted and ready to land.Jan 22 2020, 12:13 PM
Stan added a subscriber: Stan.Jul 4 2020, 12:32 PM

Does this need a rebase?

Nescio updated this revision to Diff 12548.Jul 4 2020, 4:45 PM
  • rebased
Owners added a subscriber: Restricted Owners Package.Jul 4 2020, 4:45 PM
Vulcan added a comment.Jul 4 2020, 4:50 PM

Successful build - Chance fights ever on the side of the prudent.

Linter detected issues:
Executing section Source...
Executing section JS...
|    | [NORMAL] ESLintBear (key-spacing):
|    | Extra space before value for key 'Phenotype'.
|----|    | /zpool0/trunk/binaries/data/mods/public/simulation/components/tests/test_Identity.js
|    |++++| /zpool0/trunk/binaries/data/mods/public/simulation/components/tests/test_Identity.js
|  21|  21| cmpIdentity = ConstructComponent(6, "Identity", {
|  22|  22| 	"Civ": "iber",
|  23|  23| 	"Lang": "iberian",
|  24|    |-	"Phenotype":  { "_string": "female" },
|    |  24|+	"Phenotype": { "_string": "female" },
|  25|  25| 	"GenericName": "Iberian Skirmisher",
|  26|  26| 	"SpecificName": "Lusitano Ezpatari",
|  27|  27| 	"SelectionGroupName": "units/iber_infantry_javelinist_b",
Executing section cli...

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2580/display/redirect

Freagarach accepted this revision.Jul 6 2020, 8:31 AM
Freagarach added a subscriber: Freagarach.

Grep says it's complete. Playtesting reveals no errors.

binaries/data/mods/public/simulation/components/tests/test_Identity.js
24

Could fix this double space while at it?

I feel like this introduces inconsistencies, particularly since it changes the class.
IMO either:

  • Only change the human name
  • Change the files too.

There is not always a bijection between templates and classes; e.g. template_unit_fauna.xml has the Animal class. In this patch the class is renamed because it's a visible class, i.e. an user-facing text string. Calling a unit a “Javelineer” in its name but a “Javelinist” a few lines below seems rather inconsistent, and possibly confusing (e.g. aura and technology tooltips), whereas template file names are not dispayed in game.
Ideally the templates ought to be renamed too, but that'll be a lot of work, involving hundreds of files (including maps), so that'll be a lot of work. It could be done, but it's probably better to do that in a follow-up patch after this one is committed, but not here, to keep things reviewable.

Nescio updated this revision to Diff 12855.Jul 22 2020, 5:35 PM
  • rebased

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2752/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/2219/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/1120/display/redirect

Nescio updated this revision to Diff 12856.Jul 22 2020, 5:41 PM
  • re-rebased

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2753/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/1121/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/2220/display/redirect

Nescio updated this revision to Diff 12857.Jul 22 2020, 5:46 PM
  • rebase it properly this time (I forgot to svn up)

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/2754/display/redirect

No AI changes required here?

No AI changes required here?

Nope :)

wraitii accepted this revision.Jul 23 2020, 11:35 AM

Alrighty then. I guess the argument of keeping the patch down in scale is good.

I do agree that Javelineer is better than Javelinist though.

This revision was automatically updated to reflect the committed changes.

Looking forward to you file moving patch ;)

Thanks!

Looking forward to you file moving patch ;)

It's on my to-do list. Meanwhile feel free to have a look at D2756 (which includes both string replacements and template file moves).

Nescio added a comment.Aug 5 2020, 9:20 PM

Looking forward to you file moving patch ;)

In case you missed it: D2914 (it's quite large).