Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local db = require("game_db_xrefs")
- local tradeTeamsRacingSchedule = {
- db.teams["2003_ME_GS2_ITA_SelleItalia"] = {
- db.races["ME_SR_VEN_VueltaTachira"] = {
- { db.cyclists["VEN82_jrujano"], "CLD", 85 },
- { db.cyclists["COL73_hdmunoz"], "CLD", 90 },
- { db.cyclists["COL75_fgonzalezm"], "SPR", 75 },
- { db.cyclists["COL74_jfgarcia"], "SPR" 80 },
- { db.cyclists["COL68_rubmarin"], "DOM", 90 },
- { db.cyclists["COL71_hubermesa"], "DOM", 90 },
- { db.cyclists["COL80_jchacon"], "DOM", 80 },
- { db.cyclists["ITA65_rmassi"], "DOM", 70 }
- }
- },
- db.teams["2003_ME_GS2_COL_Orbitel"] = {
- db.races["ME_SR_VEN_VueltaTachira"] = {
- { db.cyclists["COL76_marlonperez"], "SPR", 80 },
- { db.cyclists["COL69_jcaguirre"], "CLD", 90 },
- { db.cyclists["COL77_locasteneda"], "CLD", 75 },
- { db.cyclists["COL72_jairohernandez"], "CLD", 75 },
- { db.cyclists["COL72_ocapacho"], "DOM", 90 },
- { db.cyclists["COL73_hebgutierrez"], "DOM", 80 },
- { db.cyclists["COL77_acortes"], "DOM", 75 },
- { db.cyclists["COL79_johnnyleal"], "DOM", 80 },
- }
- },
- db.teams["2003_ME_GS2_RUS_Lokomotiv"] = {
- db.races["ME_SR_VEN_VueltaTachira"] = {
- { db.cyclists["RUS82_pbrutt"], "CLD", 75 },
- { db.cyclists["RUS78_vborisov"], "CLD", 75 },
- { db.cyclists["RUS76_egritsoun"], "DOM", 75 },
- { db.cyclists["RUS76_akuznetsov"], "DOM", 85 },
- { db.cyclists["RUS80_sklimov"], "SPR", 80 },
- { db.cyclists["RUS79_dsmyslov"], "SPR", 80 },
- { db.cyclists["RUS79_amarkov"], "SPR", 80 },
- { db.cyclists["RUS82_aserov"], "DOM", 85 },
- }
- },
- }
- function handleGameEvent(event)
- if event:type() == GameEvent.Type.SEASON_START then
- for teamId, races in pairs(tradeTeamsRacingSchedule) do
- for raceId, lineup in pairs(races) do
- if team:requestRaceInvitation(raceId) then
- team:registerRaceLineup(raceId, lineup)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement