Commit Graph

198 Commits

Author SHA1 Message Date
396e01cd6e Added string checking for less needed string multiplicates 2015-08-24 01:04:57 +02:00
0fc9a33d38 Shortened sub-action text localization 2015-08-23 21:11:45 +02:00
e08bf59ac2 Removed 'Repair' word from sub-actions 2015-08-23 21:09:36 +02:00
ffb765bf7a Changed to AddCargoItem event 2015-08-18 23:43:34 +02:00
3bcebf9033 Moved spare parts adding to init, Added module option to add spare parts or not, Added module to add specific spare part and amount of it to specific vehicle(s) 2015-08-18 23:41:25 +02:00
4d10f2a72d Merge pull request #2182 from jonpas/repairClean
Repair Cleanup
2015-08-17 11:31:57 +02:00
dcf074ed5a Changed Optional parameter comment to default value 2015-08-16 23:05:26 +02:00
359ee1d23b #2180 - Fix QGVAR(fullRepairLocation) switch statement 2015-08-16 15:31:20 -05:00
b2824c82bb Removed redundant function 2015-08-16 21:54:04 +02:00
fda0850ad7 Condensed duplicated function, alphabetized PREPs 2015-08-16 21:39:42 +02:00
161a75adc7 Added missing arguments in header, replaced QOUTE(DFUNC()) with QFUNC() 2015-08-16 20:34:02 +02:00
701c98e0da Cleaned up repair function headers and some code 2015-08-16 20:14:54 +02:00
b7282e476c Used macros, getVariable capitalization, removed start of file newlines, separated CfgActions 2015-08-16 16:45:46 +02:00
d3aa6a7f6b Added missing assign modules 2015-08-15 15:49:41 +02:00
2be74dfdca Privates 2015-08-14 15:14:36 -05:00
066a78d9aa Fix var 2015-08-14 14:36:54 -05:00
83f46be990 Fixes and improvements for the repair module
1. Added full repair,
2. Added missing settings to modules and settings framework,
3. added assign engineer module.
4. Fixed animation bug
2015-08-14 20:49:51 +02:00
c7b7418ae0 Removed "can only remove damaged wheels" 2015-08-11 21:42:20 +02:00
b45aa51d47 hacked approach for repair tracks.
Could probably better go with config entries, but this seems to be a very good value for 90% of the vanilla tracked vehicles. It's also still easily accessible and on an acceptable place for the remaining vehicles.
2015-08-11 21:35:13 +02:00
ed6a53a402 Attempt at repairing tracks. Improved repair wheel actions 2015-08-09 18:08:53 +02:00
872d026cd0 All repair actions are now functional 2015-08-09 17:23:32 +02:00
9adbb07367 Moved replace and repair wheel actions into the repair action framework 2015-08-09 15:53:52 +02:00
4b603ff46f Localization, params 2015-08-09 01:54:44 -05:00
071a673f28 Implemented repair action framework
copied across treatment framework from medical and adjusted it to suit the repair actions
2015-07-03 23:14:23 +02:00
6d92a0fe88 abort if stuff changes 2015-04-22 21:31:42 +02:00
f72e171247 work on repairing vehicles 2015-04-22 21:01:22 +02:00
9e3d9f23a5 add module options 2015-04-21 13:17:09 +02:00
61583ef35f localization 2015-03-29 13:54:50 +02:00
54c9cadf38 replace wheel logic 2015-03-29 11:01:23 +02:00
f231b2b14c removing wheels logic, carryable wheels 2015-03-29 03:35:55 +02:00
a92bdfdb58 macros 2015-03-28 11:15:41 +01:00
74a6d5875f no more compiling 2015-03-28 11:08:17 +01:00
074c1f8c88 use createAction 2015-03-27 03:44:04 +01:00
50a7990903 trying to get addActionToClass to work 2015-03-26 23:47:40 +01:00
26ece1af93 ignore selectionless hitpoints, dependand hitpoints and glass when averaging the total damage after repairing a hitpoint 2015-03-12 00:59:04 +01:00
165c0c7735 don't add actions to dependant hitpoints with valid selections 2015-03-12 00:12:54 +01:00
45e79dcbbf normalize dependant hitpoints after repairing 2015-03-11 23:53:08 +01:00
10f56cc4c3 function to normalize dependant hitpoints 2015-03-11 23:30:24 +01:00
b16267539c filter hitpoints without selections, misc 2015-03-11 21:52:34 +01:00
a772932937 add repair actions for non-wheel hitpoints 2015-03-11 19:54:19 +01:00
ed8e9904c2 auto add actions to replace and remove wheels 2015-03-11 15:21:35 +01:00
d07e74b118 add function to return wheel hitpoints and their selection positions 2015-03-11 09:37:11 +01:00
c52c8234f1 repair action config 2015-03-10 23:29:45 +01:00
bd978f2a34 show message when fully or partially repairing a hitpoint 2015-03-10 22:52:44 +01:00
f7e8dc5499 localized text when repairing 2015-03-10 22:16:24 +01:00
d5fd0fcf7d add function to start repair action 2015-03-10 21:49:53 +01:00
fa10d1fd6b some basic function to manipulate structural and hit point damage 2015-03-10 19:42:21 +01:00
b7ed697e1c add repair PBO 2015-03-10 18:05:56 +01:00