Opened 4 years ago

Last modified 2 years ago

#4588 new enhancement

Allow {civ} replacement for auras.

Reported by: fatherbushido Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Simulation Keywords: simple
Cc: Patch: Phab:D1603


Example of use (following an idea of leper): adding {civ}_teambonus in Player template and getting rid of all the civ specific one in the Player civ specific template.

That should be done in Aura.js Don't forget to check the gui code (tooltips, structure tree,...)

Change History (5)

comment:1 by leper, 4 years ago

Keywords: simple added
Type: defectenhancement

This is basically about doing the same replacement as is currently done for training entities in ProductionQueue.js. (Also consider factoring out that replacement if it is easy enough. Also #4589 would be related.)

comment:2 by Angen, 3 years ago

Milestone: BacklogWork In Progress
Owner: set to Angen

comment:3 by Angen, 3 years ago

Patch: Phab:D1603

comment:4 by Imarok, 2 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:5 by Angen, 2 years ago

Milestone: Work In ProgressBacklog
Owner: Angen removed

Player entity does not have ownership (Thinking about it, it would be odd if had). So there would need to be civ code inside identity component in each of {civ}_teambonus files but that is just exchange one line of code with another ( I do not think it is worth it ), so I am abandoning this ticket.

Note: See TracTickets for help on using tickets.