#making-mods-general

1 messages · Page 424 of 1

junior tiger
#

Yes! Thankfully no red. He stands at the right tile and moves at 8

#

That is soooo huge! All I'd love is just for the dialogue to work 😭 then I can go to bed in peace

#

But you guys already helped me so much. You've been way too kind with your time, I cannot tell you how much I appreciate that 💗

latent mauve
#

It's been a nice distraction from trying to do i18n stuff. I keep falling asleep after a few minutes of converting entries, LOL

junior tiger
latent mauve
#

Yeah, no, I will not be accepting anyone who offers to help on my i18n without knowing what they're getting into

#

This is for the Zelda NPC Overhaul and that is an undertaking and a half

#

So I'll slog through it myself. ❤️

#

Anything else would be taking advantage, because of the sheer scope of it, LOL

junior tiger
#

Now, is there one last way I could try and troubleshoot the dialogue? Then I'll reduce my distractions XD

latent mauve
#

you can make sure that the right Dialogue file is getting pulled

#

And you can post your gift tastes

junior tiger
junior tiger
#

I did post the gift tastes here

latent mauve
#

When you say "generating" how are you making the dialogue file?

latent mauve
junior tiger
latent mauve
#

Data/NPCGiftTastes is the actual JSON file the game uses, NPC is not a placeholder there

junior tiger
uncut viper
#

the game would not be creating copies of any file in any mod folders, the only file that would be created is a config

junior tiger
#

dark magic...

latent mauve
#

I wonder if it's OneDrive sync thing

junior tiger
latent mauve
#

(OneDrive synced folders are my nemesis)

uncut viper
#

or a Vorttex or Stardrop thing, maybe?

#

either way, its not the game doing it and wont have anything to do with it not working

junior tiger
latent mauve
#

Yep, as long as you aren't using that new one as your FromFile, it shouldn't matter.

junior tiger
#

Yeah, the from file is still pointing at the assets/data/dialogue

latent mauve
#

But, given that your NPCGiftTastes target was not NPCGiftTastes, I am gonna guess that will solve your issue. 😛

#

I still don't know the exact coding logic behind it, but without a valid NPCGiftTastes entry, dialogue just straight up doesn't work for social NPCs.

junior tiger
latent mauve
#

Yes.

#

If your NPC Target was correct on the dialogue patch and SMAPI's not complaining about invalid JSON on your Dialogue file, then it was most likely the Gift Tastes.

junior tiger
#

I hate to be the bearer of bad news but it still doesn't work. I waited until past 8, and I talked to other townsfolk :/ all was fine with them

latent mauve
#

okay, anything in the console?

junior tiger
#

Nope, clean slate

latent mauve
#

okay, let's doublecheck the Dialogue file again

junior tiger
#

Should I send it in again?

latent mauve
#

not unless you've changed it

junior tiger
#

Nope, nothing that I know of

latent mauve
#

you've linked two Dialogue files here

#

The one in Data has the wrong target still

junior tiger
#

Yes, that's what I meant. I keep deleting it and it comes back when I start the game

latent mauve
#

So we want to make sure you changed the right one

junior tiger
#

The one in the base file is not the right one. The content is targeting the one in assets/data/

latent mauve
#

that one?

junior tiger
latent mauve
#

Okay, and this is NOT the one that's being used in the patch?

junior tiger
#

Yes

latent mauve
#

just making sure

#

It's weird enough that it's recreating it

junior tiger
#

Mods --> assets --> Data --> Dialogue (real and linked)
Mods --> Dialogue (keeps appearing)

#

This is what it looks like right now, let's see if it comes back

latent mauve
#

okay, can you open up the one in assets/data/dialogue one more time then just to be sure we have the right one?

junior tiger
#

Got it open

latent mauve
#

What's the Target line on the patch in it?

junior tiger
junior tiger
latent mauve
#

[NPC]Taq/dialogue that's the old, wrong target

#

So you need to change it on that one

junior tiger
#

I tried to look it up again, but got so tired. I'm sorry 2 am brain 😭 I'll find it

latent mauve
#

"Target":"Characters/Dialogue/{{ModId}}_Taq"

#

I'll doublecheck but that should be what we want

junior tiger
#

Thank you, I have changed it in the right file SDVpufferpleading

latent mauve
#

It's also possible this will fix your duping problem, since that old Target looks like it's trying to target your mod folder xD

junior tiger
#

The dark magic... it vanishes

#

I'll try it again

#

Omg.... it works!!! I have some formating to do, but you saved my life 😭

latent mauve
#

Awesome, please get some sleep

junior tiger
#

Only the tiniest of questions. What is the right wording for him to face towards the camera in the dispos? I tried "front" but it didn't work

brave fable
#

"Down" or 2, depending on the context

latent mauve
#

The possible values are down, left, right, and up

junior tiger
latent mauve
#

For Home

junior tiger
junior tiger
thin fern
#

how would i make an acceptdialogue section? cause i want it to be specific dialogue for separate items but also specific gift taste with love, like, etc. i only know how to do the simple things like normal dialogue and gift taste 😔

like if my character loves wild horseradish and says smth like "i like to eat it by itself"

brittle pasture
obtuse wigeon
#

Is there anything I should be aware of before downloading the mod dump? (besides the fact it's 77GB)

lucid mulch
#

have space to extract it as well

obtuse wigeon
#

I have plenty so that's a nill issue thankfully

lucid mulch
#

The other thing is iirc there are some very helpful json files that act as the front door into the cache so you dont need to fully analyze the full filesystem it will tell you where things are

#

but its also like a 200mb json file so have a system that is capable of reading it well

#

though I'm somewhat out of date of the mod-dump meta, pathos made changes to the structure since I did it last but a problem I had to deal with was the same mod being in there multiple times due to nexus+moddrop+curseforge

#

and sometimes multiple versions of the mod being in there

#

also there was some non-seiso json in there last time I did it and had to use a more flexible parser to do it

obtuse wigeon
#

The same mod being in there isn't too much of an issue given I'm also grabbing the UniqueID of them, I shall add a bit more relating to versions but that shouldn't give me too much grief (unless none semantic versioning is used which is likely but no impossible to figure out)

lucid mulch
obtuse wigeon
#

I'm unfamiliar with the term "Non-seiso", a quick google says not pure, I'm already handling trailing commas and comments using JSON5 parser which also supports non-encased keys (not that content patcher can handle them) so unless theres another point of failure I'm unaware of, it shouldn't be a major issue

#

Ahh I see the sanitizeID function, that is a very good call as some of those I hadn't thought about

lucid mulch
#

that came from wanting to write uniqueids as files and windows bans all those characters

obtuse wigeon
#

Ahhh Okay, I shall continue to browse the script and see if theres anything I forgot about

lucid mulch
#

in this case, my analysis had to be done by running smapi itself as the purpose of this activity was mod compatibility analysis.
but for your case, you mainly just care about the cpMountSuggestion flow and you now have a collection of uniqueid -> folder pairings you can use to then read the relevant content.json

hard fern
#

is there a way to make certain machine rules learnable by recipe the same way that cooking and crafting is?

lucid iron
#

yea sorta

#

you can add Condition that depends on a mailflag

#

btw forsy did you still want to do the cauldron furniture smoke i lowkey forgor about it blobcatgooglyblep

hard fern
#

SDVpuffersweats uh i mean i wouldn't pass up an oppportunity

#

but im not too concerned about it

hard fern
#

what if i want it to be like. the player purchases a recipe

#

would i attach a trigger action to that specific item being purchased, and then like... make mail be sent?

inner harbor
#

There's no way to have two Unique IDs on a mod is there?

hard fern
#

i dont think so

lucid iron
hard fern
#

got it

lucid iron
#

after that write a condition like PLAYER_HAS_MAIL Current blablah

#

goes on the Triggers

inner harbor
#

I've changed East Scarp's Unique ID because of the spelling mistake and to remove the .CP and its going to break all the mods that have added compatibility with LemurKat.EastScarpe.CP

brave fable
#

you really don't want to change the uniqueid of a mod after release, particularly an important mod that's expecting a lot of dependents

lucid iron
#

lemur i think u can just have a dummy empty cp pack

royal stump
#

SDVpufferlurk I've been meaning to bother Pathos about adding unique ID alias support
but afaik currently, the closest workaround would be to add a "stub" mod with the old ID that doesn't do anything
which could still have issues depending on what other mods do in relation to yours

lucid iron
#

but also, ESR is like a major version update so changing unique id is fine imo

#

u can offer the stuff in optional files for people too lazy to go update the manifest

lucid mulch
quiet cedar
#

Hello, i am using gentle night lighting and kisaa's bunny burrow farm, which uses mmap to keep the map dark. The lightings seem to be canceling each other out, and i was curious if anyone had any idea how to disable gentle night lighting specifically on the farm? The lighting mod has a config to toggle farmhouse for example, but not the farm, and it is a dll file. Is this something i would have to learn a lot about programming to change inside the dll? Or is there an easier way to override it with the farm's code? I did try making both bunny burrow and mmap dependent on gentle night lighting in the manifest and nothing changed

brave fable
#

is a typo really important enough to break every mod with a dependency or condition on your uniqueid?

#

they've managed just fine as-is

#

is there more to the id change than this?

lucid iron
#

i dont think it's easy and kinda depends on how gentle night lighting adjusts the ambiant light field hrm

#

ok it looks like gentle night light has player config for this

quiet cedar
#

Oh wait for the farm?

lucid iron
#

ok this feature is either vestigal or never tested cus it will not work as intended Sleepden

#
helper.ModContent.Load<Dictionary<string, float>>(Path.Combine(helper.DirectoryPath, "locations", text))
#

why...

#

as for mod compat between mmap and gentle night light, gentle night light's ambiant lighting patches are more overriding so there's nothing mmap can do Dokkan

lucid mulch
#

just escalate the harmony arms race, ez

lucid iron
#

nou

lucid mulch
#

I already harmony patch smapi's mod registry what more do you want me to do

lucid iron
#

im not even using harmony for this

#

i literally just set Game1.ambientLight seriousblep

quiet cedar
lucid iron
#

the farm is actually still a little darker than town (very pink)

#

u sure u didnt accidentally go into the no farm cave mode for bunny burrow?

quiet cedar
#

Yeah, i have the farm cave! Weird.. I'm about to eat dinner but I'll test it again afterwards

lucid iron
#

since it not really about making mod now Dokkan

quiet cedar
#

Oh yeah true, will do! Thanks:)

hard fern
#

there's too many fish in this game SDVpufferwaaah i dont want to make fish perfume

uncut viper
#

if it helps i think id be perfectly content to never receive anything called "fish perfume"

obtuse wigeon
#

If someone told me they use "fish perfume" I would worry for both their sanity and their nose

obtuse wigeon
#

When making custom crafting recipes, what does the "Big craftable?" field actually do in the game?

hard fern
#

what on earth is this

#

orb

obtuse wigeon
#

That is a flavoured item I think bc I have only ever seen it in blue

#

and it wasn't aquamarine, that's smaller

#

actually no it does look to be unused

#

it's now officially a mini moon for the crossover between Minions and Stardew

drowsy pewter
#

so the game likely needed a field to specify whether the resulting item id number was for an object or bigcraftable

#

if the field is false its an object

obtuse wigeon
#

Ahhh gotcha

#

speaking of which can you not use qualified IDs in crafting recipes then?
Like this :"{{ModID}}_chest_to_BigChest": "(BC)130 1 388 70 334 2/AtlasVRecipe/(BC)BigChest 1/true//",

#

(Takes a regular chest, wood, and copper, and makes a big chest

drowsy pewter
#

not completely sure but i dont think so

#

you may need one of the frameworks

obtuse wigeon
#

a tad annoying but oh well, easily solved

drowsy pewter
#

youll notice cooking and crafting were not completely reformatted for 1.6 conventions

obtuse wigeon
#

1.17 request: dehardcode the whole game, should be easy /jk

lucid iron
#

u can use qualified id i think

#

the deluxe worm bin takes a worm bin

uncut viper
#

you can

drowsy pewter
#

wait yeah cornucopia does

lucid iron
#

also there's a chest to big chest mod psure

drowsy pewter
#

lol

obtuse wigeon
#

I wonder why it isn't working

#

the other recipes work, but the don't use qualified IDs

drowsy pewter
#

"Cornucopia_DeluxeSmoker": "(BC)FishSmoker 1 335 2/Home/Cornucopia_DeluxeSmoker/true/",

#

because your output is wrong

#

and should be not qualified yes?

uncut viper
#

the output field can be qualified

#

that was fixed back in 1.6.9

drowsy pewter
#

ah ok

obtuse wigeon
#

Just to make sure I'm not missing something, This is my crafting recipe:

"{{ModID}}_chest_to_BigChest": "(BC)130 1 388 70 334 2/AtlasVRecipe/(BC)BigChest 1/true//",

It shouldn't need any levels or conditions to unlock, I've patch reloaded, then slept, is there anything else I should be doing to get recipes to show up in an already established game?

vernal crest
#

Do object sprites have to be 16x16?

drowsy pewter
#

The key name should be the name of the output, unless that also changed in 1.6.9 lol

uncut viper
drowsy pewter
#

and might as well debug give yourself all recipes just in case

obtuse wigeon
vernal crest
obtuse wigeon
drowsy pewter
#

i used scale up 2 for that stupid tortilla lol

uncut viper
#

(vanilla recipes also mismatch the output and keys)

vernal crest
#

Since it's nothing, it just doesn't unlock

vernal crest
obtuse wigeon
drowsy pewter
#

Ah

drowsy pewter
vernal crest
#

I always make them the same by default now to ensure that I don't decide later to put a recipe in a shop and then encounter sadness

#

Okay, my animal sculptures can't be objects then SDVpufferthinkblob

uncut viper
#

they can be furniture!

vernal crest
#

(Twas a mistake to test only with chickens before!)

obtuse wigeon
#

for none modded items wouldn't that cause some issues with over writing or something?

vernal crest
uncut viper
obtuse wigeon
#

Say I make another recipe that I want to see in a shop, and it's for Blue Grass Starter, wouldn't that overwrite the vanilla blue grass starter recipe?

vernal crest
vernal crest
obtuse wigeon
#

I think I've got a bit confused, But I'm not adding these to a shop so that's fine by me

vernal crest
#

Not many people want to make additional recipes for existing vanilla objects and then put those additional recipes in shops

obtuse wigeon
#

Good point

vernal crest
#

IDK if it's possible to get around it by pointing the ObjectInternalName to its ID instead of name. I'd test it but I have (more) animal furniture to make lol

#

Them having to be furniture brings up the possibility for more MMAP draw layers if I can think of any use for them

obtuse wigeon
#

hats for the pictures

#

well no not the pictures, but the animals on the pictures

vernal crest
#

Button do you want to see the customisable background and frame photos I made for them? They were initially going to be the photo that the player took and then used in the shop but they are giant lol

uncut viper
#

sure!

steel beacon
#

I have a question about query expressions. I am using it in Content Patcher to create buffs that dynamically increase based on stats increasing. However, I have noticed some stats work and some don't. For example, {{query: {{daysPlayed}}/1000}} will yield a value, but using {{diamondsFound}} instead of daysPlayed will not. Does anyone know why this is the case and if there is a non-C# workaround?

uncut viper
#

DaysPlayed is a Content Patcher token already. DiamondsFound is not

#

no Content Patcher token can read player stats

#

(tangentially related, but be aware that im pretty sure this approach for a dynamic buff would also sync weirdly/break in multiplayer)

steel beacon
#

aw shucks. Thanks for the info! If it could break in multiplayer it is prob not worth it.

lucid mulch
#

Buffs for the most part don't network their effects, just the buff id and the other clients will use their own view of what the buff is intended to guess what it should do

#

so if the dynamic behaviour is something that will be consistent between players then you are mostly fine, but if its something local then less so

uncut viper
#

compounded by the fact that player stats themselves are not synced entirely consistently between players, too

steel beacon
#

what tends to be consistent? I have never played multiplayer.

uncut viper
#

you kinda chose the two most major outliers i think lol

lucid mulch
#

anything that explicitly pulls from host like {{HasFlag: hostPlayer |contains=My.custom.Mailflag}} (though player stats are probably an exception due to how verbose it can get) or stuff thats part of the global world state like {{DayOfWeek}}

steel beacon
lucid mulch
#

depending on how the buff is applied, it would be a lot easier to just have multiple buffs and dynamically apply the correct one

obtuse wigeon
#

can I specify context tags as ingredients in recipes without a framework, only Content Patcher?

lucid mulch
#

that sounds like a spacecore feature

vernal crest
#

The animal sprites change automatically based on the installed farm animal retexture mod and can be rotated to show a front, sideways, sleeping, or eating sprite.

(Animal textures from Qute Animals)

obtuse wigeon
#

Gotcha, thank you

steel beacon
uncut viper
hard fern
#

Piggy

uncut viper
#

how'd you get them to change based on the installed retexture?

steel beacon
hard fern
#

Overlay from the animals png? 🤔

vernal crest
steel beacon
#

Those animals are too cute!

uncut viper
#

oooh

#

clever

vernal crest
#

(Animal textures from Qute Animals)

uncut viper
#

(by the way, i just added another option to CMF so anything with the context tag "spiderbuttons.cmf_hide_shadow" will not have its shadow drawn when on an item pedestal)

obtuse wigeon
#

Aba, I remember you mentioning content packs can change the frame and background, can others be added or can they only be modified?

uncut viper
#

(bc it did look quite terrible with a table lol. better to draw the shadow into the furniture texture itself)

#

(or just leave it off... off looks better than on even if off looks odd)

vernal crest
obtuse wigeon
#

Gotcha! I shall certainly be making a frame and background pack for a dark academia aethstetic, thankfully config options can easily change which ones are enabled and which frame and background is replaced

vernal crest
#

Bleh I hate it when I want to test something but at some unknown point I broke one of the pieces of the pipeline for that thing so I have to go find and fix that first

#

(My donations have broken wah)

#

My museum is...finished? But it's empty!

obtuse wigeon
#

I get ya, I have done that so much more than I care to admit

#

Half WOO?

vernal crest
#

Donation requirement was looking for an object still

#

Button I see what you mean about the shadow looking strange. I will add the context tag!

obtuse wigeon
#

Well It seems I am unable to download the mod dump, network failure twice right at the end of the download (There was no network faliure)

uncut viper
vernal crest
#

Thank you I shall check it right now

lucid mulch
brave fable
#

this may have been the kind of info he wanted before finishing the 77gb download SDVdemetriums

obtuse wigeon
#

That's what I had been using but it seems to have issues regardless, I'm hoping it's just this computer that has issues specifically

uncut viper
lucid mulch
#

I cant remember if I had one of my servers download it and then I downloaded it from myself rather than directly from the storage acount

obtuse wigeon
#

I am downloading another client that may work

#

I forgot that I have a server I can download it to, that isn't a bad shout thank you!

brave fable
#

i was so sure noone would assume finish meant success SDVdemetriums

uncut viper
#

i think if someone says "you finished college" they wouldnt count dropping out in your third year

lucid mulch
#

looks like I did just download it normally last time but took two attempts

brave fable
#

if i give you a picture will you get OFF my case button

lucid mulch
#

I'm finished with this conversation does not necessarily mean the conversation went well

obtuse wigeon
#

Well this time it's using my whole bandwidth rather than half of it so it should download in just under 2 hours, speedy

uncut viper
#

i can be easily bribed

drowsy pewter
#

healthy dose of grammar pedantry to start the day SDVpufferchickmorning

obtuse wigeon
#

after being here for a short while, I have learned to not expect anything less SDVkrobusgiggle

lucid mulch
#

It is literally our jobs to talk literally to a computer, and if you said the C# equivalent of Lets eat grandma instead of Lets eat, grandma , she isnt going to be around much longer

brave fable
#

let's*

#

🌹 ...

hard fern
#

Aaaaaaa

obtuse wigeon
#

That is beautiful!

brave fable
#

it's scuffed but i'm finished with it in the not-necessarily-successful sense because i just realised i didn't actually put the gap in the sides of about 64 pants frames

hard fern
#

Welp

#

Back to the pants mines for you, i suppose

lucid mulch
#

64 sounds a lot but knowing pants thats probably like 5% of the spritesheet

drowsy pewter
#

im sure you will get many players complaining

uncut viper
#

bribe successful, very pretty picture

brave fable
#

i'm sure i can fix it up in another 3 years

vernal crest
#

My favourite are the hakama

brave fable
#

actually the side pants frames are my least favourite so fuck it, we redraw all the hair now

#

some fine 2021 crust on these sprites

tired matrix
ocean sailBOT
#

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

uncut viper
#

you're gonna have to be a bit more specific about which error you're asking about i think

#

considering there are 246 of them

drowsy pewter
#

please say more about what you are working on

uncut viper
#

and if theres a json involved that also needs to be shared

lucid mulch
#

if its the billion errors at the front, it seems you have a lot of folders but at no point in the assets/Hats/Hairs file tree it actually found manifest.json

obtuse wigeon
#

or Hairs

latent mauve
#

Remind me to add an article explaining how to set the home for Pelican Valley Loft NPC Apartments on the mod page in 12 hours

patent lanceBOT
#

.....ok..... (#6860504) (12h | <t:1757700659>)

latent mauve
#

I just got my first comment asking how the heck you do that, LOL

obtuse wigeon
#

(I really should download some NPCs for it, it's very weird being completely empty)

latent mauve
#

(I don't dare publish it but I did come up with quick files to house a bunch of old abandoned characters in it)

obtuse wigeon
#

I may make some random none social NPCs to fill it out, I'd be able hone those skills abit (not that I have those skills to begin with)

latent mauve
#

It is really very easy to create EditData patches to move preexisting NPC's homes into the empty apartment rooms.

lucid mulch
#

and their schedules?

latent mauve
#

Most of the ones I tested with didn't have bed schedules anyway, so that wasn't a big deal either

#

(lorewise, you can always claim that a resident who doesn't return back in the evening is staying out late)

#

But honestly, if you just wanted to fill out the apartment with a bunch of shutins for personal use, you could probably make nonsocial NPCs from the festival tourists

drowsy pewter
#

i guess we'll never know what error they needed help with

latent mauve
#

I am assuming they actually needed modded-tech support instead based on that log

obtuse wigeon
#

I have been watching modded tech support but I havent seen it there, entirely out of sheer curiosity

keen geode
#

SDVpuffersob WDYMM'

drowsy pewter
#

forever a mystery

lucid mulch
#

commas are useful in json

obtuse wigeon
latent mauve
#

You need so many commas

#

Every line just about

keen geode
#

I only took them off cus it told me to-

#

AHHHHHHHHHH

obtuse wigeon
#

In fact you need all the commas

tired matrix
gentle rose
#

I think you may have misunderstood what it was telling you, do you have a screenshot?

proven spindle
#

(and getting the energy to do it lol)

tired matrix
#

the tinker isnt appearing at all

uncut viper
#

please give me a line number

drowsy pewter
#

you also need to share the log again now that you changed something

keen geode
#

can someone pls help

#

I will die

uncut viper
#

Neuvi you're using the wrong JSON format

tired matrix
uncut viper
#

thats a manifest file not a content patcher file

#

Switch it to manifest and its fine

gentle rose
obtuse wigeon
#

You were using the wrong json schema, changing it to manifest shows that that is right

keen geode
#

omg it automatically switched and I didn't even pay attention

latent mauve
#

All is well, just had to switch the schema

drowsy pewter
keen geode
#

ty guysss

obtuse wigeon
gentle rose
#

I feel like there’s a way to add a warning about that to the schema tbh SDVpufferthinkblob but idk if pathos will want that since it’s technically not strictly a part of the schema itself

tired matrix
uncut viper
#

thank you

tired matrix
keen geode
#

ok but I have another problem, the manifest keeps going empty SDVpuffertbh

gentle rose
#

wdym?

keen geode
#

like I launch, and it just erases the manifest text inside

obtuse wigeon
#

Are you saving the file?

gentle rose
#

that’s strange. do you have vortex installed?

latent mauve
keen geode
#

No vortex and yes I am saving it and also as json

latent mauve
#

Do you have file extensions turned on?

gentle rose
#

can you send a screenshot of your mod’s folder, please?

keen geode
#

should I turn it off?

gentle rose
#

no, on is good!

obtuse wigeon
#

nope, It should be on

latent mauve
#

You want file extensions on so we can see the extension in the screenshot

#

Ideally include the filepath in the screenshot too

keen geode
keen geode
gentle rose
#

just what’s inside your mod’s folder

latent mauve
#

I'm gonna back off and let iro handle it, don't want to overwhelm you

obtuse wigeon
#

(that's what I've done too, I know how overwhelming it can be when loads of people are talking towards you)

keen geode
#

This is the whole folder, I did move them before just to make it easier for myself, but the same thing happened then too-

gentle rose
#

whatever folder the manifest file is in please, if that makes sense

keen geode
#

oh

#

yeah...

#

that's what I was wondering xD

#

gimme second

#

SDVpuffertbh sorry I am dum

lucid mulch
#

being 0 kB looks concerning

keen geode
#

yeah idk why

gentle rose
#

that’s the issue, it’s blanking the file

drowsy pewter
#

what is a json-fil

keen geode
#

fil is the swedish name for file

uncut viper
#

(JSON file but in a differnt language)

obtuse wigeon
#

json file but in swedish? I think

keen geode
#

yaaas

obtuse wigeon
#

(Woo I know my languages!)

gentle rose
#

if you double click the manifest file, what do you see?

keen geode
#

SDVpufferparty hehe

uncut viper
keen geode
#

it's self destructing, I do not appreciate it

gentle rose
#

Can you try copy and pasting into it one more time, saving the file, closing notepad, then running the game?

tired matrix
#

its my custom npc's json

gentle rose
#

(I get the feeling “closing notepad” is a scary suggestion for you SDVpuffersquee)

uncut viper
keen geode
#

trying it now xd

tired matrix
#

no error message

uncut viper
#

it doesnt matter if theres nothing, send the log

keen geode
#

this happens everytime

tired matrix
ocean sailBOT
#

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

keen geode
#

Manifest invalid

#

literally self deletes

gentle rose
#

so this is one of those cases where I suggest a computer restart

obtuse wigeon
#

If a restart doesn't fix it, might I suggest making the manifest somewhere else (like the desktop) then moving it into the folder

uncut viper
obtuse wigeon
#

(Thinking maybe steam read only is having a bit of a tantrum)

keen geode
#

lemme try one more time, then I restart and try the desktop trick

#

I pray I'm not the problem-

#

I worked so hard on these crops SDVpufferwaaah

tired matrix
#

trinket appears fine

obtuse wigeon
#

To me it looks like you aren't the problem don't worrySDVkrobusgiggle

keen geode
#

Yep still no workie, will do a quick restart SDVpuffertbh SDVpuffersob

hard fern
#

Looks like your computer is cursed SDVpuffersweats

uncut viper
# tired matrix yeah, no tinker

if its a Trinket Tinker thing then unfortunately i think you'll need to wait til you can catch chu around, I'm not familiar with Trinket Tinker details myself

tired matrix
#

catch what kittyoops

keen geode
uncut viper
#

as in wait for Chu, the author of the Trinket Tinker framework, to be around to ask them for help

tired matrix
#

ah

#

its weird cuz if its not a custom npc it works

hard fern
keen geode
#

ok but now this is popping up all of a sudden so I clearly did something wrong

hard fern
#

Uhhhh

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.

keen geode
#

for the manifest or content?

vernal crest
#

Content

hard fern
#

Content

obtuse wigeon
#

what a lovely token tantrum, that yellow truly makes the console pop

keen geode
#

OKAY BUT WHY DID MY COTENT DELETE NOW

#

HELLO

obtuse wigeon
#

This sounds like a notepad issue now, I suggest you download Notepad++ or VSCode (Notepad++ is probably the more freindly option, and both are completely free)

vernal crest
#

It wasn't deleted when it was in game or it wouldn't have given you those errors, so it might be something to do with when you're opening the file.

#

(I recommend VSC, it's better at supporting newbies with syntax)

keen geode
#

I see there is an issue that wasn't there before

obtuse wigeon
vernal crest
#

As I suspected, you're trying to use tokens that you haven't defined

vernal crest
#

You need a ConfigSchema to tell content patcher what those "Crops" and "CropsMap" tokens are.

vernal crest
keen geode
#

oh yeayea that was simply when I opened it, but I use to other one for saving the json

keen geode
#

I am just doing this all today for the first time so I'm a bit lost SDVpuffertbh

obtuse wigeon
#

you're also missing a { right at the start of the file before "Format" (Unless that wasn't copied into the website, just as long as it's there in your file)

vernal crest
#

Also just to check: do you know why you have those When field conditions? Like what you're using them for?

keen geode
#

I am clueless SDVpufferparty

obtuse wigeon
#

Are you editing the vanilla sprites, or sprites added by another mod?

keen geode
obtuse wigeon
#

You shouldn't need the when conditions at all then I'm pretty sure

vernal crest
obtuse wigeon
#

(I do love those sprites, they look fantastic)

vernal crest
#

(You can still decide to have them as separate sprites, especially if it's a personal mod. I'm just letting you know so you can make an informed decision ^_^)

keen geode
#

do I remove all the "when"

#

then?

obtuse wigeon
#

Yep

keen geode
#

alr lemme try that out

vernal crest
#

Yes, regardless of whether you have individual sprites or not, right now you want them all to apply (I assume) so the When field is of no use to you.

gentle rose
#

also since you’re having issues with files being overwritten, I recommend only opening them in one app at a time

#

(sorry, had to to do things)

vernal crest
# keen geode alr lemme try that out

The When field is used when you only want things to apply sometimes. Like in the case of configs, if you decided you wanted one set of crop textures that gave them all little faces and one set that were normal and you wanted to be able to switch between them, you'd set up a ConfigSchema to add a way to choose between them and then you'd use the When field to say "when the crop face option is true, use the sprites with faces and when it's false, use the sprites without faces"*.

* there's actually a more efficient way to do something like that than having two patches with When fields but for the sake of this example we'll ignore that lol

keen geode
keen geode
#

I deleted the whens.. I think I have too many }, in the middle

vernal crest
#

No errors there

obtuse wigeon
#

That looks right, not errors atleast

keen geode
#

ooo alr idk how to fix the rest tho

vernal crest
#

What do you mean, fix? What is there to fix?

keen geode
#

oh the valodation it says "Property format has not been defined and the schema does not allow additional properties."

#

and then

#

property changes has not been defined and the schema does not allow additional properties.

obtuse wigeon
#

Thats because you had it set as the wrong Schema type

keen geode
#

oh

#

SILLY ME

obtuse wigeon
#

Thats the right schema type and it says no errors! so you're good

vernal crest
#

Yeah you keep setting it as manifest

keen geode
#

SO SORRY SDVpuffertbh

#

could it possibly work now

#

er

#

we shall see

#

OMG OKAY BUT THE SPRITES WORK IN GAME

#

NOW WHAT DOES THIS MEAN

obtuse wigeon
#

Looks like you still have extranious tokens

keen geode
#

WHEATTTTT

obtuse wigeon
#

"FromFile": "assets/CropsMap/grapes_{{Trellis}}.png", change this (and the others with {{trellis}}) to the actual file name in your mod folder

keen geode
#

oh I see it

versed wyvern
#

Would anyone happen to know how Content Patcher Animations behaves if another mod tries to EditImage the same ToArea spot an animation's at? I'm trying to overwrite and disable something in order to redirect it somewhere else

keen geode
#

@vernal crest@obtuse wigeon @gentle rose Thank you so much you guys, you guys are so amazing

obtuse wigeon
#

Glad it's fixed and working! You're very welcome, glad to be able to help

keen geode
#

My first mod, IT'S A MIRACLE SDVpufferwaaah

gentle rose
#

not a miracle, your doing!

keen geode
#

FLUFFY HAAAAAAAAAAAYYYYY

keen geode
hard fern
#

congrats :3

#

it looks good

hard fern
#

cracks knuckles time to figure out how to make flavored items

dusky sail
#

Its easier than it seems actuallt

merry rampart
hard fern
vernal crest
#

Same for the other two config options

hard fern
#

it's wrong on every config yo

#

yeah.

merry rampart
#

ah ok

#

ugh i should just go to bed...

#

It works, at least. Just need to do i18n stuff but that's a problem for tomorrow me

#

the i18nifier doesn't support furniture. so im gonna have to do this manually...

vernal crest
#

Spreadsheet programs are pretty good for i18ning quickly

#

You put {{i18n: into one cell, your key into the next column, then }} in the third. Then use concat to join 'em up.

merry rampart
#

i dont have excel x.x

inner harbor
#

huh, my date overrides don't appear to be working.

#

(it says they have but I got generic dialogue)

hard fern
#

huhh... i probably asked before but there's no way to use flavored items as input items, right? since they dont actually have their own item id, they just use the base item id

vernal crest
hard fern
#

hii im here

fading walrus
hard fern
#

🤔 flavor can be inherited with context tags?

vernal crest
hard fern
#

woahh

#

im saved.

fading walrus
#

PELIQ GO BRRRR

#

bless chue honestly

hard fern
#

amazing banner

vernal crest
#

It was made so that Goat could sell every type of fish bait at once

#

It will mean that if a player adds mods with items that meet the conditions, those items will also be useable as input

dusky sail
#

Hooray for framework mods!!@@

vernal crest
#

(Caveat: I am at mushy brain part of day so if I have misunderstood machines or PeliQ and raised false hope, I am sorry!)

#

Also it might just be me but the instructions are much easier to read on the github than on the mod page

hard fern
#

yeah idk i feel like my brain is being busted trying to read it on the mod page lol

vernal crest
#

I think what you want is the first one, the one that uses the fish bait example

hard fern
#

uhhh

#

honestly im still kinda confused by how it actually works

vernal crest
#

Do you have any existing json for the machine I can try to put it into?

#

If not I will just write some

hard fern
vernal crest
#

I don't want a local token template, you won't need local tokens for this

#

Just your Data/Machines entry where you make the machine/add the rule

#

(Sorry if that sounded abrupt it wasn't annoyed just too tired for emojis lol)

hard fern
#

i can write something up really quick for like, making apple wine back into apples, i guess? (or i can try lol)

vernal crest
#

Nah don't worry I will do it, hold on

#

Actually what machine is this for? Existing? New?

hard fern
#

existing, i wanna put it in a keg

vernal crest
#

Okay

drowsy pewter
#

you can take flavored items as an input with vanilla--for machines yes?

#

I tried to backread but i feel like I missed a chunk of context

hard fern
#

what i read in the wiki is if you do that it will just take the item it's flavored with as an input

#

like if you use apple wine, it will take the apple

drowsy pewter
#

and you want to make apple wine xyz instead?

vernal crest
#

Apple Wine Perfume

hard fern
#

uhh more like i want it to create a new item. like apple wine + cranberry wine = apple cranberry wine

(i wont actually be using wine)

vernal crest
#

Oh you want to combine things

hard fern
#

yeah....

vernal crest
#

That is not the same

#

I have no clue

drowsy pewter
#

yeah thats different

#

ok next question do you want the output item to be automatic or are you specifically manually making apple cranberry wine

hard fern
#

i want it to be specific combinations

drowsy pewter
#

So you need EMC to do two items in one machine

hard fern
#

so you can do apple + cranberry, apple + orange, but not something like apple + fish

drowsy pewter
#

and vanilla takes the apple wine in the first place using context tags

vernal crest
#

Why does it need to be the flavoured item?

drowsy pewter
#

You can definitely take apple wine using the context tag trigger field and use the tag for apple flavor with the tag for wine id

vernal crest
#

Why are you making apple and cranberry wine perfume? /curious

hard fern
#

SDVpufferwaaah ok maybe using wine was a bad example

vernal crest
#

But you said you want to use a flavoured item as input. Apple is not a flavoured item.

#

But did you actually mean you just want to use two items?

hard fern
#

ok let me start over

drowsy pewter
#

is this the essential oil situation

hard fern
#

yes

drowsy pewter
#

its apple essential oil

#

same deal for what i said

hard fern
#

i thought using wine would be easier since it already exists and i could use it as a placeholder

vernal crest
#

Ah okay

drowsy pewter
#

the trigger field for a machine entry takes a set of tags

#

You need emc for the second item

#

or you can makr it a crafting recipe with spacecore or i think better crafting

vernal crest
#

I am glad you arrived 6480 lol

#

I had a totally different intended outcome in mind

drowsy pewter
#

I am glad there is something for me to do while i stand in the train back home

vernal crest
#

(Which was to use anything-flavoured essential oil without having to specify the flavour)

#

Is that possible just with vanilla too?

drowsy pewter
#

yes

vernal crest
#

Hmm then why did Goat need PeliQ SDVpufferthinkblob

drowsy pewter
#

idk

vernal crest
#

Maybe because Goat didn't have access to machine-specific fields

drowsy pewter
#

if you want to pass one the full flavor of "Apple Wine" instead of "Apple" or "Wine" maybe

#

cus i havent done that before

hard fern
#

maybe im just tired but i can't find a context tag for flavor

vernal crest
#

Well Goat was selling, not machine-ruling

drowsy pewter
#

but thats entirely related

vernal crest
#

He wanted every fish bait in the shop at once

drowsy pewter
#

its preserve sheet index

hard fern
#

ahhh

vernal crest
#

I imagine chu will probably backread and correct me at some point lol

drowsy pewter
#

@hard fern You can always ping me with machine questions, just try to describe the intended full outcome rather than specific problem cus it can help ppl better see where the hangup is

hard fern
#

👍

brave fable
#

i didn't even know it was possible to write shop data this badly

hard fern
#

oop

#

SDVpuffersweats how did that happen

drowsy pewter
#

blueberry forgot the side slits

brave fable
#

i forgot SDVpufferpensive ran out of memory...

warm field
#

Oops

hard fern
#

ughhh time to test my mod before going to sleeep

#

if it explodes and dies thats a problem for later me

warm field
#

Maybe you'd even dream up a solution for that

drowsy pewter
#

innocence is bliss..

#

ignorance..

#

whatever

lucid mulch
#

my best work has been in an all nighter

drowsy pewter
#

sounds terrible, i'll take ten

obtuse wigeon
#

all my work has been in an all nighter, I'm suprised I manage to function during the day

lucid mulch
#

the incredibly cursed snake support was an all nighter

obtuse wigeon
#

I'd expect nothing less with an idea like that SDVkrobusgiggle

lucid mulch
#

the snake was childs play compared to the cursed selene

vernal crest
#

I just make stupid mistakes when I don't rest when I need to. Like just now, when I accidentally used git to delete a bunch of changes and files that I didn't intend to get rid of.

obtuse wigeon
#

What's the etymology behind "Selene"? does it have something to do with Lua or just illiteration?

lucid mulch
#

Selene goddess of the moon, and Lua is portugese for Moon

obtuse wigeon
#

Ahh good little portugese fact there, nice

vernal crest
#

I didn't know there was an undo and I've done other stuff since so 🤷

brave fable
#

depends if your editor was open to those changes at the time SDVdemetriums

lucid mulch
#

Its more of a fun Lua fact, and is why its not LUA but Lua

brave fable
#

you know, i've never actually imagined the lua logo as the earth and the moon before

obtuse wigeon
#

I learn more every day, I've used basic Lua in the past, never quite got the hang of it enough to be very useful

vernal crest
#

I also immediately forgot what files they were so I can't go look for them or replace the changes either

lucid mulch
#

For me, all nighters happen for me from being hyper focused on a task that everything else is an after thought until the problem is solved

#

It has resulted in me needing to do emergency food deliveries in the past because it became 3-5am and I didnt have dinner, but ah well

brave fable
#

you should invest in a hungry roommate. it'll ruin your workflow but greatly improve your diet

lucid mulch
#

Abby is always hungry but only actively goes after me for her morning wet

obtuse wigeon
#

During Uni that was basically my method of sustenance, especially when essay writing when I literally could not break focus or it would all be gone

lucid mulch
#

as I automated her 24/7 dry

vernal crest
#

Speaking of overdue food

brave fable
#

your roommate sounds weird

elfin totem
#

Hey, are you familiar with mod Personal Combat Drone Redux? I was wondering if it you be possible to make other things, like a pokemon that attacks monster

obtuse wigeon
#

Can Trinket Tinker do stuff like that? or maybe Custom Companions

lucid mulch
obtuse wigeon
#

Your roommate looks very cute, and mildly terrified

brave fable
#

strange, she doesn't look wet SDVpufferthinkblob

lucid mulch
#

it wasnt morning

hard fern
drowsy pewter
#

are you using another mod as an example

lucid mulch
#

LocalTokens my beloved

hard fern
#

nope im going in absolutely blind... and by that i mean im following the wiki and not much else.

drowsy pewter
#

You dont have any fields for copying the flavor or the color, I think you should look at some other mod

brave fable
#

a little concerned that i changed nothing and the out-of-memory exception went away. ominous

lucid mulch
#

you will want "PreserveId": "DROP_IN_ID" in the outputitem I think

drowsy pewter
#

this example uses the outdated emc method of copying color but you need the vanilla field from the wiki machine data page for color too

#

or you can use the emc one since you're using emc anyways

lucid mulch
#

hmm wiki says DROP_IN_ID but that Cornucopia example is just DROP_IN and looking at code is also just DROP_IN or DROP_IN_PRESERVE

#

or I just misread the common fields section and should read the relevant row

drowsy pewter
#

no idea

hard fern
#

uhh i tried following it but no dice

drowsy pewter
#

following what

hard fern
#

uhh

#

the github page

drowsy pewter
#

ok so what did you do

hard fern
lucid mulch
#

click a line number and then shift click a second line and you will get that

hard fern
#

... did i forget the color thing

drowsy pewter
#

You need to be using {0} in some places not (O) btw

#

yes you did

#

forget the color

#

use the color field from the wiki page

finite robin
#

hello i have come with a question Polite

has anyone ever thought about something like Fields of Mistria where donations to the museum trigger a flag for characters to talk about said donation? like a donation related dialogue, so to say (in case anyone in the future comes searching for the same question as me)

drowsy pewter
#

Your object data also needs a field for using color from next index if it doesnt already btw

hard fern
drowsy pewter
#

internal name

hard fern
#

a

#

like the item ID part?

lucid mulch
#

yeah you want to template the ObjectInternalName so it doesn't stack with other flavored items of a different flavor

drowsy pewter
#

the internal name

finite robin
hard fern
#

well. it... worked

#

but now the whole thing is brown.

hard fern
#

it does though?

obtuse wigeon
# hard fern huh

I think you only need the liquid texture, and the rest transparent, next to the original sprite

drowsy pewter
#

not in your object data it doesnt have it

#

unless you changed that in the last five minutes

drowsy pewter
#

you made a new item and etc etc?

obtuse wigeon
#

I noticed on the wiki about stone chests and in some context tags theres mention of spoilable items, I cannot think of any spoilable items at all, what is that about? is it an unused/unimplimented feature or have I entirely missed it?

gray bear
#

unimplimented feature

#

wiki page for chests says Items do not decompose in chests.

hard fern
#

oh i am dumb forgot to patch reload

gray bear
#

guessing CA planned for that feature but never added it

obtuse wigeon
#

Time to see if theres a mod to enable it, Seems like an interesting system (ableit a tad annoying but I can think of other uses that aren't as annoying)

drowsy pewter
#

stardew having a spoilage mechanic sounds hilarious

brave fable
#

well it's true\

gentle rose
#

most unimplemented systems can’t just be enabled, there’s significant code missing tbh

gray bear
#

uhh doesn't Fresh Farm Produce kinda do that

gentle rose
#

(see: raft/lantern, map, luck skill)

obtuse wigeon
#

I was just thinking if there was a mod that expanded on it and made it somewhat functional, especially if an item spoils into another item rather than disappearing

drowsy pewter
#

thats probably what the broken fruits on the objects sheet are

brave fable
#

actually does it prevent a Jack o' Lantern from turning into a Rotten Plant

obtuse wigeon
#

Okay so there is (thanks erinthe) but it is 3 years old

gentle rose
#

I think so, yeah

hard fern
#

aha! it works. im now going to like. collapse.

gentle rose
#

questions to anyone here who knows about the pathfinder, am I remembering correctly that pathfinding for npcs is handled on day start? and if so, how does it handle a used warp being removed at certain times (if it even does)?

hard fern
#

😭 thanks for everyone who helped...

gray bear
#

great work!

obtuse wigeon
#

I think they recalculate on map change aswell right? I feel like I remember that being mentioned when NPCs would use community upgrade shortcuts

gray bear
#

ik it's minus energy but looks very drinkable

hard fern
#

my official mortal enemy is like. machine rules bc

#

so help me

gray bear
#

what's up

hard fern
#

oh, no i dont need help (anymore)

gentle rose
#

aren’t community upgrade shortcuts done overnight

#

sinz save me you know this stuff

lucid mulch
drowsy pewter
#

i like macgines'

calm nebula
#

In flight schedules will not update

gentle rose
#

so they’ll just get stuck

lucid mulch
#

community upgrade shortcuts happen when you enter the map iirc

gray bear
gentle rose
#

I assume in flight schedules are for the entire day, not point to point?

hard fern
#

remind me in 8 hours to next step: buff trigger action mail flag crimes upon drinking the perfume

patent lanceBOT
#

mmmmmmmmmmm I'll think about it (#6860778) (8h | <t:1757706271>)

lucid mulch
#

entire day is done in bulk

gray bear
#

don't know if that's correct though

calm nebula
#

Smapi will try to propagate schedules

lucid mulch
#

which is what powers my schedule debugger

calm nebula
gentle rose
calm nebula
#

But if smapi updates the cache after that they will show up

#

Community updates are actually applied when you warp to the map in question

#

Vanilla doesn't usually update the macro cache

gentle rose
#

so they’ll likely not be used by npcs the first time you visit them, and almost definitely not before you visit that map for the first time

calm nebula
#

But smapi does

lucid mulch
#

first time that session

#

restart smapi and pathfinding will revert back

gentle rose
#

yeah, good point, that’s what I meant but definitely not per save lmao

vernal crest
#

Are the shortcuts applied every time you warp or...that answers that

gentle rose
#

I only think in sessions, saves are a myth and can’t hurt me

lucid mulch
#

they happen first time you enter and wont reapply it as it remembers, but if smapi or someone else invalidates the map, it will have to run again and I think smapi will just do it immediately as propgation does call map modifications iirc

calm nebula
#

There was also something where it kept applying multiple times in multiplayer

gentle rose
#

so, when are we rewriting the scheduler/pathfinder again?

calm nebula
#

I'm retired 😛

gentle rose
#

(/lh)

calm nebula
#

I'm very happy with my life decisions

vernal crest
#

So if someone did an ontimechange map edit they would keep being reapplied?

lucid mulch
#

I dont remember what my reminder for tomorrow morning is, it might have been scheduler related idk

gentle rose
#

you can list them

lucid mulch
#

I prefer the surprise

gentle rose
lucid mulch
#

MapModifications are arguably slightly better than an actual EditMap patch as it doesnt need to load another map, vanilla just mutates the map directly with what it wants

gentle rose
#

I’m blanking on what those are

lucid mulch
#

the expensive part is reloading the entire map, not applying the shortcut again

vernal crest
lucid mulch
#

there isn't a time window between being invalidated and reapplied

#

its already reapplied before the Invalidate function has finished blocking main thread

gentle rose
#

the pathfinder only works on day start, and since the game only does one thing at a time (for the most part), nothing happens between invalidation and reapplication like sinz said

hard fern
#

does a shop entry Id have to be the same as the item you're trying to put in the shop

vernal crest
#

Hm that isn't quite what I was expecting. I thought it'd be invalidate -> reapply, not start invalidate -> reapply -> end invalidate. Interesting, thanks

lucid mulch
#

you get this nested behaviour

gentle rose
#

would the c# compiler even allow that

lucid mulch
#

Profiler can handle recursion perfectly fine, it just cant handle multi threadding

gentle rose
#

I refuse to even joke about multithreading stardew

#

performance is the least of your concerns

vernal crest
#

I am probably betraying a great deal of ignorance here, but how can that happen? Isn't Stardew single threaded? Is SMAPI multi-threaded? (Am I even understanding threading remotely correctly haha - okay judging by the last couple of messages I am not understanding it lol)

lucid mulch
#

Stardew is effectively single threadded but its still C# and nothing stops you from invoking more threads, its just that pretty much no code is thread safe

gentle rose
#

my messages were inspired by the entire course I took on how to program concurrently, whose moral was ultimately “don’t!”

#

also ig mp is a form of multithreading which is kind of why it’s so cursed

lucid mulch
#

split screen co-op isn't multi threading which is partly why performance is so bad

vernal crest
#

Hm yes it appears I have definitely gotten mixed up

gentle rose
#

tl;dr a lot of things you would assume are very basic in programming break as soon as you have two threads doing them at once

say you have two threads that are trying to increase a variable x by one. if you’re doing it concurrently you can run into the issue that thread 1 grabs the original value of x, thread 2 grabs the original value of x, thread 1 sets x to original + 1, thread 2 sets x to original + 1, you only counted one of them

#

-# (yes I know incrementation is usually an atomic operation, whichever one of you was about to comment that /lh)

vernal crest
#

Okay, what about running two unrelated processes at the same time? Is that multithread?

gentle rose
#

it is but if they’re completely unrelated, they’re usually safe

#

but as soon as they so much as touch the same thing, you can have issues

vernal crest
#

But vanilla only runs one thing at a time?

gentle rose
#

(if you’ve ever heard of people here talking about mutexes, that’s a tool you can use to protect things in these contexts)

obtuse wigeon
#

It's often more difficult to prevent 2 things from affecting the same thing than making it safe for them to work together too (at least in my limited experience in multithreaded data processing)

lucid mulch
vernal crest
#

How can SMAPI be running CoreAssetPropagator.Propagate() and whatever it's doing with Maps/winter_outdoorstilesheet at the same time?

lucid mulch
#

in a single threadded mindset, the simplest way to read these flame graphs is read left to right, and the thing currently running is the furthest down

lucid iron
#

Multiplayer is multiprocess not multithread

lucid mulch
#

so Warped called UpdateContext which called Propagate which called PropgateTexture which called AssetReady which called Propagate (again) which called propagateTexture which then did a CopyFromTexture.

once CopyFromTexture finishes, its back to PropagateTexture running operations again and when it returns, its back to Propagate, etc

gentle rose
vernal crest
#

Oh I see

lucid mulch
#

if the thing at the bottom threw an exception, that cross section will be the stack trace

vernal crest
#

So they aren't all actually doing something at the same time

gentle rose
#

what if I like to be wrong, chu? SDVpufferwaaah /lh

vernal crest
#

Ok cool thank you both for explaining SDVpufferheart

#

Another programming knowledge nut I can stash away for winter and hopefully not forget the location of lol

lucid mulch
#

on a semi related note, finding that screenshot was actually a great stress test for the new site, it handled that great and turns out I accidently made the tab buttons wrap around which was neat, good job past me

#

the JS heap might be 1.7gb from having these 12 logs loaded but thats fiiiiine

vernal crest
#

Is this new site available for general consumption?

#

(By which I mean us)

lucid mulch
#

wont be available until I release Profiler 2.1 and I haven't gotten around to adding the special sauce into Profiler 2.1 (or the site) to justify it

vernal crest
#

I will wait then

#

I am looking forward to looking at my log with this one

lucid mulch
#

also it doesn't have a log viewer at all currently as my nieve attempt crashed SolidJS which wasn't fun

hard fern
#

pls ping bc i might end up falling asleep

brave fable
#

(i thought you were going to sleep after the last 'one last fix'?)

hard fern
#

(i lied)

vernal crest
#

You can add an action right to its shop entry, you don't need a separate trigger actions entry

hard fern
#

wait i can???

#

ugh

vernal crest
#
{
            "LogName": "Add the shop items",
            "Action": "EditData",
            "Target": "Data/Shops",
            "TargetField": [
                "{{ModId}}_CommissionsShop",
                "Items"
            ],
            "Entries": {
                "{{ModId}}_{{LT_AnimalName}}CommissionReceipt": {
                    "Id": "{{ModId}}_{{LT_AnimalName}}CommissionReceipt",
                    "ItemId": "{{ModId}}_{{LT_AnimalName}}CommissionReceipt",
                    "TradeItemId": "{{ModId}}_{{LT_AnimalName}}Film",
                    "AvailableStock": 1,
                    "Condition": "!PLAYER_HAS_MAIL Current {{ModId}}_Commissioned{{LT_AnimalName}} Any, PLAYER_STAT Current {{ModId}}_{{LT_AnimalName}}PhotoProduced 1",
                    "ActionsOnPurchase": [
                        "AddMail Current {{ModId}}_Commissioned{{LT_AnimalName}} tomorrow", 
                        "AddConversationTopic {{ModId}}_Commissioned{{LT_AnimalName}}CT {{CT_TimeGate}}"
                    ]
                }
            }
        },
hard fern
#

SDVpufferflat and ofc i accidentally closed the game

#

sigh

lucid mulch
#

I would suggest SpeedySolutions but it makes it fast to load the game again at the cost of not letting patch reload play nice

hard fern
#

SDVpufferwaaah i patch reload like no tomorrow

lucid mulch
#

though I guess you could just turn off the in memory image cache which is the only real thing fighting against patch reload

#

the bulk of the time save for startup comes from the sound logic and you probably aren't tweaking audio files

hard fern
#

anyways! i am totally happy it works now. yahoo.

#

i guess ive just made the item itself double as a recipe

#

since you can only make the item if you've bought it once

hallow prism
#

people familiar with GSQ and trigger actions, is there any of those that cover the selling of an animal, and/or the reaching of max heart with an animal and/or what numbers of heart an animal you sold had? (absolutely not a specific very small niche case, there's probably a GSQ for this exact case somewhere)

#

summoning the knowledgeable people with those words :
"traction traction traction"
i heard this work

lucid mulch
#

sorry I cant help anymore I only respect trigger action action

lucid iron
#

You mean you want an animals sold trigger?

lucid mulch
#

but I doubt it, in general GSQ and trigger action actions only exist for stuff that vanilla might have wanted to use

#

or what were low effort enough that they snuck in anyway

lucid iron
#

I don't recall any framework adding it

lucid iron
vernal crest
#

You can check for friendship level with EAC but I don't know about the others

lucid mulch
#

as it was to kill the x precondition mail hacks

#

and x precondition mail was functionally LocationChange behaviour

#

but to fix issues like sleeping in ginger island or other places not triggering a farm locationchange they all got moved to global dayending

lucid iron
#

History DokkanStare

lucid mulch
lucid iron
#

I don't have access to this presumed 1.6 alpha link

lucid mulch
#

ah interesting

gray bear
#

Bloberoji_WallPeak unknown

obtuse wigeon
#

This time truly unknown

vernal crest
#

I don't either, which is interesting because I did have access to the last one you linked

gray bear
#

made me child me by accident. oh well

lucid mulch
gray bear
#

thats real cool

lucid mulch
#

in hindsight Hooks was the better name to prevent trigger action action or traction

obtuse wigeon
#

(side note, how do you make the names inline?)

gray bear
#

pathos scope creeping himself

lucid iron
#

-# Sheku is correct actions is a bad name

calm nebula
#

Data/DoStuff is underrated

brave fable
gray bear
#

Data/GetYapping

lucid mulch
gray bear
#

hey blueberry, checked the mod page but didn't find anything, does LoC edit some vanilla recipes?

calm nebula
#

I really enjoy pathos' new watermelon colors btw

lucid mulch
#

same

gray bear
#

yours are pretty nice too

calm nebula
#

Best jolly rancher flavor

obtuse wigeon
#

Ooo brilliant thank you! I thought it was a custom css thing

lucid mulch
#

I remember back in the day I would backread the modding channels looking for green, but then half the junimos became modders (or modders becoming junimos) and wasnt as practical, but Pathos being extra fancy makes it viable again

hallow prism
calm nebula
#

So my job has two buildings now and I'm pissed to announce the other building has jolly ranchers and we don't

brave fable
hallow prism
calm nebula
#

Smh

#

I want leftovers

hallow prism
#

i had an idea related to selling animals or having high hearts animals or, ideally, selling animals with high heart

brave fable
#

fortunately for you, loc sandwiches still give leftovers, leaving you with an incredible half a sandwich every time you eat one

gray bear
#

nice

calm nebula
#

Must be a big sandwich tbh

#

Usually I eat the whole sandwich

obtuse wigeon
#

Can't beat absolutely horfing a sarnie

gray bear
#

i cut it in half and then eat both halves

brave fable
#

in this fantasy game you have self-control

gray bear
#

that's the escapist reality i play video games for

hallow prism
calm nebula
obtuse wigeon
#

horfing = almost greadily consuming, stuffing your face
sarnie = British slang for sandwich

vernal crest
#

I'm always astonished by people who can eat a whole foot long Subway in one sitting

obtuse wigeon
#

people is me, I tend to not have much that is filling on it though

brave fable
calm nebula
#

I can eat an entire foot long subway sandwich in one sitting lol

hallow prism
#

thanks, atlas! now you're also a dictionary!

#

thanks, blueberry too 😄

hard fern
#

i once ordered like a whole bahn mi and i could only manage half

lucid mulch
# gray bear pathos scope creeping himself

it was cropped out, but he talked with CA and got it on the table, in part as it was very useful for modders, and also solved vanilla problems with the x precondition (which later fixed vanilla bugs by moving it to dayending)

lucid iron
#

I can't believe sdv farmer tossing a whole baguette into mouth is realism

calm nebula
#

Smh have you met long distance runners

#

The number of calories needed to run a marathon is also the number of calories in a costco pizza

lucid iron
#

Need the LoC sequel, Enjoyment of Eating

tender agate
lucid mulch
vital lotus
brave fable
#

i suppose you could get the same effect by having some kind of reverse Fast Animations that makes you slowly, joyfully eat your food to savour every bite

#

tl note: doucement

gray bear
#

if u wanna eat slower irl do what i did and get a wisdom tooth removed

brave fable
#

god you must've been hungry

tiny zealot
gray bear
#

doctor: pain should subside in 5 days
me, a week later: SDVpufferpain

hard fern
#

i have a bad habit of homfing food personally. i can finish a whole bowl of pasta in less than 10 mins but at what cost

#

i do not savor food at all

gray bear
#

tw // mention of ED kinda but not really?
||i am doing my best work to not have an awful relationship with food but dear lord, is it hard. am fat, am eat a lot, society shocked ik||

brave fable
oblique meadow
#

When you grow up very poor. You eat fast or you don’t eat. You learn to eat like a duck in that environment.

hard fern
hard fern
#

actually i try and get myself to eat slower

#

but its like im default fast

#

i end up making my chest hurt bc im too fast

gray bear
#

i also try to like, slow down usually. i just don't like wasting time™

vernal crest
#

I also do not savour food but in my case it's because I always wish I wasn't eating

gray bear
#

mood SDVpufferflat

vernal crest
#

Sadly, it translates into "eat very slowly so the thing you hate spends more time in your mouth" hahaha

gray bear
#

sometimes my little bro in his infinite wisdom decides to tell me i have a lot of of food on my plate

oblique meadow
#

Man. I love food. I can’t imagine not wanting to be eating

gray bear
vernal crest
#

Drat

#

I wanted to copy something from multiple layers and paste it onto a single layer. Tiled said "no"

gray bear
#

yeah tiled doesn't like that

hard fern
#

food taste good but like once u eat it it's gone :/ and then i get sad and empty

vernal crest
gray bear
#

yeah keep at it

vernal crest
#

This map is going to be so borked by the time I get to making it a real one and then I'm going to forget all the weirdness about it until I've basically finished making it and then I'll have to remake it and will cry forever

gray bear
#

borked maps is how u learn, sadly

obtuse wigeon
#

Speaking of food, this kimchi ramen smell horrific, nothing like kimchi at all disapointingly

gray bear
#

i spent a while ignoring the front layer only to realize that makes everything look so fucked

obtuse wigeon
#

I don't think I ever use the AlwaysFront layer

vernal crest
#

I do not need to learn, I knew how to make maps when you were in your cradle little Bea /lh

gray bear
#

we're the same age SMCKekLmaoDog

vernal crest
#

Whaaaat you're 34?

gray bear
#

wait no

#

i am indeed 10 years younger

obtuse wigeon
#

Omg i'm a child to you all

gray bear
#

baby noises

vernal crest
#

Okay you just thought I was young lol

gray bear
#

34 is young

vernal crest
#

Not compared to 24 it ain't lol

gray bear
#

i kinda assume everyone is the same age as me, not at all good with ages

drowsy pewter
#

got scared by the idea that bea and abagaianye could be the same age

vernal crest
#

I am clearly elderly

gray bear
#

am i clearly baby? do i need to ask

drowsy pewter
#

i dont want to say you're baby because i'm only a year older but yeah

oblique meadow
#

You’re old when you wake up scared of accidentally pulling a muscle in your sleep or hurting your shoulder sneezing too hard.

gray bear
#

oh don't worry im aware of my maturity level, or lack thereof

oblique meadow
#

You’re not there

gray bear
#

i do pull muscles in my sleep

vernal crest
#

I suspect my disability has accelerated this somewhat, but yes I do get stuck reaching into the backseat of the car or trying to scratch my shoulderblade now

obtuse wigeon
#

my issues certainly do lower the age at which these isses appear, 23 years of age in a body similar to that of a 50 yr old

gentle rose
fierce vault
#

Hi! Is it possible for someone to only edit some of the portraits of your portrait mod without

#

add new

#

Sorrry

#

My keyboard is really behign on my typing

drowsy pewter
gentle rose
drowsy pewter
#

....no

hard fern
gray bear
gentle rose
#

then idk who you're thinking of SBVLmaoDog

gray bear
#

adult daughter could be dog b_nod

#

wait u only have duke don't u

fierce vault
#

Essentially, can someone add new portraits to your portrait mod of a preexisting character without storing your entire portrait mod in their own mod that adds those new expressions?

warm field
#

Expanding a mod?

fierce vault
#

Someone sent me a DM asking about editing and adding onto my portrait mod

#

I don’t know exactly what im goign to say yet

#

But i do not want my mod to essentially be stored in the files of their own, rendering it useless to download the files from me, if it isn’t even possible for them to add onto it without still requiring the rest of my portrait mod