#making-mods-general

1 messages Β· Page 413 of 1

soft lance
#

Yeah, if we're heading in c# (I am refering to content patchers, but this can also work), it does slightly change in how the code is distributed

red egret
#

If i wanted to make animated furniture, is it the best to make it with: content patcher animations / spacecore / AT / furniture framework?

soft lance
#

Ah, my bad, I am used to hearing the term as if the source is fully visible and editable, I should have said source-available with personal use only license, which most are on there

gentle rose
#

(but the 63% estimate is actually for source available, meaning that the other 37% of c# mods are not without decompiling. Many of them are perfectly trustworthy and even widely accepted, so let's not start saying that mods that aren't source-available are sketchy.)

brittle ledge
#

!moddingwiki plenty on the modding wiki, including one for adding new fish to the game!

ocean sailBOT
brittle ledge
#

(second link here)

pine elbow
#

do yall use them

zenith sapphire
ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.26100.0, with 63 C# mods and 166 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

zenith sapphire
#

The last thing i added to the code before it broke , was the last part of the code called //ANIMATIONS

soft lance
zenith sapphire
# brittle ledge (second link here)

Hey tiakall i wanted to thank you because your mod helped me to understand a how fish can be added to this game and now I'm addicted to it!!

gentle rose
pine elbow
#

i just dont want to be the only one using them

gentle rose
#

you're overthinking this

#

use whatever learning method works for you to make the thing you want to make. there's no right or wrong here as long as you aren't stealing

soft lance
brittle ledge
#

the modding wiki gets linked frequently, along with specific tutorials, and I see people asking questions about them in here occasionally, you're definitely not the only one SBVLmaoDog

pine elbow
#

thank you irocendar

#

thank you for being patient

brittle ledge
#

think you're good SDVpuffersquee

gentle rose
zenith sapphire
#

Guys this line need to go before or after the closure of the [] of the "Changes:" ?

soft lance
#

it'll be my first mod for stardew so thats nice

brittle ledge
pine elbow
#

brackets are infuriating

zenith sapphire
brittle ledge
gentle rose
soft lance
soft lance
gentle rose
#

you're thinking of comments, lucy. tia is talking about commas, the punctuation

soft lance
brittle ledge
soft lance
#

I'm starting to think if I need to go to bed

brittle ledge
#

don't code tired, Future You will thank you kyuuchan_nod2

gentle rose
#

of course in my message talking about commas I missed clicking the comma key though SDVpuffersquee

soft lance
#

yes, comments, the //, or --, or #, depending on your language

the minions have seized me and I am now gone

brittle ledge
#

and you are correct, comments are technically invalid in JSON but that sign can't stop me

#

(someone's done schemas for JSONC which allows comments)

soft lance
#

ofc in anything other than .json you will be fine using comments normally

pine elbow
#

me making c sharp codes me needing to make contet packs also god this is hard

brittle ledge
#

mine are generally either labeling small bits of code so I remember what they are/what they're for/why I did that, or flagging stuff in my i18n for translators, so inline works better than documentation for me kyuuchan_nod2 but I'm also doing CP, not C#

soft lance
#

If you got a ton of dialogue then I wish u well 😭

brittle ledge
#

Do you speak those languages? If not, I'd let the folks doing translations help instead of doing MTL kyuuchan_nod2

#

(they may still be using MTL, but hopefully editing it so it makes sense)

soft lance
#

but yeah I can get a few down

#

because google translate can make that very off point:

"Cute Fish" to:
"Wonderfuly Deliciously God-like Fish"

#

like dang thats a lot since they didnt have the word cute

hard fern
#

wonderfully deliciously god-like fish.... sounds like something you'd find in an isekai manga

brittle ledge
#

Yeah, I wouldn't attempt a translation INTO a language I'm not at least somewhat familiar with, because you'd have no idea it it was nonsense or not

lucid iron
#

unfortunately that arabic is not a supported lang rn

#

rtl woes

pine elbow
#

how do i deal with dang brackets

soft lance
#

1, 2, or 3, which do you guys like best? It's suppose to be a pirate fish/hook fish

#

apologizes for my poor editing skills in advance

brittle pasture
#

@brave fable latest version of Machine Terrain Framework (and Aquatic Crops - formerly Custom Tapper Framework) should fix the compat issue

#

it also introduces a bunch of other crap that I'm kinda nervous releasing into the world

calm nebula
wraith bay
lucid iron
pine elbow
#

how do i fix my brackets

#

or just in genral make them less of a pain

soft lance
soft lance
wraith bay
#

awww ty lucy!!

soft lance
# wraith bay awww ty lucy!!

np! also ur thumbnails r very captivating, what is that adorable font? my favorite is ur crab pot duckies 😭

#

seems popular too, the most I ever got on a "mod" is 92k, for a userstyle for websites

lucid iron
#

Your fish mod will get 1 flipperillion downloads on day 1 trust

red egret
#

If i wanted to make animated furniture, is it the best to make it with: content patcher animations / spacecore / AT / furniture framework?

lucid iron
#

Well not CPA

wheat finch
#

CPA is deprecated isn't it?

soft lance
lucid iron
#

AT depends on whether you want the AT user experience stuff

red egret
#

what is the easiest to make?

lucid iron
#

Spacecore probably

#

Assuming it is all new furniture

soft lance
red egret
#

yea new

lucid iron
#

Yeah I'd say spacecore just cus most people have it already

#

Plus u can do the catalogue

soft lance
lucid iron
#

(self promo) u can also make animated furniture with mmap but i wouldn't do that unless there's other things from mmap u wanna use

soft lance
#

this may have the knowledge inside on how to make one, but I don't know

lucid iron
#

Furniture framework is similar deal

red egret
#

what does mmap do?

lucid iron
#

You can add draw layers to furniture

soft lance
wraith bay
pine elbow
#

feel like an idiot now

lucid iron
soft lance
hard fern
#

why do ppl like animated stuff so much

lucid iron
#

So it's name after a different and equally nerdy thing

soft lance
soft lance
red egret
#

a new challenge πŸ™‚

lucid iron
#

Besides draw layer nonsense u can also make them passable

#

Like an arch

wraith bay
red egret
#

ooohhh

lucid iron
#

But yeah i wouldn't do this if all you want is animated furniture

#

Just use spacecore it's straightforward

red egret
#

all right, spacecore it is, ty

soft lance
# wraith bay aww shucks, i'm ok. im a professional designer tho, so i should be ok at this pa...

I develop apps for windows/mac/linux, and code games, I'd rather code an application that works across Windows XP-11, Linux glibc 2.15+, MacOS 11+, and FreeBSD 10+. I have done that, don't do that, but I cannot imagine art.

In no way am I capable of art, I am too logical for it. I am trying to force myself to learn, and it took me two hours for THIS, just THIS, that is how long it takes me to imagine, my brain is slow

#making-mods-general message

wheat finch
#

Sign in to nexus for the first time in a while. Comment on my mod that adds a crafting blueprint for the auto-petter. "It's not petting the animals." SIGH. IIRC the auto-petter doesn't actually ever visibly pet the animals it just functionally makes the animals have the flag for the day, yes? So in theory this "issue" has nothing to do with the mod right?

lucid iron
#

Assuming you are just a content patcher mod, it's unlikely to be your fault

wheat finch
#

100% content patcher. It was my first ever mod I made. I have no coding skills.

lucid iron
soft lance
lucid iron
#

C# is just funny Microsoft flavored java

#

You are right to fear the reflection and IL crimes happening in modding C# though

wraith bay
# soft lance I develop apps for windows/mac/linux, and code games, I'd rather code an applica...

fwiw pixel art is a bit left field from my normal brain space (but i'm comfy in photoshop at least.) i enjoy code but i don't get to spend much time doing anything other than python. i should learn C#.... but shouldn't everyone? that's a very fun fish hook though, and #3 is showing good contrast. i've been trying to get back into pixel art recently myself, found this really useful: https://www.youtube.com/watch?v=lfR7Qj04-UA

The ultimate pixel art tutorial teaches beginners and advanced pixel art techniques. Learn art fundamentals in this pixel art tutorial.

In this pixel art tutorial, learn how to make pixel art. Ever wanted to get started? Have you ever felt overwhelmed by all of the information out there? Well, this is the ultimate pixel tutorial for you.
In th...

β–Ά Play video
uncut viper
soft lance
wheat finch
#

Playing a diff farming sim and thought my goat was wearing a sweater and now I want a mod for SDV that lets you put sweaters on your barn and coop animals...if i could art I would make it myself if one doesn't exist.

clever turret
#

Is the trigger for the random gifts in the mail able to be modified with content patcher? I've been digging through the unpacked files and haven't been able to find anything that seems to set the flag for their being sent
I'm looking to disable some of the random gifts after a certain trigger is flipped

gaunt orbit
pine elbow
#

coding is hard yet i still feel insecure about myself inspite of progres

gaunt orbit
#

If nothing else the build tools are better

lucid iron
#

yes it's a good flavoring for the most part

red egret
#

Create custom TV furniture.
I want that too. Can only MMAP do that?

gaunt orbit
#

Furniture Framework can too I think

wheat finch
#

Hi Wren! Long time. How's it going?

gaunt orbit
#

Hey! Yeah wow it's been a while
Things are a mess but I'm staying optimistic

wheat finch
#

Virtual hugs. I'm sorry. Sounds stressful.

pine elbow
#

think i can get good

brittle pasture
#

(posting here cuz only relevant for mod makers) To coincide with the release of Fast Farm Fabrications, Carpentry Catalogue is now also the Blacksmith Bulletin, adding the ability to specify custom blacksmiths that upgrade/deliver your tools/weapons/kegs/etc. after a few days! pls dont ask why it's not a separate mod
https://www.nexusmods.com/stardewvalley/mods/32864

Nexus Mods :: Stardew Valley

Adds a menu to Robin/Wizard's that allows easy scrolling through buildings, and provides a framework to add extra Robin-like carpenter NPCs or Clint-like blacksmith NPCs.

verbal narwhal
#

if

  "msg.2": "The frog seems happy today.",
  "msg.3": "*croaks*",

 private string PickRandomMessage(GameLocation loc)
 {
     var pool = TwoFrogsToday() ? TwoFrogsMessageKeys : OneFrogMessageKeys;
     string key = pool[Game1.random.Next(pool.Length)];
     return this.Helper.Translation.Get(key);
 }


 private static readonly string[] OneFrogMessageKeys =
 {
     "msg.1","msg.2","msg.3","msg.4","msg.5","msg.6","msg.7","msg.8","msg.9","msg.10","msg.11","msg.12","msg.13"
 };

 private static readonly string[] TwoFrogsMessageKeys =
 {
     "msg_2f_1","msg_2f_2"
 };```

what did I do wrong for i18n?
pine elbow
#

??

verbal narwhal
#

ah and the first 3 lines are in my default.json

#

and the other two blocks from modentry.cs

brittle pasture
verbal narwhal
#

yes

brittle pasture
#

can you post your full i18n just in case

#

and make sure the file's deployed to the right place

verbal narwhal
brittle pasture
#

your JSON file is missing a comma at the end of the log.noReward line

verbal narwhal
#

ohhh!

#

thank you!

#

I have added the json validators for visual studio 2022 but somehow I cannot find them in the menu

pine elbow
#

were all of you bad at the start

hard fern
#

πŸ€” i'd say it depends on how much prior modding experience/knowledge of whatever it is you're doing. like, i definitely have never done pixel art of written json before i started modding. i'd like to say i've improved over the years though

calm nebula
#

Bold to presume I am not, actually, currently bad

wraith bay
#

i'm bad to the bone, actually

karmic gust
#

Yes, it took me a loooong time to feel like I had a grasp on what I was doing, but practice and trying over and over again really help!

hard fern
#

i think it definitely helps that i tend to pick up new things pretty fast, but there have been times i felt like i was going nuts wondering why my mod won't work 😭

wraith bay
#

no matter where you are in your journey, everybody benefits from community.

pine elbow
#

yeah even with adhd and autism i think i can do this i just thank this community for dealing with me

lucid iron
soft lance
#

🀣 😭

pine elbow
#

thanks

soft lance
#

i was very little so

soft lance
hard fern
#

i couldn't come up with a good enough name for my character in dnd so i just named her Rock

arctic jungle
#

I hope this is the right place to ask πŸ€ͺ

I am making a custom farm, and I am struggling to get the beginning cutscene to work properly. All that happens is Robin walking onto the screen then my character appears at the edge of the screen but just sits there in the walking animation. I have updated the bus stop entry location a few different times and nothing changes, I have made sure that it isn't behind the warp location. If anyone has a clue on how to fix this, that would be great!

hard fern
#

too mod brained i said npc instead

verbal narwhal
#

oh golly, I am trying to come up with messages that could be displayed for 1 frog and 2 frogs but I can only think of vines q.q

brave fable
#

imo it's worth thinking about learning programming as you would learning a language. there's a whole world of it already out there, you're expected to start from nothing but maybe intuition and relation, and as much as you study how to be better at it, the only way to become better is to speak it with someone who understands it -- in this case, your computer

calm nebula
#

Can you post a gif

verbal narwhal
#

2 frogs... chilling in a frog tank... 5 ft apart!

arctic jungle
verbal narwhal
# soft lance i was very little so

I mean, I am playing a Harengon in my current DnD campaign with a cute but haunted pet fox creature that is as small/big as my character myself - and I am an adult woman that does taxes, so no need to explain yourself!

brave fable
gaunt orbit
#

raises hand

soft lance
gaunt orbit
#

Bites you bites you bites you

soft lance
soft lance
gaunt orbit
arctic jungle
devout otter
verbal narwhal
#

02:27:14 TRACE FrogTankFrogEgg TwoFrogsToday=False

 {
     try
     {
         if (Game1.netWorldState?.Value?.hasWorldStateID("sebastianFrog2") == true)
             return true;
     }
     catch { /* ignore */ }

     foreach (var f in Game1.getAllFarmers())
         if (f?.activeDialogueEvents != null && f.activeDialogueEvents.ContainsKey("sebastianFrog2"))
             return true;

     return false;
 }


 private Texture2D GetFrogPortraitFor(GameLocation loc)
         {
             return TwoFrogsToday()
                 ? (_frog2Portrait ??= Helper.ModContent.Load<Texture2D>("assets/portraits/frog2.png"))
                 : (_frog1Portrait ??= Helper.ModContent.Load<Texture2D>("assets/portraits/frog1.png"));
         }
    

 private void ShowFrogDialogue(GameLocation loc, string text)
 {
     Texture2D portrait = null;
     try { portrait = GetFrogPortraitFor(loc); } catch { }

     var dummy = new NPC(new AnimatedSprite("Characters\\Robin", 0, 16, 32), Vector2.Zero, 2, (string)this.Config.Frogname);

     if (portrait != null)
     {
         dummy.Portrait = portrait;

         if (NpcPortraitField != null) NpcPortraitField.SetValue(dummy, portrait);
     }

     var dia = new Dialogue(dummy, "FrogTankFrogEgg:custom", text)
     {
         showPortrait = (portrait != null)
     };

     if (portrait != null)
         dia.overridePortrait = portrait;

     this.Monitor.Log(
     $"[FrogDialogue] showPortrait={dia.showPortrait}, speakerPortraitNull={dummy.Portrait == null}, gameOptionShowPortraits={Game1.options.showPortraits}",
     LogLevel.Trace
     );
     this.Monitor.Log($"TwoFrogsToday={TwoFrogsToday()}", LogLevel.Trace);

     Game1.currentSpeaker = dummy;
     Game1.activeClickableMenu = new DialogueBox(dia);
     Game1.dialogueUp = true;```
#

stupid sebastianFrog2 doesn't seem to work as two frog detection mechanism q.q

calm nebula
arctic jungle
calm nebula
#

Wait what did you set FarmHouseEntry to?

arctic jungle
calm nebula
#

On your map, what tile is that

arctic jungle
calm nebula
#

Hmmm

#

And all those tiles are normally walkable

verbal narwhal
#

can't I detect with c# if any frams of a certain location range/rectangle from a certain spritesheet are being loaded inside a farmhouse/cabin and make that a condition?

arctic jungle
# calm nebula Hmmm

Yup they are all on the back layer so I don't have any issues walking on them as long as I don't hit the warp tiles at the edge

calm nebula
#

What are those tiledata

#

NpcBarrier?

arctic jungle
calm nebula
#

Huh. No idea then, sorry!

arctic jungle
#

It's all good and thanks for trying!

clever turret
tiny zealot
#

this is for the mail key that's just their name, right?

#

if so, those have some sort of hardcoded chance corresponding to your friendship level with that NPC of being sent on a given day, and they can be re-sent whenever afaik

#

anyway you can either 1. conditionally edit that mail with Content Patcher, so you'd pick your requirements based on what CP has available with its tokens, or 2. delete that mail and set up a replacement with trigger actions, which would give you total control

#

if this is for a new NPC i would just do the second one and not use the plain name key

brittle pasture
lucid iron
#

selphcore

brittle pasture
#

(in my defense the reason I didn’t spin that one out is because I can’t take the aquatic crop feature with it, given that n mods (with n > 0) using it)

drowsy pewter
#

Did i hear new crop feature

brittle pasture
#

I wanted to eat both SpaceCore and Hybrid Crop Engine

drowsy pewter
#

hmmm intriguing

#

I would be down to swap multiple drops to this framework

#

if discussions at Cornucopia HQ go as intended, still hoping to do another mod that has wild/aquatic crops with weirder mechanics than the main one

hard fern
#

i like to imagine it's a giant round table like those fancy businesspeople have in their business meetings

drowsy pewter
#

yes its a giant round table with me sitting there waiting for everyone to get back from their lunch break lol

drowsy pewter
#

anyways check that out

tame burrow
#

Mod teams are fun. Ours is usually 3 people ping ponging ideas back and forth and 1 person taking notes. Cuz we'll forget in 20 minutes what we had just talked about without a scribe

brittle pasture
#

is that flavored cooking I spy

drowsy pewter
#

Yeah i tried doing it two days ago but the reason it didnt work was because i was using category_fruit instead of category_fruits

#

classic 6480

#

(anyways, sprite is awful, ignore that)

hard fern
#

nice error items

drowsy pewter
#

thanks i worked hard on those

tame burrow
drowsy pewter
tame burrow
#

Same. If it's not written down it will Disappear Forever

sleek flint
#

Does anyone know how to make the game reload an image asset? I am fine with either CP or C#.

tiny zealot
#

patch invalidate the/asset/path will cache-bust it so the next time somebody needs it it will be reloaded

drowsy pewter
#

we have a secret little patch to a few vanilla color context tags so that like, tuna makes red sushi instead of blue

#

...nobody will notice that, right? That probably doesnt need a config toggle does it?

#

The way salmon is color_salmon but tuna is color_blue....

hard fern
#

SDVpuffersweats isn't tuna... Yknow...

#

Red on the inside

brave fable
drowsy pewter
#

oh i've had context tag cooking coded for like 8 months now

#

Just... not tested, exactly

#

blueberry, i have a beta for the lite version of cornucopia cooking, if you ever want to try it out

brave fable
#

sure, it'll be good to test it all works alright

drowsy pewter
#

Dope, I'll send it over in a bit

brittle pasture
#

since you're here can LOC consider exposing a cooking API so I can abuse it for flavored cooking support

brave fable
#

uhhh it has a very limited api from 2021 that you shouldnt look at

#

not actually sure how i'd structure a modern one

drowsy pewter
#

the idea of loc, context tag cooking, and flavored cooking working together makes me feel like I'm collecting the infinity stones

brave fable
#

i think if you want an api for cooking you're gonna have to PR it yourself

uncut viper
#

you could also make a 4th cooking mod opf your own

drowsy pewter
#

Yes that sounds good

brave fable
#

i wouldn't know what exactly you need without an incredible requirements sheet

brittle pasture
#

I'll think about it

#

while at work instead of working

brave fable
#

or like, a draft of method signatures and expected return values

#

entry points, etc

uncut viper
#

i would like one that returns nutritional label information for FDA compliance

brittle pasture
#

(basically something like BC's post cook event handlers where I can get the list of ingredients + the output item that I can swap out using properties)

#

(but yeah I'll take a look at LOC's source some time)

brave fable
brittle pasture
#

(unfortunately that'd still miss out on the context tag cooking part, and I'm not sure I'm qualified enough to change that part for LOC)

#

(wait did LOC support that now)

brave fable
#

fortunately i know someone who is

brittle pasture
#

hmm, someone like... redcherry?

brave fable
#

πŸ₯ͺ

#

i did in fact briefly go by red cherry

drowsy pewter
#

I can't dm you blueberry you may have to initiate the convo lol

brave fable
#

i think if we're Discord Friends it'll go through

#

surprisingly the context tag cooking changes weren't that dramatic, just took a little braining

#

move all the ingredient matcher methods out of the cooking manager, replace all recipelist references with a generic method that forms an item-quantity list from whatever recipe input, override for spacecore recipes to handle its type-value-matcher-quantity implementation, do the same for the actual compare-match behaviour, and then just move all that to its own class for easy custom ingredient matchers

uncut viper
#

oh is that all

brave fable
#

does need a little PR to spacecore to expose the match method though so it's blocked for now

#

well compared to rewriting the entire ingredient matcher it's very simple

#

i suppose i could just reflect the match method but that's not very future-forward

#

and i need to fix the description -> dispayname problem anyway

drowsy pewter
vapid oak
#

@wraith bay @mellow laurel Hi, very sorry for the delay! It's much easier for us to see role requests if they're DM'ed into Bouncer rather than pinging SDVpuffersquee Could you add yourselves to the list of modders on https://stardewvalleywiki.com/Modding:Community please and ping me when you have?

wraith bay
#

Oh sure @vapid oak I was just following the guide in the roles channel.

mellow laurel
vapid oak
#

@mellow laurel @wraith bay Perf, thank you both! You should be all set with your new cheeto dusting

#

congrats PandaExcite

wraith bay
#

Yay, thank you so very much for your time. Appreciate it!

mellow laurel
#

thanks so much! SDVemoteheart

verbal narwhal
#

omg

I got my one-or-two-frog-detection system spagetti code to work!!!!!!!!!!!

drowsy pewter
#

adorqble

verbal narwhal
#

now I can finally sleep lol
I was laying in bed and couldnt stop thinking about stupid frames and just had to finish this

stark spindle
#

well deserved

verbal narwhal
#

just one quick question before i shut my pc down

can i get a new dialoguebox/page (click to advance) with this directly in i18n default.json?

with which of these 3 options? im confused
```/// <summary>A dialogue code which splits the subsequent text into a separate dialogue box shown after the player clicks.</summary>
public const string dialogueBreak = "$b";

    /// <summary>Equivalent to <see cref="F:StardewValley.Dialogue.dialogueBreak" />, but wrapped with command delimiters so it can be added directly to dialogue text.</summary>
    public const string dialogueBreakDelimited = "#$b#";

    public const string multipleDialogueDelineator = "||";```
gentle rose
inland rain
#

how would I go about finding a voice actor for a four word voice over for a mod?

gentle rose
#

are you looking to commission one or for someone to do it for free?

inland rain
#

commission

hard fern
#

πŸ€” i dont think ive ever seen anyone doing voice over comms

gentle rose
#

I'll forward this to someone I know who does them just in case they're available

inland rain
#

thanks! must be female btw

#

or a female voice anyway

gentle rose
#

forwarded! if they're interested, should they just dm you?

inland rain
#

yes please!

gentle rose
#

perfect, I'll let them know

tame burrow
#

rubber duck mod has gotten slightly out of hand (you can now infuse pretty much any item with a rubber duck, and grow multi colored rubber ducks)

obtuse wigeon
dusky sail
#

fun game where i try to figure out why i put "add machine rules" to my to-do list.... what machine rules was past me planning on adding

drowsy pewter
#

me when i wrote "do quest" 8 months ago and didnt write down any ideas about the quest

dusky sail
#

well did you do the quest

gray bear
#

"add gift tastes" ???

calm nebula
#

....wild guess

drowsy pewter
calm nebula
#

Hollow knight?

dusky sail
#

well i dunno what machine rules past me wanted to add in but it did remind me to make sure my mushrooms can actually go in the dehydrator

#

thats just adding a context tag but. i was still reminded!

hard fern
#

I leave cryptic notes for myself with no information and then i stare at them like "wtf is this"

dusky sail
#

like for the most part these are understandable. even gift tastes is like. ok i gotta decide who likes what then code that out

#

then just. machines.json

#

what do u want from me

hard fern
#

Lmaoo

#

The elusive machines.json

calm nebula
#

Do you have special fish pond items

dusky sail
#

like items the fish pond produces? yeah

#

i just didnt feel like deciding what my fish would want at that time so i put it off til later

vital lotus
#
      "Name": "DisplayFrame",
      "Value": "{{Random:{{{{LocationName}}Option}}}}",
    },```
Is there a way to use CP token to refer to a config token?
Like when LocationName is Desert, it'll call a config token, which has some values
"DesertOption": "Desert1, Desert2, Desert3"
And DisplayFrame token value will be one of those 3
#

in that form it gives parsing error...

calm nebula
#

No

hallow prism
dusky sail
#

i dont think you can nest tokens inside each other.... im trying to think if you could reword it to be like {{a}}{{b}} instead of {{a{{b}}}}

hallow prism
#

some of this stuff can be done with dynamic token, depending of the need

dusky sail
#

im thinking it was just a case of past me going "well i dont know if ill want to add any machine rules so ill add this just in case!" but im still scrolling through the list of big craftables in case something springs to mind

hard fern
#

Hmm dybamic token... Can you stick a when conditioner onto a dynamic token

hallow prism
#

yes

hard fern
#

Oh cool

hallow prism
#

        {
            "Name": "GiftAnswerAster",
            "Value": "Distant",
        },
        {
            "Name": "GiftAnswerAster",
            "Value": "Friend",
            "When": {
                "Hearts:AsterPellegrinVMV": "{{Range: 5, 14}}",
            }
        },```
calm nebula
hallow prism
#

        {
            "Name": "HamletProgress",
            "Value": "0",
        },
        {
            "Name": "HamletProgress",
            "Value": "{{query: {{HamletProgress}} + 1}}",
            "When": {
                "HasFlag: anyPlayer": "Lumisteria.MtVapius_QuestMoonPodsFlag",
            }
        },
        {
            "Name": "HamletProgress",
            "Value": "{{query: {{HamletProgress}} + 1}}",
            "When": {
                "HasFlag: anyPlayer": "Lumisteria.MtVapius_QuestNightMiscanthusFlag",
            }
        },```
drowsy pewter
#

if you're calling from a list of options, what exactly is the player configuring

calm nebula
#

But more realistically, I had a lot of //refactor

hard fern
hallow prism
#

i use that in translation keys

#

{{i18n: AsterGiftLoved{{GiftAnswerAster}}}}

drowsy pewter
#

I would suggest having in the code your patch image being something like {{LocationName}}_{{FrameOption}} and {{FrameOption}} being {{Random: 1, 2, 3}}, however the random may or may not update when switching locations, not sure

hallow prism
#

to avoid the classic vanilla case of "how do you know i like that???" from your 10 year spouse

vital lotus
hallow prism
#

note that for gift tastes, you may want to test if $query is working

#

which may be better overall but when i was young we didn't have $query

drowsy pewter
#

or not even use a dynamic token but just do {{LocationName}}_{{Random: 1, 2, 3}} tbh

hallow prism
#

kids those days are spoiled

calm nebula
#

You can also use local tokens for smth similar now

vital lotus
drowsy pewter
#

So if they dont set it in the config, it uses a random frame?

vital lotus
#

I have default set

drowsy pewter
#

What is the random doing?

vital lotus
#

to pick one of the frame to show if there's more than 1 specified

drowsy pewter
#

Or what is it intended to do?

#

So the config is a multiple choice? SDVpufferthink

#

Maybe just show me your whole file

vital lotus
#

nah just type in

#

I think I overdid the config that time

#

There's comment it lags down when entering interior map and I'm thinking of way to cut things down

drowsy pewter
#

I have an idea, but just want to make sure. What do you want to happen if LocationName is invalid? Like for example you're on a map that has no displayframe options, if you try and search for a config with the LocationName then it's going to give you an error

#

(not that you can search configs like that, but i just want to clarify)

pallid shadow
#

people here are way too smart

#

they need to be nerfed

#

fr fr you guys need to be less smart

finite ginkgo
calm nebula
#

That patches LooseSprites/Cursors in tiny bites

cyan venture
#

Hi guys, is there a way for me to check if a particular interior is using assets from a certain content patch?

calm nebula
#

Not really no

#

Why?

hallow prism
#

well by looking at the files you may kinda know

#

but it requires knowledge of the mods adding assets

cyan venture
#

oh never mind i found a way, patch export is also a way

vital lotus
vital lotus
calm nebula
#

Yes

#

Because they are the slow patch and you are the patch that makes it happen all the time

vital lotus
#

What happens all the time?

#

Wait... So even if I only patch that part of cursor their patch would also got checked everytime this got called?

hallow igloo
#

is this anything or do I send Pathos a message that there's a bug in the schema file?

calm nebula
#

Their patch would re apply every time yours changed yeah

vital lotus
#

So update onlocationchange and ontimechange would be very performance heavy on such assets...

#

Dang

brave fable
#

content patcher doesn't do partial patches. if one change invalidates the asset (e.g. via update rate), all changes targeting that asset need to be reevaluated and reapplied

gentle rose
hallow igloo
#

tyvm <3

gentle rose
#

in the meantime, you can use https://github.com/irocendar/SMAPI/blob/cp-schema-fix/src/SMAPI.Web/wwwroot/schemas/content-patcher.json as the schema instead of the normal one (edit: correct link)

vital lotus
#

In that case there's little to gain by trying optimize even more of the patch...

#

Hmmm

gentle rose
#

let me make sure I got the right link, one sec

gentle rose
inland rain
gentle rose
inland rain
#

thanks for setting it up!

gentle rose
# hallow igloo this one doesn't work xD

I'll have a look in a bit then SDVpuffersquee it worked last time we tested it but that was last month. try these ones? (use the first one that works, if any)

https://github.com/irocendar/SMAPI/raw/refs/heads/cp-schema-fix/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
https://github.com/irocendar/SMAPI/raw/139dd2660060d30386ba75cc5cf258670439fa0e/src/SMAPI.Web/wwwroot/schemas/content-patcher.json
https://github.com/irocendar/SMAPI/raw/02ac41a970d9113bf3d266db1c00678f836d3dbd/src/SMAPI.Web/wwwroot/schemas/content-patcher.json

drowsy pewter
#

I'm so interested in a mod that uses voice acting, but only for four words

brave fable
#

"Alexa, please play Despacito."

hallow igloo
#

"If only I spoke"

#

"don't look behind you"

drowsy pewter
#

DH, i havent tried the meep beta version yet. I've been distracted by the 157 other features in my mod that need attention SDVpufferpensive

calm nebula
#

How is your quest

inland rain
#

technically only two words, but one of them has to be said three times

brave fable
#

there's a lot of SDVdemetriums mods out there

#

but this is maybe the most SDVdemetriums one yet

blissful panther
lucid iron
#

Do you need a voice actor because sesame street copyright lawyers

inland rain
#

I need a voice actor because ernie sounds too male

#

need a female option

lucid iron
#

Equality YuniHappy

inland rain
#

I made an ai version, but why use ai?

#

sorry, it's a bit loud

lucid iron
#

Maybe u can hire someone from fiverr

inland rain
#

I did look at fiverr, but someone here set me up with a voice actor who plays stardew lol

inland rain
lucid iron
#

A franchise

inland rain
inland rain
#

oo I can have it choose a sound file based on the farmer's gender

karmic gust
cold marsh
#

Is this possible? Machine takes 10 items of specific context_tag, player has 5 of Item 1 and 5 of Item 2 with context_tag, interaction with machine takes both the 5 held items and the other 5 in inventory

drowsy pewter
#

it will not work

#

the game needs them all to be in one stack together afaik

#

same reason why you cannot use the same item with multiple qualities in a vanilla machine

cold marsh
#

Thought so, thanks for the confirmation

lucid mulch
vital lotus
verbal narwhal
#

does the vanilla game ever refer to you as the player as you besides when eating a starfruit? because writing out "you tap at the glass" as text that gets displayed when the player does something somehow feels off to me (no idea why)

tiny zealot
#

it does a few times, but i avoid doing it myself because i also dislike it

#

i think one of them is like alex's dresser or something. it says "you dig through alex's stuff" or similar

brave fable
#

i prefer the narrator-style, and i've only noticed the game using that, too

#

e.g. You've got some new ideas to sleep on...

tiny zealot
#

yeah, check Strings/StringsFromMaps for the map inspection ones

#

e.g. "JoshHouse.7": "You peek into Alex's drawer. There's clothes, hair gel, and a box of gridball trading cards.",

#

(i could go on a long tirade about this, but i think every one of these is stronger if the first part is simply omitted)

drowsy pewter
#

smh CA wasnt checking his styleguide

brave fable
#

imo it doesn't really work when written in the first-person since it feels more like a recount/account of what happened, rather than what's currently happening

verbal narwhal
#

yes I think I will just go with *tap* *tap*

drowsy pewter
#

i like that

vital lotus
drowsy pewter
#

its the little things in life that bring me joy, like tortilla being solidly off-center

dusky sail
#

why would you point this out. now i can never unsee it

#

brb making a mod that centers the tortilla and does nothing else

brave fable
#

add high priority and you can market it as Tortilla Recolour Remover

tiny zealot
hallow igloo
brave fable
#

my hangup in the food sprites is crab cakes. why are they blue. from where

tender bloom
#

Idk I see 2px on the left

#

I think it could be fixed

#

They say there’s β€œblue crabs”

brave fable
#

they look like cookies with sprinkles

tender bloom
#

(I am allergic to crabs so I am not an expert)

dusky sail
#

its blue sprinkles

#

for flavor

tender bloom
#

Maybe it’s blueberries

#

Do blueberries go with crab?

tiny zealot
#

the classic crab seasoning, Old Blue

verbal narwhal
#

im looking at the event modding resource spreadsheet but honestly I cant find (based on the descriptions alone) a good sound for the player tapping at glass
does any of you more experienced players/modders know if "crystal" or "clank" would work for that?

drowsy pewter
#

seems like the color hex is green and he didnt have a grasp of color theory at that point yet

#

I can only strive to be as free

gray bear
#

if i can find the crab cakes on spring objects

verbal narwhal
#

thanks a lot!

tiny zealot
verbal narwhal
#

ohh thank you both so much!

tiny zealot
#

props to button for making it after i threatened to make it several times but never did

gray bear
#

yeah it's green

#

color theory goes brr

brave fable
#

i know cooking isnt the focus of the game but looking at crab cakes does make me just a little more sad

gray bear
#

their stack is a bit, confusing

drowsy pewter
#

On the contrary i love it

tender bloom
#

Looks as edible as ever to me SDVpuffersquee

verbal narwhal
#

color theory fries my brain and aseprite isnt very friendly for hue shifting :(

drowsy pewter
#

Mizu draws pretty food sprites and I fungle them up to match

tender bloom
#

Sometimes I contemplate whether i should eat crab cakes in the game

gray bear
#

yes

tender bloom
#

I don’t eat hazelnuts in the game

tiny zealot
tender bloom
#

Because they’d kill me irl

gray bear
#

stack would be mroe like this? thonk

blissful panther
#

I think the biggest reason they're stacked is that they're a plural, and you can't really draw a crab cake in 8 horizontal pixels. SDVkrobusgiggle

brave fable
#

farming fields of wheat would kill me irl and yet here we are on the farm

#

indulge in escapism

verbal narwhal
#

I have never seen or heard of crab cakes irl and honestly I like to imagine it as a sweet cake with crab flavoring, like chocolate cake but with crabs

tender bloom
#

I don’t actually want to eat hazelnuts tho

gray bear
#

but like that just looks like cake

#

i made fruit cake

tiny zealot
#

i don't eat fish irl but you better believe my farmers horf them down like there's no tomorrow when they need energy on a fishing trip

brave fable
#

i'm guessing crabcakes are just fishcakes with crab and fishcakes are just the best thing to come from mankind in the last few hundred thousand years

drowsy pewter
#

crab cakes are op cus the speed

tender bloom
#

Part of it might be that my play style mostly doesn’t involve eating, like when I fish I just go home when out of energy or I eat a bit of seaweed

tiny zealot
#

crab cakes buff lasts (near as makes no difference) all day. v good

tender bloom
#

The fish is precious precious income

gray bear
#

noms the fish

tiny zealot
#

if i still have time i horf the fish. every fish you eat gives enough energy for at least 3 rod casts

gray bear
#

crab cake irl, i see what mister ape was going for

tiny zealot
#

obviously i eat the cheap ones first

brave fable
#

gambling. and the fish pay for it

gray bear
#

i have never ate crab cakes

soft lance
dusky sail
#

i was doing so well speedrunning tortilla-centering mod then i was met with my greatest enemy... counting (to figure out the to-area of the image edit)

gray bear
#

programs have pixel locations

#

atleast mine does

dusky sail
#

youve told me this after i already counted

soft lance
# inland rain

Do u talk to fish like they're a dog and they just drop into your inventory? SDVpuffersquee

gray bear
#

tortilla coord if u miscounted

dusky sail
#

thank u. i counted right. absolute win

gray bear
#

damn, ur better than i am lmao

tender bloom
#

I also check divisibility by 16 usually

#

Since it better be the right divisibility at least

dusky sail
#

i counted the number of sprite columns/rows then subtracted 1 and multiplied by 16

gray bear
#

classic math person /hj /lh

#

ah u counted tiles

#

smart

dusky sail
#

ok i fixed the tortilla. now do i upload this tiny mod or do only i get recentered tortilla abilities

drowsy pewter
#

I have a mod that changes a single pixel in the game

#

And whats more, people downloaded it,

dusky sail
#

ur so right

#

should i mention you as the person who made me realize the tortilla was off center or would you rather your contributions remain anonymous

drowsy pewter
#

Lmaoooo

#

I can point out more weird stuff if you like

dusky sail
#

trying to scope creep me?? on the tortilla recentering mod??

gray bear
#

πŸŽ™οΈ

#

no one is safe from scope creep

dusky sail
#

i will gladly accept scope creep. but not here.... not today...

drowsy pewter
#

would you add compat for my pita bread ?

dusky sail
#

.......maybe

drowsy pewter
#

I'm just kdding, i moved it jsut to take that screenshot

#

altho maybe ill keep it

#

its cute

gray bear
#

off center flat bread

verbal narwhal
#

are tjere command delimiters so i can make a sound play (and add that directly to a dialogue text)?

soft lance
vital lotus
soft lance
#

Used to call it Petah bread SDVpufferwaaah

dusky sail
drowsy pewter
#

Yeah this is hilarious

drowsy pewter
dusky sail
#

Obviously the only solution is ichor's suggestion of a mod that re-uncenters it

inland rain
#

and they jump out of the water

drowsy pewter
#

I'll get right on that

drowsy pewter
#

banned from mod community for tortilla shenanigans

dusky sail
#

Instead. Rival mod that makes the tortilla even more off center

drowsy pewter
#

Your brain is massive

dusky sail
#

It just starts clipping into the sprite next to it

blissful panther
#

Oh no. Is this the new mayoverse?

gray bear
blissful panther
#

We are overdue a bit of a modding meme explosion. SDVkrobusgiggle

dusky sail
#

I did also tell myself that after i posted my next mod id let myself get cheeto dusted.... but i didnt know this would be the next one. Either way its bedtime no cheetos now

lucid iron
dusky sail
#

If you really think its worthy

drowsy pewter
#

it is

hard fern
#

I can't believe i scrolled up so far only to get fish homfing, tortillas off center, and the mystery of crab cakes

brave fable
#

eagerly awaiting 'tortilla moved 1px further right and slightly overlapping red plate'

gray bear
#

tortillaverse incoming

hard fern
#

What if we moved the tortilla vertically instead

lucid iron
#

Blueberry since u are here, do u have water flow for 1.6 somewhere

rigid musk
#

what if expand tortilla

lucid iron
#

Even if it's just git commit for me to build

gray bear
#

move it so it replaces red plate

#

invisi-tilla

brave fable
blissful panther
lucid iron
#

Ah did it never break I'm sorry for assumptions

brave fable
#

yes that's right 😌 how dare you expect my mods to be broken by default

lucid iron
#

I wanted to patch draw water tile to decouple it from cursors

brave fable
#

not like there's a solid year of precedent

lucid iron
#

So that people aren't slamming it with location change edit image

brave fable
#

anyway hopefully you don't need to actually understand the water flow code

#

somehow it's maybe my most arcane scripture to date

lucid iron
#

Do u mind if i send in a PR to fetch the texture and source rect from [not yet decided source probably just map prop] once I do this

#

I don't plan on changing the actual dimensions of the water overlay

brave fable
#

if you can find a way, sure

#

so far though it's proudly my only working mod still at version 1.0.0

#

it just flows(tm)

lucid iron
#

well if u feel attached to this i can just transpiler ur prefix it's fine

brave fable
#

whichever works better SDVpufferthumbsup

lucid iron
#

I'd just be targeting the final draw call so it'd be literally the same transpiler

digital verge
#

Can anyone give me some advice? I have been trying and failing to remove one of the entries for the train station. I believe the menu is added with Central Station. With the nature mod, and the aquarium mod, the insectarium shows up on the bus stop and central station. The aquarium also shows up in central station and the train station in the mountains. I removed the entry for the insectarium at the bus stop, but i cant figure out what to use to remove the entry at the mountain train station.

latent mauve
#

Are you trying to completely erase the access, or just make it so that the insectarium can only be reached by boarding a bus or train while at Central Station?

digital verge
#

I dont like the fact that theres a doubling up of access to the insectarium, I want everything centralized to central station. It seems silly to have it set up and then have all the mods using it accesible with either the bus or the normal train station you know? Maybe thats just me. Im putting together a mod pack for friends. I got the insectarium to hide properly. But no matter what I do to it the option to go to the aquarium at the regular train station doesnt work.

latent mauve
#

I believe you should be able to target the original stops and add the Condition shown in the example there to limit the option so it only appears when the player is in Central Station

digital verge
#

Interesting. Ill look into that option. I was jerry-rigging the question dialouge display. Which worked for the vanillla bus stop but wasnt working for the train station stop.

drowsy pewter
#

You're welcome

finite ginkgo
#

monumental things happening in the modding community right it seems

brittle pasture
brave fable
#

oh my god

#

why in 2019 did i name this mod sailor moon hairstyles and clothing and kimono

#

why didn't i name it tailor moon...

brittle pasture
#

it’s not too late to correct it

brave fable
#

is 6 years too long....

brave fable
#

tailor moon (aka sailor styles - formerly sailor moon hairstyles clothing and kimono)

drowsy pewter
lucid iron
#

Wizard.

gray bear
#

didn't know scale up 2 let u do crimes

hallow prism
#

i am sure a mod named tailor moon will be perfectly normal between whatever going on with tortillas

obtuse wigeon
#

Embrace chaos, change the unique ID

gray bear
#

do not

lucid iron
#

If u keep the original nexus title it'll still be searchable

#

But are u gonna upload new version just to change the name

gray bear
#

main issue with fun mod titles is searchability

tiny zealot
#

you absolute clowns. you buffoons. you fustilarians /lh

calm nebula
#

How

latent flame
#

-# ....why am i here

drowsy pewter
blissful panther
#

Must... make... tortilla mod...

#

No, after the MEEP update documentation.

#

...maybe?

drowsy pewter
#

meeptilla

#

Fuck me I have another mod idea and it's two hours past my bedtime

obtuse wigeon
#

tortillas are the new mayo

tender agate
#

the tortilla must be off center in a different way every time you look at it

drowsy pewter
#

saving grace is, i cant make it unless meep is updated

#

DH let's collab

calm nebula
drowsy pewter
#

It has a mind of its own

lucid iron
#

I'm glad atra and i had identical reactions

#

Tortilla mod...

true coyote
#

6480 thinkin THEY GOT JOKES

#

bout to catch my fightin hands

#

πŸ‘ŠπŸ»

drowsy pewter
#

I dare you to try

zenith sapphire
#

Guys I'm testing my mod but it's just me or it seems the chance of fishing are a bit weird? tried to catch 10 fishes , 10 of them where the same exactly fish even if the percentage are almost equal for others

#

It's like 99% of the highlighted fish and 1% the others

tender bloom
#

What’s your locations data?

true coyote
zenith sapphire
zenith sapphire
#

Want me to show the entire json?

#

Oh i noticed now i miswrote the ID

tender bloom
#

I think the question is whether your full locations data (probably via patch export) looks weird in some way, though I did think that the mod that shows fishing chance just casts 100x to see what it gets?

zenith sapphire
#

In some places it works without problems

#

In others seems the chances are very low and not matching like the one FishingInfoOverlay says

lucid iron
#

Fishing info overlay is monte carlo

#

It probes for what is possible by actually trying a fishing so if there's loads of other fish your rates will be impacted

zenith sapphire
#

So like , 8% means that in 100 catchs i will get 8 of them?

lucid iron
#

Yeah

#

Approximately anyways, it's not dervied by maff proof

#

Actual fishing chances is complicated probability stuff

fair hull
#

Hi guys. I feel really stupid, because i try to make a little, really simple mod to work, but, he doesn't want to.

I just want to make a mods that will change the apparence of the seeds in the game... (and later, it i can make it work, for mods too). But i only have like, 10 lines, and that DON'T work at all T^T

Can anybody can tell me what i do wrong? Because i try to check for other mods that do the exact same things, and i truly don't understand what are our difference.

I supose that the error are inside the "changes" codes, but... I don't understand at all.

(The codes and the error are in the images above)

hallow prism
#

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

fair hull
#

Thx i will check that

latent mauve
#

In this case, it looks like it might be as simple as a comma missing before "Changes" after your "ConfigSchema" block, but the JSON validator will tell you which line the issue is on, or in the case of a missing comma, it will be the line before it

verbal narwhal
#

How do I know if my mod needs content patcher?
I’m correct when I think I don’t need it if I’m writing it in c# and some Jsons (manifest, content, i18n default) and not calling IContenrPatcher?
I’ve been looking through the wikis but in general I’m confused how/when to make a mod that uses both custom new c# as well as another framework or content packs. Or can anyone direct me to any mods I should look at to learn from?

latent mauve
drowsy pewter
#

no

gentle rose
latent mauve
#

You closed out the entire JSON with your 3rd closing curly brace @fair hull

#

I am referring to the one in the validator if it helps

#

Screenshot and what you have in the validator are not exactly the same

fair hull
#

Ok, so i close it too soon

#

but if i didn't close it there, where should i close it? πŸ€”

obtuse wigeon
latent mauve
#

Basically, you have a { before "Format", which opens the JSON and you don't want to close that with an ending } until at the very bottom of your file

#

So you need to make sure the number of { and } matches up so that happens

lucid iron
#

You do not need to require content patcher if you are just doing AssetRequested stuff on your own

verbal narwhal
lucid iron
#

That's just because Custom Companions is not a content patcher expansion type framework

#

It needs it's own contentpackfor pack

fair hull
latent mauve
fair hull
verbal narwhal
#

Thanks for your info!
If anyone has a good example for a mod (split in two), one being its one c#, the other with CP, I’d be happy to learn from that

latent mauve
#

If you just want an example of a mod to see the file structure, there's SVE that has C#, FTM, and CP components, but I would not suggest digging into SVE's code for an example for anything, there's a lot in there.

lucid iron
#

But there's no correct way to actually setup the integration

#

Can u tell us more about what's being done in C# and what's in CP?

verbal narwhal
#

Ah nothing yet, but I’m curious on how or when I could do it

#

But I’m considering using BETAS so I can trigger actions from within my dialogue i18n json?

flat sluice
tiny zealot
verbal narwhal
#

Thanks!!

tiny zealot
#

(in particular, there are a few things in there that i would probably do differently if i were writing the mod now, but it dates from 1.5.6)

verbal narwhal
#

Oh yeah I saw the impact of the changes when referencing cabins as farmhouse (and reading what was changed), I’m happy I’m starting out wirh 1.6

golden basin
#

@lucid iron how hard would it be to code into my mod one of my animals having the ability to dig up fully grown crops?

lucid iron
#

Idk if there's a mod that can spawn hoedirt + crop rn NotteThink

golden basin
#

spawn?

lucid iron
#

Maybe u can ask selph about it, see if it fits in with The Mod Formerly Known as MTF

golden basin
#

nah i mean just going up to a crop and picking it

#

like the animal

lucid iron
#

Well you probably still want to ask selph cus this sounds like a EAC feature Dokkan

#

Unless u wanna make like a trinket version of the farm animal in which case yeah you can make them collect crops

golden basin
#

I sort of wanted to implement it in just my mod but I could see if selph wants to do it for their frame work...

lucid iron
#

I don't think there's any content accessible way atm so u need someone's C# basically

golden basin
#

ahhh im a lil nervous @ing them though right now ive been having a rough day.

lucid iron
#

Whose C#? Who knows

#

Well I'll just do it then Dokkan

#

However i think one problem is

#

Do you actually want farm animals collecting crops?

#

They kind of waste a slot if you think about it

golden basin
#

nah just digging them up so the farmer can pick them up automatically

lucid iron
#

Oh in that case it's just normal dig up right? Like truffles

#

Don't need any framework for that

golden basin
#

but i dont want it to be a list crop i put i want it to be crops the farmer is growing

#

like theyll aproach and dig that shit up if its fully grown so the farmer doesnt have to harvest them

calm nebula
#

Isn't that kinda like junimos

golden basin
#

yeah!

#

just they dont collec them in bags they leave em there on the ground

#

i mean i dont have have them do that but itd be really cute

hallow igloo
lucid iron
#

I'll ask selph next time i see em

soft lance
#

Does anyone know why aquariums skip an entire column? I numbered the ones I tested, and it appears that they skip a whole column each time

autumn tide
#

anyone know where I can find the data for the 'shadow guy' thing where you find a shadowperson in a bush and they give you a magnifying glass? I found the event for the part one but sadly can't find the rest :(

calm nebula
#

Hardcoded iirc

autumn tide
latent mauve
#

What did you need to change about the interaction?

#

I think some of the text might be in strings?

autumn tide
#

changing sprites, text, and shadow guy's name (conditionally)

latent mauve
#

Ah

#

Lemme look, I had to fuss with that event a bit since my mod replaces Krobus with Midna

autumn tide
#

ty!

#

tryna look for it in strings but can't find it sadly :(

lucid iron
#

I think the only way you can do it rn is onlocationchange edit image targeting krobus

#

Making assumptions that shadow guy and krobus never appears together

autumn tide
#

yeah, it's the same sprite

lucid iron
#

If you need anything else, it'd have to be done in C#

autumn tide
#

aw crap

#

okay

#

thanks though :))

lucid iron
#

Anything else meaning, somehow have krobus and shadow guy appear together, with different sprites

autumn tide
#

Yeah, in the first event at the bus the 'shadow guy' is just krobus so SDVpufferflat

karmic gust
#

I'm trying to make Sebastian's game event replayable every month but I'm running into a problem. I added a CT set to last a month in the original event, and then made a second repeatable event with the precondition that it doesn't have the original's CT, but the second event keeps playing immediately after. Am I using the preconditions incorrectly?

Here is the json:
https://smapi.io/json/none/7f82f5aacff943b8b41ed15dbfb04111

devout otter
latent mauve
#

Yeah, the only change I made was to a text thing

#

Since I was fine with the shadow guy and Midna being the same person

lucid iron
#

I kinda want to see a mod that does make shadow guy and krobus same person

#

And explain what krobus is doing outside

latent mauve
#

The text does list the "Shadow Guy": as the name, though, so you can change that line, like I did.

devout otter
#

He is stealing magnifying glass, that's what he's doing outside, that thief.

lucid iron
#

What does he want it for

latent mauve
#

In Strings/Locations: "Town_mgThiefMessage": "Shadow Guy: Eeeeep! You caught me! I'm sorry! Take it! Take it! It looked so valuable, I couldn't help myself...",

devout otter
#

If the Shadow Guy and Krobus is the same person, than the hypothetical mod would also need to address the case if we actually meet Krobus in the sewer without ever getting the magnifying glass.

#

Like maybe the line will change.

lucid iron
#

Krobus sends you on a heist of the magnifying glass...

lucid iron
#

Yeah maybe if u met krobus he is like oh farmer look at this shiny thing i borrowed

#

:))))

autumn tide
#

I will change them to different characters lol, working on a side shadowfolk character that's a partial foil to Krobus and plays a major role in cementing Krobus's and Dwarf's friendship events that I'm also adding

lucid iron
#

Subork the cross bridger DokkanStare

autumn tide
#

YES

wraith bay
#

maybe krobus is collecting blackmail material on everyone in town incase they're ever captured. that's the real source of the secret notes

autumn tide
devout otter
autumn tide
#

THAT'S REAL

#

oh or did you just photoshop it lol?

devout otter
#

No, that's real.

wraith bay
devout otter
#

Real as in, it's an actual, unedited screenshot from my mod.

soft lance
autumn tide
lucid iron
#

Is subork an option in the release

#

I thought he was changed to shyguy

devout otter
#

Unfortunately Subork would just have to live in our memories. πŸ˜”

autumn tide
devout otter
lucid iron
#

(make it happen 1 in 100 to Sow Confusion and Chaos)

devout otter
#

But your framework doesn't have a Condition fieeeeld.

autumn tide
lucid iron
#

It's as u said one time so

#

I can add gsq support but it shall become quote hell if I do that, maybe if I delim on ❓ for gsq?

calm nebula
#

Chue, please consider

#

γ€Šγ€‹

devout otter
#

Naw I'm joking. I can't really think of any case where I'd need a Condition field that couldn't be done by When.

#

Like the 🎣 function has taken care of that.

devout otter
lucid comet
#

eya, i've been playing around with modding maps recently and ran into a wierd issue where the traveling-by-bus-cutscene won't end properly, but only the vanilla routes:

  • bus from busstation > desert and desert > busstation dont work
  • bus via central station to desert, busstop, mtvapious and back to busstop work

the whole cutscene plays but at the end the normal ui does not load and i dont get player control back and i haven't seen anything unusual in the errorlog
does anyone have an idea what could be going on/where i would have to poke around to find whats not working?

lucid iron
#

Can you reproduce the problem with just central station

#

And verify that it's not bugged without CS

lucid comet
#

good question

#

let me find out

lucid comet
#

oookay. i removed almost anything (still have the not working map stuffs and the tilesheets needed for that)

#

issue is still there without centralstation

#

i was pretty sure, that i messed up on editing the maps somehow and am missing an (obvious) property/setting somewhere

lucid comet
#

narrowed it down to which map screws stuffs up \o/

#

tyvm for pointing me in the right direction (aka reminding me that i dont have to and maaaybe shouldn't test this on a highly modded save and can just make a testing one puffer_squee )

full mural
#

ay guys

#

can anyone send me a decent tutorial on how to add custom dialogue in content patcher?

soft lance
#

Does anyone know why aquariums skip an entire column? I numbered the ones I tested, and it appears that they skip a whole column each time.

I don't know why it goes from 19 lets say, and when you say "my sprite is 20", it'll skip the entire next column, so for instance...if I said that my fish's sprite is 20, it will go to the octopus, which I labeled as 20, and obviously...that isn't 20 at all, it's supposed to be this little shell guy, but that entire column gets skipped : (

Is this a bug with SMAPI/Content Patcher? Surely someone must know...so far it seems no one knows : (

full mural
#

I have been looking all over the internet and just can't find one

full mural
#

I'm making a mod that makes Pierre bald and I want to add new dialogue for him.

odd ginkgo
#

Hello all, long time no see (FIASA and Ranger Taro here), I'm coming in with a sort of shoutout and open request

soft lance
full mural
#

wait what

#

i just uploaded it today

#

is there another mod that does that?

soft lance
full mural
#

wao

#

dang I'm unoriginal :'(

soft lance
#

oh no

round dock
#

!twocakes

soft lance
#

nevermind its not mod-showcase

ocean sailBOT
#

If you discover that someone has made or is making a mod with a similar concept to yours, don't stress! Our community promotes the idea of "two cakes", where two versions of the same idea can peacefully co-exist. Your mod will have your own unique stamp on it that makes it special.

full mural
#

I took like an hour making all the custom sprites

odd ginkgo
#

my mods need some bug fixes and work, but my irl life has gotten busier and busier (I'm working two full time jobs, accidentally), so I wanted to put the word out that my mods are open... for changes, bug fixes, updates, support, anything

soft lance
full mural
#

and now I want to add dialogue about how the IRS took his hair bcuz he comitted tax evasion.

odd ginkgo
#

no pressure on anyone, but if you feel like fixing something don't worry about permissions

lucid iron
soft lance
full mural
#

ok back to the original question, do you know where I can find a good tutorial on adding dialogue with content patcher?

lucid iron
#

Yeah i was gonna say you might consider setting up git to accept pull requests

#

Otherwise, just change your nexus permissions and then people can upload patches perhaps

odd ginkgo
#

both ideas

lucid iron
#

I hope things get calmer for you irl eventually!

soft lance
#

honestly git is probably a better option, nexus can get messy, at least you have clean and visibly comparable version control

#

though whatever works is the best tbh

odd ginkgo
round dock
odd ginkgo
#

I'll set up a github and spread the word

#

love this community and miss modding a lot, but you need like, at least one leftover braincell to do it haha

#

thanks all!

soft lance
#

everytime i think i finished it

#

i forget that there is another part or compatibility i have to do 😭

odd ginkgo
#

and then new mods come out that have compat issues with yours and you think "omg im so sorry"

lucid iron
#

Ok but u have the boat spot first lol

#

Seniority

soft lance
# round dock I’ve heard good things about FIASA (personally installed it but haven’t gotten t...

Hiii, for your mod "CSS' From Grandpa With Love - An Event Mod", i was gonna use, but I noticed that you didn't add any dependancies, like Content Patcher, in your manifest file, add it in there, I think the site will notify them that they need Content Patcher before installing yours, and not running to your page to figure out why it broke (I've done this plenty of times, even if you made a LED sign showing instructions)

lucid iron
#

Pelican real estate market do be like that and I wouldn't worry about it too much

soft lance
lucid iron
#

Cajcbell is the nexus name, made fiasa and ranger taro and a number of animal related mods iirc

soft lance
#

very nice stuff

odd ginkgo
#

yes, and mostly last updated in May

#

thank you!

pine elbow
#

hey guys need a hug

soft lance
round dock
pine elbow
#

πŸ«‚

soft lance
#

When I click the download button, it does not state that I need to download anything before-hand, which is a minor bug

#

This is the menu it would show, it'd just show you SMAPI, and Content Patcher

#

you do not have that sadly

#

I'm sure it's a very easy fix, probably just a few things you gotta type on Nexus, just wanted to point that out since it is important

brittle ledge
#

The top is the aquarium sprite, the bottom is typically the item sprite (but I don't believe aquarium uses it)

soft lance
round dock
soft lance
#

Do you have any documentation for it?

soft lance
brittle ledge
#

I believe I mention this on the fish tutorial, but I don't cite a specific source, it's just from having worked with fish stuff before.

ornate locust
#

source: fish experience

pine elbow
#

lucy your okay

brittle ledge
#

Source: committed fish crimes

#

(also Nexus doesn't read manifests, FYI, so putting a dependency there and having it in the manifest are two different things)

round dock
soft lance
uncut viper
#

i purposely dont include SMAPI as a requirement on my mods anymore because it just ends up a pointless nexus pop-up that slows down the download process a little bit more

brittle ledge
#

Is there something in particular you feel isn't covered? I'm always open to adding relevant info to my tutorials.

soft lance
#

There is not a single fish modding video in all of youtube, I searched for over 15 minutes..

Realistically, there probably is one, maybe around 1.3-1.5, but I'm sure lots have changed since

brittle ledge
#

Oh, yes, quite a bit. The modding wiki has a fish tutorial specifically, did you see it?

brittle ledge
#

Yeah, so if you feel like I didn't explain something about the aquarium, let me know what kyuuchan_nod2

gentle rose
#

We don't recommend using videos for modding tutorials. Videos are difficult/sometimes impossible to update once posted, and modding changes a lot over time, so the popular video tutorials are almost always out of date. As a result, most people here don't bother making them, which mean that they're both out of date and made by people who sometimes don't have a thorough understanding of modding.

pine elbow
#

im taking a few days off due to burnout and not having a good schedule

soft lance
soft lance
urban patrol
#

i feel like !videotutorial should be a command at this point lol

brittle ledge
#
Stardew Modding Wiki

Adding a new fish to the game has never been easier than in 1.6; nowadays, fish are a simple set of patches via Content Patcher. There are four required steps: you need to load sprite images, define the fish (as an item, and as a fish) and add it to locations. Optionally, you can add aquarium sprites and data, and fish pond data. I'll be using ...

#

(I'm thinking about doing a stream for making an NPC, but I will be clear that 1. It's for 1.6 specifically and 2. Check the tutorial for the most recent info)

soft lance
# brittle ledge https://stardewmodding.wiki.gg/wiki/Tutorial:_Adding_a_New_Fish

Yeah, it sheds some light onto it technically, but it doesn't have an example on most of the possible scenarios, and while that's not expected, it would help a lot. For instance, even with this context, I still don't understand exactly how this works, there is no example that showcases how you can actually have a fish that has more than just 1 photo. For instance, you say " If you want to have a custom animation, list out your indexes here (starting with the index your first frame is on, eg. 0 1 2 2 2 1 0)", this isn't helpful for newer creators, I'm sure it helps out a lot with seasoned modders, but it means little to newer ones, what does 1 2 2 2 1 0 mean? How can I utilize this? While it may be technical to some, and maybe easier for you and others, it still is very foreign to me as a newbie

I'm sure you understand that it fries our brains, lol

brittle ledge
#

Hm, I can add in a bit with the squid as a vanilla example of a animation probably, I probably stole the frames from that SBVLmaoDog

#

Remind me in 1 hour to do that

patent lanceBOT
#

YOU BETCHA (#6848906) (1h | <t:1756939265>)

soft lance
# brittle ledge Hm, I can add in a bit with the squid as a vanilla example of a animation probab...

It would help so much...I'd say that modding fish is very clear, I used your site and it helped me fully understand it, I mostly used your resource. However, aquariums I think just need slightly more documentation/usage examples. I'm just tired and brain is fried. I also recommend to add that the fishies are usually 24x24 or whatever 24x28 too for aquariums, I don't know entirely how it works, I just was following closely to another mod, but am a noob

#

irocendar youve been typing a long time im scared SDVpufferwaaah

gentle rose
# soft lance Yeah, it sheds some light onto it technically, but it doesn't have an example on...

to be honest, since these resources are made by modders for modders, we're all figuring them out using the same reference information and it just isn't possible to have examples available for every single thing, because someone would have to actually write those. The way to go from being a new modder to an experienced one - and a general expectation of these tutorials and references - is to spend time reading through it, testing various versions of things, and asking questions here if necessary.

In the example you use, I'm not familiar with fish content packs, but it looks like it's exactly what it says on the tin - a list of frame indexes for the animation (so frame 0, frame 1, frame 2, frame 2, frame 2, frame 1, frame 0).

#

(hopefully that didn't come off harsh, I swear I'm just a very direct person)

pine elbow
#

taking 3 days off see you

lucid iron
#

When in doubt just look at decompile

#

Or hope you snipe someone around here to look for you lol

soft lance
# gentle rose to be honest, since these resources are made by modders for modders, we're all f...

To be fair, I got no clue on this planet what 0 1 2 2 2 1 0 means, I was mainly wondering why it would skip an entire column, and he said smth but I am not fully knowledgeable on it, cause when I go from Sprite 19 to Sprite 20, it skips an entire column ,I think he mentioned how smth is reserved for each fish idk if it was 24x48 (two spots), but I wouldn't know how to select that either, It's all very confusing.

And yeah, I understand you, it's not really your guys responsibility either, it's the framework's responsibility to create a detailed resource, and if they don't, then that's unprofessional. I come from software engineering, and when we see no heavy documentation for a framework/api, our company straight up refuses to use it, since it's deemed "unreliable".

And no no, you didn't come off harsh at all, don't worry, if anyone its me who is coming off harsh, I'm just frustrated lol

round dock
gentle rose
#

so the thing about it being "unprofessional" is that we're all doing this for free

lucid iron
#

The vanilla game is not public facing software/library

#

We are sneaking around in mr ape backyard lol

gentle rose
#

this isn't our job so we can't expect people to adhere to professional standards

ornate locust
#

It's a very "one guy" programmed game too

#

he's getting more one guys involved, but still

#

so the spaghetti has LAYERS here

lucid iron
#

Atm we r at a point where we can convince mr ape's gardener (pathos) to help us with things

#

But y'know it's not exactly official

soft lance
rancid temple
ornate trellis
#

modding is a hobby tho

lucid iron
#

SMAPI itself is very well documented

#

Most frameworks are as well

gentle rose
ornate locust
#

Framework/API maintainers are also modders

soft lance
# ornate trellis modding is a hobby tho

It's easy for me to make something, but it's not as easy when everyone else asks you how it works when you didn't provide a detailed documentation, regardless

soft lance
lucid iron
#

It's just that your particular thing is vanilla game bit

#

It's not a content patcher feature

soft lance
#

Its not SMAPI I think we are referring to

gentle rose
#

no, like chu said, the feature you're looking at is base/vanilla game

#

but the tl;dr is that nobody is being paid to maintain modding documentation, really - CA and his team are mostly paid to maintain the vanilla game, not a framework, and everyone else are hobbyists

ornate trellis
hard fern
#

My hobby us crying over machine data

obtuse wigeon
hard fern
#

Oh boy the ui is kinda all over the place last time i checked

obtuse wigeon
#

It really is, I had no idea it was so bad!

lucid iron
#

Try patch summary

latent mauve
#

(also if you can screencap what you are apparently missing, that may help narrow it down)

obtuse wigeon
hard fern
#

Oh hmm

#

Gimme a sec

obtuse wigeon
#

part of me is wondering if it's like the panorama background and just a single line of pixels repeated

hard fern
#

and yes the sky is a single line of pixels

#

in cursors

latent mauve
#

There's also LooseSprites/logo

soft lance
# gentle rose but the tl;dr is that nobody is being paid to maintain modding documentation, re...

Taking a step back, I've noticed how several mod creators have joined in on this conversation, primarily because either I am stupid, or I am used to something, and expected it everywhere I go.

To be fair, I understand your point, and while I do know that these are made by people who love it as a hobby, I come from a more corporate land, and I'm very used to documentation everywhere, and was shocked with how little tutorials were made on modding specific aspects of the game.

When analyzing, you did mention (or someone else did) how fast things change, especially with new additions, features, and overall advancements in frameworks/api's, the game itself, etc. Maybe I was a bit harsh in my judgement on some of these people, but it's still frustrating as a new modder nonetheless, and in all my pasion projects, I always documented it for others to use, but at the end of the day, sometimes it's too much for a few people to do on a large mod or framework, and thus they cannot maintain it perfectly when things change, as it's too much for them, and when stardew updates, and impacts their mod, they have bigger things to worry about then documentation.

I appreciate all of the info that you've provided thus far, thank you

obtuse wigeon
#

Mini games is certainly not where I expected the title screen to be at all

hard fern
#

the sky is like... over here iirc

obtuse wigeon
latent mauve
#

Yeah, you have to get both instances of the title screen elements.

obtuse wigeon
#

Ye the sky I've had previous dealings with earlier today, not my fav thing at all

latent mauve
#

Minigames/TitleButtons is the one you're missing

hard fern
#

also menutiles and the uncolored version is in maps

lucid iron
#

Vinilla has a guide for this

#

You can also take look at lavender dreams

hard fern
#

because why wouldn't it be in maps, i guess....

gentle rose
obtuse wigeon
#

wow okay maybe the organisation of these isnt the best, and I didn't know Vinilla had a guide, good to know, thank you!

hard fern
#

binilla...

lucid iron
#

Binilla...

#

Sorry atlas you are not escaping this

obtuse wigeon
#

fat fingered it bahaha, and discord lagged so I could not change it quick enoughSDVpufferwaaah

gentle rose
#

SDVitemtrashilla

uncut viper
# soft lance Taking a step back, I've noticed how several mod creators have joined in on this...

(mod creators stepped in because, unintentionally or not, you blanket applied the word "unprofessional" to all of them if the documentation of their mods is not up to your standards, when that word does not belong in a hobby space at all where people are doing all this for free and fun. i dont think anyone thought you were stupid, but its hard not to take offense. that + what iro said)

gentle rose
#

petition for [bv]in to change their name--

soft lance
hard fern
#

Can you even get more than 60 fps in this game

lucid iron
#

Not without DH's crimes

soft lance
obtuse wigeon
#

I also petition for [bv]in to change their name too

gentle rose
#

I mean, it's a 2d pixel art game, I think the performance is decent but not overly shocking SDVpuffersquee and it's had a lot of performance improvements over time

lucid iron
ornate locust
#

oh that's too many fps

obtuse wigeon
lucid iron
#

How base game works is that the individual draw/update is often much faster than ~16.6ms but you get capped to 60fps anyways

#

Running it at above 60 has uh, Effects let's just say

soft lance
gentle rose
#

and how my mods work is that I throw as much as possible between ticks and cross my fingers it doesn't become a slideshow 😌 (/j, I'm actually somewhat performance cautious, though not nearly as much as some people here obviously)

lucid iron
gentle rose
soft lance
lucid iron
#

There are some very niche systems in vanilla that 0 mods have used monS

hard fern
lucid iron
uncut viper
#

content patcher mods can be some of the most FPS-killing mods out there

soft lance
gentle rose
soft lance
#

for laptop

gentle rose
#

there's an entire mod dedicated to profiling mods to help figure out what's causing lag