diff --git a/webui/generator/main_settings.py b/webui/generator/main_settings.py index d9aa912..d1a4632 100644 --- a/webui/generator/main_settings.py +++ b/webui/generator/main_settings.py @@ -26,6 +26,9 @@ def __init__(self, public: bool, **kwargs): label_visibility="collapsed", ) + if self.game_code == "FS22": + st.warning(Messages.FS22_NOTES, icon="💡") + st.write("Enter latitude and longitude of the center point of the map:") self.lat_lon_input = st.text_input( "Latitude and Longitude", diff --git a/webui/templates.py b/webui/templates.py index 518f48a..1a18c04 100644 --- a/webui/templates.py +++ b/webui/templates.py @@ -13,6 +13,11 @@ class Messages: "(https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕" ) + FS22_NOTES = ( + "Support for the Farming Simulator 22 is discontinued. \nSome of the features are not " + "available for this game." + ) + MOVED = "The app has moved to ➡️➡️➡️ [maps4fs.xyz](https://maps4fs.xyz)" MAIN_PAGE_COMMUNITY_WARNING = ( "🚜 Hey, farmer! \n"