Ticket #3013: trigger-maps.patch
File trigger-maps.patch, 5.8 KB (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/gamesetup/gamesetup.js
130 130 mapTypes.list_data = g_MapTypes.Name; 131 131 132 132 // Setup map filters - will appear in order they are added 133 addFilter("default", translate("Default"), function(settings) { return settings && (settings.Keywords === undefined || !keywordTestOR(settings.Keywords, ["naval", "demo", "hidden"])); }); 133 addFilter("default", translate("Default"), function(settings) { return settings && (settings.Keywords === undefined || !keywordTestOR(settings.Keywords, ["trigger", "naval", "demo", "hidden"])); }); 134 addFilter("trigger", translate("Trigger Maps"), function(settings) { return settings && settings.Keywords !== undefined && keywordTestAND(settings.Keywords, ["trigger"]); }); 134 135 addFilter("naval", translate("Naval Maps"), function(settings) { return settings && settings.Keywords !== undefined && keywordTestAND(settings.Keywords, ["naval"]); }); 135 136 addFilter("demo", translate("Demo Maps"), function(settings) { return settings && settings.Keywords !== undefined && keywordTestAND(settings.Keywords, ["demo"]); }); 136 137 addFilter("all", translate("All Maps"), function(settings) { return true; }); -
binaries/data/mods/public/maps/random/survivalofthefittest.json
5 5 "Description" : "[color=\"red\"]IMPORTANT NOTE: AI PLAYERS DO NOT WORK WITH THIS MAP[/color]\n\nProtect your base against endless waves of enemies. Use your woman citizen to collect the treasures at the center of the map before others do, and try to build your base up. The last player remaining will be the winner!", 6 6 "BaseTerrain" : ["medit_sea_depths"], 7 7 "BaseHeight" : 30, 8 "Keywords": ["trigger"], 8 9 "CircularMap" : true, 9 10 "TriggerScripts": [ 10 11 "scripts/TriggerHelper.js", -
binaries/data/mods/public/maps/scenarios/Introductory
45 45 "Description": "This is a basic tutorial to get you started playing 0 A.D.", 46 46 "GameType": "conquest", 47 47 "Keywords": [ 48 "trigger", 48 49 "demo" 49 50 ], 50 51 "LockTeams": false, … … 4872 4873 </Entity> 4873 4874 </Entities> 4874 4875 <Paths/> 4875 </Scenario> 4876 No newline at end of file 4876 </Scenario> -
binaries/data/mods/public/maps/scenarios/Treasure
48 48 "Description": "Search treasures on small islands and on the water. Collect more treasures than your opponent to win.", 49 49 "GameType": "conquest", 50 50 "Keywords": [ 51 "trigger", 51 52 "naval" 52 53 ], 53 54 "LockTeams": false, -
binaries/data/mods/public/maps/scenarios/Triggers_demo.xml
48 48 "Description": "Demo map listening to various triggers and printing warning messages about them", 49 49 "GameType": "endless", 50 50 "Keywords": [ 51 "trigger", 51 52 "demo" 52 53 ], 53 54 "LockTeams": false, -
binaries/data/mods/public/maps/scenarios/Units_demo.xml
93 93 { 94 94 "Name":"Units Demo", 95 95 "Description":"Every unit in the game.", 96 "Keywords": ["demo"], 96 "Keywords": [ 97 "trigger", 98 "demo" 99 ], 97 100 "PlayerData": 98 101 [ 99 102 { -
binaries/data/mods/public/maps/scenarios/starting_economy_walkthrough.xml
53 53 "Description": "This map will give a rough guide for starting the game effectively. Early in the game the most important thing is to gather resources as fast as possible so you are able to build enough troops later.\u000a\u000aWarning: This is very fast at the start, be prepared to run through the initial bit several times.", 54 54 "GameType": "conquest", 55 55 "Keywords": [ 56 "trigger", 56 57 "demo" 57 58 ], 58 59 "LockTeams": false, -
binaries/data/mods/public/maps/skirmishes/Gallic
43 43 "CircularMap": true, 44 44 "Description": "Defend your Gallic outpost against attacks from your treacherous neighbors!\n\nEach player begins the match with a wooden palisade and some guard towers atop a low embankment.\n\nWatch out for Romans passing by!", 45 45 "GameType": "conquest", 46 "Keywords": [], 46 "Keywords": [ 47 "trigger" 48 ], 47 49 "LockTeams": false, 48 50 "Name": "Gallic Fields (3)", 49 51 "PlayerData": [