Opened 7 years ago

Last modified 6 years ago

#4314 new enhancement

Silk Road (Trade map)

Reported by: elexis Owned by:
Priority: Should Have Milestone: Work In Progress
Component: Maps Keywords:
Cc: Niek Patch:

Description (last modified by Stan)

Change History (7)

comment:1 by fatherbushido, 7 years ago

refs #3872, #1207

comment:2 by elexis, 7 years ago

Keywords: simple removed
Milestone: BacklogAlpha 22
Priority: Nice to HaveShould Have

comment:3 by elexis, 7 years ago

The hardcoded entity numbers must be removed, as changing the simulation code (or gamesettings even?) can also change the entity IDs. It's not hard, just use the template manager to check the template name of entities: https://code.wildfiregames.com/source/0ad/browse/ps/trunk/binaries/data/mods/public/maps/scripts/Regicide.js

comment:4 by leper, 7 years ago

In 19243:

Stop relying on the internal structure of the current Trader component.

Get the required information by returning it in the proper places.
Also clean up some pointless modulo operations.
This code is pulled out of the Silk Road code (refs #4314).

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D161

comment:5 by elexis, 7 years ago

Milestone: Alpha 22Work In Progress

Moving to the Work In Progress milestone, since there is a patch asking for feedback, but since it is not strictly bound to a specific release.

comment:6 by leper, 7 years ago

In 20119:

Factor out resource generation in cmpTrader.

This makes it easier to change who gets the resources (refs #4314).

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D872

comment:7 by Stan, 6 years ago

Description: modified (diff)

Any update on this ?

Note: See TracTickets for help on using tickets.