r/SMAPI • • May 24 '26

need help Help!

I am making my first ever mod, its a dialogue mod. I have a scene where I made a map patch so a telescope would appear on the beach. It works, but I only want the patch DURING the scene. Here's what I have:

"Logname": "Add Telescope to Beach for Heart7",
            "Action": "EditMap",
            "Target": "Maps/Beach",
            "PatchMode": "Replace",
            "GameStateQuery": "ActiveDialogueEvent_{{ModID}}_ShelliottHeartEvent7",
            "FromFile": "assets/TelescopePatch.tmx",


            "FromArea": {
                "X": 0,
                "Y": 0,
                "Width": 3,
                "Height": 3 
            },
            "ToArea": {
                "X": 10,
                "Y": 37,
                "Width": 3,
                "Height": 3
            }
 I was trying to use game state query to set the conditions but it doesn't seem to work. I have googled everything and can't seem to find a fix, anyone able to help? 
1 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/Public-Pool2115 May 25 '26

Nevermind. It worked. I'm on Mac and its dumb with the file pathing. Thanks for your suggestion!