Opened 8 years ago
Last modified 5 years ago
#3997 new enhancement
Terrain bonuses
Reported by: | sanderd17 | Owned by: | |
---|---|---|---|
Priority: | If Time Permits | Milestone: | Backlog |
Component: | Simulation | Keywords: | |
Cc: | Patch: |
Description
It would be nice if the simulation could get some info about the terrain, in order to get generic bonuses.
- farms could produce more food on grass or woodland terrain, and less on city tiles or rocks
- buildings could be stronger when placed on rocks
- ...
Attachments (1)
Change History (7)
comment:1 by , 8 years ago
Keywords: | simple added |
---|
by , 8 years ago
Attachment: | terrainbonus.diff added |
---|
comment:2 by , 8 years ago
Keywords: | simple removed |
---|
Given the difficulties involved on not letting simulation depend on the art side (f.e. to have non-visual replays), removing the simple flag from this ticket again (and the patch itself is probably quite rubbish too)
comment:6 by , 5 years ago
Component: | UI & Simulation → Simulation |
---|
Move tickets to Simulation
as UI & Simulation
got some sub components.
Note:
See TracTickets
for help on using tickets.
The patch above gives some clues on how it could be done. It gives the possiblity to add classes to terrains, which in turn can be read.
The example of reading the classes is done very hacky in buildrestrictions. It should probably get its own component that allows to define stats and give some UI feedback on placement.
With these clues in the form of a patch, it shouldn't be so hard to implement.