From 09f0c9e06977fe057cdb0c27211c45e7c4045c06 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Sun, 18 Jun 2023 12:18:09 +0200 Subject: [PATCH] #AIRBOSS --- Moose Development/Moose/Ops/Airboss.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/Airboss.lua b/Moose Development/Moose/Ops/Airboss.lua index f577ac151..fc367d1e2 100644 --- a/Moose Development/Moose/Ops/Airboss.lua +++ b/Moose Development/Moose/Ops/Airboss.lua @@ -15078,7 +15078,8 @@ function AIRBOSS:_GetNiceSRSText(text) text = string.gsub(text,"||","parallel") text = string.gsub(text,"==","perpendicular") text = string.gsub(text,"BRC","Base recovery") - text = string.gsub(text,"#","Number") + --text = string.gsub(text,"#","Number") + text = string.gsub(text,"%((%a+)%)","Morse %1") text = string.gsub(text,"°C","° Celsius") text = string.gsub(text,"°"," degrees") text = string.gsub(text," FB "," Final bearing ") @@ -15093,6 +15094,7 @@ function AIRBOSS:_GetNiceSRSText(text) text = string.gsub(text," NM"," nautical miles") text = string.gsub(text," ft"," feet") text = string.gsub(text,"A/C","aircraft") + text = string.gsub(text,"(#[%a%d%p%s]+)\n","") text = string.gsub(text,"%.000"," dot zero") text = string.gsub(text,"00"," double zero") text = string.gsub(text," 0 "," zero " )