Page MenuHomeWildfire Games

rename specific stoa templates
AbandonedPublic

Authored by Nescio on Jul 12 2020, 12:42 PM.

Details

Reviewers
wraitii
Freagarach
Silier
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

This patch is split off from D2863. It moves other/hellenic_stoa.xml to structures/mace_stoa.xml, deletes mace_royal_stoa.xml, renames athen_royal_stoa.xml to athen_stoa.xml and spart_royal_stoa.xml to spart_stoa.xml, and updates the relevant map files accordingly.

Test Plan

Check for completeness and correctness.

Event Timeline

Nescio created this revision.Jul 12 2020, 12:42 PM
Owners added subscribers: Restricted Owners Package, Restricted Owners Package.Jul 12 2020, 12:43 PM

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

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

wraitii requested changes to this revision.Jul 12 2020, 5:54 PM

grep shows you're missing *_royal_stoa changes: the wall.xml scenario and Petra has {civ}_royal_stoa

This revision now requires changes to proceed.Jul 12 2020, 5:54 PM

grep shows you're missing *_royal_stoa changes: the wall.xml scenario and Petra has {civ}_royal_stoa.

Thanks for checking; I had those included in D2863 but must have missed them when creating this patch.

Nescio updated this revision to Diff 12648.Jul 12 2020, 7:35 PM
Nescio edited the summary of this revision. (Show Details)
  • include wall.xml map
  • remove stoa from simulation/ai/petra/config.js (renaming it here and removing it next seems less efficient)
Owners added a subscriber: Restricted Owners Package.Jul 12 2020, 7:35 PM

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

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

(renaming it here and removing it next seems less efficient)

the same applies to {civ}_infantry_*_b.xml templates.
If goal here is to make it efficient, merge renaming with removing for all cases.
If goal here is to rename, please, do not do something else.

If goal here is to make it efficient, merge renaming with removing for all cases.

Actually everything was done in D2863, but @wraitii requested to split that, hence this patch.
Anyway, point taken, I'll update it.

Nescio updated this revision to Diff 12699.Jul 15 2020, 8:04 PM
Nescio edited the summary of this revision. (Show Details)
  • Keep stoa in simulation/ai/petra/config.js, per @Angen.

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

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

Silier resigned from this revision.Jul 18 2020, 7:47 PM
Freagarach updated this revision to Diff 13135.Aug 7 2020, 3:23 PM
Freagarach added a subscriber: Freagarach.

Rebased (female citizens).

Vulcan added a comment.Aug 7 2020, 3:28 PM

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

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

Could you please elaborate on

moves other/hellenic_stoa.xml to structures/mace_stoa.xml, deletes mace_royal_stoa.xml

Since the templates of mace_stoa and mace_royal_stoa are different now, whereas the other moves were one on one.

binaries/data/mods/public/simulation/ai/petra/config.js
60

They were actually aligned.

Nescio added a comment.Aug 7 2020, 4:00 PM

Could you please elaborate on

moves other/hellenic_stoa.xml to structures/mace_stoa.xml, deletes mace_royal_stoa.xml

Since the templates of mace_stoa and mace_royal_stoa are different now, whereas the other moves were one on one.

svn mv other/hellenic_stoa.xml structures/mace_stoa.xml
svn mv structures/athen_royal_stoa.xml structures/athen_stoa.xml
svn mv structures/spart_royal_stoa.xml structures/spart_stoa.xml
svn rm structures/mace_royal_stoa.xml
svn propset svn:mime-type text/xml */*stoa*
svn propset svn:eol-style native */*stoa*

Since neither the hellenic nor the mace stoa is buildable, it doesn't really matter they're slightly different.
It makes more sense to do everything stoa-related in a single patch, i.e. D2863, but that one was deemed too complicated, therefore @wraitii requested it to be split, hence why the file moves are done separately in this patch (and D2873).

binaries/data/mods/public/simulation/ai/petra/config.js
60

Tab width varies from programme to programme.

Freagarach requested changes to this revision.Aug 31 2020, 9:16 AM

Since neither the hellenic nor the mace stoa is buildable, it doesn't really matter they're slightly different.

This was were I was after, thanks :) While they are not buildable, it may matter for any map they were in. Because the actor has changed, as did garrisonHolder, health, loot, productionQueue and territoryInfluence.

This revision now requires changes to proceed.Aug 31 2020, 9:16 AM

Well, D2863 is updated and can be reviewed and committed first.

Freagarach added a comment.EditedJan 4 2021, 3:21 PM

It is committed now :)

Nescio planned changes to this revision.Jan 4 2021, 3:24 PM
Nescio abandoned this revision.Jan 18 2021, 6:36 PM

Outdated and unimportant by now.