This is just a small mod, basically used if you change the location of the minecarts in the Bus Stop, etc. to draw the steam in the proper location.
To set custom steam, use Content Patcher, e.g.:
{ <br /> "Format": "1.23.0", <br /> "Changes": [ <br /> { <br /> "Action": "EditData", <br /> "Target": "aedenthorn.CustomMineCartSteam/dictionary", <br /> "Entries": { <br /> "aedenthorn.CMCSExampleCP/1": { <br /> "location": "BusStop", <br /> "replaceSteam": "true", <br /> "position": { <br /> "X": 456, <br /> "Y": 144 <br /> } <br /> } <br /> } <br /> } <br /> ] <br />}
This moves the steam in the Bus Stop 64 pixels to the right.
You can also tweak the steam or just add arbitrary temporary animated sprites by adding other fields, e.g.:
{ <br /> "Format": "1.23.0", <br /> "Changes": [ <br /> { <br /> "Action": "EditData", <br /> "Target": "aedenthorn.CustomMineCartSteam/dictionary", <br /> "Entries": { <br /> "aedenthorn.CMCSExampleCP/2": { <br /> "location": "BusStop", <br /> "replaceSteam": "true", <br /> "position": { <br /> "X": 520, <br /> "Y": 208 <br /> }, <br /> "animationRow": 27, <br /> "color": { <br /> "R": 255, <br /> "G": 255, <br /> "B": 255 <br /> }, <br /> "animationLength": 8, <br /> "flipped": "true", <br /> "animationInterval": 60, <br /> "animationLoops": 999999, <br /> "sourceRectWidth": -1, <br /> "layerDepth": 1, <br /> "sourceRectHeight": -1, <br /> "delay": 0 <br /> } <br /> } <br /> } <br /> ] <br />}
You can ALSO go even further and load an arbitrary texture as a temporary animated sprite using even more parameters, e.g.:
{ <br /> "Format": "1.23.0", <br /> "Changes": [ <br /> { <br /> "Action": "EditData", <br /> "Target": "aedenthorn.CustomMineCartSteam/dictionary", <br /> "Entries": { <br /> "aedenthorn.CMCSExampleCP/3": { <br /> "location": "BusStop", <br /> "replaceSteam": "false", <br /> "position": { <br /> "X": 520, <br /> "Y": 208 <br /> }, <br /> "texturePath": "Characters\\Junimo", <br /> "sourceRect": { <br /> "X": 0, <br /> "Y": 109, <br /> "Width": 16, <br /> "Height": 19 <br /> }, <br /> "animationLength": 8, <br /> "animationInterval": 40, <br /> "animationLoops": 999999, <br /> "color": { <br /> "R": 255, <br /> "G": 255, <br /> "B": 255, <br /> "A": 255 <br /> }, <br /> "flipped": "false", <br /> "flicker": "false", <br /> "alphaFade": 0, <br /> "scale": 4, <br /> "scaleChange": 0, <br /> "rotation": 0, <br /> "rotationChange": 0.1, <br /> "motion": { <br /> "X": 0.22, <br /> "Y": -2 <br /> }, <br /> "acceleration": { <br /> "X": 0, <br /> "Y": 0.01 <br /> }, <br /> "local": "false", <br /> "layerDepth": 1 <br /> } <br /> } <br /> } <br /> ] <br />}
Technical
Requires SMAPI.
Compatible with Mod Updater for automatic updates.
Code is at https://github.com/aedenthorn/StardewValleyMods.
If you want to complain or ask for help or help me test my mods, you can visit my Discord server.
A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.