Stardew Valley

Content Pack apps let you simulate a key press when you click on the app icon in the mobile phone. This can be used to trigger another mod, or some vanilla game action.

To create a content pack app, you can simply download the example app from the Files tab Optional Files section and edit it to fit your app.

First, you will need to edit the assets/app_icon.png to represent your app's icon in the phone home screen.

Second, edit the manifest.json file's Name, Author, Description, and UniqueID fields, as well changing CJBok.CheatsMenu in the Dependencies section to the ID of whatever mod you want to trigger. If you are not triggering a mod, just remove that node from the Dependencies section.

Third, edit the content.json file as follows:

  • id should be the same as the UniqueID field in the manifest.json file.
  • name will be shown when the user hovers over the app icon in the phone.
  • iconPath should stay the same unless you move the app_icon.png somewhere else.
  • keyPress is the name of the key you want to press. Key names can be found here.
  • closePhone should be true if you want the phone to close when your app runs.

If you want to include multiple app icons in one content pack, you can alternatively create an array of nodes like the above in an "apps" key, e.g.:

{
"apps": [
{
"id":
...
},
{
"id":
...
},
...
]
}

Article information

Added on

Edited on

Written by

aedenthorn

5 comments

  1. AnimeshnikMC
    AnimeshnikMC
    • member
    • 0 kudos
    does not work!!! Help me please.

    my pack
    1. aedenthorn
      aedenthorn
      • premium
      • 1,245 kudos
      It would work if you followed the syntax above. "MoreApps" is incorrect.
    2. AnimeshnikMC
      AnimeshnikMC
      • member
      • 0 kudos
      Thanks a lot, everything worked. I was very inattentive, I don't know English well
  2. AnimeshnikMC
    AnimeshnikMC
    • member
    • 0 kudos
    (delete)
    1. AnimeshnikMC
      AnimeshnikMC
      • member
      • 0 kudos
      (delete)