<commit_before>--[[
********************************************************************************
	Project owner:		RageQuit community
	Project name: 		GTW-RPG
	Developers:   		Mr_Moose

	Source code:		https://github.com/GTWCode/GTW-RPG/
	Bugtracker: 		http://forum.404rq.com/bug-reports/
	Suggestions:		http://forum.404rq.com/mta-servers-development/

	Version:    		Open source
	License:    		BSD 2-Clause
	Status:     		Stable release
********************************************************************************
]]--

-- Weather id list
we = {
	[1]=4,
	[2]=5,
	[3]=7,
	[4]=8,
	[5]=9,
	[6]=11,
	[7]=12,
	[8]=16,
	[9]=17,
	[10]=18,
	[11]=19,
	[12]=14
}

-- Update the weather
function chWeather( )
	local wid = math.random(#we)
	setWeatherBlended(we[wid])
	setWaveHeight(math.random(1,100)*0.02)
end
setTimer(chWeather, math.random(130,180)*60*1000, 0)
setWeather(we[math.random( #we )])

addCommandHandler("gtwinfo", function(plr, cmd)
	outputChatBox("[GTW-RPG] "..getResourceName(
	getThisResource())..", by: "..getResourceInfo(
        getThisResource(), "author")..", v-"..getResourceInfo(
        getThisResource(), "version")..", is represented", plr)
end)
<commit_msg>[Patch] Adjusted wave heigth as it was a little too high.<commit_after>--[[
********************************************************************************
	Project owner:		RageQuit community
	Project name: 		GTW-RPG
	Developers:   		Mr_Moose

	Source code:		https://github.com/GTWCode/GTW-RPG/
	Bugtracker: 		http://forum.404rq.com/bug-reports/
	Suggestions:		http://forum.404rq.com/mta-servers-development/

	Version:    		Open source
	License:    		BSD 2-Clause
	Status:     		Stable release
********************************************************************************
]]--

-- Weather id list
we = {
	[1]=4,
	[2]=5,
	[3]=7,
	[4]=8,
	[5]=9,
	[6]=11,
	[7]=12,
	[8]=16,
	[9]=17,
	[10]=18,
	[11]=19,
	[12]=14
}

-- Update the weather
function chWeather( )
	local wid = math.random(#we)
	setWeatherBlended(we[wid])
	setWaveHeight(math.random(1,100)*0.002)
end
setTimer(chWeather, math.random(130,180)*60*1000, 0)
setWeather(we[math.random( #we )])

addCommandHandler("gtwinfo", function(plr, cmd)
	outputChatBox("[GTW-RPG] "..getResourceName(
	getThisResource())..", by: "..getResourceInfo(
        getThisResource(), "author")..", v-"..getResourceInfo(
        getThisResource(), "version")..", is represented", plr)
end)

{'fraction_non_alphanumeric': 0.29597343295973433, 'fraction_numerical': 0.05105853051058531, 'mean_word_length': 4.552995391705069, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4246638', 'n_tokens_mistral': 978, 'n_tokens_neox': 874, 'n_words': 160}