#making-mods-general

1 messages · Page 569 of 1

brittle pasture
#

you can gate your NPC's unlock condition/map patch/etc. behind the "bus repaired" mail flag

meager ginkgo
#

thx :D

torpid sparrow
#

if im setting up a door for an existing NPC, can i just do Door Sam for example, or do i have to go through the whole door process

latent mauve
torpid sparrow
#
Stardew Modding Wiki

Last edited by KaileyStardew on 2026-03-18 02:05:56
This is a mildly advanced guide for modders that assumes familiarity with Tiled, Content Patcher, and map modding fundamentals such as the difference between Map Properties and Tile Properties.
Interior doors, such as the one in Figure 1, are interactive map elements with hardcoded behaviour (...

latent mauve
#

You need the both the map property and the door action because one controls the door animation/visibility and one controls the ability to pass through it

torpid sparrow
#

ahh oki

latent mauve
#

you don't need to make a "custom" door since you can use the normal ones from the towninterior tileset, but you do still need to set the properties

torpid sparrow
#

will copy paste from the respective houses

#

hopefully it works

latent mauve
#

Just make sure it's on the map properties as well as having the TileData object. 🙂

torpid sparrow
#

yes!

void aspen
#

SpriteIndex The sprite's index within the Texture, where 0 is the top-left sprite.
Do they go from left to right and top to bottom?

upper fractal
#

hey so im pretty new to making nps and overall modding.I followed all the steps that are in the stardew modding wiki on how to make a custom npc (i think,im not sure if its completely right) and i get this error that i dont understand how to fix.If i were to post my smapi error log here would someone take a look into it?

torpid sparrow
#

Yes

autumn tide
#

that's what we're here for :)

#

here's the link to post a detailed log:

#

!log

ocean sailBOT
#

Important note: Your computer username may appear in the log. If your username is your full name, please be aware of this before uploading it.

Please share your SMAPI log file. To do so:

  1. Open this page: smapi.io/log.
  2. Follow the instructions at the top of the page to upload the log file. (Don't copy & paste from the console window!)
  3. After uploading, it will show a green box with a URL to share. Post that URL here.

Please do it even if you don't see any errors. This has useful info like what mods and versions you have, what the mods are doing, etc. If the issue didn’t occur in your last session, please load the game to the point where the issue occurs, then upload the log.

upper fractal
ocean sailBOT
#

Log Info: SMAPI 4.5.2 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 20 C# mods and 25 content packs.

upper fractal
#

i might probably have done something stupid haha,im pretty bad at following instructions if theyre not super specific SDVpufferwaaah

autumn tide
#

oh, it looks like there are errors affecting many of the vanilla NPCs?

torpid sparrow
#

Send ur content json please as well

#

It looks like ur missing something

upper fractal
#

should i just copy it down and paste it here?

#

or should i send the file?

torpid sparrow
#

No through the website

autumn tide
torpid sparrow
#

!json

ocean sailBOT
#

JSON is a standard format for machine-readable text files that's used by Stardew Valley mods.

If you need help with a JSON file, you can upload it to smapi.io/json to see automatic validation and share the link here.

When making mods, it's recommended to edit your files in a text editor with JSON support, such as VS Code, Notepad++, or Sublime Text. These programs will check for syntax errors.

upper fractal
tall inlet
#

Dumb question, but would "the hell is this?" be offputting as too much swearing for a stardew character?

#

As a dislike

upper fractal
#

in the json format selection should i click the content patcher one or none?

latent mauve
autumn tide
torpid sparrow
upper fractal
#

okey!

torpid sparrow
#

For compat with android though use 2.8.0

#

Instead of latest

upper fractal
#

here u go!

latent mauve
#

You have too many [ ]s

autumn tide
#

thanks!

torpid sparrow
#

yeah u got a [] for every patch

latent mauve
#

There should only be one after "Changes" here, and one to close it out at the end before your }.

meager ginkgo
#

[
{},
{},
{},
{},
{}
]

upper fractal
latent mauve
#

In case you're not familiar with JSON:

  • [ ] denotes a list of data models here, in this case, your patches!
  • { } denotes a data model/patch
upper fractal
autumn tide
#

buttons has a really good tutorial on syntax, one sec..

latent mauve
#

"Changes": [ <add your patches here> ]

autumn tide
upper fractal
autumn tide
#

your other files might also have formatting isssues as well, I'd really reccomend looking at that tutorial site I just sent

upper fractal
#

yup i just checked,im having issues with dialogues and something about tokens?

void aspen
#

wait I forgot how do I know my custom object ItemId if I only have Id

latent mauve
upper fractal
autumn tide
upper fractal
latent mauve
autumn tide
void aspen
#

oh I see okay

#

now lets see if I done it right

fierce vault
#

I hate it when I'm writng an event and realize I need more expressions for it to look right

autumn tide
#

heheeee add more expressions SDVkrobusnaughty

fierce vault
#

I don't necessarily hate making more expressions, but it would be really nice if that kind of thing didn't happen when I thought I'd be able to be done with something

latent mauve
upper fractal
autumn tide
upper fractal
latent mauve
#

!npc

ocean sailBOT
#
Creating a Custom NPC

Keep in mind that making NPCs is a complex process that requires learning many different aspects of Stardew modding.
Here are a few links that can help get you started on all that you need to know:

latent mauve
#

The last link (my WIP NPC Builder) has a tab that explains blank JSONs

#

for easy reference:

upper fractal
#

ohh i see,quick question.Can i load everything that i need ex:schedule,dialogues into one singular blank.json or do i have to do it for each one?

latent mauve
#

Yep, you can set multiple Targets to use the same blank.json

void aspen
#

smapi hates me when I try to add a new object on this exact line 😭

#

do I have to load the texture first to Maps

#

or keep in my mod folder

upper fractal
#

for what i understood {} are for json objects and [] for lists,right?

torpid sparrow
#

it doesnt necessarily need one but it makes adding conditions possible

latent mauve
void aspen
#

oh I see

latent mauve
#

Also, your texture will need to be enclosed in quotes

void aspen
#

ohh right

latent mauve
#

For easy reference, here's an example of a blank JSON load I did to add an empty Data/Events JSON for all of the new locations added in my Pelican Valley Lofts NPC Apartment mod:

    "LogName": "Add Blank Event JSON for Apartment Locations",
    "Action": "Load",
    "Target": "Data/Events/FRL_NPCApt_PelicanValleyLoft, Data/Events/FRL_NPCApt_Lobby, Data/Events/FRL_NPCApt_Elevator, Data/Events/FRL_NPCApt_Floor1, Data/Events/FRL_NPCApt_Floor2, Data/Events/FRL_NPCApt_Floor3, Data/Events/FRL_NPCApt_Floor4, Data/Events/FRL_NPCApt_Floor5, Data/Events/FRL_NPCApt_Floor6, Data/Events/FRL_NPCApt_Floor7",
    "FromFile": "assets/blank.json"
  },```
upper fractal
latent mauve
#

One code block, targets all of the locations at once (and the locations are only added through my mod, so I get to not include a priority on my Load. 😛 )

void aspen
#

generally target path

latent mauve
#

The wiki has a pretty well-documented list of what fields accept lists of objects if you check the modding namespace

latent mauve
upper fractal
fierce vault
#

can I ask what you all think about the capitalization (and presentation) of my forums topics? there will be no posts section because I'm interested in trying something new

latent mauve
fierce vault
#

Yeah, I feel like it works for the bugs one maybe, but I'm not sure about the comments section

fierce vault
#

Do you think it looks too "aggressive" for the bugs section?

latent mauve
fierce vault
#

I just want it to be really clear where people should go

upper fractal
latent mauve
#

I'm of the personal opinion that Load should only be used for assets that do not exist yet, and anything that exists already should use EditData but it really is up to the mod author.

#

Anything that has a token in its Entries field (token is anything enclosed in {{ }}) requires EditData, or the token will not be parsed before Content Patcher adds it to the game.

void aspen
#

Invalid property identifier character: {. Path 'Changes[2].Entries', line 82, position 1
😭 😭 😭 brooo

#

I gotta use some proper software and not notepad istg

torpid sparrow
#

notepad++ is what i use

latent mauve
#

!software

ocean sailBOT
umbral oar
#

hai

latent mauve
#

I use Visual Studio Code, but use whatever works

meager ginkgo
#

I also use vscode I love vscode

torpid sparrow
#

maybe ill switch to vscode i am curious about it

umbral oar
#

i aggree that vscode is goated

latent mauve
void aspen
#

he hates this first bracket which doesnt look stray

umbral oar
#

oh you are busy, bye

latent mauve
#

Usually that means you missed a comma

#

If you have a question @umbral oar , speak up!

upper fractal
void aspen
#

I didnt close the previous one, its okay now

latent mauve
#

Don't worry about interrupting the conversation, it's the only way you'll get a word in.

void aspen
#

LOOK AT THAT

#

it works yay

latent mauve
#

Congrats!

torpid sparrow
#

only 13 energy though

cold raft
torpid sparrow
#

jack it up

void aspen
#

ill edit those up now yeah

meager ginkgo
#

50000 energy

latent mauve
#

It's in the game now, that's the hard part down. 😛

torpid sparrow
#

398473898394 energy

void aspen
#

just pasted everything that joja cola had

meager ginkgo
#

adhd modifier for farmer makes monster give -40 energy instead

void aspen
#

can i make my own item type I hate how its trash

#

and not food or like drink

torpid sparrow
#

yeah

#

u can change the tags, the category, etc

void aspen
#

I dont see the property that edits the energy and hp amount it gives

#

is it hardcoded

tall inlet
#

Is there any good tool to check compatibility for schedules without watching your character at every point during the day for the full year? I'd built a schedule but upon reviewing it I'm questioning myself

#

Excluding festivals and events

verbal glacier
void aspen
meager ginkgo
#

along with the cheats menu mod to set specific days quickly

tall inlet
#

Fair. I do have both downloaded and in game.

void aspen
#

thanks for a suggestion

tall inlet
#

Seems kind of still trial and error focused however.

latent mauve
void aspen
#

ohh'

#

right

#

category doesnt change till I get new ones too

#

lets see

#

tysm yall

#

would be cool to give energy but take hp tho

#

drinking more than two could make farmer have a heart attack or something

meager ginkgo
#

loll

modest dagger
#

i got so scared i thought that was the strange capsule like why are you drinking the alien water wtf

lucid iron
void aspen
#

arr

#

my next mod gotta use additional frameworks sooner or later

ornate drift
#

at what point should i be confident to release my mod

half tangle
#

when I think I've finished, I give myself about 24 hours and that's generally worked (this is complicated by the mod fest if that's relevant to you since that ends in about 26 hours, iirc)

#

you can always post updates

latent mauve
#

I'm not bothered with the modfest, because it seems kind of unfairly weighted to mods that came out earlier in the period and had more time to accumulate downloads, LOL

#

I'll release my mods when they're ready

old edge
#

Can’t seem to figure out decoratable location maps I have to add the walls and floors tile sheet right?

torpid sparrow
latent mauve
ornate drift
latent mauve
#

Also I can actually point people to my bathroom renovation mod instead of referencing the WIP of it for custom walls and floors / decorating custom home renovations now. xD

torpid sparrow
ornate drift
torpid sparrow
#

in general i feel like releasing is fine when there's enough content to tide ur players over to whatever update ur doing next

latent mauve
#

(Please feel free to dissect the bathroom renovation mod to learn how custom home/farmhouse renovations work, it was a lot of effort to figure out)

torpid sparrow
#

so a basic set of schedules, dialogue, festival attendance, and some heart events

#

maybe 3 or 4 events

stuck marlin
#

hello, i just made a mod, and i would like to add it to the showcase channel, but i'm unsure if i can or how to do so

void aspen
stuck marlin
#

https://www.nexusmods.com/stardewvalley/mods/44187
Grandpa's old buildings. They are broken and need to be repaired before you can use them.
Place them instantly for free, then upgrade them into their vanilla versions.
Plan your farm, or add immersion.

Nexus Mods :: Stardew Valley

Grandpa's old buildings. They are broken and need to be repaired before you can use them.This mod adds broken versions of the vanilla buildings to the game. Place them instantly for free, then u

latent mauve
#

I got it. 🙂

stuck marlin
#

thank you!

gaunt heath
#

That's really cool!

stuck marlin
#

it's my first mod, so i didn't know what to do haha

hard fern
autumn ivy
#

i need to remake my sprinkler upgrader mod.... uses JA so i guess is should convert them

void aspen
#

We need a sprinkler that waters one tile

#

And the next one that does two

#

And then the one that waters one random tile in a radius lmao

#

😭

autumn ivy
#

Whaaaa

latent mauve
#

challenge mode sprinklers? LOL

#

just make them an irrigation channel item instead at that point

#

(it would probably be annoying to make, but a sprinkler that accidentally oversaturated the ground so that it functioned like the water retaining soil for an extra day would be funny)

#

It would also likely only come up if the sprinkler was removed after, because you wouldn't be able to tell if it watered that spot every day anyway.

wispy bramble
#

overwatering should slow plant growth /s

ornate drift
#

does my bakery only being open 4 times a week sound bad

void aspen
#

4/3 is something id kill for

ornate drift
#

cuz i want my bear to visit the resort, beach, and library

void aspen
#

So yeah it's okay

ornate drift
#

hooray

#

Sun: Open
Mon: Closed
Tue: Open
Wed: Open
Thu: Closed
Fri: Open
Sat: Closed

#

also for the yawning animation, i want him to yawn only once and then stand there for the rest of the schedule

#

like

#

after he yawns he goes back to his idle pose

#

how do i do that

upper fractal
#

okay so i somehow managed to make my npc sucessfully load into the game.However when i load my game file she doesnt appear in neither relationships or the map (i have the mod that shows vanilla npc and customized ones and yet she doesnt appear in nowhere) i dont know what to do SDVpufferwaaah

torpid sparrow
#

is she socializable

upper fractal
#

i think i did make her socializable.just in case,how do i make the npc to be socializable?

torpid sparrow
#

its something you can set when u make the character

#

CanSocialize

#

although i guess its true by default

#

hmm

upper fractal
#

yup she does

upper fractal
torpid sparrow
#

r u able to find her

torpid sparrow
upper fractal
ornate drift
#

the archaeology house closes at 4 PM right?

#

so i should make my bear leave at 1600

#

or 1500

upper fractal
torpid sparrow
#

ah great!

upper fractal
#

seems like everytime i fix an issue another one comes up,just shoot in the foot atp.Now the npc neither moves or talks

autumn tide
#

welp-

calm nebula
#

That's normal. Just keep trucking

upper fractal
#

i feel like stardew valley intently makes me get all happy and excited thinking i fixed the problem only to shoot me seventeen times

autumn tide
#

tis a labor of spite

upper fractal
ornate drift
#

having to come up with new schedules each day is annoying

#

i dont like duping schedule days

hard fern
#

How do i make fish jump out the water in an event

autumn tide
#

I love how ppl here are like
"wow I hate that I have to make the sistine chapel"
"actually we're just looking for a backyard shed-"
"I HATE THAT I HAVE TO MAKE THE SISTINE CHAPEL"

ornate drift
#

do i HAVE to finish the entire schedule before i can test it?

royal stump
hard fern
#

Ugh claude now i have to make the sistine chapel

autumn tide
#

aww :(

#

sucks that you have no alternative :(

hard fern
royal stump
royal stump
hard fern
autumn tide
#

i think mods might be the best place to look

royal stump
#

also you'd probably want to use acceleration in the case of a fish, since it'd probably arc or move up then down in a jump
which still says [TODO: document what this does] on the wiki

hard fern
#

Maybe i can fudge it by making a fake invisible fish npc who will jump and then become invisible again

royal stump
#

(it changes the movement speed over time iirc, but I've only fiddled with it in C# briefly)

#

just having a pre-baked animation would probably work with less argument confusion

void aspen
#

Is it possible to make an object texture be animated

lucid iron
#

Yeah you can use spacecore to animate any texture

void aspen
#

Spacecore again I see

#

Ty

ornate drift
#

oh

#

did i forget to add the { before Changes

hard fern
#

time to turn a chub into an npc because that was the only fish i found that spawns in the river during any season..

gaunt heath
#

💥

royal stump
#

wait, wrong link, one sec

autumn tide
#

oh heavens! /silly

royal stump
#

alright, edited, nvm the format part, I was misreading

autumn tide
#

wait was my template lemme see..

gaunt heath
#

I can't believe that the Powers That Be are literally forcing you to write 600+ lines of dialogue about the Sistine Chapel

autumn tide
#

dammit i gotta hurry up

#

ikr it sucks

#

..also re-wrote my whole mod twice already and I'm thinking about re-writing it again

autumn tide
#

(said mod being a krobus and dwarf expansion I've been working on since august and have no plans to release)

#

the code is so clunky

hard fern
#

so, for the sprite width and height is it the total size of the spritesheet?

autumn tide
#

it's the first mod I started so it's built terribly-

void aspen
#

My notepad-edited 400-lines no indents content json living it's best rn

autumn tide
#

I have an idea...

near imp
#

crime SDVkrobusgiggle

void aspen
#

Well it's not 400 lines yet! But it will be

#

I gotta add 30 more objects with ton of properties

ornate drift
#

IT ACTIVATED THE WRONG ANIMATION 😭

void aspen
#

Did you use the right index

ornate drift
void aspen
#

Or is it not index based

ornate drift
#

is it not 17/17/17

void aspen
#

17 is the index for the surprised face

verbal glacier
#

16

autumn tide
void aspen
#

It seems

ornate drift
verbal glacier
#

You start with 0 then 4 is the row below

ornate drift
#

....oh

fierce vault
#

even now with the time almost being up on the contest, I'm getting distracted with something not important detail-wise in the mod I'm making SDVpufferpensive

royal stump
void aspen
#

Indexing starts from 0 yeah

#

If that's the issue

ornate drift
#

okay yeah it prob fucked all animations rn 😭

whole prism
# autumn tide

usually best to, especially havicng a clean format for future compat editions and i18n editions

autumn tide
#

thank you for enabling me lucy

whole prism
ornate trellis
#

which one is it, claude

whole prism
#

have never heard of this phrase before

#

but, your welcome!

fierce vault
#

I need clean formatting for myself

whole prism
#

i wish i could be more of service : (

autumn tide
#

...the big krobus and dwarf one that I've already rewritten twice

ornate trellis
#

asking for a friend

whole prism
ornate trellis
autumn tide
#

uhm, my ..friend's big krobus and dwarf one that they've already rewritten twice

whole prism
#

You still owe me a fishi : (

#

Im kidding

#

if u ever need help for ur mod lemme know~!

ornate trellis
#

fishi?

autumn tide
#

thanks :)

whole prism
ornate trellis
#

oh i know

#

i wanna know more

whole prism
#

a fish sprite lol

ornate trellis
#

i love fishies

whole prism
#

:0 weally?

#

oh gosh

ornate trellis
#

thats why i cant making more for my mod

whole prism
#

i just saw ur profile, ur like legendary sprite maker

#

lol any artwork i do is pathetic compared to urs, idk how urs so gooood

ornate trellis
#

cant stop

#

i jsut ate a word in my sentence wahh

whole prism
autumn tide
#

..an interesting turn of phrase

ornate trellis
whole prism
#

thats all I got haha

ornate trellis
#

if cant continue out of passion, continue out of spite

autumn tide
#

also love the new user void SDVkrobusgiggle

#

art is a labor of spite

torpid sparrow
#

my doors work they just are transparent

#

did i miss something (yes)

ornate drift
#

the silly

ornate trellis
#

sorry, I am allergic to doors so i cannot help

ornate drift
torpid sparrow
#

nope

#

it works

#

its just translucent

hard fern
#

aaaaaaaaaaaaaa

ornate drift
#

uhhh i fixed this issue before hold on

#

did you add map property

torpid sparrow
#

yes

ornate drift
#

on buildings on the lower half?

torpid sparrow
#

oh wait i added it to the wrong sheet

ornate trellis
torpid sparrow
#

lmfao

ornate drift
#

😭

whole prism
ornate drift
#

mwehehehehe

gaunt heath
#

👻

ornate trellis
#

oh i dont really do dms outside of friends, if you need something you can just ping me here or drop by in my thread

#

(thats why i mention not accepting dms in my profile, i just dont like private messaging lol)

steep viper
#

nyapu portraits are so cute but such a hard style to replicate SDVpufferwaaah

steep viper
void aspen
#

On which layers does a natural tree renders?

ornate drift
#

YAYYYY

#

he sleep

void aspen
#

Is it building for a stump and then front for anything else or something else?

whole prism
void aspen
#

I wonder if it's possible to recreate the semi opaque thing trees do when you walk behind them

ornate trellis
dire kestrel
steep viper
autumn tide
#

WITTCHHHCRAAAAAFT

void aspen
#

Not the first time I hear this word today

dire kestrel
#

i've (luckily) never had to emulate that part of their style, just taking from what's already out there. still harsh work

autumn tide
#

(that's all I gotta say I'm gonna go return to the dumb shit I was doing before)

hard fern
#

My fish aint fishing 😔

#

playSound dropItemInWater/addTemporaryActor {{ModId}}_TempFish 16 32 69 54 1 false Character/jump {{ModId}}_TempFish 12/playSound dropItemInWater/warp {{ModId}}_TempFish 1000 1000
this is the only thing that acts funny 🤔 hmm am i even doing all of this correctly

brave fable
hard fern
ornate trellis
hard fern
#

im truly a fish pioneer

brave fable
#

it's been done in the sense that if someone can dig up the fishfrenzy code you've got a working tas fish jump, but not as an event command

steep viper
whole prism
torpid sparrow
#

time to write quests. boo.

brave fable
#

you'd need to try and translate the c# behaviour into the event command params if possible

whole prism
hard fern
#

SDVdemetriums this will do

ornate trellis
hard fern
#

making-fish-general

ornate trellis
#

got a good bunch of fish in that expansion, hehe

hard fern
void aspen
#

Omggg I just noticed I have so many dlsSDVpufferheart

hard fern
#

people yearn for the bath

brave fable
#

i mean it's only a little SDVdemetriums because you're ideally just taking something like ```cs
new TemporaryAnimatedSprite(sprite, spriteBounds, 1, 1800, 0, tile, false, false) { motion = new Vector2(0, -16), acceleration = new Vector2(0, 1) }

and turning it into something like ```json
temporaryAnimatedSprite LooseSprites\\FunnyFish x y width height 1 1800 0 x y false false motion 0 -16 acceleration 0 1
#

didn't actually read the params so this is not an accurate representation and should not be used as reference

gaunt heath
#

God I need to finish my huge bathhouse overhaul it's been like three years

brave fable
#

oh right you were making the purple bathhouse. did that never come out

void aspen
#

730 total DLs among the three mods

hard fern
#

sometimes i get ahead of myself with ideas even though i havent even finished one singular mod

ornate drift
#

lowk they should become friends

brave fable
#

ok mod author legend

void aspen
#

I think I should show DLs rather than amount of mods SDVkrobusgiggle

ornate drift
#

why is elliotts book so fucking huge 😭

ornate trellis
#

its actually one of those bigass picture books that pop up

gaunt heath
steep viper
brave fable
#

understandable enjoy your paycheque* sorry americano slip

hard fern
#

like, im already thinking of terrible and horrible things i can do that will no doubt absolutely destroy compatibility with any mod that changes ginger island, all because i decided i wanted to treat it like an oyster and put a pearl nucleus in it.

steep viper
#

i keep watching the downloads on my mods and getting excited for every new download

#

yes.. i hope u love them

gaunt heath
#

I've had a bit more breathing room the past few weeks so I've been defeating projects that have been mocking me from beneath the floorboards with their tell-tale hearts. The bathhouse is approaching the front of the line.

void aspen
#

I wonder what are requirements to get a mod creator role hm

#

Probably something like million mods billions endorsements

brave fable
#
  1. Create a mod
hard fern
#

lvl 25, name on the wiki, proof you published a mod

#

i do not have a million mods nor one billion endorsements XD

void aspen
#

Second thing seems the more complicated

brave fable
#

unfortunately i could never

uncut viper
#

1.5) the mod must follow our rules

near imp
#

they can even be crusty mods from 2021 catnod

modest dagger
#

some of us choose to reject cheetoness

hard fern
#

that too

void aspen
#

Are content packs considered mods

uncut viper
#

Yes

void aspen
#

Ooh nice

hard fern
#

my first mod was a crusty mod from 2020

brave fable
#

is it not anymore

hard fern
#

no i went back in time

near imp
#

(still need to update my crusty mods dogekek )

brave fable
#

my first mod was a crusty 2019 mod. but now it's a deluxe & beautiful 2019 mod

hard fern
#

(i kinda have an idea for a new crusty mod i can make. but also im hungry)

steep viper
#

everything i make is lowkey crusty

hard fern
#

why can't we have steak in stardew

near imp
#

bug steak

void aspen
#

Wondering how similar HC modding will be to SV

near imp
#

its all we deserve

hard fern
#

thank you i forgot bug meat existed

steep viper
#

mm bug meat

gaunt heath
#

I'd fuck up a bug steak ngl

brave fable
#

interesting. details

gaunt heath
#

I'm willing to hear out the farmer on bug steak

void aspen
#

Ew bugs 😨

hard fern
#

oh perhaps the reason i uh. my fish wasn't working may have been because i accidentally deleted the fish

near imp
#

as one does

gaunt heath
#

The fish is a key component of the fish

patent lanceBOT
ornate drift
#

also works hooray

hard fern
#

unfortunately: my fish has blinked out of existence from the moment they were born.

ornate drift
#

why his legs so short 💔

modest dagger
void aspen
#

Why does your npc looks blurry

#

Blurrier than a farmer

ornate trellis
#

sometimes people want to be blurry

gaunt heath
#

Lower contrast getting more wrecked by compression?

brave fable
ornate drift
near imp
#

?

ornate drift
#

anti aliasing

near imp
#

hmm. not sure its having that effect for me

void aspen
#

That's honestly not aa that's just some weird compression (comprehension) artefacts most likely

#

Discord hates pixel arts

ornate drift
#

oh wait you meant the app

#

yeah

#

prob

#

i cant stream here i probably would show it there instea

#

d

hard fern
#

holy shit my fish worked but like it kinda glides awkwardly along the water before jumping and vanishing

#

note to self: do not Move a fish

void aspen
#

Killer fish from stardew valley

hard fern
#

starving

void aspen
#

😨

#

T9 be like that sometimes

hard fern
#

is there a way to remove a shadow from an temp actor

ornate drift
#

oh i should probably add uhhhhh

#

interaction tiles in the bakery

#

only having an interactive shop is boring

ornate trellis
#

has flashbacks when i added 99 strings to my map

hard fern
#

anyways the bulk of my event works. i might just remove the fish jumping because dear god.

gaunt heath
#

Could you fake it with a TAS?

brave fable
#

some would say using an actor is faking it and using a tas is expected

hard fern
#

im getting a lot of use out of the good ol fade to black when i dont have any ideas for what the hell to write

void aspen
void aspen
#

also a JojaCola on some vending machine

#

I'm currently making my own vending machine that gives monsters instead!!

void aspen
void aspen
hard fern
#

hm i kinda worry im shoving too much personal writing style in here by using the message command a bunch as a form of narration

ornate drift
#

now that im not working on my mod right now, hmmmm.......

#

🤔

#

im thinking of practicing drawing humans

jaunty shuttle
hard fern
#

trying to match the general tone of vanilla's messages is kinda hard.

void aspen
ornate drift
#

no i mean i dont feel like doing coding rn and wanna draw practicing humans

meager ginkgo
#

I have one (1) single line of dialogue this npc is coming along fantastic

ornate drift
void aspen
hard fern
#

i still wonder what the tbh creature is supposed to be

ornate drift
#

yippeeeeee

autumn tide
# autumn tide
poll_question_text

...would it be worth rewriting one's entire mod, largely for formatting purposes? ..no reason, asking for a friend

victor_answer_votes

4

total_votes

6

victor_answer_id

1

victor_answer_text

do it

victor_answer_emoji_id

633855868911353866

victor_answer_emoji_name

SDVpuffersmug

void aspen
#

Just a silly creature

void aspen
#

Okay new mod idea, tbh kitten

whole prism
#

AHH

autumn tide
gaunt orbit
void aspen
#

There's also adhd creature

autumn tide
#

👀

gaunt orbit
#

yeah and anxiety creature

void aspen
#

And anxiety and bunch of others

#

Yep

autumn tide
#

(me)

gaunt orbit
#

the adhd creature was called wtf

void aspen
#

I got everything

gaunt orbit
#

dont remember the name of the anxiety creature

autumn tide
#

i am the Variety Pack Of Various Disorders creature

void aspen
#

Adding mental disorders to stardew tomorrow

autumn tide
gaunt orbit
#

tumblr's search is ass though so I'll probably never be able to find it

autumn tide
#

I really need tumblr tbh I qualify with flying colors

gaunt orbit
#

tumblr is not what it once was but I hate the alternatives more so I'm still there for now

hard fern
#

Tumblr search is genuinely terrible. Never hated looking for things more on there

gaunt orbit
#

in recent years staff has taken to just mass nuking transfem blogs often for no reason, and now there's also a transmasc MRA movement that's somehow gaining momentum.
also the ceo is a pissbaby who throws temper tantrums and stalked someone offsite after personally banning her because of previously mentioned arbitrary blog deletions

#

and then went on vacation to burning man right after doing that

hard fern
#

What does mra mean

gaunt orbit
#

men's rights activist

#

The men's rights movement (MRM) or men's rights activism (MRA) movement is a branch of the men's movement that diverged from the men's liberation movement in the early 1970s. Men's rights activists (MRAs) focus on social issues such as homelessness or suicide among men, which they say adversely impact men or is caused by structural discriminatio...

torpid sparrow
#

i dont think we can get much more into it but i am grumbling

hard fern
#

I nuked my own tumblr, so to speak, just because i got tired of posting

gaunt orbit
#

yeah sorry didn't mean to get so off topic

hard fern
#

Idk, i might revive it but i wouldn't know what to post there if i did. Mod wips? Who knows.

jaunty shuttle
#

I don't use any social media except Discord and I intend to keep it that way. I get the groups I join, like stardew valley modders, that's all I need SDVpuffersquee

gaunt orbit
#

yeah, discord is the main place I hang out for now, but I'm not super committed to it, especially with all the recent bs

#

tbh I feel like I'm not that far off from just quitting social media altogether

#

or maybe just start a forum or something

#

anyways back to arting. this mod page aint gonna make itself

#

I will say that nexus's upload form is much better

meager ginkgo
#

how do I make npc dialogue depend on their location?

autumn tide
#

there's schedule dialog, as well as GSQs

meager ginkgo
#

GSQ?

autumn tide
#

[[modding: game state query]]

#

..crap

meager ginkgo
#

🙈

frosty hull
#

Hello, i have question about game on android 1.6.15.1 latest*
currently my SMAPI Launcher on android it not support.
because in this game it's use AOT compile & dll native *.so.
so what should i do?, can i ask android dev to fix this?

autumn tide
#

there we go-

meager ginkgo
#

thanks :3

autumn tide
#

!androidsmapi

ocean sailBOT
#
Android SMAPI

We are not able to provide support if you run into trouble or compatibility issues with Android SMAPI; please use the discord linked on the Android SMAPI github.

IMPORTANT: This is a highly experimental build and may be prone to glitches, bugs, or incompatibilities. Please see the wiki instructions for more information regarding installing the unofficial Android port of SMAPI for Stardew Valley 1.6.

Do not harass mod authors to make Android specific compatibility patches.

autumn tide
#

(YES THANK GOD I REMEMBERED THE COMMAND)

uncut viper
#

That is the android smapi dev

frosty hull
ornate trellis
#

man, so, smapi keeps telling me

Requested path starting at VoidWitchCult.CP.TheFishmongerNPC_LostIsland_PirateLadHome 7, which does not exist,
over and over for a good while now but I am staring at her schedule and just cant find the issue? can someone stare at my schedule and see if you catch something that i dont https://smapi.io/json/content-patcher/b49239419ca341169b6bd4acece6dc71

uncut viper
#

As far as I know, AOT on mobile was an intentional choice for some technical reason or another

#

But I could be misremembering

autumn tide
#

AOT?

uncut viper
#

Ahead-of-time compilation

frosty hull
#

yes, android xamarin they have a AOT feature

#

i really hat it😆

autumn tide
#

now i have a more specific thing to google LOL

#

@junimo

#

...stupid discord

brittle pasture
frosty hull
#

ofcourse

autumn tide
#

oh yeah buttons you're a juni so you can delete spam!

uncut viper
#

(Can and already did o7)

uncut viper
#

But yeah either way it's not something that would be "fixed" bc it's not something that's broken

glossy plinth
#

Trying to build my mod to get a release package and it's throwing this error:

The mod build package found a game folder at <steam path>\steamapps\common\Stardew Valley, but it doesn't contain the file. If this folder is invalid, delete it and the package will autodetect another game install path.

#

wait...

I'm an idiot.

Wrong (very old) branch checked out.

uncut viper
ocean sailBOT
#

Important note: Your computer username may appear in the log. If your username is your full name, please be aware of this before uploading it.

Please share your SMAPI log file. To do so:

  1. Open this page: smapi.io/log.
  2. Follow the instructions at the top of the page to upload the log file. (Don't copy & paste from the console window!)
  3. After uploading, it will show a green box with a URL to share. Post that URL here.

Please do it even if you don't see any errors. This has useful info like what mods and versions you have, what the mods are doing, etc. If the issue didn’t occur in your last session, please load the game to the point where the issue occurs, then upload the log.

ornate trellis
#

I can, pls dont bonk me for not updating smapi yet, this issue was already happening before new smapi dropped ignore the red schedule issue i already fixed that. its only the piratelad one (and i guess whatever the hell gender male is) https://smapi.io/log/1b2342566c9b4e43af0e391e6b1bf924

ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 62 C# mods and 28 content packs.
Suggested fixes: One or more mods are out of date, consider updating them, SMAPI is out of date, consider updating it

brittle pasture
#

with Cinderbox out I wonder if we should consider mentioning that in the wiki guide if AOT is going to be a future problem

frosty hull
#

maybe i should move to the project Cinderbox

#

the problem Cinderbox it's about game files, it need PC game files
can't use android game files

uncut viper
#

Oh I see, I was going to ask what the \t7 is but I'm guessing that's a tab character

#

In your rain schedule

#

3rd entry from the end, starting at 1800

#

There's a tab between your location name and the 7 11 2

#

Rather than a normal space

ornate trellis
#

oh yeah that t thing was a tab, ye i tried getting rid of em all before posting it but i guess i forgot some...

uncut viper
#

That'd be the cause of that spacecore error

#

Or, well, warning

ornate trellis
#

omg its gone, im freed of this curse, thank you

tiny zealot
#

(C#) hey friends, what is the incantation to edit a list asset (Data/TriggerActions) with SMAPI's content API?
for dictionary assets i typically use AsDictionary but as you might guess that does not apply here

uncut viper
#

GetData<List<TriggerActionData>> I think

tiny zealot
#

i figured it out. it was that

#

thanks button

ivory plume
frosty hull
#

Honestly, I don’t really understand why AOT is required, since you know it prevents modifying DLLs or using libraries like Harmony for patching.

ivory plume
#

Sure, I'll forward the question. (Unfortunately vanilla has priority though; we try to support mods whenever possible, but not if it degrades the experience for vanilla players. In this case, I think some players get significantly worse performance on mobile without AOT.)

uncut oriole
cold wolf
#

Hi, does anyone know if we're using Pathpart correctly?

#

This is my first time using it

uncut viper
#

Can you give an example of what you're trying to get the FromFile to look like after the tokens have been replaced?

#

Getting the -1st part of {{Target}} is just going to be the same as {{TargetWithoutPath}}

cold wolf
uncut viper
#

No. -1 goes from the right. If you have the path MVSO/Portraits/Jas_SpiritsEve, the -1st part is Jas_SpiritsEve

gaunt orbit
uncut viper
#

Which is the same as {{TargetWithoutPath}}

#

The 1st index would be MVSO

orchid glade
#

What we want is Portraits

uncut viper
#

(Sorry, the 0th index would be MVSO)

orchid glade
#

I think we want index 1, but apparently that didn't work

uncut viper
#

If you want portraits then that would be index 1 or index -2

orchid glade
#

But the syntax using the index number like that is right? Galaxy can you share the error you got with index 1?

autumn tide
cold wolf
uncut viper
#

Yes, you can use the index number like that

cold wolf
#

That's with 1

uncut viper
#

Well, do you have a file like that?

#

Inside that specific folder?

orchid glade
#

No, but why is it looking there?

uncut viper
#

Are you sure you actually saved it after changing it from -1?

orchid glade
#

Shouldn't it be looking for assets\Jas\Portraits\Jas_SpiritsEve_Butterfly.png?

cold wolf
uncut viper
#

Or saved it if you changed the target

#

Are you editing the file in your mod folder and not one in a development copy?

cold wolf
#

It's a copy; the working mod is still in a secure folder.

uncut viper
#

I mean are you sure you're editing the copy that is actually being used when SMAPI launches the game

cold wolf
#

I assure you it's set to 1, it gives that error

orchid glade
#

Okay I'm gonna try run it @cold wolf , this is so perplexing.

cold wolf
ivory plume
uncut viper
#

Fwiw when I went to test just now with the example in the docs, it was also telling me -1 was not valid

#

Though I imagine that's due to the same underlying bug

ivory plume
#

Yep.

cold wolf
uncut viper
#

(apologies as well for going through the likely annoying common debug stuff re: "are you editing the right file/is it the right folder/did you save/etc stuff. It's a lot more common for those to be peoples issues than it is for there to be a bug with CP)

cold wolf
#

I don't know if this will help, but if we entered -1 or -3, this happened.

ivory plume
#

Yep, it's due to the same issue.

orchid glade
#

OMG okay thanks for the info SDVpufferdead we were going crazy

cold wolf
ivory plume
#

In the next version:

lucid iron
#

can u make an instance of a public class with no public constructors

tall inlet
#

Just as a small observation after working most of today on my mod… doing the dialogue is a lot more work than I’d originally anticipated.

lucid iron
#

the context is that i want to do new StardewModdingAPI.Translation in me mod

#

i can ofc just publicize it bolbsun

uncut viper
#

Have you tried Activator.CreateInstance()

lucid iron
#

i guess i could do that yea

#

forgor that existed

uncut viper
#

Don't know if it'll complain about access but shrugs

#

Worth a shot

lucid iron
#

but hrm i am having second thoughts rn

lucid iron
#

but often u want a {0} in LoadString stuff and a {{thing}} in smapi translation so this is maybe a bad idea seriousblep

uncut viper
#

Or both!

lucid iron
uncut viper
#

I'm unsure what the benefit/usecase is

lucid iron
#

if u mean "why in SMAPI instead of ur mod" that just feels less jank

uncut viper
#

But LoadString would be for stuff in the pipeline, no?

#

You'd be completely unable to edit these things with a Content Patcher mod

lucid iron
#

well if i made LoadStringTranslation i would be able to

uncut viper
#

Unless you removed the Tokens entirely, in which case whats the point

#

You can't put a token in the string with CP

#

Because it will treat it as one of its own tokens

lucid iron
#

its not about content mods editing it i just want to put in tokens myself

uncut viper
#

Why not just use LoadString then and do the usual string.format

lucid iron
#

well i do that rn Dokkan

#

is just niche want to unify the systems

lucid iron
#

good thing composer will be compatible /lh

uncut viper
#

why would composer be

lucid iron
#

by using a different token syntax that isnt {{ }} ofc

uncut viper
#

Do you have any good candidates for what symbol to use instead that aren't already taken

uncut viper
#

im sure people would love to type that constantly

hard fern
#

Everyone has that on their keyboard, yes ofc

lucid iron
#

slightly more serious answer what if php

#

$modId

#

or $modid$

uncut viper
#

Taken

#

Dialogue syntax

lucid iron
#

darn

#

although it doesn't matter does it yggy

uncut viper
#

[[ ]] is also taken by tokenizable strings

lucid iron
#

you resolve with your lexer ahead of everything

uncut viper
#

but if someone writes $dfkgjh how do I know if they typo'd a composer token or if some other mod added a valid $dfkgjh dialogue command

lucid iron
#

one of the quirks of content patcher is that everything is doing a string interpolation sorta

#

idk what u had in mind file format wise but most languages only do a string interpolation in specific context

uncut viper
#

i didnt have too much in mind at all i was still in the "throwing stuff at a wall" phase when i stopped for modfest
but like dialogue would definitely be at least one of those contexts

lucid iron
#

yea so lets say we do go with $modid i'd do it like f strings probably snakey

f"{$modId} sup $thang" // "chu.Mod sup $thang"
"{$modId} sup" // "{$modId} sup"
uncut viper
#

but how would someone do that in json

lucid iron
#

tho ig the $ is extraneous hrm

uncut viper
#

they cant put an f in front of their string

lucid iron
uncut viper
#

Even though I don't expect Composer to actually really see use I was still approaching it from the hypothetical viewpoint it could be
And with that I was personally considering that json would still be the most practical choice because of its prevalance in sdv modding

lucid iron
#

i wonder if newtonsoft would let u make f"thing" legal (or other similar extended syntax)

uncut viper
#

I suppose I could technically make my own format that was Button's Json and then make my own newtonsoft variant for it. that sounds practical and easy

#

I could call it bson, I'm sure that name is available

uncut viper
#

Newtonsoft does read comments and havea JToken.Comment enum. Maybe I could hijack comments and give them functional use. Surely this is not a terrible idea

#

(though I was actually unable to figure out how to do that last time I did seriously try to read a comment, so I dunno)

eager tree
#

Could someone help me? I'm trying to add an animation to the farm house of ginger Island, but it's not working

` "LogName": "BackedPotatoes.CrystalIsland_CabinAnimation",
"Action": "EditData",
"Target": "spacechase0.SpaceCore/TextureOverrides",
"Entries": {
"BackedPotatoes.CrystalIsland_CabinAnimation":
{
"TargetTexture": "Maps/island_tilesheet_1",
"TargetRect": {
"X": 112,
"Y": 496,
"Width": 112,
"Height": 144
},
"SourceTexture": "{{InternalAssetKey: assets\Maps\Cabin\house_animation.png}}:0..19@6"
}

        },
        "When": {
            "Island Farm's House": true
        }, `
zealous owl
#

Hi there! I'm hoping someone can help me with a dungeon design issue. Despite checking my dungeon against others (Mostly SnS) I can't seem to find what I'm doing wrong. I keep getting only the error of "Failed to find dungeon data with ID...".
I can include SMAPI log and any relevant code if needed

lucid iron
#

do EditMap instead of spacecore

eager tree
#

oh thank you

zealous owl
#

There's also a "failed converting entry to the expected type 'SpaceCore.Dungeons.DungeonData':" warning earlier in the SMAPI log, which may be a part of it?

uncut viper
#

!json

ocean sailBOT
#

JSON is a standard format for machine-readable text files that's used by Stardew Valley mods.

If you need help with a JSON file, you can upload it to smapi.io/json to see automatic validation and share the link here.

When making mods, it's recommended to edit your files in a text editor with JSON support, such as VS Code, Notepad++, or Sublime Text. These programs will check for syntax errors.

uncut viper
#

!log

ocean sailBOT
#

Important note: Your computer username may appear in the log. If your username is your full name, please be aware of this before uploading it.

Please share your SMAPI log file. To do so:

  1. Open this page: smapi.io/log.
  2. Follow the instructions at the top of the page to upload the log file. (Don't copy & paste from the console window!)
  3. After uploading, it will show a green box with a URL to share. Post that URL here.

Please do it even if you don't see any errors. This has useful info like what mods and versions you have, what the mods are doing, etc. If the issue didn’t occur in your last session, please load the game to the point where the issue occurs, then upload the log.

ivory plume
# frosty hull <:SDVpufferwaaah:982138774635020288>

Hi! We discussed a bit internally, and I have some answers for you.

We already had AOT enabled in previous versions, since that noticeably improves performance even on mid-tier devices. The main difference in 1.6.15.1 is that we needed to update from .NET 8 to .NET 9 in order to support Android SDK 35 (Android 15). That in turn changes how the DLLs are stored; instead of being in one shared platform-independent folder, the blobs were moved into the /lib folder with valid ELF .so files.

Switching back to the old build method is hard no (since the change is required by Google), but we're open to discussing ways to support SMAPI with the new version.

In particular, all the other architectures (ARM32, x86, and x86_64) have non-AOT blob files in their respective /lib folder, but we're not sure what's inside the ARM64 blob file (e.g. whether it's stripped down or fully useable IL). If you're interested, we could provide you privately with a non-AOT APK of the new .NET 9 version of the game. That would let you see if your previous approach will still work with the .NET 9 packaging changes, and let you use the .so files for the non-AOT loaders like before. If the ARM64 blob file is useable, theoretically those loaders should let you run non-AOT while vanilla players continue using AOT (like you were doing in 1.6.15).

zealous owl
uncut viper
#

(I had no idea mobile SDV was on a higher .NET version. Maybe it is better to mod on there... SDVkrobusgiggle)

frosty hull
#

.NET9?, so that is need to rewrite hamony patcher for android .net9 again 😫

frosty hull
ivory plume
#

I can't build the APK myself, but I'll DM you a copy as soon as I get one. (That probably won't be today though, since it's late for our mobile devs.)

meager ginkgo
#

is there a way to make my NPC hate any gift that contains fish? whether it be cooking ingredients or crafting(?) other than doing them manually

ornate locust
#

I wish

meager ginkgo
#

alas

hard fern
meager ginkgo
#

oh ok I'll see if I can use that

uncut oriole
ivory plume
#

Do you still need the APK in that case? (I can still send it just in case if you're not sure yet.)

uncut oriole
#

I don't need it. I'm in game and everything is running fine. I'm not sure what a non-AOT'd APK would do since NRT can't legally distribute the SDV files. 🤔

meager ginkgo
#

is there a better way to look at/edit gift tastes? it's just a bunch of numbers and words in a single string lol

uncut viper
#

That's how a gift taste is formatted

ivory plume
meager ginkgo
uncut viper
#

I don't think normal json allows it, so that makes sense. You can change the language association to .jsonc or .jsonl or .json5 (whichever one you like/it supports) and it should allow it.

meager ginkgo
#

oh alright thx, I just gotta not forget to change it back after lol

uncut viper
#

That said I'm not totally 100% sure if the game handles a bit of extra whitespace around the slashes correctly or not if you don't un-multiline it when you're done

#

I'm not sure it doesn't handle it but I'm just not sure if it does.

meager ginkgo
#

I'll be sure to un multiline after, I just need it to be readable while I edit it

uncut oriole
old edge
#

Ok but the mod I am trying to make decoratable is using the mine_dark tilsheet I tried a trick using back 2 layer for the mine tilesheets and below I have the walls and floors tilesheet I added the type in data locations as well

fierce vault
#

I'm feeling pretty tired of working on this mod. I really wish I hadn't pushed off some of the most important parts until the last day 😅

#

(important plot-wise. I'd die if I also hadn't figured out most of the coding stuff earlier too)

uncut viper
#

You got this 🫡

fierce vault
#

thank you button!

latent mauve
#

Friends, I know it's possible for shirts, but is there a way to make it so that only a specific section of pants are dyeable? The shirt sheet has things laid out differently.

#

for context, this is what I'm working on (dyeable dino pants):

#

I want to try to make it so the spikes are a consistent color and only the rest of the fabric is dyed.

fierce vault
#

I can be such a mess. Maybe it wasn't a good idea to put every kind of prototype dialogue in one file. Events, letters...bad lines of dialogue and duplicates of things that I won't add... it's all there SDVpufferdizzy

#

uh, on second thought maybe I won't inlude the png. It's very blurry, but full of spoilers if anyone tried hard enough lol

fierce vault
#

I think I might have just written a decent cutscene in a couple of hours! Probably time to code it in.

floral stream
#

is it normal for a translation mod to replace the default.json file in i18n with one for the language they're translating to?

half tangle
#

Not that I know of. Translation mods should usually just include a .json file for their respective language

half tangle
#

like a zh.json rather than the default.json. That said, a mod can have a default.json that is not English and then provide a en.json for English users

#

(of course I can't find docs saying that... going from memory here)

floral stream
#

yeah its a chinese translation, and they uploaded 20 mins before i did an update with chinese translations and i only saw it after

uncut viper
half tangle
#

yeah, that bug fix was what I was remembering, but that's true that older translations and older practices may linger

uncut viper
#

It would only be if you wanted to translate, say, an originally Chinese mod into English though and not the other way around, so I can't think of a reason for a new cn translator to do it besides just not being aware

half tangle
#

A translation mod should only include their respective i18n file, though, and not the rest of the mod (without permission). If they're uploading a default.json in Chinese for a mod written in English, they just may not be aware of current practices

floral stream
hard fern
#

Maybe they.. forgor

#

Idk

uncut viper
#

Sounds plausible to me. Edit the default.json directly, forget to rename it, zip it and ship it

half tangle
#

Yeah, forgetting seems plausible to me in this case, too

floral stream
#

yea probably

inland rain
tranquil olive
#

should I wait for the Files tab to have a 1 by it or is this ready for publishing..? SDVpufferthinkblob 😅

vale holly
tranquil olive
old edge
#

does setting a room with wallId does it make the player able to set wallpapers there or something?

fierce vault
#

I keep getting errors with this new event... is there anything obviously wrong here?```{
"LogName": "Jack's Goodbye",
"Action": "EditData",
"Target": "Data/Events/BusStop",
"Entries": {
"parcy.jack_goodbye/Season Winter/DayOfMonth 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28/NPCVisible {{ModID}}_Jack/": "
continue/
27 20/
farmer 24 22 0 {{ModID}}_Jack 27 18 2/
skippable/
speak {{ModID}}_Jack"@..."/

            end
            "
        }
    }```
urban patrol
#

you should specify the error or better yet provide a log

fierce vault
#

Sure, sure

#

I'll restart my game since it's been running for a while and grab the log

ocean sailBOT
#

Log Info: SMAPI 4.4.0 with SDV 1.6.15 build 24356 on macOS Unix 15.6.1, with 19 C# mods and 6 content packs.
Suggested fixes: One or more mods are out of date, consider updating them, SMAPI is out of date, consider updating it

fierce vault
#

I've been checking some of the lines it's listed, and they don't seem to make sense

fierce vault
#

Idk what to make of it

#

OH

#

wait!

#

oh

#

nevermind SDVpuffercry

hard fern
#

Let me guess, it didn't work?

fierce vault
#

I added a needed space herespeak {{ModID}}_Jack \"@...\"/ but it didn't fix the red

#

I don't get it, what could possibly be wrong with this little event?SDVpufferthinkblob

hard fern
#

Could you share the full Jason for the event

fierce vault
#

The other event is good

#

and is *very * large

hard fern
#

So which line is line 176

fierce vault
#

the top { in the event I just shared...

#

I do not understand these "line" errors

devout otter
#

Something is wrong on line 175, most likely.

hard fern
#

Seeing the whole json would at least make it easier to tell where exactly the problem is

fierce vault
#

I'll check line 175 and then see what I can do

devout otter
#

It says the { in line 176 is unexpected, which usually means the patch before it is improperly closed. Whether missing a bracket or a comma.

fierce vault
#

oh

#

I may have just found something

#

hmm

#

missing comma on 174, but that didn't fix

#

oh dear, I just put the json in smapi, and it's a nightmare to read even though it's multilined

#

I don't know if you guys could even go through it and see issues very well with how it looks

fierce vault
#

well, alright...

#

very unfortunate, because the line identifiers are all gone, and my comments at the bottom have just been eaten by smapi SDVpufferthinkblob (removed)

#

Literally unreadable, and I don't know why it transformed it like that

hard fern
#

probably because the parser doesn't do multiline so it turns everything into a line break command ?

fierce vault
#

oh...

hard fern
#

you're still getting the same error that something is wrong on line 176, right?

fierce vault
#

let me check

#

oh wait

#

I don't think there's red this time

hard fern
#

so.. problem fixed? 🤔

fierce vault
#

I'll see if it runs

hard fern
#

fingers crossed

fierce vault
#

uh oh, debug won't parse the command...

#

could it be because I'm in the wrong season?

#

debug ebi parcy.jack_goodbye was the command btw

hard fern
#

wdym "won't parse"

#

does it just not start

fierce vault
#

this was the error:```Failed parsing that command:
ArgumentNullException: Value cannot be null. (Parameter 'key')
at System.Collections.Generic.Dictionary2.FindValue(TKey key) at System.Collections.Generic.Dictionary2.TryGetValue(TKey key, TValue& value)

#

Something's very wrong SDVpufferthinkblob

#

but what?

hard fern
fierce vault
#

hmmm

#

I feel like the issue is not with the event itself

#

It looks normal

#

Maybe one of my trigger actions in the content json is broken?

#

idk

#

I'm grasping for straws here

#

I'll try that though

#

oh

#

hold on here

#

let's see if it runs now

#

nvm

#

yeah, no errors when I patch the mod again, but debug ebi will not work

#

so odd

#

the event must be fundamentally broken for that

#

Know what? I'll try moving it on top of the other one to see if that changes anything

#

hmmm

#

I'll try changing the name of the event

#

maybe the conditions are wrong??

#

I'll get rid of almost all of them

#

no... that doesn't seem to be it

#

Oh....

#

Interesting

hard fern
#

SDVpuffersweats did you discover something

fierce vault
#

I entered the area, and the event ran

hard fern
#

huh

fierce vault
#

But debug will not run it

#

same debug error as before

#

this is drivnig me insane

#

drivnig

#

I've lost it

#

anyway

#

look at this: debug ebi parcy.jack_goodbye and thisparcy.jack_goodbye/ why would debug not run this???

#

(the second command is in my event)

hard fern
#

have no idea

fierce vault
#

so, my event will run at least. I guess it will just be a nightmare to test

#

maybe restarting smapi will fix it....

#

when it doubt, (after a lot of errors have flooded the console) I've found that smapi sometimes just need a break

hard fern
#

sigh i still have to rewrite the events i just finished making lol.

#

i just scrapped them

#

again

fierce vault
#

all well

#

this is going to be interesting

#

in a bad way

#

WHAT

#

what!

#

Ok, this makes no sense!!

#

Look at these nearly identical events. jack goodbye will not run with debug, but jack hi will???? ```{
"LogName": "Jack's Goodbye",
"Action": "EditData",
"Target": "Data/Events/BusStop",
"Entries": {
"parcy.jack_goodbye/Time 600 1700/Season Spring/DayOfMonth 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28/NPCVisible {{ModID}}_Jack/": "
continue/
27 20/
farmer 24 22 0 {{ModID}}_Jack 27 18 2/
skippable/
speak {{ModID}}_Jack "@..."/

            end
            "
        }
    },

    {
        "LogName": "Jack hi",
        "Action": "EditData",
        "Target": "Data/Events/BusStop",
        "Entries":  {
            "parcy.jack_hi/Time 600 1700/Season Winter/DayOfMonth 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28/NPCVisible {{ModID}}_Jack/": "
            continue/
            27 20/
            farmer 24 22 0 {{ModID}}_Jack 27 18 2/
            skippable/
            speak {{ModID}}_Jack \"@...\"/
            
            end
            "
        }
    }```
#

insane

#

I don't understand

#

I can't be the name? Why would ot be the name??

#

no

#

spring must just be a broken month

#

how?

#

Ok, I need to test that

hard fern
#

im just going to accept your events are cursed for the time being

fierce vault
#

so the game just hates that I named my event goodbye

hard fern
#

i have no idea why they're doing this either

fierce vault
#

reminds me of the one time the game broke only when I had a tmx named map3

#

map3 with a couple letters after it was fiiiine though

#

I just don't get it

void aspen
#

Should I keep this one as a feature or its too op

hard fern
#

sure this looks like a totally 100% fair and balanced food item

void aspen
#

for its price I mean

fierce vault
#

and healthy too

#

uh

void aspen
#

I have a cheaper more affordable version too

#

should be good enough

fierce vault
#

but it looks like the humor is also the point so...

void aspen
#

so 10 mil mb?

#

idk how easy it is to get 1 mil nowadays sooo

fierce vault
#

I'm not the right person to ask either

#

I've never had that much in the bank at once

#

shocking

#

I know

#

Oh, thanks for the help, btw, Dolphin and Forsy

ornate drift
#

Mmmm i need activity ideas.....

#

🤔

#

So far i have:
Manny Sit
Manny Yawn
Manny read book

half tangle
hard fern
#

the log name doesn't do anything

#

the actual event id is in the start of the event

fossil osprey
void aspen
#

im not sure if its possible to do with what I know

#

some of my monsters do give negative effects to balance buffs out

floral stream
void aspen
#

thats on people

#

everything comes for a cost

hard fern
#

would it be possible for an animal to give both wool and milk 🤔

#

how would that work

near imp
#

i do know that any users with Better Ranching need to turn off the "prevent failed harvesting" setting, because it interferes with dual produce animals

hard fern
near imp
#

Ive become a real fan of the Extra Animal Config framework, it enables adding or editing a lot of features of/for the FarmAnimals that really make sense

hard fern
#

mmm this makes me want to get some brie and a baguette so i can eat it for breakfast again

near imp
#

ive done a few personal edits to some animal mods so that they can now go out in winter etc for species where it makes sense that they would 👌

hard fern
#

nooo not the image i wanted to send

#

😭

#

nobody saw anything

#

i know someone already made a mod to add cheese but like

#

there's so much cheese

near imp
#

still tempted to make a mod that enables casks in the farmcave, just so i can say im making aged cavecheese

#

maybe theres already one, idk. not one that lets you put casks anywhere and everywhere including cave though, that wont do

hard fern
#

Im definitely going to have to make a mod that will have a rancher who specializes in dairy products lol. I just like cheese.

#

Hmm. And ofc specialty products from them that you can't get anywhere else

near imp
hard fern
#

(you're technically correct anyways XD not like you can milk a ram...)

near imp
#

figured id clarify in case someone later searches for something like this

#

huh, apparently to age the sheep cheese you need the Custom Cask mod SDVpufferthinkblob i wonder why, can the casks not be edited with CP like the rest of the vanilla machines?

hard fern
#

casks r cursed kinda

near imp
#

ohh noo SDVpufferflat some of the worst words to hear in modding chat SDVkrobusgiggle

hard fern
#

i think the machine rules for it are in the code code and not something u can do through cp 🤔

near imp
#

that does sound cursed

rain inlet
#

is that planned to be un-spaghettid in 1.7?

hard fern
#

dunno

rain inlet
#

i know there's a list on the wiki for backend changes to prepare for in 1.7

near imp
#

wheres that upcoming modding changes tab i know i had at least the one for 1.6.16 open somewhere around here...

rain inlet
#

i just haven't gotten through it bc most of it is meaningless to me

rain inlet
#

"cask" isn't mentioned on the page at all

verbal glacier
#

nor in the 1.6.16 page

rain inlet
#

so i'm guessing it's not being fixed yet

hard fern
#

maybe worth bringing up as a "will this be in the cards someday"

rain inlet
#

i have to imagine it will be done eventually

#

considering the direction stardew is going

near imp
#

possibly someone has already asked, too lazy to check rn

verbal glacier
#

the search says no one has mention the word cask in that channel

near imp
#

is dependency creep a real phenomenon or just something im imagining? SDVpufferthinkblob its not that a dependency itself is a bad thing, more that when you start to accumulate enough mods that each have 1-3 (sometimes more like 5 SDVpufferfear ) dependencies, i feel like the risk steadily increases of the dependencies each trying to implement their own functionality and at some point some of them are going to overlap and start fighting SDVpufferflat

#

feels like it adds to the complexity of making sure youre not installing mods that are likely to conflict, when its harder to get a good sense of what areas of the game the mods and their dependencies are affecting

hard fern
#

as from like, the purely technical side, idk

#

though i think "dependency creep" can easily be attributed to scope creep, in the sense of you want to add like 20 thousand features to this mod but you need a lot of dependencies to do it. it might be worth just scaling down the mod a bit if the sheer number of dependencies you need is kinda overshadowing the mod itself

#

(idk if that makes sense)

rain inlet
#

it's also about kiss though, do you really need that dependency or can you do it in a better way with pre-existing functionality

hard fern
#

yeah, that too

#

or just change the way you implement the thing

rain inlet
#

and if a dependency breaks or is no longer developed, that's also a huge problem

near imp
#

yeah for sure. im always keeping the "less chefs in the kitchen" rule of thumb in mind.

royal stump
#

tbh, the only dependency conflicts I've seen (in stardew specifically) are when people try to reduce their dependency count & write their own version of the same feature