:: park_walkeventsrnd
<<set $here = 'park_walkeventsrnd'>>
<<set $ARGS = $location_var[$here]>>
<<if getvar("$suchunt") == 1>>
	<!-- !!Used to randomize hunting times and make hunting faster the higher the suc level-->
	<<set $scrand = rand(0,4)>>
	<<set $time.minutes += 60 - (5 * ($succublvl + $scrand))>>
<<else>>
	<<set $time.minutes += 60>>
<</if>>
<<gs 'park_walkevents'>>
<<set $parkrand = rand(1,20)>>
<!-- !!day-->
<<if $time.hour > 7 and $time.hour < 21>>
	<<if getvar("$parkrand") < 10>>
		<<if getvar("$parkrand") == 1>>
			<<gt 'park_walkevents' '1'>>

		<</if>>
		<<if getvar("$parkrand") == 2>>
			<<gt 'park_walkevents' '2'>>

		<</if>>
		<<if getvar("$parkrand") == 3>>
			<<gt 'park_walkevents' '3'>>

		<</if>>
		<<if getvar("$parkrand") == 4>>
			<<gt 'park_walkevents' '4'>>

		<</if>>
		<<if getvar("$parkrand") == 5>>
			<<gt 'park_walkevents' '5'>>

		<</if>>
		<<if getvar("$parkrand") == 6>>
			<<gt 'park_walkevents' '6'>>

		<</if>>
		<<if getvar("$parkrand") == 7>>
			<<gt 'park_walkevents' '7'>>

		<</if>>
		<<if getvar("$parkrand") == 8>>
			<<gt 'park_walkevents' '8'>>

		<</if>>
		<<if getvar("$parkrand") == 9>>
			<<gt 'park_walkevents' '9'>>

		<</if>>
	<<elseif getvar("$parkrand") == 19 and getvar("$lactation['active']") > 0>>
		<<gt 'park_walkevents' 'find_baby'>>
	<<else>>
		<<gt 'park_walkevents' 'empty'>>
	<</if>>
<<else>>
	<!-- !!night-->
	<!-- !!Used to make a hunting easier the higher the suc level-->
	<<if getvar("$suchunt") == 1>>
		<<set $parkrand -= ($succublvl - 1)>>

	<</if>>
	<<if getvar("$knowsfairy") < 1 and setup.startingCharacterTagsIncludes('magic')>>
		<<if rand (1, 4) <= $pcs_magik>>
			<<set $fairyrand = 19>>
		<<else>>
			<<set $fairyrand = 21>>
		<</if>>
	<<elseif setup.startingCharacterTagsIncludes('magic')>>
		<<if ($fairychat - $fairyshoo) < 5 or (($fairychat - $fairyshoo) < 10 and getvar("$fairylooking") == 1)>>
			<<set $fairyrand = 19 - ($fairychat - $fairyshoo)>>
		<<elseif getvar("$fairylooking") == 1>>
			<<set $fairyrand = 10>>
		<<else>>
			<<set $fairyrand = 15>>
		<</if>>
	<</if>>
	<<if getvar("$parkrand") <= 5>>
		<<gt 'park_walkevents' '1'>>
	<<elseif $parkrand >= $fairyrand and setup.startingCharacterTagsIncludes('magic')>>
		<<gt 'MagEncounterFairy'>>
	<<else>>
		<<gt 'park_walkevents' 'empty'>>
	<</if>>
<</if>>
