Lifestyle - how to make and send in an app or a mod
=====================================================

WHERE EVERYTHING GOES
---------------------
Your mods folder:  Documents\My Games\FarmingSimulator2025\mods\
(OneDrive users: OneDrive\Documents\My Games\FarmingSimulator2025\mods\)

While you work on it, your mod is a folder in there:

  mods\
    HS25_Lifestyle_Mod.zip        <- Lifestyle
    FS25_MyPhoneApp\              <- your mod
      modDesc.xml                 <- the game reads this first: name, version, which scripts to load
      icon_myApp.dds              <- the mod's icon, 256 x 256 (also the app's icon on the phone)
      scripts\
        MyPhoneApp.lua            <- your code
      textures\                   <- optional: your own pictures (.dds)

- Every .lua file must be listed in modDesc.xml under <extraSourceFiles>, or the game never runs it.
- modDesc.xml needs <dependency>HS25_Lifestyle_Mod</dependency> so Lifestyle loads before your mod.
- Errors go to Documents\My Games\FarmingSimulator2025\log.txt. Search it for your mod's name.
- The starter app (starter.zip on the submit page) is a working example: unzip it into the mods folder,
  start a save with Lifestyle and it shows up on the phone. Then change it into your own.

MAKE AN APP
-----------
1. The folder: an app is a normal FS25 script mod. Name the folder after it (letters, numbers and _ only),
   like FS25_MyPhoneApp, with modDesc.xml, an icon and scripts\ inside (see above).
2. modDesc.xml: see the starter app's modDesc.xml. The dependency line is required.
3. The script: find the Lifestyle API (CPAPI), then add your app with api.phone.addApp({ id, title, icon,
   color, draw = function(phone, x, y, w, h) ... end }). draw runs inside the phone screen every frame; use
   launch = function() ... end instead if your app opens its own screen.
   The whole API is in API.md: phone apps and drawing, contacts that text back, money, Lifemail, AI, settings,
   needs, pets, the menu and events.
4. Test it: start a save with Lifestyle and your app on. Open the phone: your app is on the Home Screen.
   Check log.txt for errors. Try multiplayer too if you marked it multiplayer-ready.

SEND A MOD (vehicles, tools, placeables, maps)
----------------------------------------------
Any working FS25 mod can go in the Mod Store. It doesn't need Lifestyle.
1. Test it in the game first: no errors in log.txt, it shows in the shop, it works in a fresh save.
2. Every model, texture and sound must be yours, or you have the maker's OK. Put them all in Credits.
3. No converted or ripped content from other games, and nothing from paid mods or DLC.
4. Keep it 13+: no nudity, gore or hate on liveries, posters or signs.

UPLOAD AND REVIEW
-----------------
1. Zip it the right way: open your mod folder, select EVERYTHING INSIDE IT, right-click > Compress to ZIP file
   (Windows 11) or Send to > Compressed (zipped) folder. Rename the zip to the folder's name. modDesc.xml must be
   at the top of the zip, not one folder down. Zips over 95 MB are sent in pieces automatically (up to 900 MB).
2. Fill in the form on /submit: App or Mod, name, who made it, a description, what it needs, the credits, the zip,
   a square icon and up to 8 screenshots. Tick the box and press Send for review.
3. Review: it shows under Your uploads as Waiting for review. The team downloads it and reads any scripts.
   You get a Lifemail in the game: approved, or turned down with the reason. Fix it and send it again.
4. Approved apps show in LS Store > Apps > Community, mods in LS Store > Mods > Store. Players press Get and
   Lifestyle Link installs it.
5. Updates: on /submit pick "Update: <your app>" at the top, raise the version in modDesc.xml and send the new zip.
