<commit_before>/*********************************************************#
# @@ScriptName: territoryActivityHandler.sqf
# @@Author: Nick 'Bewilderbeest' Ludlam <<EMAIL>>
# @@Create Date: 2013-09-15 19:33:17
# @@Modify Date: 2013-09-15 20:15:37
# @@Function:
#*********************************************************/

// Called with [_message, _money(optional)], "territoryActivityHandler", side, false] call TPG_fnc_MP;

diag_log format["territoryActivityHandler called with %1", _this];

if (typeName _this == "ARRAY" && {count _this >= 1}) then {
	_msg = _this select 0;
	_money = 0; if (count _this >= 2) then { _money = _this select 1; };
	
	titleText [_msg, "plain"]; titleFadeOut 10;
	if (_money > 0) then {
		player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + _money, true];
	};

	playSound 'FD_Finish_F'; // Nice sound effect to draw players attention to the notification
};
<commit_msg>Changed territory activity notification text<commit_after>/*********************************************************#
# @@ScriptName: territoryActivityHandler.sqf
# @@Author: Nick 'Bewilderbeest' Ludlam <<EMAIL>>
# @@Create Date: 2013-09-15 19:33:17
# @@Modify Date: 2013-09-15 20:15:37
# @@Function:
#*********************************************************/

// Called with [_message, _money(optional)], "territoryActivityHandler", side, false] call TPG_fnc_MP;

diag_log format["territoryActivityHandler called with %1", _this];

if (typeName _this == "ARRAY" && {count _this >= 1}) then {
	_msg = _this select 0;
	_money = 0; if (count _this >= 2) then { _money = _this select 1; };
	
	titleText [_msg, "plain down", 0.5];
	if (_money > 0) then {
		player setVariable ["cmoney", (player getVariable ["cmoney", 0]) + _money, true];
	};

	playSound 'FD_Finish_F'; // Nice sound effect to draw players attention to the notification
};

{'fraction_non_alphanumeric': 0.2578378378378378, 'fraction_numerical': 0.04108108108108108, 'mean_word_length': 5.805147058823529, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6637949', 'n_tokens_mistral': 661, 'n_tokens_neox': 547, 'n_words': 174}