0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

About this mod

Lets you replace the game's mine cart steam with other animations or move it to a different location. Can also be used to draw arbitrary animated sprites anywhere in any location.

Permissions and credits
Changelogs
Donations
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.:

{
"Format": "1.23.0",
"Changes": [
{
"Action": "EditData",
"Target": "aedenthorn.CustomMineCartSteam/dictionary",
"Entries": {
"aedenthorn.CMCSExampleCP/1": {
"location": "BusStop",
"replaceSteam": "true",
"position": {
"X": 456,
"Y": 144
}
}
}
}
]
}


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.:

{
"Format": "1.23.0",
"Changes": [
{
"Action": "EditData",
"Target": "aedenthorn.CustomMineCartSteam/dictionary",
"Entries": {
"aedenthorn.CMCSExampleCP/2": {
"location": "BusStop",
"replaceSteam": "true",
"position": {
"X": 520,
"Y": 208
},
"animationRow": 27,
"color": {
"R": 255,
"G": 255,
"B": 255
},
"animationLength": 8,
"flipped": "true",
"animationInterval": 60,
"animationLoops": 999999,
"sourceRectWidth": -1,
"layerDepth": 1,
"sourceRectHeight": -1,
"delay": 0
}
}
}
]
}


You can ALSO go even further and load an arbitrary texture as a temporary animated sprite using even more parameters, e.g.:

{
"Format": "1.23.0",
"Changes": [
{
"Action": "EditData",
"Target": "aedenthorn.CustomMineCartSteam/dictionary",
"Entries": {
"aedenthorn.CMCSExampleCP/3": {
"location": "BusStop",
"replaceSteam": "false",
"position": {
"X": 520,
"Y": 208
},
"texturePath": "Characters\\Junimo",
"sourceRect": {
"X": 0,
"Y": 109,
"Width": 16,
"Height": 19
},
"animationLength": 8,
"animationInterval": 40,
"animationLoops": 999999,
"color": {
"R": 255,
"G": 255,
"B": 255,
"A": 255
},
"flipped": "false",
"flicker": "false",
"alphaFade": 0,
"scale": 4,
"scaleChange": 0,
"rotation": 0,
"rotationChange": 0.1,
"motion": {
"X": 0.22,
"Y": -2
},
"acceleration": {
"X": 0,
"Y": 0.01
},
"local": "false",
"layerDepth": 1
}
}
}
]
}


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.