coding help

  1. C#: Is it possible to get a list of content packs registered to *another* mod?

    I see that I can get a list of content packs registered as packs for a C# mod I write myself. Is it possible to get (preferably read-only) a list of content packs registered as packs for a *different* C# mod? For example, is there any way for me to get a list of say, all Content Patcher mods...
  2. spice_cabinet

    Coding Help Seasonal portraits not appearing, and no error message generated

    Hello! I'm new to coding, and have had luck with finding help here in the past, so I figured I'd give it another shot. I'm interested in giving seasonal portraits to some custom NPCs that I've made. From what I understand, my code matches what is needed, but I think I may be missing something...
  3. platoniique

    Modding in hair on mac?

    This is my first time trying to make a mod, and it's been hard finding tutorials for mac instead of windows. I am trying to make a mod that adds my custom hair sprites into the game. How should I go about this on mac? also are there any good resources that have tips/tutorials on mac stardew...
  4. Coding Help Alter hair following body animations - through coding?

    Hi. I want to make a mod to change the animation of the farmer when viewed from the side while using the pickaxe, axe, hoe, or club special attack. It was going well until I noticed that the hair still moved as if it were the old animation (moving up), while I in my new animation need the hair...
  5. MoonyBeasty

    Coding Help Event not triggering/loading in game

    I tried doing research and figuring this out on my own, but I've hit a wall. I'm working on a custom NPC mod, and want to learn how to make events now that I know how to do most everything else with NPCs (appear in-game, schedules, gifts, etc.) However the Event I have written won't show up in...
  6. Fluorke

    Coding Help Unique responses for specific gift?

    (English isn't my native language, so I hope you will understand what I mean lol) Hello, I've seen similar threat already somewhere, but it was posted few years ago and it doesn't have answers. With the new update for SV, some NPC's have unique responses for specific gifts. Like, for example...
  7. KramplessHeaven

    Question Modding barn animals - a couple of questions!!

    Good morning!! Me and my partner have recently started working on our very first mod for Stardew Valley adding some brand new barn animals to the game! We obviously want them to be as good as possible and even though we have many ideas I'm still not completely familiar with the game's code...
  8. Coding Help attaching object categories to a letter [sdv 1.6]

    i need my custom npc to send the farmer a letter with a category of objects attached to it (vegetables let's say). i know that in the earlier version it worked by just adding a category integer to it like this: "%item object -75 1%%", but it's either just me being stupid or this method not...
  9. Fetching item data in backend

    Hi! I want to access various items and their meta data, such as seeds and their growth time. Is there an easy way to do this from the backend? BR Azurl
  10. Coding Help "season_day" dialogue for custom npc

    hi i hope im doing this thread thingy right. also im not an english native so sorry for possible weird phrasings. i'm creating a custom npc and i really want to make him able to say one specific line for one specific date every year (it's about another character's bday and he's gonna say...
  11. Writer and Coder needed for nearly completed mod called "Isekai Valley" Artwork 90% completed.

    So I am going to be frank, I need help getting my mod finished. The mod is called Isekai valley. Basically it replaces all the characters in the mod with characters from popular Isekai anime. I have almost all the art completed in the mod. I started this during the pandemic in 2020 and ITS GOSH...
  12. Re-writing Pre-existing Mod Problem

    So, I've been rewriting some dialogues from"Mal's Seb Expansion [Smoking]" mod, and I've come across this problem with one of the recently added event. I'm super dumb with codes, I just wanted to have fun with making my own story. Please help me out if possible. If you do, I'll give you my...
  13. UdonFan

    Converting dialog font to a SpriteFont

    Currently, for the "dialog" font Stardew expects a 2D texture with glyphs in a uniform grid. If I want to write a mod which changes that so it looks for a SpriteFont, where would I begin looking? SpriteFonts don't have a lot of tutorials (Stardew-specific or general XNA/Mono info), and most of...
  14. Farmer Qiao

    Coding Help Question about creating a dialogue mod expansion

    Hi! New modder here, I just wanted to ask if I code the content to, for example, "Rainy_Day_0": "blah blah blah", will it overwrite the vanilla lines and the dialogue mods that I installed? I want my expansion mod to add more lines and not replace the dialogues I have already. The action I use...
  15. neur0tox1n_

    coding - how to get weather data of upcoming day?

    is there any way to grab a weather forecast of the next day? I want to use this data to influence the night sky intensity for things like incoming rain.
  16. Coding Help Move (or remove) starting slime incubator

    Does anyone know how I could go about creating a mod to either remove or just move the built-in slime incubator in the slime hutch? Or would someone be interested in creating a mod along these lines? The inability to move this item is ruining my slime stable layout!
  17. Dnksh

    Question Bundle names won't show

    Hello. I'm a Polish translator and my mod doesn't want to work properly. File Bundles.json is translated properly, but when i check in game it is named like "Bundle 0" "Bundle 1" It seems that it doesn't read translated text after the "/" and it shows latest values. It worked before, but after...
  18. Issue Trouble with operating SAMPI (Mac)

    Hi all! I'm having a lot of trouble making SAMPI (and by proxy, the rest of my mods work). I've been playing Stardew for three years, and this is the first time this has ever happened. I'm playing on a mac. Every time I open the page that usually downloads SAMPI, I get a code in terminal that...
  19. sophiatolar

    Issue Stuck in the same day - won't save progress. Help!!

    Hi guys! I'm terribly new to mods and the game in general, and I just can't figure out what I've done to corrupt my save file. My game is stuck on the same day and won't save. Just a black screen on my game, and getting a never-ending error and a "SMAPI is not responding" message from my PC. I...
Top