Ticket #4008: 4008_back_to_work_v1.1.patch
File 4008_back_to_work_v1.1.patch, 2.7 KB (added by , 8 years ago) |
---|
-
binaries/data/config/default.cfg
279 279 [hotkey.session] 280 280 kill = Delete ; Destroy selected units 281 281 stop = "H" ; Stop the current action 282 backtowork = "Y" ; The unit will go back to work 282 283 unload = "U" ; Unload garrisoned units when a building/mechanical unit is selected 283 284 attack = Ctrl ; Modifier to attack instead of another action (eg capture) 284 285 attackmove = Ctrl ; Modifier to attackmove when clicking on a point -
binaries/data/mods/public/gui/manual/intro.txt
69 69 Shift + /: add idle fighter to selection 70 70 . (Period): Select idle worker (including citizen soldiers) 71 71 Shift + .: add idle worker to selection (including citizen soldiers) 72 H: Stop (halt) the currently selected units. 72 H: Stop (halt) the currently selected units 73 Y: The unit will go back to work 73 74 U: Unload the garrisoned units of the selected buildings 74 75 Ctrl + 1 (and so on up to Ctrl + 0): Create control group 1 (to 0) from the selected units/buildings 75 76 1 (and so on up to 0): Select the units/buildings in control group 1 (to 0) -
binaries/data/mods/public/gui/session/hotkeys/misc.xml
54 54 <action on="Press">stopUnits(g_Selection.toList());</action> 55 55 </object> 56 56 57 <object hotkey="session.backtowork"> 58 <action on="Press">backToWork();</action> 59 </object> 60 57 61 <!-- Find idle warrior - TODO: Potentially move this to own UI button? --> 58 62 <object hotkey="selection.idlewarrior"> 59 63 <action on="Press">findIdleUnit(g_MilitaryTypes);</action> -
binaries/data/mods/public/gui/session/unit_actions.js
1154 1154 return false; 1155 1155 1156 1156 return { 1157 "tooltip": translate("Back to Work"), 1157 "tooltip": colorizeHotkey("%(hotkey)s" + " ", "session.backtowork") + 1158 translate("Back to Work"), 1158 1159 "icon": "production.png" 1159 1160 }; 1160 1161 },