#making-mods-general

1 messages · Page 580 of 1

fierce vault
#

You weren’t working on it daily then, which makes sense

torpid sparrow
#

i was documenting my daily progress in smc and it began around the 19th

#

but before then idk how long i worked on it in the summer

torpid sparrow
#

or pretty much daily

fierce vault
#

Yeah, I just meant before release

#

at certain points

#

I’ve gone through phases of extreme interest in my project, and then lost that lol

torpid sparrow
#

the 2 weeks leading up to release probably daily

torpid sparrow
#

i mean modfest gave me a lot of motivation

torpid sparrow
#

and im happy it did bc i like where i took tilly

fierce vault
#

Me too

torpid sparrow
#

we'll see what happens with clark, since that's my next project

severe cairn
#

Yeah same, I started on an NPC the moment 1.6 came out haha, but well... lack of tutorials make good breedingrounds for bunout 😂

ornate trellis
#

just silent watches the convo from the back

torpid sparrow
#

would u like to add some thoughts void SMCPufferSquee

fierce vault
grim glacier
#

Well the answer was deleted and I assumed they were talking about that character that looked like a Jaba from starwars. I want the character shirtless. I removed the first shirt selection in game (SHIRT1) , it foes shirtless now but the arms are missing on side profile of character.

severe cairn
#

Me who has never modded anything ever: what if I made a stardew NPC the moment they changed everything so all the tutorials are outdated
I have the biggest brain

torpid sparrow
ornate trellis
#

i wish i was organized enough to remember when i started my npc lmao

fierce vault
#

I was in panic the moment I released him

ornate locust
#

I wish I was organized enough to remember the actual time I worked on my NPC and what was breaks in between

fierce vault
#

I updated it a few hours later after fixing all the typos

torpid sparrow
#

modfest made people release mods like they never have before (not everyone, but enough)

severe cairn
#

I wonder with mine as well... Mainly cus she was very much not complete 😭 but I got something out, so I feel you
I accidentally included my CSP files in the first one though 😔 and I cant delete it cus nexus rules...

torpid sparrow
#

i would not have released tilly with less than a full set of heart events under normal circumstances but i did for modfest

fierce vault
#

I’d say he’s at a good state now but…

ornate trellis
#

i see the time when i started the portraits was Feb 2023, damn

ornate locust
#

Like I just say it took me like a year and a half but over a month of that was gall bladder surgery related downtime, I could never have told anyone how long it actually took

torpid sparrow
#

its hard to estimate

ornate trellis
#

three years...

torpid sparrow
#

i know specifically for Peeta it took me about 3 weeks

ornate locust
#

And I definitely took a lot of like... week long breaks at least

severe cairn
#

Im eat breath sleeping my mod rn and I'm barely done 😭 scope crept up to me and is evil

fierce vault
torpid sparrow
#

hmm yea that is the risk you run

fierce vault
#

Most are on 1.0.2 or 1.0.3

ornate trellis
#

well, if i didnt have a fulltime job idve probs been much faster, i never really counted the exact time because i didnt always have time to work on stuff and there were moments where i didnt do shit for weeks

fierce vault
#

It’s good enough, but y’know

torpid sparrow
#

you could release it again, anew

ornate locust
#

Some people hate updating unless they are experiencing a problem.

severe cairn
#

I guess one good thing about mine being like. very much incomplete is that most are saving it for later 😭 silver lining

torpid sparrow
#

another chance to hotmod as well, now with something you're happier with

ornate trellis
#

the amount of hiatuses i took while working on the expansion right now is insane. ...and the hiatuses never lasted lol

fierce vault
#

Nah, I just need to release the next major update and actually tell people about it

tepid patio
#

Hey yall Im trying to learn how to create mods from ground floor. I have no experience with coding beyon MATLAB. is there a way I could open the code of the base game or a mod so I can see what it looks like? that way I have a general idea of what im should be trying to learn how to do

fierce vault
#

It is what it is

ornate trellis
#

personally since i turn the fishmonger into an expansion i decided to make a new modpage, but i keep the same unique ID so those who had it before can keep their progress

ocean sailBOT
#

Follow this guide to unpack the game's content files in order to see and explore how the game data is structured.
It's helpful when making your own mods, or just to learn about how the game works!

fierce vault
#

And its’s alright, just not perfect

torpid sparrow
#

unpacking is the first step to access all the files

tepid patio
#

oh perfect thank you I will go look at that thank you so much

ornate locust
tepid patio
#

is content patcher a program I download?

ornate locust
torpid sparrow
fierce vault
fierce vault
ornate locust
fierce vault
#

I have another mod

#

Yeah, maybe

ornate locust
tepid patio
#

perfect thank you

torpid sparrow
# fierce vault first npc.

i dont think ur first npc needs to be perfect by any means SMCPufferSquee i think i've improved a lot from my first one

ornate locust
#

Actually I'd say Content Patcher's like a framework that makes mods work. The person who made it actually is employed coding for the game now

torpid sparrow
#

pathoschild!

latent mauve
fierce vault
#

Yeah, this mod will help me make my other actual "first" npc better

grim glacier
latent mauve
fierce vault
#

the thing I think about is just that if I had not made it for the contest, it could’ve been such a nicer, more polished and complete first time experience for everyone

grim glacier
#

@latent mauve

#

its top left

#

im gonna have to redraw arms

fierce vault
#

(then again, the contest is what made me actually turn the mod from a concept into a mod)

torpid sparrow
#

modfest is a double-edged sword SDVpuffersquee

grim glacier
#

thought they woulda just simplified an overlay not use differnt arms

fierce vault
#

It is

hard fern
#

Re: npcs My NPCs have been in purgatory for like at least as long as ive actually been modding. I don't think I'm ever going to release anything lmaoo

latent mauve
#

Even if you redraw the arms.

fierce vault
#

It is kinda nice to have an actual npc mod released though.

grim glacier
fierce vault
#

It does prove I can do it

latent mauve
#

Lemme check the files, I will see if Data/Shirts already has one that is sleeveless that you can replace instead

brave fable
ornate trellis
#

i technically have a really old npc that i never continued and my very first mod that wasnt a texturte replace was a shop that i never finished either xD first is my sona, second i just made a once a month merchant in my fishmonger expansion

#

i also technically still have my nun and butcher, maybe they will see the light of day one day

grim glacier
latent mauve
#

!unpack

ocean sailBOT
#

Follow this guide to unpack the game's content files in order to see and explore how the game data is structured.
It's helpful when making your own mods, or just to learn about how the game works!

fierce vault
brave fable
#

a nun in a game without god and a butcher in a game without meat. you have my interest

ornate trellis
#

well, she is a nun of yoba

#

why nun? idk man

latent mauve
ornate trellis
#

airyn recently suggested to me if i do it one day maybe i couldve a priestess of yoba apperance for those who dont want nun stuff

#

and tbh i never went past "hes a butcher" with that one lol

grim glacier
#

ill see what I can do. I assume I can change index to 217 doing this now

ornate trellis
#

they came to be when i had my hyperfocus on making random portraits

torpid sparrow
#

the divine comedy ft yoba's inferno, purgatorio, and paradiso

latent mauve
ornate locust
#

people do really Jesus up ol Yoba

ornate trellis
#

i guess i jsut wanted to draw a nun back then

brave fable
autumn tide
#

holy shit that looks awesome

hard fern
#

If you squint the sign of the vessel looks like a crucifix so

ornate locust
#

yeebus

ornate trellis
#

where did i put his portrait...

brave fable
#

either that or he's clueless and has no idea what these butches are he's meant to be selling. luckily he has no customers

torpid sparrow
#

money laundering in void's expansion

ornate trellis
#

found him

ornate locust
#

He sells butches??

hard fern
#

Ive beeb having a hard time deciding on if i want to draw a temple or cathedral of yoba ngl

torpid sparrow
#

LOL

ornate locust
#

I am not for sale, thank you

latent mauve
#

@grim glacier the sleeveless overalls are two shirts to the right of the one that looks like the Wizard's shirt on the shirts.png sheet.

ornate trellis
#

originally there was to be a third npc but i forgot the concept

grim glacier
#

@latent mauve im doing the !unpack command u posted cause my unpacker didnt work

latent mauve
#

Yeah, you want to use StardewXNBHack instead

tiny zealot
#

you really do have to use stardewxnbhack and not any other ones

ornate trellis
tiny zealot
#

some of the stardew assets are Special™ and stardewxnbhack knows how to handle them correctly

torpid sparrow
#

yoba expansion

brave fable
torpid sparrow
#

and then there's the deity that sonny worships in RSV

ornate trellis
#

i cant handle another expansion, this gotta be a team effort /hj

brave fable
#

you can call him Mattio for legal reasons

ornate locust
grim glacier
#

!unpack

ocean sailBOT
#

Follow this guide to unpack the game's content files in order to see and explore how the game data is structured.
It's helpful when making your own mods, or just to learn about how the game works!

hard fern
#

What the fuck

torpid sparrow
#

i dont remember it being that bleak LOL

ornate locust
#

She just dropped it on me while I was minding my own dang business

ornate trellis
#

damn

ornate locust
#

Me: ah what a nice day :)
Her: ||I have taken his afterlife experience so I can exist btw.||
Me: what
Her: nobody's ever gonna speak of this again BYYYE
Me: wait hold on

grim glacier
ornate trellis
#

well, anyway. one day or maybe not these nun and butcher gonna happen.

#

for now i am busy with fishmonger expansion and my ourple recolor

#

very ourple

ornate locust
#

maybe she can be pretending to be a nun of Yoba, but Yoba has no nuns, she just doesn't actually know that, she's not from around here

#

and Yoba followers are just like "weird but you do you, I guess??"

near imp
#

everything is a front SDVkrobusgiggle

ornate locust
#

"we're not really a judgy religion, if you wanna do that, you do it, I guess"

ornate trellis
#

but what about the concept of nun

latent mauve
#

I gotta step away for a bit, can someone else please help Ryaguma if they need it for a bit? ❤️

ornate trellis
#

i really didnt think this through i just was going ooo prettylol

ornate locust
#

They'll all be like "I guess she invented a new thing, this is a personal vow she is doing"

ornate trellis
#

hm, true

ornate locust
#

and she's like "shit they have them back home, what do you mean they don't have them here" and she has to keep going with it

near imp
ornate trellis
#

maybe im thinking too much, i mean downhill got a fairly christianish looking priest too

grim glacier
#

@latent mauve i dont see pack.bat file now to repack

ornate trellis
#

why do you wanna repack?

near imp
ornate locust
#

I feel like mods do tend to Christian up Yobanity in general

grim glacier
#

one file is XNB the other is JSON

near imp
#

we use them "loose" / as they are, in a content patcher mod usually to put them back in the game

craggy goblet
ornate locust
#

all we really got about Yoba to my knowledge is creation god, Krobus thinks they're neat, junimos probably involved???

near imp
#

Content Patcher can take json files and put them into the game, so making the file an xnb file again is not necessary. but there is some formatting required to make a content patcher mod

ornate trellis
ornate locust
#

there's probably some text somewhere I have forgotten

grim glacier
#

the wiki guide says to repack

near imp
uncut viper
#

The wiki guide specifically says you do not need to repack and to use Content Patcher

near imp
#

(i thought it sounded sus that it would say to repack)

grim glacier
#

says theres no need if ur using the patcher*

#

trying to not download it

uncut viper
#

Yes. Use Content Patcher.

tiny zealot
#

you should be using the patcher

grim glacier
#

but guess i need to

tiny zealot
#

there is no advantage to repacking xnb files

ornate locust
#

You should use that, it is better

uncut viper
#

XNB modding has not been the way to mod the game for like 8 years now.

ornate trellis
#

actually the wiki does have a bit that says to repack

#

oddly enough

grim glacier
#

oh the Smart thing

#

I got that installed

near imp
#

SMAPI?

grim glacier
#

yeah'

tiny zealot
hard fern
#

I got bored and designed a priestess outfit mid comvo lmao

brave fable
#

-# iirc there's also a minor performance gain from loading xnb files via CP but thats memories from years ago

ornate locust
#

things to add to the endless mod idea list: Earth mother Yoba with like... different flavors where the Followers of the Vessel (a vessel, to me, implies possibly some incarnation situation) are the more Christiany ones you get in mods and then you have like the hippy earth mother types

#

like Linus just vibing in nature

uncut viper
#

it'd be most performant to ditch CP entirely and only do xnb modding but who wants to live like that

brave fable
#

coexistence is possible. load xnbs with cp SDViconyoba

jaunty shuttle
#

And if you have SMAPI without Content Patcher (or some other framework) you still have to mod using C#

grim glacier
#

So will launching the game with SMAPI repack instantly or do I need to do something on desktop

#

cause content(unpacked) is the folder name

uncut viper
#

You make a Content Patcher mod.

#

You don't repack anything and neither does SMAPI

tiny zealot
uncut viper
#

You need to look at Content Patcher and it's documentation

ornate locust
uncut viper
#

some sort of thing that can patch all the new content in one by one

brave fable
#

ah the good old days of 'hi i merged Ur hairstyles sprites with my other mods and now it's broken please fix'

grim glacier
#

installing content patcher after DL

hard fern
nova gale
#

thanks for the link on that migration thread for 1.6.16 Button

grim glacier
#

now that content patcher is installed what do I do to get the file in the unpacked folder to go to normal content folder

uncut viper
#

You don't.

ornate locust
#

I think the mod would have like an outdoor temple in a ruin led by mainly priestesses and lead into the nature stuff and mention the Followers of the Vessel who'd be the jesusy ones that have like churches and stuff in towns. And the Followers would call the other ones the Children of Yoba or something. They'd have like priests and preachers. They don't hate each other or anything, they just have different vibes. Both the town and forest are full of Yoba's creations, after all.

near imp
#

-# would it be bad if i have whipped up an edit for them to get their transparent top? fireredlily did some of the legwork by identifying a good candidate shirt. but im not sure if they want to learn to mod or just to get it working?

rich seal
#

I am not a brilliant man; I spent almost two hours trying to figure out why my big craftable wasn't showing up in the game. I remade all of its related files at least 20+ times, even stooping so low as to asking a worthless AI (it wasn't helpful, of course). Turns out I just simply forgot to enable it in the content.json file lmao.

hard fern
#

XD

#

"why isn't my patch not working"

Forgot to Include it

grim glacier
near imp
rich seal
grim glacier
#

i editted the json file so it uses the propersprite index but now i need that file packed

hard fern
uncut viper
#

We don't do xnb modding/repacking here, so you're not really going to be able to find help with that here.

grim glacier
#

!unpack

ocean sailBOT
#

Follow this guide to unpack the game's content files in order to see and explore how the game data is structured.
It's helpful when making your own mods, or just to learn about how the game works!

near imp
#

the edited shirt is the "Tank Top (M)", (M for male)

#

(sometimes i dont want to learn a whole new skill either, i just want something to work SDVkrobusgiggle so i can relate)

grim glacier
near imp
#

also i have no idea what will happen if you try to dye it like the description says, so uh idk, probably best not to SDVpuffersquee

#

and with that ill head off to bed SDVpufferchicknight seeya folks, dont let the scope creep bite, or something stickbugSDV

grim glacier
#

Im starting a new character for a playthrough how do I access console just skipped intro

#

Google said enable debug mode first then press f3

near imp
#

the debug command i gave you can go right into the smapi console window

#

to use the mod you need to have SMAPI and ContentPatcher installed, since the shirt mod uses CP and CP runs~ on SMAPI (like most things)

grim glacier
#

so will i not be able to run SMAPI through steam itself gotta load in and do that everytime or?

near imp
#

!launchoptions

ocean sailBOT
near imp
#

this is one way to do it

grim glacier
#

SMAPI just automatically opens a console theres no way I can type

near imp
#

(i really need to get some sleep so im passing on the relay baton)

marsh reef
#

question, im making a whole bunch of things put into one mod, is it looked down upon for using some mods to get the code from just so i dont have to type it all myself? example, the custom house i made, got a mod that just changes the house model and put my artwork on it. if it is do i mention them? or what

meager ginkgo
#

is it bouncer I message if I got a dm from this server about commissions?

dire kestrel
#

yes

hard fern
#

If it would be the same as the other mod if you wrote it yourself, if you copy it it won't matter

marsh reef
#

there is a mod or two im fs gonna be mentioning bc its a lot more work than a simple few lines, but for smaller things i imagine it shouldnt really matter 🤔

hard fern
#

I'd say the thing that matters is if they do something unique that's important to their mod that you really wouldn't need to do in order to achieve your goal

#

Like using a specific set of dynamic tokens of something

marsh reef
grim glacier
#

whats the default key for console using SNAPI in game, tried T / and F3

brave fable
#

SMAPI is the console, there's no hotkey. just use the terminal window

grim glacier
#

how do i open just the terminal window

#

it launches game

urban patrol
#

alt tab out of the game and to the smapi window

#

or adjust your display settings to make the game windowed

grim glacier
#

OMG TY

#

didnt notice console was down there

brave fable
#

the SMAPI terminal window is paired to the game window, and commands sent in the terminal will apply to the game. if you want to use chat commands, you can install the Default On Cheats mod, or go to %appdata%/StardewValley/startup_preferences.xml and edit the first value to allow for chat cheats

grim glacier
#

IDK if i installed transparent shirt mod wrong, its not appearing as Kattia said

#

i put the folder in mods folder

urban patrol
#

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

uncut viper
#

(That said if Kattia tested the mod and it does work and the issue now is just with installation and using it, that would now be modded tech support territory since it would no longer be about making a mod)

marsh reef
#

blueberry rate the snow look

grim glacier
#

OH DEAR LORD WEVE MADE IT

#

Thanks everyuone who helped

#

didnt use that mod though @near imp just deleted the whole sprite sheet for shirts now I gotta just erase the proper one

brave fable
near imp
#

The mod i wrote for you works. I got back out of bed to test it on a male farmer just in case. It shows up just fine in my game. It needs to be correctly installed

#

Im done with this endeavour, best of luck to you

grim glacier
#

Why use more mod when few mod do trick

autumn tide
nova gale
# hard fern XD

For me it's usually "oh. Forgot to copy the new version into the Mods folder"

toxic topaz
#

does anyone know why a custom npc might not be moving even if their schedule is seemingly correct?

ornate locust
#

HAve you slept a day since you changed their schedule?

#

or installed them or whatever

#

Schedules are set at the start of the day, so always rest a day

toxic topaz
#

yes i have, but still no changes

torpid sparrow
#

any errors in ur console?

#

did u include ur json?

toxic topaz
#

ah, wait. error about an infinite loop

#

despite me having something to stop that from happening...

#

let me fix that and see if it does anything

nova gale
#

posted this in the wrong channel: does anyone know, if I make a mod option to allow an have (or not have) the not_museum_donatable contexttag (people keep either whining or not whining that a set of items can be donated to the museum), will this cause issues with the completion achievement?

#

mostly I'm just tired of the dueling banjos of "these are donatable and there isn't any room!" vs "these show up grayed out on my collections menu but I can't donate them!" since the collections tab doesn't seem to look at the not_museum_donatable context tag when determining what to show

toxic topaz
#

idk i tried fixing it by adding all 4 season lol, i guess it didnt work though

modest dagger
#

post ur error log

toxic topaz
ocean sailBOT
#

Log Info: SMAPI 4.5.2 with SDV 1.6.15 build 24356 on Windows 10 (10.0.19045.0), with 14 C# mods and 3 content packs.

urban patrol
modest dagger
#

yea i don't see any problems with the schedule itself do u nic

toxic topaz
#

well those are just other mods, idk. i just forgot to delete them

urban patrol
torpid sparrow
#

^

brittle pasture
urban patrol
nova gale
royal stump
nova gale
#

i'm just not sure it wouldn't impact the achievement if folks enable/disable the setting

royal stump
#

(and idk much of anything about how the collection UI works)

nova gale
#

and yeah, it doesn't impact the acheivement itself currently (if you have items that appear but can't be donated)

#

but it's still probably the most common comment on dwarven expansion that "omg the dust is in the mineral collection tab and I can't donate it even though this doesn't actually matter in the slightest!"

toxic topaz
torpid sparrow
#

needs to be megumin_sleep not Megumin_sleep

brittle pasture
#

yeah it's a binary flag; you either finish the museum or you didn't
and it checks the count upon a fresh donation

torpid sparrow
#

it has to be all lowercase thats a quirk of the sleep anim

urban patrol
#

you need to use the token lowercase

#

{{Lowercase: {{ModId}}_Megumin_sleep }}

nova gale
#

but, if tha'ts being fixed in 1.6.16 maybe I'll just ignore it

brittle pasture
#

waiting's also an option yes SDVpufferrad

toxic topaz
#

okay ill try out the lowercase, hopefully that works

nova gale
#

(also: why is the codebase 1.7 if the patch is 1.6.16, my brain!!!)

urban patrol
toxic topaz
#

but would that single uppercase really make my npc not move for anything at all? even when shes not trying to go into the sleep animation?

buoyant moon
#

was debugging for 20 minutes trying to figure out why some tokens weren't working before I realized I forgot to include the blank load 🤦

urban patrol
#

maybe. i've never seen that infinite loop error before

toxic topaz
#

yea i keep getting the infinite loop error, idk why

toxic topaz
#

damn, 237 files failed to validate??

torpid sparrow
toxic topaz
#

yea good thing that was caught

#

i mean... it didnt change anything lol. so... idk

urban patrol
#

send your log again

buoyant moon
#

I noticed the base game using backslashes for string tokens everywhere so I guess that's fine? e.g. with target Strings/Durinthal.LoveInTheAir containing dsv.abigail.subject as a key, seems like both of these work:
[LocalizedText Strings/Durinthal.LoveInTheAir:dsv.abigail.subject]
[LocalizedText Strings\Durinthal.LoveInTheAir:dsv.abigail.subject]

toxic topaz
mellow laurel
#

does it have to be 0610 and not 610

urban patrol
#

no

toxic topaz
ocean sailBOT
#

Log Info: SMAPI 4.5.2 with SDV 1.6.15 build 24356 on Windows 10 (10.0.19045.0), with 14 C# mods and 1 content packs.

torpid sparrow
#

can u send ur content json

torpid sparrow
#

hmm looks fine

#

this is odd

#

Characters/schedules/{{ModId}}_Megumin

#

this might be it?

#

i dont know

#

is schedules supposed to be capitalized

urban patrol
#

no

toxic topaz
#

nvm

torpid sparrow
#

oh yeah its lowercase

#

i have no clue whats wrong

toxic topaz
#

uhhhh, this is confusing

urban patrol
#

if you take out the CC schedule point what happens

toxic topaz
#

let me check

modest dagger
#

i do love how there's no standard way to layout an npc's code so everyone's is just a mess compared to each other

#

like i have a disposition file separately but i've shoved all my animations into my content except for my big animations which are in schedule

toxic topaz
#

so just have her walk into town?

mellow laurel
#

this comment from Button in the past might explain it

#

is the CC unlocked?

toxic topaz
#

yes it is

#

well... i unlocked it using cheat menu

#

idk if theres a specific flag besides that

urban patrol
#

that's probably an issue

modest dagger
#

try having a schedule that has her sleep outside so it has something to fall back on

toxic topaz
#

oh hey shes moving

torpid sparrow
#

oh yeah that sounds like the issue button described

toxic topaz
#

thats the only thing i changed

torpid sparrow
#

spring doesnt work, but its the only fallback, so infinite loop

modest dagger
#

my backup schedule just has Neith doing dishes all day, her very own purgatory

urban patrol
#

when in doubt, remove schedule points and slowly add them back in until it breaks again

torpid sparrow
#

when in doubt burst into tears bc modding is hard sometimes

urban patrol
#

sorry for all my typos i'm wearing my drawing glove

modest dagger
#

every aspect of it, like having to draw a damn town

#

why'd i do this to myself

toxic topaz
#

for me drawing has been the hardest part PES_Hands the coding is just bruteforcing until something works

torpid sparrow
#

art is very slow </3

modest dagger
#

yes it is

urban patrol
#

looking good so far tho!

toxic topaz
#

now i dont know how to get her sleeping thing to work 😭

urban patrol
#

did you do what i said earlier

modest dagger
toxic topaz
urban patrol
#

well then we'll need more information than doesn't work

torpid sparrow
#

dont wanna

#

also a boat and i dont wanna

modest dagger
#

felt

hard fern
#

Honestly

#

I drew a house

#

And then redrew it

#

😭 and now i feel like redrawing it again

toxic topaz
misty ivy
subtle spear
ocean sailBOT
#

Log Info: SMAPI 4.5.2 with SDV 1.6.15 build 24356 on macOS Unix 15.7.3, with 21 C# mods and 3 content packs.

buoyant moon
toxic topaz
#

okay im very lost at this point lol. On the spacecore docs it says the "ScheduleAnimationExtensionData" is the dictionary, and the animation Id from "Data/animationDescriptions" is the key... but this doesnt really make any sense for what im supposed to do? Im confused how after altering the example for the animation i want (https://smapi.io/json/none/2e43d76cd17d4da8b8d7b342084d5358) im not sure how to progress from there at all.

subtle spear
toxic topaz
#

i mean i just plopped both frames for my sleeping animation down below the first 4 rows for the walking animation

urban patrol
urban patrol
toxic topaz
#

uhhhhh, i dont think i made an edit to data/animations? is that just me inserting the spritesheet for the character?

urban patrol
#

the only way to define animations is by making a patch that edits that asset (and that's my bad, it's data/animationDescriptions)

toxic topaz
#

no that isnt your bad 😭 because idk what that is either

subtle spear
urban patrol
#

look in your unpacked data for the asset, and see [[Modding:Schedule_data]]

urban patrol
urban patrol
#

yes, i didn't know if you had made edits since what you last linked

toxic topaz
#

ahh, so id do an edit data for that file, and include my characters animation in there?

urban patrol
urban patrol
subtle spear
urban patrol
#

only if you want a pause there

buoyant moon
#

I was thinking that for (break)/ as well but not sure if the game actually needs a command there (would just try something like (break)pause 1/)

subtle spear
#

Now I'm even more confused DX

urban patrol
#

you need to have exactly as many (break)s as you do answers to the QQ

#

but you don't need to have any pauses UNLESS you're doing QQ + switchEvent and the first command in the switched-to event is a speak command. you don't need to worry about that

subtle spear
#

I tried it without the last (break) in the fnal one but it still didn't work DX

#

before I added it in thinking it would fix it

#

I can send a log without that last one if you'd like!

urban patrol
#

i don't need a log. you need to remove the \\ before every (break) and /

#

\\ is just an escaped slash, which essentially turns into a slash after it's been handled by the game. if you were to change every \\ into a /, you would see that you would have times where you would have an empty field with no command

#

(do not actually change every \\ into /)

subtle spear
toxic topaz
#

or do i have to separate them by another row or something...

urban patrol
#

i don't think you're gonna find anyone with an answer, because 48 doesn't divide nicely into 64 unfortunately. you might have to experiment until you get it right, or redraw it/move it to be 32 x 32

toxic topaz
#

i guess ill just try to experiment then yea

urban patrol
#

here's an example of how you would count 32 x 32; the bottom ones would be 18 and 19

misty ivy
#

Peaks in, haiee,, how do I make my custom map change which tilesheet it references based on weather? Made a custom house, and I also made rainy variants variants (named "{season}_Rainy_AbelHouse.png" except for winter)
Im aware I need to use the when command but what command actually changes the tilesheet? (Or do I have to do stuff in Tiled?)

toxic topaz
#

whats confusing me is that my sprites cant be put in squares like that... since they're just two long ones ontop of eachother

urban patrol
misty ivy
latent mauve
toxic topaz
#

so im not sure what would be considered a unique indice

urban patrol
#

as long as your tilesheets are prefixed by season name then the game automatically chooses them for outdoors locations

latent mauve
#

nic, it seemed like they didn't necessarily just want seasonal, they wanted rainy, etc.

toxic topaz
#

ill just experiment and see what happens then

urban patrol
urban patrol
latent mauve
#

But yeah, short answer for the map question:

  • Load your seasonal custom maps
  • Create an EditImage patch using the same targets as above with a When condition that checks the weather
subtle spear
urban patrol
#

it's after R10

subtle spear
urban patrol
#

no worries we were all beginners once

misty ivy
latent mauve
#

Usually it's "Maps/{{ModId}}_YourLocationName" or something along those lines.

urban patrol
#

(might i suggest Maps/{{ModId}}_YourLocationName_tilesheet)

latent mauve
#

^ that'd be better in this case

misty ivy
latent mauve
#

Targets are game assets which do not use file extensions

urban patrol
#

(since the map is likely to be loaded to just Maps/{{ModId}}_YourLocationName)

toxic topaz
#

hmmmm... idk, feel like my npc just kinda hates moving inside of the community center

#

tomorrow ill see what actually unlocking it without cheatmenu changes. too sleepy to figure the rest out

urban patrol
#

it's extremely hypocritical of me, considering MY very first patches were trying to get NPCs to live in the community center, but you should know that the CC is especially cursed

toxic topaz
#

i believe it Gladge

latent mauve
#

One of many reasons why I made my NPC apartments mod xD

#

Avoiding cursed locations.

urban patrol
#

a godsend truly

latent mauve
toxic topaz
#

its essential to my mod that my character lives in an abandoned building tho

latent mauve
#

ah, I see

toxic topaz
#

idk, i just need this one thing to work and im pretty much done with the community center

latent mauve
#

Just be aware that several mods change the Community Center, so you may run into compatibility problems later.

#

You don't have to make your mod compatible with any of them, just be aware that you may get reports about it later.

urban patrol
#

even completing bundles changes the CC

toxic topaz
#

yea, when the pantry bundle gets completed im planning on having it just making her room look better or something

#

instead of restoring the pantry lol

latent mauve
#

Be aware that room appearances in the CC are cursed prior to full completion.

urban patrol
#

that sounds very difficult, best of luck

latent mauve
#

Useable Community Center ran into that issue, the kitchen and rooms reload itself so my patches don't work until it's completely finished.

urban patrol
#

yeah literally the only area i could patch was the hallway beneath the bulletin board

toxic topaz
#

i might be able to get around that issue because any changes would be purely visual... idk

#

thats a problem for future me

latent mauve
#

Visual changes are the least likely to work, tbh, that's what I mean about the map reloading itself

#

The only way you'd be able to guarantee it changing is if you changed everything used on the tilesheet for that map, which, some of it is also used in other places.

#

Most mods won't even try to touch the community center until it's finished because of the reloading behavior

misty ivy
latent mauve
urban patrol
subtle spear
#

Her dialogue actually said the pause part then the event broke 🙁

latent mauve
#

Yeah, you are missing the part needed to split the event commands

urban patrol
#

it looks right to me? 🤔 what are you seeing lily

#

my eyes are probably tired

latent mauve
#

(break)faceDirection seems wrong to me without something there, but I'm double checking

urban patrol
#

that should work afaik

#

i thought aly was referring to it breaking at the /pause 500/move Gus 7 0 1

latent mauve
#

I'm still splitting the whole thing up

subtle spear
#

I do have an issue with the farmer not facing correctly for some reason

#

once they're warped

urban patrol
#

the farmer breaks easily during events

subtle spear
#

but I figured i'd fix that later lol

#

i just need to get it from point A to B lol

urban patrol
#

or do you mean you see something cursed like the farmer's neck is broken

latent mauve
#

It's just the last quickQuestion where it breaks?

misty ivy
urban patrol
latent mauve
#

found a missing quote, Aly!

#

speak {{ModId}}_Rosalie {{i18n:RosaliesFlareUp.R9.3}}\"

urban patrol
#

eagle eyes!

latent mauve
#

you missed the \" before that i18n

misty ivy
latent mauve
#

that looks like the only mistake, but that would start the message AFTER the i18n and on the /pause 500

#

so it would be "spoken"

urban patrol
subtle spear
urban patrol
latent mauve
#

Spacecore for special sized animations, mhm.

urban patrol
# misty ivy Oo I did hear about that

it's very handy, and also makes it so that if you ever happen to change your mod id, you don't have to worry about finding and replacing everything

urban patrol
#

actually maybe ichor would be interested in adding that to ECC

misty ivy
urban patrol
#

@tiny zealot do you want to explore oversized animations in ECC

urban patrol
misty ivy
#

Yippee ::3

#

Also, do I need to load in my rainy tilesheets like my seasonal tilesheets or no?

subtle spear
urban patrol
subtle spear
urban patrol
#

so that other mods such as recolors can edit them

#

you may have to fix tilesheet climbing after moving them, but it's worth it

misty ivy
#

Nods nods

subtle spear
misty ivy
#

Speaking of tilesheets and stuff- I know I wasn't supposed to but I just put copies of the vanilla tilesheets I used in my map into my assets folder (I just wanted to see if my code worked and the tilesheet climbing pmo 😭)
How am I actually meant to reference the vanilla tilesheets? (Hopefully there's a decent way to untangle this mess..... 🫠)

ocean sailBOT
#

You can use the Tilesheetinator tiled extension to create Stardew Valley maps that work in-game without having to copy vanilla and modded tilesheets back-and-forth, rename files with a . in front of their name, edit maps only in the unpacked content folder or make symlink workarounds.

See the mod page for full installation and use instructions.

urban patrol
#

it's gonna take some untangling but never fear

latent mauve
#

And your reference in the tilesheet is relative

urban patrol
latent mauve
#

Meaning no .../../ or anything like that in front of the image source

subtle spear
latent mauve
latent mauve
#

The important thing is that you don't try to reopen your map in Tiled once you've removed the vanilla files from your mod folder, or you'll get errors.

urban patrol
subtle spear
#

ooohh ok one sec

misty ivy
#

Moment of truth,,, will my edits work,,,

#

Okay I fear I may be using the {{ModId}} wrong

#

[Content Patcher] Ignored Abel NPC Mod > custom location '{{ModId}}_Abel_House_Outdoor': the Name field can only contain alphanumeric or underscore characters. error,,

#
        {
            "Name": "{{ModId}}_Abel_House_Outdoor",
            "FromMapFile": "Assets/Maps/Custom_Abel_House_Outdoor.tmx"
        },```
i may be doing this very wrong lmao
marsh reef
#

for any who've helped me with these so far and/or are curious 🤓

urban patrol
subtle spear
#

like by her nose

misty ivy
subtle spear
#

ooohhh i see now lol she never lay in the bed properly before so this is new xD

marsh reef
#

chat how have i not even noticed there's stripes

subtle spear
marsh reef
#

it... it what

#

oh wow

misty ivy
subtle spear
# marsh reef it... it what

outside of the saloon! George floats inside and so did my custom NPC Rosalie xD so I made a ramp for her and its a big part of her story now lol!

marsh reef
#

the hospital next to pierre's reminds me of leafe being with the shop

subtle spear
marsh reef
#

😨 tiktoks

subtle spear
#

theres instagram too or youtube if you want xD

marsh reef
#

lemme get my ipad out and some open mouth coughs ready before the yt shorts

#

i think i need to figure out map patches some day bc i wanna make multiple parts of the town be animalcrossing-ified while not fighting with other mods and forcing neither to load

subtle spear
marsh reef
#

💀 buff evelyn?

subtle spear
#

Buff Evelyn is probably my favourite headcannon xD next to George the Good xD

marsh reef
#

is george cannonically evil? what

subtle spear
#

i have a drawing of it i need to publish xD

inner harbor
#

Now he gets a ramp.

subtle spear
#

That's amazing! 😄

#

It makes me so happy seeing people mod the game to be more accessable

inner harbor
#

Hes not in the museum anymore

#

When he was, Gunther had to help him, hut i suppose they could have installed a lift.

subtle spear
#

BUFF GUNTHER

#

he and Buff Evelyn go to the gym together

inner harbor
#

Lol. I also have George visiting the saloon in my mod and completely forgot there was a step. Gus really should put in a ramp

subtle spear
#

Oh yeah DX well, my mod he puts one in and I ended up making it a big part of the story with George and Rosalie

#

for now we have George the Good floating 🙂

inner harbor
#

That's cool! My npcs only visit the saloon at noon.

#

I didnt want the hassle of evening compat!

subtle spear
#

mine lives inside cause Gus is her uncle and the dining room was turned into her bedroom xD

inner harbor
#

Jasper ends up with a proesthetic

#

What happens when ppl need the dining room?

subtle spear
#

I love that! I'm gonna have to download it once Rosalie's in beta!

#

Too bad xD well, i haven't tested it yet but i have Gus telling everyone the dining room is out of commission

misty ivy
#

SEASONS WORK!!! YIPPEEEE

inner harbor
#

So they cant date Alex if your mod is installed?

misty ivy
marsh reef
inner harbor
#

Also note that Caroline and family have dinner their regularly, so you'll neednto change their schedules.

subtle spear
inner harbor
#

(Some mods use it too).

inner harbor
#

The room isnt just there for decoration alas.

subtle spear
#

well i guess they're having dinner in Rosalie's bedroom xD

#

hope she likes company xD

#

also, mod related question! How does one open the doors to rooms in events? I have no idea and i can't find anything on how to do it

#

even in Vanilla

inner harbor
#

Its really sinple but not very specifc.

#

Its merely /doAction X Y/ iirc.

misty ivy
inner harbor
#

Where X Y are the tile coordinates and it does whatever action is linked to that tile.

#

Bushes shake, doors open.

subtle spear
#

ahhhh ok so like /doAction 11 9/ ?

inner harbor
#

I believe so

subtle spear
#

I'll give it a shot! Thank you!! 😄

inner harbor
#

Its used in Clint's 2 heart event in the saloon if you want a reference

subtle spear
#

That's really helpful! Thank you! 😄

#

Omg I didn't name my NPC Juliet because of you xD I just realized she's your NPC!

inner harbor
#

Ppl can have the same name, just not internally. But thank you.

#

(Its funny though cos Rosa is Juliet's GF if you go rival hearts)

subtle spear
#

all good! I think Rosalie suits mine better anyway xD

#

OMG that's amazing xD Shane calls Rosalie "Rosa" 😆

inner harbor
#

Rosa was Rose originally but someone else had that name

#

And that was before we could namespace.

subtle spear
#

ahhhh Rosalie goes by Rosa, Rose, and Rosie depending who it is

#

welp

inner harbor
#

So duplicate names were a PITA.

#

Did u know there's a nephew for Gus too?

#

If u wanted to go the whole hog with compat!

#

(Gus could come from a huge family)

subtle spear
#

absolutely! xD

#

well Rosalie grew up in Pelican Town until she was 12 and then moved cause of the war and moves back 20 years later when the farmer is there

#

it's entirely possible!

inner harbor
#

Anyhow, Gus's nephew is Mike NPC.

#

He was released the same day as Jasper but isn't as actively maintained

subtle spear
#

I'll look into it! I wonder how many long lost family members he has now xD

brave fable
#

is NPC his middle or family name

dawn saddle
#

Hello, i bought the Game in Google play but i can't found smapi to Android, can someone help me pls?

long jungle
dawn saddle
#

Sorry, i am new here

inner harbor
misty ivy
#

@urban patrol hey! so the tilesheet change for the rain isnt working- I'm not getting any errors, it's just not doing anything

#
            "Action": "EditImage",
            "Target": "Maps/{{ModId}}_Abel_House_Outdoor_z_AbelHouse",
            "FromFile": "Assets/Maps/Custom_Tilesheets/spring_Rainy_AbelHouse.png",
            "When": {
                "weather": "rain"
            },
            "Update": "OnLocationChange",
        },```
here's the code
the other seasons are the same, just with the filename changed
urban patrol
misty ivy
urban patrol
#

no worries i don’t mind

#

good night!

misty ivy
tardy hatch
#

What season is everyone else on Stardew Valley?

meager ginkgo
tardy hatch
#

I meant like is it Summer, Spring, Winter or Fall

rain inlet
#

24 on my perfection save

rain inlet
tardy hatch
#

I’ve got the Fall

rain inlet
#

spring yr3 on my modded save, winter yr6 on my perfection save

tardy hatch
#

This is mine

meager ginkgo
tardy hatch
#

Who’s 🤦🏼‍♀️ 💩

#

Sorry @meager ginkgo
But the other one doesn’t let me send pics

meager ginkgo
#

pics can be sent if you level up by sending messages, or you can send them in #images-and-memes

inner harbor
#

I just started a new save to test marriage to Corwin

marsh reef
tardy hatch
#

Very nice @marsh reef

next quarry
misty ivy
#

Figured that would probably be an issue- so I need to add When statements with the seasons as well?

next quarry
# misty ivy Figured that would probably be an issue- so I need to add When statements with t...

eg.

{
  "Action": "Load",
  "Target": "Maps/{{ModId}}_Abel_House_Outdoor_z_AbelHouse",
  "FromFile": "Assets/Maps/Custom_Tilesheets/spring_AbelHouse.png",
  "When": { "Season": "Spring" }
},
{
  "Action": "EditImage",
  "Target": "Maps/{{ModId}}_Abel_House_Outdoor_z_AbelHouse",
  "FromFile": "Assets/Maps/Custom_Tilesheets/spring_rainy_AbelHouse.png",
  "When": {
    "Season": "Spring",
    "Weather": "Rain, Storm"
    },
  "Update": "OnLocationChange"
},
misty ivy
#

Oo okay gotcha

next quarry
#

not too sure if this works, this is just how I would try to make it work, there might be a better way still kittypets

timber pilot
#

do I type something in here to make a question dialogue or do I need to make a bunch of logs

next quarry
# misty ivy Oo okay gotcha

also leave one Season without a condition, as a default, probably exatly Spring from my example SMCKekLmaoDog just to be sure if there is a mod out there that adds a new seasons that it can load something

hard fern
timber pilot
#

I meant entry

hard fern
#

depends on what kind of question you're going to write

timber pilot
#

a question with answer options

#

like when abigail asks if she should dye her hair

hard fern
#

follow the question guide, it should tell you how to format it

misty ivy
next quarry
misty ivy
hard fern
#

yes

next quarry
#

yes

timber pilot
#

ok thanks

misty ivy
#

atp it might be something with my files or something, since the code seems to be working fine with no error messages

#

I'll check it out tomorrow or somethin, I should be studying anyway lmao

#

It's nothing much if it doesn't work, it's not the most important thing- if nothing works then I'll just move onto sprite work

sharp hornet
#

Hi everyone 🖐️ is it possible for a mail to only be adressed to farmhands and not the host ? i use Content Patcher

next quarry
# misty ivy atp it might be something with my files or something, since the code seems to be...

you could also try using Load instead of EditImage for the rain conditions aswell. Also maybe using priorities might help in that case?
But might be something to keep in mind for next time after studying kittypets
eg.

{
  "Action": "Load",
  "Target": "Maps/{{ModId}}_Abel_House_Outdoor_z_AbelHouse",
  "FromFile": "Assets/Maps/Custom_Tilesheets/spring_AbelHouse.png",
  "When": { "Season": "Spring" },
  "Priority": "Medium"
},
{
  "Action": "Load",
  "Target": "Maps/{{ModId}}_Abel_House_Outdoor_z_AbelHouse",
  "FromFile": "Assets/Maps/Custom_Tilesheets/spring_rainy_AbelHouse.png",
  "When": {
    "Season": "Spring",
    "Weather": "Rain, Storm"
  },
  "Priority": "High",
  "Update": "OnLocationChange"
},

(I used Spring again, sorry but you get what I mean SMCKekLmaoDog)

unreal spoke
#

Wouldn’t it make more sense to use CP and dynamic tokens? I missed the start of the conversation, but something like a dynamic token that’s empty when there’s no specific conditions and "rainy" during rain and storm should work.
That way, you could do a single load from {{season}}{{weather dynamic token}}_AbelHouse without any conditions.

#

(Also, I don’t think you need to use OnLocationChange. There’s no way to change the weather mid-day, right?)

next quarry
#

sounds pausable to me, never worked with that before so I didn't know it was a thing :D

next quarry
merry river
#

Is there a framework that adds a GSQ for how many of one item has been produced in a machine? Or some sort of workaround with existing GSQs? My idea was for a quest mail to be sent after the player has received x of a certain machine output

misty ivy
unreal spoke
#

Pretty much, yeah. I’m on mobile (and at work, lol), so I can’t give you a concrete example, but I’d recommend taking a look at the CP docs’ section on tokens and conditions! It’s pretty well explained in there.

#

!cp
@misty ivy just in case.

ocean sailBOT
misty ivy
#

Thank you! ::D

unreal spoke
#

Good luck!

royal stump
#

(I guess that also depends on who actually does the input/output in multiplayer, but that may be fine)

woeful lintel
#

If you're starting from scratch, checkout the Furniture Framework, if you already have a Furniture type that you want to animate, you can use spacecore

rich seal
#

I started on trying to make a custom animal that has several different color variants, each having a chance to hatch depending on various game state queries (like having seen an event). Problem is, I don't think I quite understand how to set up the animal's json file to properly accomplish this. Does anyone happen to have an example of this sort of thing?

tiny zealot
#

not sure about hatching, but at least for purchasing, i would look at how vanilla sets up the white/brown/blue chickens (unless it's still hardcoded)

nova gale
#

although it was purchasing, not hatching, nevermind, disregard

#

if you simply give multiple animals the same egg type does it just always pick the first one when you incubate that egg?

rich seal
#

This is what shows up under White Chicken in the FarmAnimals.json, though maybe I'm just not reading things right. I'm mostly just gliding through and winging it for most of my mod (somehow works), but this is absolutely stumping me. Blue Chicken is an entirely different entry as well as a skin, so maybe that's what I need?

#

Cause I have a bunch of AlternatePurchaseTypes, but they don't seem to load.

tiny zealot
#

yeah that's the purchasing setup

nova gale
#

yeah, I'm curious about the EggItemIds down there

tiny zealot
#

the game runs through the purchase types in order and selects the first one which matches (its Condition evaluates to true)

nova gale
#

if you put the same EggItemId for 5 animals, it might pick one, or it might use the first animal it finds, I'd try it and confirm

#

especially if blue chickens are hatched from normal white/brown eggs

tiny zealot
#

in this case you have to have seen that event with shane, and also roll randomly (25%) to get a blue chicken

nova gale
#

and not special blue eggs, then that would explain the EggItemIds 176 and 174 here

tiny zealot
#

but i don't know how hatching works

merry river
merry river
near imp
#

(ok dont quote me on this, but i think hatching might be lightly cursed in vanilla.. i vaguely recall some mod needing to use a framework in order to determine what gets hatched, i think they were trying to get more than one thing being able to be hatched from the same egg type)

#

a lead on this might be to look at mods that add male and female ducks that can both hatch from duck eggs

nova gale
#

I know that a mod that adds peacocks and peahens as 2 animals exists as well

severe cairn
#

When doing EditMap MapTiles is there a way to do something similar to "ToArea" or do I have to write every single coordinate for the position? I can do that no problem, but how would that be written? As there arent examples of multiple being used...

near imp
nova gale
#

I can't recall honestly, it's been a long time since I've used it, but it's probably worth a look

#

I want to say it was Trent's mod?

#

ah, so he did it so that peahens would lay eggs, and peacocks would drop feathers

rich seal
#

Honestly I'm debating on just going full caveman and making separate eggs for each color, and have all colors lay all eggs lol. That's bloat, but I know that'd work lmao

nova gale
#

dead end though, looks like you can't incubate their eggs at all

rich seal
#

The thing really throwing me off is the "AnimalID" found in the FarmAnimals.json file. I don't know what that's even referencing, unless that's literally just the ID like how white chickens are "White Chicken" for their ID.

nova gale
#

lol, nm, I found it

#

and he had to do some hacky stuff to make it work

#

Trent made it so when you change maps, based on the time of the map change (top of the hour, 10 minutes, 20 minutes etc)

#

it changes which animal would be born from the egg

near imp
#

sounds a bit resource intensive for some eggs ngl

nova gale
#

it's on location change, it only fires once per map load, probably not awful

#

but yeah, that's what he did

near imp
#

hmm but then it would say blue there too oh wait its right above it derp

#

the chicken entires are hella confusing, like they have their own but some are also included in the others and SDVpufferdizzy

nova gale
#

the variants always have their own entries, but usually only 1 of them has purchasing info, then the alternatives go on that record

#

and which actual animal gets produced at purchase time is based on that "base" record

near imp
#

makes sense!

merry river
#

Another small issue I've been having and where I don't know where my formatting went wrong: a bunch of my dialogue strings broke for some reason, especially those that use a #$b#break and questions (that have no effect whatsoever). This is one of the examples that's been reported to me:
'"AfterFirstMeeting_Haley": "Ugh, Emily is all worked up over this 'god' or whatever.$3#$b#$y 'But if he actually is a god... do you think he looks good?_Yes, very!_Ha, then I might check him out!$1_No, he wasn't my type._Huh, really? Here I thought this was my chance.'",

rich seal
#

The different entries for animals thing might actually be it. I had several "default" animals, and after changing IDs, only half of them lost their texture. Time to hatch more and find out!

nova gale
#

I bet what animal is produced from the egg is determined when you enter the coop, so Trents would amke it so depending on the time of day and season you enter the coop will determine the type of peafowl you get

near imp
#

the skins system works when the animal gives birth, but is it a different ballgame for egg hatching? i think i missed earlier that youre trying to hatch multiple skins from one egg type (yes/no?), and not multiple animal types from one egg type (not sure im explaining well)

rich seal
#

Yeah, the goal is multiple skin type options on hatching

#

None of my animals are purchased

nova gale
#

is the only different between them texture? I've never used the Skins setup but that is purely alternate appearances

#

and the documentation claims that works at hatching time

#

but they would be identical to the original in every way except appearance

#

(same value/cost, same name, etc)

rich seal
#

Yeah, 100% cosmetic only. The goal is a "hey you achieved thing, have a chance at another skin!" sort of deal.

nova gale
jaunty shuttle
#

-# AT chickens hapithonk

nova gale
#

so if you look at "Skins" you could basically add skins using When clauses to your entry

#

if that's all you want to do

severe cairn
near imp
#

definitely feeling the lack of sleep today because i had completely forgotten that you dont have a chance to hatch blue chickens from white eggs 🤦‍♀️ the chance is on buying only

nova gale
#

I can try when I get home from work if you're still trying to figure it out though

#

maybe I'll add some variant skins to my crabs or something just to try it out

merry river
rich seal
#

Oh, Skins might actually be what I need lmao. I wish that page actually had examples, because I don't know how I'd set it up. I am not a coder by any means lol

merry river
#

oh wait I think someone on nexus posted a screenshot but of another dialogue string

near imp
rich seal
#

I haven't found any other mods that do that though, that's the problem 🙁

severe cairn
near imp
#

youd be looking for mods that say theyre for content patcher, relatively newly updated (aka not from 2018), and that add a good variety of colors

#

AT mods and default replacement (pick only one type) are not relevant in this case

#

Elle's has a lot of chickens and uses the Skins system iirc. And if you want to investigate the egg side of things, perhaps theres something useful to glean in Blue Eggs and Golden Mayo

merry river
# severe cairn i meant a screenshot of the code haha, but seeing how buggy it looks in game wou...

"gotPet": "Oh, so you have adopted a pet! $1#$b#$y 'What kind of pet did you get?_A cat! Meow!_Oh, a cat. I am personally more of a dog person, but you could say that I like cat... $6#$b# ...boys! Hoho! $9_A dog, woof._How lovely. When I was a young boy, my father took me into the city... #$b# ...and I adopted a dog there. The pup has been the most loyal being I have ever encountered but I had to leave her behind after I joined the army.'",

Here is the example from the mod user on Nexus and my code

brittle pasture
#

if these animal variants do not differ meaningfully from each other though you can use the skin system

severe cairn
rich seal
#

Yeah they don't differ meaningfully. It's just cosmetic only, with certain cosmetics being unlocked as you play the game.

brittle pasture
#

though you also cant use GSQ with skins

#

just weight

#

I guess you can selectively patch in skin weights based on mail flags (not skins itself unless you fancy breaking saves)

#

you can't control what skins you will get but you can control what skins you can get

#

which is probably better (though if you use Livestock Bazaar it's kinda moot lol)

severe cairn
# merry river `"gotPet": "Oh, so you have adopted a pet! $1#$b#$y 'What kind of pet did you ge...

So just replace the #$b# inside the $y sections with *, and this should work

"gotPet": "Oh, so you have adopted a pet! $1#$b#$y 'What kind of pet did you get?_A cat! Meow!_Oh, a cat. I am personally more of a dog person, but you could say that I like cat... $6*...boys! Hoho! $9_A dog, woof._How lovely. When I was a young boy, my father took me into the city...*...and I adopted a dog there. The pup has been the most loyal being I have ever encountered but I had to leave her behind after I joined the army.'",

I haven't tested it with the portrait changes, but I think it'll be fine :3c I also had the same issue earlier haha

near imp
#

ah EAC must have been the framework i was thinking of. shoulda known (so useful SDVpufferheart )

brittle pasture
#

not EMC

#

EAC

near imp
#

oops

merry river
near imp
#

i had less than five hours of sleep the past days so my two braincells to rub together are tired and worn loadingcat

brittle pasture
#

but yeah in summary if you want true GSQ-based hatching you need EAC and alt animal types

merry river
severe cairn
#

yeah, thats why i wasnt sure whats wrong

#

because i have it like that with mine

#

you could test it on its own first, i normally just change it to activate on the day my test save is on haha

valid folio
#

Hello! Yesterday I was getting help to make a custom slime incubator, but it’s not working as intended. It’s basically a decorative piece of furniture that just happens to have a processing rule. The machine accepts the slime eggs, but when the process finishes, it gives me back the same item. Clearly I’m doing something wrong. I copied the structure of the game’s slime incubator as best as I could and added selph.ExtraMachineConfig.IsCustomSlimeIncubator, but maybe I didn’t do it correctly. Could you take a look at the code?

Something else I’m not quite sure about is whether I can use an Item ID like I did and have it include the slime_egg_item context tag, or if I absolutely have to use the context tag as the input value. I tried both ways and the same thing happens, whether I insert my custom slime egg or a vanilla slime egg, it just gives me back the same item.
https://smapi.io/json/none/13597ee4a88e4c469798e1b249d59a5d

brittle pasture
valid folio
brittle pasture
#

that looks correct

#

if it doesnt work then idk lol, but MPS also has custom slime incubators you can use as reference

valid folio
brittle pasture
#

Machine Progression System

valid folio
toxic topaz
#

does anyone know if theres a way to fix the extreme restriction of movement in the ruined community center for npc's?

brittle pasture
#

I don't think there are any restrictions?

toxic topaz
#

ive tested a bit, and my npc can move fine, as long as the destination isnt in the community center for some reason. she refuses to move even a single tile infront of her

gaunt orbit
#

I think maybe the ruined community center isn't a normal door warp?

tiny zealot
#

if your schedule includes CommunityCenter and that location isn't available, your schedule doesn't load and it uses a fallback one instead (spring, i believe)

gaunt orbit
#

since you need the key to access it

toxic topaz
gaunt orbit
#

I'm not entirely sure since the vanilla npcs never go in there

brittle pasture
#

ah the ruined one

#

yep that makes sense

toxic topaz
#

well that makes sense.... im just not sure why it would think the area isnt available

tiny zealot
#

did you complete the CC normally? or debug command it somehow

toxic topaz
#

no this is intentionally the ruined version

tiny zealot
#

(the npc scheduler's idea of "location is available" may differ from yours)

#

oh, NPCs can't go to the ruined version. the location is unavailable until you restore the CC

toxic topaz
#

is there no way to bypass that?

tiny zealot
#

you could harmony patch the npc scheduling code

gaunt orbit
#

I'm taking a look at the code to see if it would be possible to work around it

tiny zealot
#

i think it's a name check on the location followed by checking the normal game conditions for completion

brittle pasture
#

the schedule switching is controlled by NPC.changeScheduleForLocationAccessibility

#

which in turn checks Game1.isLocationAccessible

#

and for the CC, accessible=saw the CC finished event

#

so you can work around it with a patch, but it'd cause Clint to leave every Friday to the ruined center SDVpufferwoke

tiny zealot
#

(i think he was supposed to anyway, and due to a maybe-oversight-maybe-ascended-bug he doesn't)

toxic topaz
gaunt orbit
#

the town doesn't have warps to the cc, though, so how do NPCs get in there when it's finished?

#

is there special-case handling for the CC specifically?

tiny zealot
#

clint has a CommunityCenterReplacement (or similar) key in his schedule to send him to JojaMart on fridays instead, but the game doesn't actually check that; it does the whole schedule replacement with spring instead

toxic topaz
#

well maybe clint deserves a day off

brittle pasture
torpid sparrow
#

conditional schedule after CC is completed

#

my npc has no problem going in

tiny zealot
#

NPCs can go to the CC after it's completed. wren is just asking about the mechanism for getting through the door

torpid sparrow
#

ahh ok

#

huh there's no warp

#

how does that work

tiny zealot
#

exactly!

torpid sparrow
toxic topaz
#

well my npc is already inside of the community center, so maybe because there's no warp it thinks its inaccessible despite already being inside?

gaunt orbit
tiny zealot
torpid sparrow
#

oh

#

that makes sense

gaunt orbit
#

the town uses WarpCommunityCenter instead of the normal door warps

torpid sparrow
#

is that a Special warp

tiny zealot
#

the conditions could still be useful if you need more complex behavior though

torpid sparrow
#

if it defaults to the regular spring schedule then yeah its not the one i want

gaunt orbit
#

ah ha!

#

apparently there's a bunch of special-cased doors baked into GameLocation.UpdateDoors()

#

(and then the door cache is read into the patchfinder cache, which is then used for the schedule)

torpid sparrow
#

oo

toxic topaz
#

so, is the door the issue?

gaunt orbit
#

no, it's just that it's marked as unusable when it hasn't been repaired

torpid sparrow
#

that makes sense

gaunt orbit
#

you could change it with harmony, but doing so might break things.
the best option would be to manually warp the npc there using c# instead of relying on the schedule
if c# is not an option, you could potentially fake it with map edits or Custom Companions

toxic topaz
#

yea i dont think the c# would work for what im trying to accomplish...

#

if i do try to change that with harmony, what might be affected by it?

gaunt orbit
#

every other npc

#

including vanilla and mods

#

because it would change schedule priorities

toxic topaz
#

so they just try to go to the community center despite it being ruined?

gaunt orbit
#

yeah the way it works is
schedule to cc -> not finished, not allowed to go there -> fall back to default schedule

#

you could write a transpiler to special-case it so that if there is no fallback and the target is the cc specifically, which would be more difficult but also have fewer side effects

toxic topaz
#

i dont even know how to do the first thing lol

gaunt orbit
#

actually that's an instance method, so you could also hardcode it to only apply to your npc

#

it would have to be a transpielr though

tiny zealot
#

strongly recommend restricting it to just your NPC if you do this

toxic topaz
#

so with that you can basically force it to do that instead of trying to do something else?

gaunt orbit
#

you could skip the accessibility checks for just your npc

tiny zealot
#

both for broad compatibility, and also purely self-serving as my NPC has a CC schedule point and i rely on it working like it does in vanilla

gaunt orbit
#

actually you might be able to use a prefix instead of a transpiler

#

which would be a lot easier

toxic topaz
gaunt orbit
#

well if you didn't restrict it to your npc, it would probably break the vanilla npcs too

toxic topaz
#

uhhhh, so how would i accomplish that. because i dont really know what a prefix is either. and yea id have to restrict it to just my npc

gaunt orbit
#

I don't imagine that CA added that behavior without using it

#

!harmony

ocean sailBOT
#

Harmony is a framework for patching .NET code, allowing you to take any portion of the game's logic and insert or substitute your own. This gives you more flexibility and control than SMAPI helpers and events, at the cost of being typically more complex and difficult to use safely and correctly, and more likely to break with a future update of the game and/or SMAPI.

If you are trying to do something that isn't possible or practical with SMAPI alone, then Harmony is usually the solution.

For more information, refer to the following:

tiny zealot
#

lewis, clint, and gus at minimum use the CC after it's finished and rely on the default behavior

#

although as i mentioned earlier, clint was maybe supposed to use an unimplemented different fallback instead

toxic topaz
#

so to do this id have to change it from being purely a CP mod right

gaunt orbit
#

yes. this requires c#

tiny zealot
#

yes

toxic topaz
#

ahhhh, okay i get it, so id be using harmony to basically just say "if its my npc then allow it"

#

now i just gotta figure out how to make my mod a C# one aswell Gladge

tiny zealot
#

what you have to do is make it two mods in a trenchcoat

#

so you make a C# mod that does the C# stuff you need, and a separate CP content pack that has the content, and you ship them together in adjacent folders

severe cairn
#

yeah, after downloading some of the expansions (where i previously was like... tragic... no C# and CP?) I realized theyre multiple mods in a trenchcoat fr, and it works

toxic topaz
#

so just bundle it like this, and have another folder labeled for the C# with its own manifest?

gaunt orbit
#

in the early days of SMAPI, it wouldn't look in subfolders, so you used to have to extract all the submods into the mods folder. made even worse by the fact that most frameworks of the time required separate content packs rather than being cp-editable. utter chaos

severe cairn
#

oh god

gaunt orbit
#

(incidentally that's probably at least part of why SVE has an install guide)

whole prism
#

quick question, does anyone have a doc/wiki that explains how NPCs added by mods work? I was wondering, if I wanted to reference an internal ID for Sophia from SVE, do I just use "Sophia"?

severe cairn
#

if there was a guide thats some chaotic time fr

gaunt orbit
brittle pasture
#

or use debug tools in game

whole prism
#

im trying to figure out if thats the same case for NPCS

#

like, the UniqueId.Sophia

#

or just Sophia, if the mod internally calls them that

#

i might as well check rq

brittle pasture
#

mods can name their NPCs (or their items) however they like

#

the mod ID thing is just a convention

#

the only way to know for sure is open up the files

whole prism
#

ahh okay

#

tyy!!

gaunt orbit
#

I'm going to go do some other stuff for a bit but @toxic topaz for reference you will want to postfix NPC.changeScheduleForLocationAccessibility

toxic topaz
#

okay thank you, ill try to figure that out after i figure out how to include C# in my mod

#

@brittle pasture i remember you saying something about "ModBuildConfig" being able to do this automatically for me? but i never really understood what you meant

gaunt orbit
#

ModBuildConfig is the nuget that's required to make SMAPI mods

#

I mean I guess not technically. but practically speaking

brittle pasture
spice inlet
#

Hey @vale holly, nice find.
If you provide a valid buff id and the saved BuffEffect to the Buff constructor it will add the effect twice.. SDVpufferthinkblob
Will make sure to take a look at it when I get to working on the next QS update.
Just noticed that ParsableBuff doesn't save the customFields either.
Thank you for looking into it! It never wanted to break when I tried to reproduce it : )

valid folio
#

Is it possible to modify the amount of slime you get from the slime balls that slimes leave in the hutch?

barren tapir
#

Do these blend together to much?

vale holly
spice inlet
#

I'll probably end up not providing the id to the constructor at all and relying on the ParsedBuff entirely to prevent the action being applied again (even though there might be cases where you would want them to)

jaunty shuttle
vale holly
#

I think you can set the effects after the constructor runs using reflection, or by inheriting the buff class and making the field not read only.

barren tapir
#

This is what it looked like after the initial recolor

fossil osprey
#

Hm you could try to color such accessories in silver? It would add a palette, but that will make the shapes much easier to read

#

I don't know which sprites you intend to make in gold versions, but for example Gus casserole could be a silver thing too

barren tapir
#

Y'know, neither do I if I'm honest 😅

#

I do like the silver idea though! I'll fiddle around with it later today after work

#

I'm noodling around with the idea of various money sink mods.

urban patrol
#

@toxic topaz if you want a CP-only solution to your problem, i would suggest making a “basement” map or something for the community center and having your NPC live there. my NPCs live in the “attic” of the CC and they can path through the ruined CC to their attic just fine

toxic topaz
#

yea i was considering that. but i just feel like that wouldnt fit as well. right now im just struggling trying to figure out how to make my mod a hybrid lol

urban patrol
#

discard that way of thinking; imagine it as two separate mods

#

you just happen to zip them together when uploading to nexus

toxic topaz
#

yea thats what i meant

#

but arent they in the same folder?

urban patrol
#

SMAPI can load mods from subfolders

latent mauve
#

Take a look at the structure of mods like Sunberry Village, which have multiple component mods packed together

toxic topaz
#

so this wouldnt work?

urban patrol
#

Stardew Valley >Mods>MyCoolMod>MyCPMod

Stardew Valley >Mods>MyCoolMod>MyHarmonyMod

latent mauve
#

As long as each mod is in its own containing folder and you don't have a manifest.json on a different level to the others (like one nested under another, avoid that), SMAPI will read them all just fine

#

Those containing folders can go under/in a parent folder that is your completed mod

toxic topaz
#

uhhh, okay ill try to do that

#

wait, in visual studio would it count as a separate project?

urban patrol
#

i do all my CP stuff in notepad ++ so i can’t help there :(

finite viper
#

Hello everyone. I'm working on a mod that will tweak how NPC events are displayed. Specifically, the cutscene skip button and response options (which will affect friendship)
I was able to find some functions and fields related to checking conditions and "starting" events (Game1.CurrentEvent, GameLocation.startEvent(Event)), but I couldn't find all this Event commands (Modding:Event_data section) handling. Could you tell me where I can find this, or maybe there's an even simpler solution?

toxic topaz
#

ah, okay i think i got it working, i just need to fix my file destination things for assets

gaunt orbit
finite viper
toxic topaz
ocean sailBOT
#

Log Info: SMAPI 4.5.2 with SDV 1.6.15 build 24356 on Windows 10 (10.0.19045.0), with 15 C# mods and 1 content packs.

half tangle
toxic topaz
#

i basically just put everything from before into a subfolder

ocean sailBOT
#

@toxic topaz You leveled up to Cowpoke. You can now share images in all channels!

toxic topaz
#

i mean its detecting both mods, but my content pack is busted for some reason

urban patrol
#

you need to take out the first part of your file path. from file is calculated relative to where the manifest is

half tangle
#

I haven't been following the conversation, but if you have a line like this in your csproj file you should be fine:

    <ItemGroup>
        <ContentPacks Include="./My Content Patcher Pack" Version="$(Version)" />
    </ItemGroup>
#

but if the issue is the CP mod itself, that's separate from this

urban patrol
#

the manifest doesn’t look up a level to see that you have a CP and a C# component

toxic topaz
#

im not sure if i have a csproj file lol,

half tangle
finite viper
half tangle
#

you just did what?

#

place files into folders or follow the wiki?

#

(you're not in trouble, I'm just trying to understand so I can help)

toxic topaz
#

uhh, this is confusing PES_Hands trying to do lots at once.

#

so for this

#

i dont need the [CP]MeguminNPC?

#

since its based off of where the manifest is

urban patrol
#

correct

toxic topaz
#

alright, ill do that first

half tangle
#

yeah, a manifest is effectively the mod. A manifest tells SMAPI how to read your mod's files

urban patrol
#

manifest tells content “okay start with me and then look outward and down”

toxic topaz
#

that makes sense

toxic topaz
half tangle
#

(this is why some manifests will have a line saying what the entry dll is and some will have a line saying that this mod is a content pack for some other mod (like Content Patcher))

#

yep! make sure the folder path is correct

#

also, that ModBuildConfig line suggests that you did in fact create your C# portion correctly. Your SMAPI log will have info in it if something goes wrong, though

toxic topaz
#

do i include it in the existing item group? or leave it like this

half tangle
#

honestly idk, I always make a separate one

#

also worth mentioning that the Version part means your version numbers in both manifests have to match