Ticket #4295: ardennes_forest.js.patch

File ardennes_forest.js.patch, 1.3 KB (added by Ágoston Sipos, 7 years ago)

I believe that this number changes solve the problem. (Animals can also get onto impassable if not modified.)

  • binaries/data/mods/public/maps/random/ardennes_forest.js

     
    546546    true, clFood
    547547);
    548548createObjectGroupsByAreas(group, 0,
    549     avoidClasses(clHill, 2, clForest, 0, clPlayer, 0, clBaseResource, 20),
     549    avoidClasses(clHill, 4, clForest, 0, clPlayer, 0, clBaseResource, 20),
    550550    3 * numPlayers, 100,
    551551    [explorableArea]
    552552);
     
    556556    true, clFood
    557557);
    558558createObjectGroupsByAreas(group, 0,
    559     avoidClasses(clHill, 2, clForest, 0, clPlayer, 0, clBaseResource, 15),
     559    avoidClasses(clHill, 4, clForest, 0, clPlayer, 0, clBaseResource, 15),
    560560    numPlayers, 50,
    561561    [explorableArea]
    562562);
     
    566566    false, clFood
    567567);
    568568createObjectGroupsByAreas(group, 0,
    569     avoidClasses(clHill, 2, clForest, 0, clPlayer, 20),
     569    avoidClasses(clHill, 4, clForest, 0, clPlayer, 20),
    570570    scaleByMapSize(3, 12), 200,
    571571    [explorableArea]
    572572);
     
    580580    true, clFood
    581581);
    582582createObjectGroups(group, 0,
    583     avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 1, clFood, 20),
     583    avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 4, clFood, 20),
    584584    randInt(3, 12) * numPlayers + 2, 50
    585585);
    586586