-- 100 == 1  0 == 0  1/0.5


function JamCalculation()
	local L_153_
	if (math.random(1, 100) <= L_23_.JamChance) then	
		L_153_ = true
		L_57_ = true
	else
		L_153_ = false
	end
	return L_153_
end

function TracerCalculation()
	local L_154_
	if (math.random(1, 100) <= L_23_.TracerChance) then	
		L_154_ = true
	else
		L_154_ = false
	end
	return L_154_
end

function SearchResupply(L_155_arg1)
	local L_156_ = false
	local L_157_ = nil
	
	if L_155_arg1:FindFirstChild('ResupplyVal') or L_155_arg1.Parent:FindFirstChild('ResupplyVal') then
		L_156_ = true
		if L_155_arg1:FindFirstChild('ResupplyVal') then
			L_157_ = L_155_arg1.ResupplyVal
		elseif L_155_arg1.Parent:FindFirstChild('ResupplyVal') then
			L_157_ = L_155_arg1.Parent.ResupplyVal
		end
	end
	return L_156_, L_157_
end
