coding help

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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.
  12. 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!
  13. 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...
  14. 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...
  15. 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...
  16. SterlingDraven

    Issue Issues modding dialogue for specific NPC

    I've been trying to edit Evelyn's dialogue, but no matter which way I try it, the changes aren't reflected in-game. The portraits and sprites change as intended, though. It seems that just the dialogue changes are being ignored all together. To test my coding, I downloaded this mod, which does...
  17. Cristallity

    Coding Help Help! I don't know what's wrong :c

    Hello! I'm Cristal and I'm a first-time modder. I've been working in my NPC for about a week, and I thought it was ready but when I tried it, it didn't work. This is what's shown. I have rewrited the content.json many times already but it still doesn't work, I don't know what I did wrong... Help :c
  18. iridium quality

    Coding Help Help me create a mod

    So I want to create a mod that gives the NPCs new dialogue (all of them), and I have all the dialogue written down but I just have one problem - I have no idea how to code. Is there anybody who can help me code this mod? I don't really care about getting credit too much but I just want it to be...
Top