#making-mods-general

1 messages · Page 75 of 1

next plaza
#

I don't know if you can get that. You might be able to get things in the cache with reflection, but that wouldn't count things (for example) Action: Load-ed but not used yet

iron ridge
#

ah

tiny zealot
#

maybe if you add your own AssetRequested listener and cache the e.Names, you could check that when you're interested in what's been loaded?

calm nebula
#

In the back end it's basically a Dictionary<str, obj>

#

With enough reflection

tiny zealot
#

thinking about the reflection crimes i did to fashion sense to get a list of all installed hats

next plaza
#

Speaking of FS, is PeacefulEnd back, seeing as FS got an update a few weeks ago?

#

I never got a response last time I pinged, wonder if I should ping again

velvet narwhal
#

fs and at got an update didn't it? it doesn't scream in 1.6.9

next plaza
#

AT hasn't been updated in 5 months according to PeacefulEnd's profile page

velvet narwhal
#

i'm probably hallucinating the at update then because the harmony crimes

rancid temple
#

AT hasn't fully died in 1.6.9, I've had to rebuild it to get it working before SMAPI had an update

crude plank
#

Hi, I have a question, what would happen if 2 mods would add the same coop/barn animal possibly with the same id?

rancid temple
#

But it hasn't had any massive issues requiring an actual fix

next plaza
#

What I need to do with FS is patch/replace the slingshot draw function

velvet narwhal
next plaza
#

Conditionally

#

I have it working for vanilla, but wasn't sure about FS (especially with the license being GPL 🤢 )

lucid iron
jolly bane
#

that worked! thank you so much! now I just have to figure out how to make him fish in his schedule outside of events, but that sounds like a problem for future me

lucid iron
#

but if it happened then mod loaded later wins

velvet narwhal
lucid iron
#

for fishing could u abuse the willy fishing hardcoding

velvet narwhal
#

for a larger sprite? i don't think it'd play well

brittle pasture
crude plank
#

I had 2 mods that added the same fish and I got a game error that i couldn't figure out until i installed aquarium and it screamed at me about it and i changed the fish in one of them for personal use. I have a feeling the same thing might be happening with some animals but i'm not getting a similar game error about animals, so i guess i'm trying to understand how to figure out if it is happening

brittle pasture
#

that seems like a bug worth reporting to one of the fish mods

next plaza
crude plank
#

I did report it and offered to send the files I changed as well

brittle pasture
#

but yeah you generally dont want clashing IDs

velvet narwhal
#

they might've done it to the fish but they might've set unique IDs to their animals

crude plank
#

I just don't know how to tell if it's happening with animals since I don't have an error like I did with the fish

lucid iron
#

are these json asset mods

rancid temple
#

I'm assuming the error was something about two mods trying to exclusively load something

crude plank
lucid iron
#

unless one of these is your own mod

crude plank
crude plank
calm nebula
#

Aquarium currently uses internal names for things it really shouldn't but I haven't fixed yet

velvet narwhal
#

oh you're still transitioning it all out of JA too weren't you

crude plank
#

the first errors were the problem, the Aquarium one was just what made me figure it out

#

Anyway I'll stop now if this isn't the right place, sorry to bother you 🙂

hard fern
#

SDVpufferchickcry transitioning mods out of JA huh

#

i'll just put it off~

lucid iron
#

I believe in you

next plaza
#

The real reason my DP share has plummetted the past few months

uncut viper
#

do you want me to make a new JA mod to help

hard fern
#

😭

velvet narwhal
#

1.23 for mysterious reasons

hard fern
#

ideally i'd rework the whole mod and add some stuff but

#

im tired

#

lol

rain basalt
#

hmm speaking of ja mods i took one and transitiond to cp but the mod author and mod no longer on nexus at what point could i post the fix lol if at all

brittle pasture
uncut viper
#

technically never, if the original mod license didnt permit it

rain basalt
#

dont know since i cant find it anymore

uncut viper
#

an unknown license defaults to all rights reserved

#

so, never

hard fern
#

i just spent like more than a few hours fixing up my own mods (again. this is why i never play the game)

rain basalt
#

sigh personal use forever then lol

lucid iron
#

you can make your own take on the mod

#

as long as you draw all new assets

rain basalt
#

.> i know lol it was a cherry tree mod to make it more round and i like the coloring on it

silver pelican
#

hello! where do i find the image of shoes in the game files? i tried to find but i may also have overlooked it nth times TuT

next plaza
#

The sprites are in Maps/springobjects, the actual farmer overlay is in the farmer_base files (in Characters/Farmer), and the shoe colors are in Characters/Farmer/shoeColors

#

Data file for them is Data/Boots

silver pelican
#

Thank you so much ❤️ i never thought it'd be in springobjects TuT

hard fern
#

so many things are in springobjects

#

i live there

velvet narwhal
#

which one do you live in more, springobjects or cursors

hard fern
#

springobjects definitely

rain basalt
#

lol right now im living in buildings

hard fern
#

gah! i had a Thought for dialogue

rain basalt
#

and loose sprites

hard fern
#

i need to write it before i forget

brittle ledge
brittle ledge
rain basalt
#

no it was a japanese based one

hard fern
#

poked around in vanilla dialogue to see what kinds of things married couples talk about 😭 this line from seb is always funny

brittle ledge
#

Dang, the only ones I know that add cherry blossoms are Korea Blossoms and Timsanity's. If it was the former, Kaya left Nexus so that'd be why you couldn't find it

rain basalt
#

i tried alot of mod sites and google

#

ill just add it to my list of reskins i wana do lol

hard fern
#

I'm allowed to write in some mild language and have it not be too "adult" right? SDVpuffersweats

velvet narwhal
#

i don't know what draws the line at 'adult' but my sfw doesn't use any swearing SDVpufferthinkblob

hard fern
#

idk either

tiny zealot
#

i would have said nexus (UK-based) probably hews close to PEGI, but it's not europe anymore so ???

#

consult the media rating system of your choice (or country) and see what things earn you an adult rating, is my suggestion

uncut viper
#

Nexus has adult content rating guidelines, if it's profanity then you just need to make sure the profanity box is checked when uploading

rain basalt
#

if that helps lol

velvet narwhal
#

the underwear pictures got a chuckle out of me

hard fern
#

SDVpuffersweats i guess either i write the swearing out or accept the mature tag

velvet narwhal
#

just make the swearing like, "middle fudge" or something SMCKekLmaoDog

hard fern
#

boothill is that you?

brittle ledge
#

FWIW since the vanilla game features almost no swearing (if any), it's one of those things that can throw folks out of immersion, so a lot of dialogue writers tend to shy away from it

brittle ledge
hard fern
#

stardew is pretty all-ages too so, yeah

#

🤔 hm

#

i guess i'll have to get creative

velvet narwhal
#

yeah if it's absolutely necessary, like something dropped on someone's foot, i'd use the coin and some exclaimation marks

#

$ ?!? !!! kinda thing

brittle ledge
#

"$&@#!!"

hard fern
#

@#$#*!!!!

#

LOL

velvet narwhal
#

exactly

uncut viper
#

i think the only thing that can be considered profanity in stardew is "damn"

brittle ledge
#

Yeah, I thought I recalled a couple of damns but I wasn't sure if that was modded or not SBVLmaoDog

velvet narwhal
#

there is the option to use the stardrop in text

#

SMCKekLmaoDog ĝ turns into a stardrop

uncut viper
#

Clint says it in vanilla, but thats the only time I can remember it

brittle pasture
#

the only damn I remember in SDV is Alex's "Damn I could go for a burger"

hard fern
#

😭

lucid iron
velvet narwhal
#

out of the people i expected, yep

brittle pasture
#

lmao Clint and Pam being angry and bitter and then Alex is just chilling

lucid iron
#

it better be a damn good burger

brittle pasture
#

if modded NPCs are considered, I recall Sterling does swear a lot, but his events/storyline is also very heavy

hard fern
#

who is sterling?

round dock
#

From ARV

#

Always Raining in the Valley

hard fern
#

oh, someone i dont know X.X

velvet narwhal
#

hmm i contemplate toning back further if 'damn' is the only profanity

finite ginkgo
#

One of my WIP NPCs uses + (which turns into a cool little yellow dude wearing sunglasses riding a skateboard) as a substitute for the word 'fuck' in one of their gift taste lines SDVkrobusgiggle

lucid iron
#

come up with fun fictional swears

#

son of a squidkid

#

great yoba's ghost

rain basalt
#

lol

velvet narwhal
#

well mine come from endearment, so i just have to cut back a syllable and i'll be fine

#

i'm not making an excuse to not write more pig latin idk what you mean

lucid iron
#

say is there a table of these wacky font symbols

velvet narwhal
#

SpriteFont?

lucid iron
#

ik = turns into a star

finite ginkgo
#

< turns into a heart iirc

#

It's either that one or >

whole raptor
#

Question... if I have a config values with double quotes in it like "AllowValues": "\"Grainy\", Smooth",, would the i18n key be this: "config.Texture.values.\"Grainy\"": "\"Grainy\"",...? SDVpufferthink

finite ginkgo
#

Why not make it easier on yourself and exclude the quotes from the allowed value and put them on the i18n?

rain basalt
#

is the i18n file different between cp and c# ?

whole raptor
#

It's for the converter, so I'm going with the assumption that if anyone already has it set up like that it'd be counter intuitive to manually remove them so they could auto convert their config 😅

rain basalt
#

no clue lol i use this for reference in CP

whole raptor
#

I mean yeah, it's just that "config.Texture.values.\"Grainy\"" looks... weird, but technically it should work?

knotty phoenix
rain basalt
whole raptor
#

Yep, I know, but I'm just asking about this specific instance when the value has escaped double quotes

velvet narwhal
#

qwertyuiop;'<>/\1234567890-=! $ % ^ & * ()_+
(it absolutely hated {} [] and i've excluded the farmer one and the new line one)

rain basalt
#

but VS code shows no errors and the logic looks fine

knotty phoenix
#

the thing is that i can't reproduce it, it works for me just fine

rain basalt
#

they might have another music mod thats conflicting or outdated CP is it multiple people or just one?

knotty phoenix
#

multiple people

rain basalt
#

ask for there mod lists

uncut viper
#

theres probably a lot of potential things that could cause it, but nothing worth trying to figure out unless they provide a crash log

rain basalt
#

true smapi log would help

uncut viper
#

ask for them to upload their crash log specifically to smapi.io and not just a mod list bc knowing userrs they will just get back to you with a copy pasted list of mod names which is not helpful

brittle pasture
#

(or a phone screenshot of their monitor, which is even less)

uncut viper
#

if they showed the error/log in the screenshot, id accept that over a list of mod names tbh

rain basalt
#

yah my bug reporters dont even respond but its only one person haveing issues with an unknown trouble lol

uncut viper
#

like, id still ask for the smapi.io link, but id rather that than the list, if i had to choose

velvet narwhal
#

i love my editor, but all of her bug reports are photo pictures of the monitor (thankfully i can refer the errors because it's just a cp mod but still)

rain basalt
#

you have an editor O.o

velvet narwhal
#

bulletin board, (1) fear

#

two, actually

#

one's a sensitivity editor and the other is a grammar editor SMCKekLmaoDog

rain basalt
#

lol i use gramerly for grammer

knotty phoenix
#

i liked grammarly before they started using AI

#

yucky

velvet narwhal
#

i wonder how android smapi is gonna look

whole raptor
#

Just tried to make it work like you asked and since I'm not too well versed in using quotes inside values... is this correct? SDVpufferthinkblob

tender bloom
velvet narwhal
uncut viper
velvet narwhal
#

tbh i don't think anyone actually escape quotes the config schema because it takes spaces

uncut viper
#

i didnt think about how it should look in the i18n key when i asked

whole raptor
#

Ah SDVpuffersquee

lucid iron
#

Is this thing gonna be runnable on cli

#

Or web only

uncut viper
#

i could see using quotes in config if you want to set someones name via config, though

#

like if you wanna configure someones name to Billy "The Kid" Lastname you'd need quotes there

whole raptor
#

Then I guess it's fine as is

whole raptor
teal bridge
uncut viper
#

that said in the first one on the left side of your example there, you dont need to escape ' when its inside "", so no one would actually need to do that

#

(and vice versa, dont need to escape " when its inside ')

whole raptor
#

Oh that, fixable

uncut viper
#

its not broken, its just a "dont worry about that edge case too much" thing

#

you still can escape those characters, its just not a hard requirement

#

(i coulda been clearer when i sent that so thats my bad, sorry!)

whole raptor
#

I'm a type who tries to cover even the edge cases 😅

hallow prism
tender bloom
#

Similar to my split screen policy as someone who doesn’t own a controller

whole raptor
velvet narwhal
#

i try to keep it in mind for my content patcher mods because that's just easily accessible to me to keep a reminder in my mind, but honestly i'm probably also not going to pay attention to other consoles if i delve deeper into c# territory

velvet narwhal
#

i have no idea if smapi will have the innate compatibility with mobile (i try not to think too hard about how smapi works)

next plaza
#

I'd be surprised if Pathos took up any sort of maintenance for a mobile SMAPI

whole raptor
#

In my humble opinion... let it die SDVpufferthumbsup

hallow prism
#

pls spare pathos the hell of mobile yeah

tender bloom
#

Mobile SMAPI has been kind of a shitshow for a long time, and pathos has not been involved other than giving some advice

velvet narwhal
#

i will let it quietly die it's slow death, some crazy person can offer their life to create mobile smapi (not pathos)

heady crest
#

if i trigger an event wiith console command will the game count it as seen? or do i gotta see it the legit way

velvet narwhal
#

debug ebi <event id> counts it as seen if you've saved

next plaza
#

It should yeah

#

And you can toggle if it's seen or not without seeing the event with debug eventSeen eventId

whole raptor
heady crest
#

oh thats better thanks

next plaza
whole raptor
#

That makes sense

teal bridge
hallow prism
#

i see, hmm, i may have missed some thing when i watched it, but i dont remember in which language i did anyway so 😄

teal bridge
#

At some point I stopped watching because I found myself thinking "If I hear the word 'frack' one more time, I am going to throw a wrench at my TV screen".

#

Maybe it was different in some of the dubs.

brittle ledge
covert tundra
#

Heyo! I hope I am correct here. Could anyone please help me with my current mod state? My goal was to translate the game into Swedish, as this language is not supported (So I can learn it :D). I've downloaded SMAPI, extracted the content files with StardewXnbHack and used some python code to translate all required json files into swedish (only the values, not the keys). But what do I do now? How to I convert the unpacked Content folder back to the xnb format? And where would I need to look now to tell the game which language files to select?

whole raptor
lucid iron
#

is playing sdv with machine translated swedish really gonna help you learn swedish

uncut viper
#

(other than that though its not bad at all to add a new language really unless you need a new font, then it gets a bit complex.)

teal bridge
covert tundra
uncut viper
#

deleting anything in your unpacked content folder will have absolutely zero effect on your game

covert tundra
uncut viper
#

the game does not look at your unpacked files at all. trhats just for you to reference when modding and get the original assets

#

you need to reference those files to know what to edit with Content Patcher as shown on the example on that wiki page. for every single asset

whole raptor
lucid iron
#

if you dont care about releasing this, then u can just load the processed json over the original targets

#

mostly Strings/Whatever

covert tundra
lucid iron
uncut viper
#

do not repack them. even if you did id assume not having any other language files would just give you very bad errors

#

you use Content Patcher to make a mod for this, not an xnb mod

#

(also even if it didnt give you errors, the game wouldnt know that your new language exists and theres no button to switch to it)

covert tundra
#

it was mainly ment to work for me, so I also don't really care about the font style (so arial as font for these Å ,.. letters would be more than fine aswell)

uncut viper
#

you use Content Patcher regardless of whether or not you need a new font

covert tundra
#

well okay. Thanks alot you all 😄 I'll just have a look into the content patcher I guess

lucid comet
#

on an unrelated note: how complex would a mod be, that allows you to change the default UI zoom level/ change the UI zoom of character creation? i am guessing that is c#?

next plaza
#

Definitely C#, but fairly simple

#

You'd subscribe to SMAPI's SaveCreated event and then set the corresponding value in Game1.options

uncut viper
#

SaveCreated happens before the character creation screen?

calm nebula
#

The game does not keep translation text away from data

#

If you hit every value with a transaction tool you probably translated things that should not be translated

uncut viper
#

(that is true and i would actually change that to "definitely translated things that should not be translated" unless you manually excluded files)

lucid comet
#

darn, i had a sliver of hope i might just be overlooking something obvious, was kinda pushing off c# shenanigans ^^"

next plaza
lucid comet
#

nah, that is fine - it's just annoying to creep close to the screen in chara creation to see anything ^^

jagged cairn
#

tfw gog doesn't do beta channels 😢

#

ik for a fact at least one of my mods needs to be updated when 1.6.9 drops

#

gonna have to wait until 11/4 to do it

velvet narwhal
jagged cairn
#

:o

#

official post only mentions steam nice

velvet narwhal
#

yeah could probably bother pathos to update the pin

jagged cairn
#

guess I gotta install galaxy now too

velvet narwhal
#

but with it being only a few weeks it's just the channel remembers that pathos posted about it

uncut viper
#

(actually only a little over one week! dont get too comfortable with how much time you have to update :p)

jagged cairn
#

Are gog betas only accessible through their galaxy launcher and not their website?

velvet narwhal
#

i have no idea, i have steam

rain basalt
#

code works in steam as well

lofty ruin
#

Having a problem doing test run dialogue with my mod.

This is the error message

`[Content Patcher] Can't apply patch Aven - Custom NPC > Aven dialogue to Characters/Dialogue/Aven:

Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods[CP] Aven\assets\dialogue.json. This doesn't seem to be valid JSON.

Technical details: Unexpected character encountered while parsing value: [. Path 'Changes', line 2, position 14.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
at
at ContentPatcher.Framework.PatchManager.ApplyLoad[T](LoadPatch patch, IAssetName assetName) in E:\source_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 572.

[Content Patcher] SMAPI blocked asset replacement for 'Characters/Dialogue/Aven': the 'Aven - Custom NPC' content pack incorrectly set asset to a null value.`

And this is my code for dialogue. It's a test run so I figured I won't have to add in the rest like "breakup"

{ "Changes": [ { "LogName": "Avendialogue", "Action": "EditData", "Target": "Characters/Dialogue/Aven", "Entries": { "Introduction": "Hm? Oh, hey, look what rolled into town—another dirt kicker. I hope you've got more than weeds to offer; this place could use someone like you. Name's Aven, by the way.#$e# Farmers are the quiet, reliable types, right? Maybe you'll surprise me—just don’t get in over your head and expect a parade for hauling a sack of potatoes around." } } ] }

lucid iron
#

!json Can you send through this

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.

knotty phoenix
#

yeah that gives us a more readable output

rain basalt
#

its telling you you are missing or have an extra , " }{ somewhere what editor are you using

uncut viper
#

that json you've sent also isnt the source of the error, its wherever you're doing a Load action

#

Editor as in text editor

rain basalt
#

are you sing notepad or VS code VS code will show you errors

uncut viper
#

we recommend notepad++ or VSC at minimum

lofty ruin
#

I'm using notepad++

velvet narwhal
#

it's probably your content.json and you ate a ] by using this dialogue include/load

lucid iron
#

@merry rampart spacecore totem example

{
  "Action": "EditData",
  "Target": "spacechase0.SpaceCore/ObjectExtensionData",
  "Entries": {
    // this is a custom item's unqualified id
    "{{ModId}}_Erronnaise": {
      "TotemWarp": {
        "Location": "Summit",
        "Position": "10, 29",
        "Color": {
          "R": 255,
          "G": 0,
          "B": 0,
          "A": 255
        },
        "ConsumedOnUse": true
      }
    }
  },
  "When": {
    "HasMod": "spacechase0.SpaceCore"
  }
},
lofty ruin
#

So change this?

{
"LogName": "Aven dialogue",
"Action": "Load",
"Target": "Characters/Dialogue/Aven",
"FromFile": "assets/dialogue.json"
},

uncut viper
#

please send your c ontent.json using the link that the governor bot sent after choooo's message

lofty ruin
#

Oh okay

uncut viper
#

actually if thats your dialogue.json you sent originally

#

then you should Include it not Load it

velvet narwhal
#

if you're doing an editdata, on something like character/dialogue/<NPCNAME> you need an initial load of a blank.json, not loading your editdata

lofty ruin
velvet narwhal
#

"Characters/Dialogue/<NPCNAME>, Characters/Dialogue/MarriageDialogue<NPCNAME>, Characters/schedules/<NPCNAME>, Strings/Schedules/<NPCNAME>",
are the specific npc files that require a blank load first then include your editdata

lofty ruin
#

So is that not the problem because they are listed as load

brave fable
#

but token caching means it's pretty much free to check anyway

#

just redundant

lucid iron
#

oh i thought it would die

#

good to know DokkanStare

velvet narwhal
#

but that's not recommended as if you ever plan to use tokens, it will not load the tokens and the game will take it at face value

stiff jasper
#

Hi all i have made a mod for my gf to make the mines a bit easier, and i want it to fill her health and energy, so i set the edibility to 300 and it still says health recovery is 25 and energy recovery is 11, does anyone know how to fix this? or what the threshold for edibility is? TIA

hallow prism
#

edibility of?

stiff jasper
#

edibility of the item

#

"Type": "Basic",
"Category": -17,
"Price": 20,
"Edibility": 3,
"Buffs": [

#

i dropped it to 3 for testing and it stayed the same

hallow prism
#

well

#

did you test on a freshly new spawned item?

#

existing items keep their value

stiff jasper
#

i did not...

#

thats enlightening, thank you! it changed the flavour text of the item when i changed it so i never thought to buy it again...

brave fable
#

(i really have no idea why edibility is serialised instead of loading from data and reapplying quality modifiers)

hallow prism
#

(it's not really something you can guess)

#

i believe that if you add to existing stacks it may keep the old value too

#

so destroy all copy you have and get fresh ones

stiff jasper
#

let me give that a try

hallow prism
#

(CJB cheat may be better for quick testing to get the item faster)

#

(or debug shop theshopname or debug ws vanillanpcseller if it's one of the vanilla shops

stiff jasper
#

I probably should use that to be fair, i tried to stay away because id have no self control in our joint world lol

velvet narwhal
#

debug item <itemid> <item amount> is my go to if it's an item and i'm cjbless

stiff jasper
#

is the debug a seperate mod

velvet narwhal
#

nope smapi console

calm nebula
#

I asked the same thing about price

brave fable
#

even then you can derive the edibility from the preserved item and quality, can't you SDVpufferthinkblob

#

or do you need the machine modifier as well

stiff jasper
#

That has worked perfectly!!! thank you, cant believe i didnt think to rebuy

calm nebula
brave fable
#

hasBeenKissedToday remains false for all npcs but one.... SDVpufferpensive

calm nebula
#

I tried to hack xmlser to only save values if they weren't the default

velvet narwhal
#

okay bluebs you win

#

i'mma cheat that maze, i have been at it for 3 days now irl

brave fable
#

you're making me wonder if i accidentally put an invisible wall somewhere SDVdemetriums

velvet narwhal
#

no i'm just stupid

#

i can show you where i got stuck though

brave fable
#

which stage was it?

velvet narwhal
#

.....purpo SMCSobs

brave fable
#

i'm pretty sure purp is the only one i actually finished

#

maybe blue

#

but blue is just fun to walk around in

#

definitely my favourite nightmare ambience

vale stream
#

Does anyone know how to change a monster's tile? The property can't be set

hallow prism
#

hey misty 🙂

vale stream
#

hi lumina! SDVpufferheart

fiery cobalt
#

Well, this getting annoying

#

It's the third down on the left if anyone had see what is causing that line of shadow,

hallow prism
#

likely the top crop getting a bit too dopwn

#

opening file in a sec

hallow prism
vale stream
uncut viper
hallow prism
#

see your (insert english name of the flower) is overstepping on the other ones

#

you'll have the same issue on the (dalhia?) by the way

#

possibly you disaligned them when making the file or something?

#

just upping them both of one pixel should solve this

hallow prism
vale stream
uncut viper
#

Position is pixel coordinates

vale stream
#

ah

uncut viper
#

So multiply by 64 (or Game1.tileSize)

vale stream
#

Alright, I'll do that

uncut viper
#

thats how the Tile property getter works too, just takes the position and divides by 64

#

s'why you cant set it

vale stream
#

That makes sense now

#

Also- it worked, thanks!

hallow prism
#

congrats 🙂

#

while you're around, did people already let you know that IE needs adjustement to work on 1.6?

vale stream
#

thank you SDVpufferparty ! oh yeah, while doing this i added a few more options
(like a bool so they don't attack the player)

also, which adjustments?

hallow prism
#

(i believe on light stuff possibly but i didn't look, and would probably not be able to help much figuring it out)

#

light stuff changed in a way that smapi can't rewrite for mods, so i know it's an issue for several, but i don't know if there is other things

uncut viper
#

if its light stuff, are you sure it isnt 1.6.9 people meant? since lights are changing in that

hallow prism
#

arg

#

yes, 1.6.9

#

it's what i typed but i reworded it and the .9 escaped

vale stream
#

i've been trying to figure out the un-mineable clumps for a while, but they work on linux (and SDV won't work on VMs, so i'd need a volunteer to test on windows)

ooh if it's 1.6.9 then no, i was checking out the beta changes recently

lucid iron
#

you could maybe test on proton sdv

hallow prism
#

(i figured you may want to know to see how you prefer to update stuff rather than having different versions to maintain or something)

uncut viper
#

(wait, why doesnt it work on VMs? SDVpufferthink)

vale stream
#

(last time it tested, it was something about graphics)

#

I'll see about proton, though

vale stream
hallow prism
#

sure 🙂

#

and the additions for monsters sound nice! it can give the player a grace period 😄

fiery cobalt
lucid iron
#

say does 1.6.9 have a fix for the multple donate box at 1 tile problem

#

when u have more than 1 special order

fiery cobalt
#

Those are PlatinumCats's Quaint Living mod

#

Oh hey I'm blue now

hallow prism
#

ah thanks, snapdragons 🙂 their french name is basically "mouth" so i was like

#

"hmm, mouthdragons? doesn't sound right"

#

(yeah i recognised the art 😄 )

fiery cobalt
#

I can see where they got mouth from

calm nebula
#

Clearly you must

hallow prism
#

well

#

there is a "fix" that is preventing the order to appears if the box is used

#

but since vanilla doesn't use that on orders that don't have a conflict for their box in vanilla, it means that it may not work perfectly

#

however modded box are perfectly able to avoid issue by using the tag

#

(and modder orders on vanilla boxes if they do use the tag already)

lucid iron
#

from user perspective the box should just clear both items blobcatgooglyblep

hallow prism
#

tag is !dropbox_idofbox in case it's of any use

lucid iron
#

but yea it doesnt come up in vanilla

hallow prism
#

it does only for qi orders

#

the tag i mean

#

there is indeed no "two quests for one box" case in vanilla

calm nebula
#

Lumi

#

Please

hallow prism
#

(and i don't mean to discourage having a better solution if some is easy to add)

calm nebula
#

I'm trying to talk chue into one smol transpiler

#

And a little menuing

hallow prism
#

yes i mean it's a serious issue that needs solving!!

#

joke aside, people reusing vanilla box is cleaner when possible and not all mod authors will know about the tag (or will forget it, like i did...)

vale stream
#

(There was a way to access 1.6.9 on gog, right? Does anyone know how it went?)

lucid iron
hallow prism
#

it's just that vanilla changing that is unlikely for 1.6.9

uncut viper
#

(what is the donation box issue?)

hallow prism
#

(if you have two special orders for the same box at a given time you need to clear them in order, which mean that if one is too hard, you'll never get the chance to complete the other either)

lucid iron
#

if you have 2 special orders with Donate (put stuff into some box), and their box is on the same tile, u can only clear one of them

hallow prism
#

(well, depend of the time they need and all, but it can be annoying if they end at the same time)

uncut viper
#

ahh, got it. so mostly only an issue for people making orders for existing npcs i take it?

lucid iron
#

nah the box location is defined by mod

uncut viper
#

is it common for two different mods making orders for two different NPCs to use the same tile for their box?

lucid iron
#

but since mod can also add more way to get special order it can happen

hallow prism
#

like if someone wants to add an order for dropping stuff in robin's box or pierre's one

#

but even for modded it can be annoyed

#

because if you forget the tag, issue can happen, and if you DO have the tag, this mean you need enough diversity of quest to compensate for the fact those two quests can never be offered at same time

uncut viper
#

robin and pierre sound like existing NPCs to me SDVpuffersquee
whats the tag thing, though?

#

ive never done anythin with special orders

hallow prism
#

!dropbox_idofbox to exclude a dropbox

hallow prism
#

(but i get what you mean)

#

basically if my quest has the tag !dropbox_mtvapius it can't be offered if another order already uses the box

uncut viper
#

yeah, by existing NPCs i just meant their boxes (which are often used bc the quest is tied to them the npc) but it was unclear, my bad

#

thank u for filling me in though! now i know what to expect from chu's fixes

hallow prism
#

ahah 😄

lucid iron
velvet narwhal
#

i paid in art what would ya'll offer

uncut viper
#

3 DP from my 1 unique download

velvet narwhal
#

.0003 doller

uncut viper
#

per day

hallow prism
#

anyway i should go to sleep, good luck with mod projects, especially for the unfortunate ghosts that got mandatory projects to do when they asked for nothing

calm nebula
#

I like being retired

#

No one asks me for anything

uncut viper
#

i ask you f or a lot

#

you just always say no

tender bloom
#

Objectively false Atra 😛

#

But hopefully no one asks you for anything and actually expects things, because they shouldn’t

calm nebula
#

Yup. I always let you down 😛

lucid iron
#

i think the hardest part of random fixes like this is

#

figuring out where to stick it

#

need to make my own C# project template too bolbpopcornhat

velvet narwhal
#

i was wondering how you wanted to handle the sidmugshotfix tbh

lucid iron
#

eh that one can be there

#

idk if i care enough to tune it into general fix for creachers besides mothman PecoSmile

velvet narwhal
#

"what is this random .dll in my mothman? breaks door open it was chu"

brittle pasture
#

This happens in the wild rn with wildflour and Iridium Chef

lucid iron
#

ill sneak this bug fix into special order notifs probably

#

no one has to know

tender bloom
lucid iron
#

atra is like the retired hermit in wuxia who teaches the hero a new secret skill

next plaza
#

I still haven't started my hypothetical spooky mod

#

I feel like if I'm modding I should work on S&S

#

But I wanna make [redacted]

brittle ledge
next plaza
calm nebula
#

Uh

#

Memory crimes?

#

That's spooky

next plaza
#

adds to list

#

(That did actually give me an idea for another thing for it)

calm nebula
#

Oh I meant literal memory crimes 😛

lucid iron
#

is there actual deadlines for S&S stuff blobcatgooglyblep

#

surely desty would want you to make [redacted]

next plaza
#

Well I meant to be done with stuff by the beginning of this month so we could start the beta

hallow prism
#

"Unmet deadline" is atra next year halloween name, you read it here first

next plaza
#

If I make this mod I might backport the guidebook feature to 1.6.8 SpaceCore

brittle ledge
#

Didn't Atra have a good one last year too?

next plaza
#

Probably, though I can't remember what it was

calm nebula
#

"What did you forget"

rain basalt
#

sigh so ... is there any way to increase an items light radius ...

calm nebula
#

Not without c#

#

I would say 5p/5p spacecore has that

rain basalt
#

.> ok

next plaza
#

I don't think it does

brittle pasture
#

Item Extensions have item lights, and radius is one of the options

#

but that's for (O) items only I think, not sure if it works with (BC)'s native lights actually it seems to work with any item types

rain basalt
#

hmmm

teal bridge
lucid iron
#

i just want to customize it easier

#

i also never got modbuildconfig to set GamePath properly so i been hardcoding that

brave fable
#

you've been setting gamepath for every project? that sounds awful haha

#

adding stardewvalley.targets to %userprofile% was fine for me

lucid iron
#

no i made a debug.csproj that i import in every project

#

it is not great but slightly better than committing my username into every project

#

not setting GamePath doesnt prevent building, but it does prevent debugging (on linux)

teal bridge
#

As long as no one else wants to fork one of your mods, haha...

lucid iron
#

yea well they can just delete the import debug part LilyDerp

teal bridge
#

I wonder why it's broken. You're not one of the Linux people are you?

lucid iron
#

it would be nice if there was some other way to say pls import this csproj to all my stuff

#

i am one of the PenguThug people yes

teal bridge
#

Probably got something to do with it.

#

But the dotnet new templates should have some support for arbitrary switches so adding a game path should be possible. Or some arbitrary include, I guess.

#

Though if it were me, I'd rather spend the time fixing whatever is wrong with the path detection.

lucid iron
#

i just need this block to become unrestricted

#

cus it werk on linux anyways

teal bridge
#

So it does detect the path correctly, just doesn't enable debugging?

#

I think you can override the rule in your own .targets file in that case.

lucid iron
#

yea probably

#

i dont really understand the order of operations in csproj stuff yet LilyDerp

#

that said i do actually need to explicitly set gamepath atm for building to 168 vs 169

teal bridge
#

Targets should be processed first to last, I think. If you add yours after the modbuildconfig, it'll have precedence.

lucid iron
#

things to fix later PecoWant

quaint moss
#

Are these all part of a single dialogue (like the pet waterbowl lines being a continuation) or are 4488 and 4489 separate?

lucid iron
#

you need to search for NPC.cs.4488 to be sure

velvet narwhal
#

doesn't look like it

lucid iron
#

looks like game picks 4488 and 4489 randomly yea

quaint moss
#

I see, thanks

rancid temple
#

marriageDuties is an awful method name lmao

velvet narwhal
#

could've been worse, could've been nukePersonality

rancid temple
#

But that would have been accurate SDVkrobusgiggle

brittle ledge
#

looking at the monthly stats and... CF is completely broken in 1.6, right? Right??

#

also has this ever happened SBVLmaoDog

rancid temple
#

The stats cover old versions too though right?

velvet narwhal
#

we've finally progressed as a community

brittle ledge
#

Those are from the new mods for the month section.

tiny zealot
rancid temple
#

Oh lmao

calm nebula
rancid temple
#

Well actually wouldn't that be fine still? Like you can still make and release mods for 1.5 right now, if you really wanted

velvet narwhal
#

i plug my ears and chant the mantra, "mobile smapi doesn't exist"

brittle ledge
#

you could but you'd basically have an audience of legacy + the stragglers on mobile

#

and most people won't want to be limited to THAT small of an audience lol

brittle pasture
#

some absolute mastermind (not sarcasm) ported FS to 1.5 mobile a few weeks ago

rancid temple
#

Yeah, I mean I've had plenty of games where I wouldn't play on the latest version because mods I liked were just not going to be updated for it

calm nebula
#

Personally, I only care about an audience of one

brittle pasture
#

2.5k unique downloads as of this post

lucid iron
#

that's horrorfy selph

velvet narwhal
#

yes yes, i am implementing the unlockable bundle into my ultra small farm, atra

calm nebula
#

The audience of one isn't currently playing the game at all

rancid temple
#

But if there was an Unlockable Bundles farm and a few more fish mods, would that entice you back?

calm nebula
#

No

brittle ledge
lucid iron
#

is there a pre-1.6 mod you miss

#

maybe a silly question given that ppl here would just port it

rancid temple
#

Is the Magic mod updated for 1.6?

velvet narwhal
#

i was gonna say i have no idea what old mod i have a fond memory of, because casey is actively here

next plaza
#

Someone did update it I think

lucid iron
#

atra's shovel is commonly mentoned Bolb

next plaza
#

My magic work goes into S&S

brittle ledge
#

GIMA

rancid temple
#

I'm looking forward to S&S lol, I did really enjoy the Magic mod

tiny zealot
#

i don't miss anything, but i am a chronic very-few-mods person

brittle ledge
#

aedenthorn had a bunch, but I think all the ones I liked have had updates

#

Someone just rebooted Restauranteer the other day, that was neat to see

whole raptor
#

I'm honestly curious if anything I used is still not ported to 1.6 SDVpufferthink

velvet narwhal
#

what was the predecessor to cornucopia?

brittle ledge
#

Oh, I'd love to see Riley get a 1.6 version too.

brittle ledge
velvet narwhal
uncut viper
#

tbf if I had a 1.5 mod list that was 1000+ mods and a save I wanted to continue with, I probably wouldn't bother checking which ones had updates, which ones are obsolete and replaced, which ones are fine, etc either

whole raptor
#

Maybe some of aedenthorn's niche mods... but feels like most of them are ported and the most niche one I updated myself SDVkrobusgiggle

brittle ledge
#

(which was that? SDVpufferwow )

whole raptor
#

Statue Shorts SDVpuffersquee

velvet narwhal
#

...s...six hundred mods...?

whole raptor
#

And Sprinkler Mod (but it's a bit less niche I guess SDVkrobusgiggle )

brittle ledge
rancid temple
#

Oh DeepWoods, I really miss that mod

brittle ledge
#

Yeah, Deep Woods was great (though last I heard the mod author's working on an update?)

lucid iron
#

the author made a side mod recently so they r active yes

rancid temple
#

Yeah, I think an update was planned for 1.6 but it's a big project

brittle ledge
#

it is, they already had big plans for an update even before 1.6 dropped iirc

lucid iron
brazen arch
#

Can I get some help with something? I'm making a CP version of a DGA mod for personal use only, and I'm using existing code from another CP furniture mod to make mine. I basically know nothing about coding, especially CP furniture code. So does anyone know what these numbers mean?

brittle pasture
brazen arch
#

Thank you

brittle ledge
#

(there's no DGA->CP furniture converter because there's too much that didn't carry over to CP, right?)

brittle pasture
#

(could have sworn someone else posted before me. must have been the windSDVpufferclueless)

lucid iron
#

whats the history between DGA and JA

brittle ledge
#

they're both by Casey

lucid iron
#

as "frameworks that let u add items (b4 1.6 made it ez)"

#

why did casey make two of these blobcatgooglyblep

brittle ledge
#

DGA was originally intended to be like JA 2.0 iirc

brittle pasture
whole raptor
#

I'm not gonna miss DGA's "weeds"...

brittle pasture
#

yeah that

next plaza
#

weeds honey

next plaza
#

DGA could do a lot more than JA

#

And was formatted more similarly to content patcher

#

+could use tilesheets

brittle ledge
#

Yeah, it turned out pretty neat actually SDVpufferheart

brittle pasture
#

(darn DGA's comment section is a wasteland of sadness lol)

lucid iron
#

giant crops DokkanStare

next plaza
#

Fun fact, I think me using the deterministic hash code of strings for item IDs inadvertedly led to Pathos talking to CA about string item IDs

#

Could be misremembering or imagining things

brittle pasture
#

are there more numbers below INT_MAX than there are possible string IDs

next plaza
#

Well, that isn't the issue

#

So much as two strings giving the same hash

brittle ledge
#

@light jasper you may have already seen this but in case not: congrats on hotmodding!

brittle ledge
#

Well-deserved after all the work you've put in skaiLove

brittle pasture
lucid iron
#

wow its like skeletons.mp4 but goose

rancid temple
#

Scary lol

whole raptor
#

Whenever I see murder birds I think of that MV with ducks

haughty charm
#

Selph...why would you do this. goose_stab

brittle pasture
#

becaus

tender bloom
#

I definitely think you’re right

tender bloom
#

It was my favorite framework, the first one i submitted PRs for, and a big part of the reason I learned C# was to figure out how DGA worked

next plaza
#

I think I've hammered out the details for my mod SDVPufferThink

#

I came up with the original idea back when the contest was announced, but I think I have the mechanics sorted now

scenic heath
#

Is there a mod to have ginger island forage wild seeds? If not, what's the correct way of making such a mod nowadays? I made a ginger seeds JSON assets mod many years ago but the JSON Shuffle was a thing and I dunno what the current accepted practice is.

lucid iron
#

i used a priority queue to repeat a particular draw in 1000ms and 2000ms after the initial one, but i feel like this will explode if someone plays too long (since the priority is based on Game1.currentGameTime.TotalGameTime.TotalMilliseconds)

#

bolbthinking what is a smarter way to do this

rain basalt
#

Day triggers to reset?

lucid iron
#

wont stop ppl who play with slowed time

rain basalt
#

Or paused lol

uncut viper
#

do you just. want to call a function 2s after another one

rain basalt
#

Can you add a count and reset off the count?

lucid iron
uncut viper
#

DelayedAction

lucid iron
#

doesnt that one have particular reqs

#

for the args

uncut viper
#

theres functionAfterDelay where you just pass in the callback and the delay and it'll do whatver function you provide it

lucid iron
#

ok lemme try it wew

#

hm it doesnt like it when i call spritebatch things like this LilyDerp

velvet narwhal
#

i assume you're just adding more of the dust things right? is there a way to make it recognize the addtemporaryspriteafterdelay?

hard fern
#

if i beat up the json enough it will work

uncut viper
#

what if you changed to TotalSeconds instead

lucid iron
#

i started with that, it's not smooth like this

#

dustsprites aren't TAS

#

anyways i should really just

#

divine some way to have multiple companions

#

that'd sove everything probably

calm nebula
uncut viper
#

im out of ideas bc tbh im not tototally sure i understand the intent or what you're doing

calm nebula
#

have you considered that no one in their sane mind plays 10675 days straight

#

oh, I guess that gets cast to an int. still.

uncut viper
#

what if chu wanted to do the calculation in millistères though

lucid iron
#

the priority is a double i think

calm nebula
#

why use a double as the priority then, lol

lucid iron
#

unless C# is lying to be about PriorityQueue<DrawSnapshot, double>

calm nebula
#

use the long

#

PriorityQueue is like, a generic?

uncut viper
#

bc TotalMilliseconds is a double in TimeSpan

calm nebula
#

oh, weird

#

use ticks lol

lucid iron
#

Game1.currentGameTime.TotalGameTime.TotalMilliseconds is a double

#

i didnt think too hard on this since i assume ppl here will think hard for me

calm nebula
#

you should be able to use Game1.currentGameTime.TotalGameTime.Ticks

lucid iron
#

there's other limitations with this approach anyways, like being unable to use different sprites

uncut viper
#

TotalGameTime.FromTicks(TotalGameTime.FromMilliseconds(TotalGameTime.TotalMilliseconds))

velvet narwhal
#

is that what a tuple looks like

calm nebula
#

nope

lucid iron
#

the impl rn is

  • check the queue for any queued frames to draw
  • in Draw(SpriteBatch b), make a DrawSnapshot object with all the info needed to draw that frame
  • draw that frame
  • queue 2 more frames to draw 1s and 2s later
calm nebula
#

a tick is 100ns

lucid iron
#

i think DelayedAction.functionAfterDelay doesnt quite work because SpriteBatch isnt open for draw when it gets called

calm nebula
#

(correct)

tardy adder
#

Is item only diggable from digging (wormy) spot if its Arch type?

lucid iron
#

i also tried Task.Delay(1000).ContinueWith draws stuff but like, badly??

#

dunno whats up with that

calm nebula
#

you still need to like, make it happen during a draw cycle

#

not the update cycle

#

you can do weird ass shit with funcafterdelay queueing into a draw cycle

#

like, funcafterdelay just adds it to a list, then you on a renderedworld do the draw

velvet narwhal
lucid iron
#

isnt that same as managing my own queue

calm nebula
#

pretty much lol

lucid iron
#

well i sure hope no one plays sdv for 30yrs straight

calm nebula
#

the game does it subtractively iirc

velvet narwhal
#

do people even still have their irl 10 year save files cause that'd be amazing to look at the data load

uncut viper
#

stardew is not even 10 years old as a game

velvet narwhal
#

oh 8 year

#

god why did i think the game came out in 2012

lucid iron
#

so wait how many ms is a tick

brittle pasture
tardy adder
#

Yeah I saw that part, so was wondering which other way could I make them diggy

#

Thanky to both :3

royal stump
brave fable
calm nebula
#

100 ns 😛

#

(TimeSpan.Ticks is 100ns each)

tardy adder
#

Now to figure how to run a trigger when a totem is used o(<

velvet narwhal
#

spacechase0.SpaceCore_OnItemUsed - use item GSQ conditions to check the right item, make sure to set UseForTriggerAction in ObjectExtensionData (see further below) for that item to true ?

#

or actually vanilla asset has it

#

UseForTriggerAction - True to run a trigger action upon use, false otherwise. Default false.

tardy adder
#

Yup just trying to see what I gotta change so it works >:|

tender bloom
#

does SpaceCore YieldOverrides allow for extra drops (in the style of MYC from days past)?

next plaza
#

Yeah, that's one of the reason I made it

#

(Well, that and it was a DGA feature)

tender bloom
#

nice

#

for some reason the modded game I have stopped having sunflower seed extra drops so I'm kind of lazy and considering just...modding them back in

#

(I could also just debug it I guessss)

#

my fiance is sad that it no longer allows for infinite sunflowers without buying seeds

next plaza
#

What do you mean slash the 0 from

#

The 0 is which phase to override the yields for

tender bloom
#

ahhhh I see

next plaza
#

So in this case, it lets you harvest the seeds immediately when planted

tender bloom
#

is there docs beyond this gist?

#

slash would it be rude to comment on the gist the bits that are confusing

next plaza
#

There is on my WIP new website

tender bloom
#

oooh shiny

#

for Drops, does it do all of them?

next plaza
#

Yeah

tender bloom
#

or does it randomly picj one

#

ok cool I wanted all of them

teal bridge
#

Of course there are hundreds of mods that break that guideline and even force you to break it if you want to integrate with them - but if you're not bound by one of those, then just separate the two.

tender bloom
#

I think

{
  "Id": "Sunflower_Seeds",
  "ItemId": "(O)431",
  "MinStack": 0,
  "MaxStack": 2
}```
puts back the sunflower seeds
heady crest
#

does "tree_seed_item" in context tags in an item make it fall from a tree when u shake it? if not then how do i do that

#

i didnt see much about trees on the modding wiki

brittle pasture
heady crest
#

im right here

#

i mean there

#

but it seems to just be a thing to add new trees like how sve does

brittle pasture
#

then you want to edit SeedDropItems

heady crest
#

let e check

brittle pasture
#

lower on the page

velvet narwhal
#

oh i put my seed into the ShakeItems

brittle pasture
#

ah that too

velvet narwhal
#

out of context i hate that sentence

ashen goblet
#

I’d be happy to help!

brittle pasture
#

other than the fact SeedDropItems will override the default seed and using SeedsOnShakeChance there doesn't seem to be any differences between it and ShakeItems

velvet narwhal
#

fair, weird that it's duplicated

heady crest
#

this is beating me to the groung

velvet narwhal
#

you can put it into the shakeitems list

heady crest
heady crest
velvet narwhal
#

you'd have to do the targetfield, hold on

brittle pasture
#

use CP and TargetField to edit the vanilla trees' entries in Data/WildTrees

#

the item itself doesn't need editing for this

ashen goblet
velvet narwhal
#
    "Changes": [
        {
            "Action": "EditData",
            "Target": "Data/WildTrees",
            "TargetField": [ "8", "ShakeItems" ],
            "Entries": {
                "{{ModId}}_ShakyShaky": {
                "ItemId": "(O)YOURITEMHERE",
                "MinStack": #,
                "MaxStack": #,
                "Chance": #
                }
            }
        }
    ]
}```
#

SDVpuffersquint i think

#

i'm about half a sapporo into this friday so if selph could verify me

heady crest
brittle pasture
velvet narwhal
#

i wasn't sure how to format it since it's null, lemme see

brittle pasture
#

I think it should work even if it's null?

#

but uh if it doesn't feel free to throw eggs in my face

heady crest
velvet narwhal
#

1 being 100%

heady crest
#

how do you do that

velvet narwhal
#

!codeblock

ocean sailBOT
#

You can embed code in Discord using a series of three ` :
```
Your code can go here
Even if not a haiku
Just an example
```

For syntax highlighting, add the language code on the same line as the first
``` (with no space, like ```json).
The usual codes are cs (C#) and json.

tardy adder
#

Ze Spacecore "Buffs from worn items" - Buff is removed when item is unequipped I am guessing SDVpufferthinkblob

brittle pasture
velvet narwhal
#

yeah i added that bit because i just remembered the fun of trigger actions

velvet narwhal
#

i don't think ichor's reflection crimes will help me circumvent sprites in detail's draw prefix

heady crest
#

every time i try it, hitting enter just makes a new line doesnt send the message lol

velvet narwhal
#

that's cause you need 6 `

heady crest
#

but this will work right

velvet narwhal
#

three ` to start it
three to end it

heady crest
#

but i did it like that

old edge
#

Hello

brittle pasture
velvet narwhal
#

ngl, i went through the item github.io, looked up mahogany seeds, then reverse searched that because ctrl+f "mahogany" did jack for me

#

i went the dumbest route possible

heady crest
#

or this {

#

hate it here

velvet narwhal
#

did you install the n++ json validator?

heady crest
heady crest
velvet narwhal
#

notepad++ json validator

heady crest
#

ah

#

im using vsc

velvet narwhal
#

oh

#

i'm surprised vsc isn't yelling at you then

heady crest
#

oh i have the validator off lmao

#

cuz it kept givig me errors for adding comments

#

// this

#

apparently its not officially supported for json files

velvet narwhal
#

oh, you can set the file to jsonc to silence that

heady crest
#

can i

#

may you enlight me

velvet narwhal
#

benefits of validator and comments

#

was it just tacking on the letter c to the filetype, i forget

#

yep

#

just tack on the letter c

heady crest
#

wat

brittle pasture
#

anyone know what the bottom 4 rows are used for?

velvet narwhal
#

the macarena? looks like a throwing animation

tardy adder
#

Aight Imma test the clothes and spacecore... Later

brittle pasture
#

yeah, but they don't throw anything in vanilla IIRC
context: I'm debating whether I can pass the game's void chicken sprites (which only have 7 rows) directly into a Shadow Brute monster class. so far it works and the game hasn't exploded due to it complaining about a missing 8th row

tardy adder
#

I already opened the game too much today just to test

brittle pasture
#

so I figured they may be unused? but then any mods that then use this 8th row in ShadowBrute will explode so maybe not a good idea lol

velvet narwhal
#

iirc SVE might be using them?

#

i know SVE uses it during krobus' 10 heart

#

i've gotten plenty of bug reports from my editor about an unknown shadowbrute actor SDVpuffersquint

lucid iron
#

monsters seem to have a lot of rando dupe sprites

old edge
#

Almost done with my first farm map in content patcher.

brittle pasture
#

yeah
though I don't want to bet on the 0.000001% chance someone makes a mod that makes the ShadowBrute class needs the 8th row so I'll probably just roll my own Void Chicken monster sprites

#

RIP compat with reskin mods I guess

lucid iron
#

well you can just make the Texture2D no?

brittle pasture
#

yes but lazy

lucid iron
#

fair PecoWant

brittle pasture
#

maybe that can be in the 1.1 update or something

#

for now imma get this thing out the door so I can get back to Space Age

haughty charm
brittle pasture
#

it definitely should not

old edge
#

I'm having some trouble with my first farm map ever

haughty charm
#

Hmm. Okay. I'll dig in a little, see if I can figure it out. Thanks!

lucid iron
#

yesterday i figured out a way to intercept debris so i can make companion-that-harvest-crops happen, i think

old edge
#

Im trying to draw rays on a farm map with code.

lucid iron
#

did u do the whole custom location class deal

old edge
#

But it's showing in the farmhouse and on other farms not my custom farm specifically SDVpufferchicksweatsip

vernal crest
velvet narwhal
#

i don't have to deal with jsonc in vs22 because Comments Just Work ™️ SMCKekLmaoDog

heady crest
#

and like +5 each time i reset cuz it starts stuttering

velvet narwhal
#

i look away respectfully as i usually have like, 2-3 projects up at once

vernal crest
#

VS22 is real overkill for CP mods anyway

velvet narwhal
#

i just like to use one workspace, but it is extreme

vernal crest
#

VS22 with literally nothing open in it uses more RAM for me than VSC with 22 files open

old edge
#

Oh my I did it GhastlyGhouls

woeful lintel
#

I found another solution for my refreshing config issue: I can get rid of a global FF config to let player choose which pack gets priority when there's conflicts by creating an on/off switch for each Furniture in the config of each Pack, (so player just have to disable which one they don't want)

#

Now, I'll just have to track if Furniture are added/removed on each pack individually when they get invalidated.

hard fern
#

there's a json validator???

#

in notepad ++???

lucid iron
heady crest
#

are custom recipes always at the top like this? i never noticed that but it looks off, can i move it to the bottom?

old edge
#

I think it was display_renderedworld

heady crest
#

not to sure where to look for that

brave fable
hard fern
#

wowie

brave fable
#

oh to answer, nope you can't move it to the bottom without c# patches

heady crest
#

:(

#

thanks

brave fable
#

it's fine though, every mod has it the same way

hard fern
#

i just accept that all custom cooking gets thrown up to the top

heady crest
#

i never noticed that

#

prolly cuz i never cook anything just buy from gus or find it

hard fern
#

😔 how do you get an npc to say your farmer's name in dialogue, i cant seem to find it anywhere

#

(im probably looking in the wrong spot)

vernal crest
#

@

#

E.g., "Hiya, @! How are you doing?"

hard fern
#

🙏 thank u

hallow prism
blissful berry
#

does the new gender switch token for dialogue support commands inside of it? specifically I'd like to know if i can break up text with #$b# inside of the brackets SDVpufferthink

#

${dialogue for male players#$b#more dialogue for male players^dialogue for female players^dialogue for non-binary mods}$
if something like this works, for example, that would be awesome

heady crest
#

how do i fix this??? its not giving me the item i set :((((

hallow prism
heady crest
#

huh

hallow prism
#

I dont remember tapper having precedence so they likely dont. Vanilla either have one product or cycle between product for the mushroom tree, but it uses specific settings

#

In cases like that whats usually done is using the order of entry as a precedence order then using the chance and condition when needing several items of the lust to have a chance to appears

heady crest
#

oh my head it hurts

heady crest
#

i think ill just find another way to obtain the item

#

ah

#

i see

#

doesnt seem THAT complicated

rancid temple
#

Hm, Tapper doesn't have any recipes in Data/Machines though

heady crest
#

ill give it a shot

#

its taken care of on the trees json

rancid temple
#

Ah

#

Yeah, just gotta move it to the top of that list

lofty ruin
#

I need a personal guide to fix some issues I have because it's puzzling me 😭

rancid temple
#

Feel free to post them here, if anyone can help right now they will, otherwise might have to try again when it's a little busier

lofty ruin
uncut viper
#

!json can you post what you currently have in your content.json with this site?

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.

lofty ruin
#

Like this?

uncut viper
#

in the future please send the resulting link, but this will work-ish for now. can you also send whats in your assets/dialogue.json file?

#

(using a link)

rancid temple
#

(I don't see a blank load anywhere)

lofty ruin
#

Oopsies

uncut viper
#

currently, you are trying to Load directly into Chareacters/Dialogue/Aven. this in effect means that you are sending it directly to the game, without letting Content Patcher edit it first. that means it would need to be in the format the game expects, which is just a simple json like this:

{
  "Key1": "Value1",
  "Key2": "Value2,
  ...
}

however, what you have written in your assets/dialogue.json file is not that, you've actually just written more Content Patcher code. so instead of doing a Load action, you want to change it to Include and remove the "Target": "Characters/Dialogue/Aven". this is because when you are Includeing something, you are basically telling content patcher "hey, this is a secondary content.json for you to look at"

#

and like rokugin said, there's no blank load. what this means is, because your NPC is completely new and custom, Characters/Dialogue/Aven does not exist in the game, ofc. like, when you unpacked your files, you can see theres a .json for everyone elses dialogue. there is no concept of your NPC in the game already, so you essentially need to tell the game to make Characters/Dialogue/Aven exist first, so that you can use EditData on it afterwards (which you are correctly doing in your assets/dialogue.json!)

#

this is most often done by creating a new .json file in your mod folder, and inside it write this:
{ }
literally just that. an empty set of braces. thats what you Load into the target of Characters/Dialogue/Aven first

#

so it would be like this:

{
  "LogName": "Aven Blank Load",
  "Action": "Load",
  "Target": "Characters/Dialogue/Aven, Characters/schedules/Aven",
  "FromFile": "assets/blank.json",
},
{
  "LogName": "Aven Dialogue",
  "Action": "Include",
  "FromFile": "assets/dialogue.json"
}
#

of course, there will be other things that also dont exist for your NPC already, like their schedule (which i didnt notice you also had down there when i typed that, so gimme a sec to correct it). so you actually need to do the same blank load thing to their schedule too

#

you can reuse the same blank.json for multiple things at once

lofty ruin
#

I see I see

uncut viper
#

i assume your schedule.json file also has the "Changes" and "EditData" stuff in it too

lofty ruin
#

Yup

#

I'll change those too

uncut viper
#

then yeah, same concept. change that to Include instead

#

(and remove the target)

hard fern
#

SDVpuffersweats for some reason I'm writing marriage dialogue before the other dialogue.

uncut viper
#

are you gonna make that conditional based on whether or not the player has a rug (/j)

hard fern
#

sigh and of course im writing out a list of gifts your spouse will give you..

hard fern
#

😭 omg i was staring at juice for so long confused until i realized the sprite was remade

lofty ruin
uncut viper
#

NPCs have a lot of specific little requirements before they become actually functional and im not always good at remembering what they are. they might need more dialogue keys (one for every day of the week, maybe?) but i dont know for sure

#

actually wait you did change your dialogue.json, you had it right before tho

lofty ruin
#

Oops

hard fern
#

can you guess who forgot a , again

#

😭

scenic heath
#

Is there a mod to have ginger island forage wild seeds ala Spring Seeds, Summer Seeds, etc? If not, what's the correct way of making such a mod nowadays? I made a ginger seeds JSON assets mod many years ago but the JSON Shuffle was a thing and I dunno what the current accepted practice is.

hallow prism
#

custom item using CP and then using item extension to make the mixed seed part would be my approach

#

note that it'll be closer to mixed seeds than to wild seeds

scenic heath
#

I'll start my investigations, thank you. Is there no way to lock the steam version to 1.6.8 since everything I am reading suggests 1.6.9 will break a whole rake of mods?

uncut viper
#

most mods will be fine, actually

#

that said item extensions does need a tweak for 1.6.9 still iirc but the author is aware, and i dont think itd mess with your seeds

#

i dont believe there is a way to lock your steam version besides just disabling automatic updates

scenic heath
#

I mean in general, I know that Walk of Life - Rebirth will break as the author has said as much.

uncut viper
#

in general most mods will be fine

#

"the vast majority" per the migration page's words

scenic heath
#

Steam doesn't let you disable updates. 😦 Dang it, I guess I'll just have to wait for any broken mods to update and hope they don't take weeks to do so. Thank you again, I guess it's a problem for future me 😄

proud wyvern
#

you can copy the game files as they are currently to somewhere else as a backup, then after the game updates, bring them back

uncut viper
#

a lot of the mods that do break will probably be updated either before it goes out or very soon after since everyone has access to the beta anyway. unless the mod author has already planned on bein busy

rancid temple
#

You can also put Steam into offline mode, it won't update in offline mode

proud wyvern
#

i think you're forced to go online after a while

#

like, after a month

uncut viper
#

i think its indefinite as long as you were logged in originally

scenic heath
#

And as much as I love Stardew, I do play other games 😛

uncut viper
#

unless they changed it recently

rancid temple
#

Hm, I usually bounce in and out for library sharing purposes, but you can switch it to only update when you launch it and go offline before playing

scenic heath
#

hmm, fair

rancid temple
#

Kind of annoying to remember, but it is what it is I guess

hallow prism
scenic heath
#

But to swing back to modding, would this be the kind of mod I want to take a look at regarding adding a custom seed packet into the game, at least to get the item in? https://www.nexusmods.com/stardewvalley/mods/27065?tab=description

Nexus Mods :: Stardew Valley

Now you can plant Foxblooms on your farm or in a pot to decorate your house, really anywhere you could normally plant crops or use it to make Foxbloom Honey.

hallow prism
#

i just copy the whole game folder, rename is stardew valley version number and play on it when i need it

#

it's one option yes, it sounds simple enough

scenic heath
#

I'll do that now actually, thank you

hard fern
#

uhh.. gift tastes are done now ^^ yahoo

scenic heath
#

"This is not poggers."

hard fern
#

Lol

granite bluff
#

hey i want to transform my 1.5 mod to be compatible with 1.6
my mod mainly edits maps. any advice where to start? 🙂

hallow prism
#

what doesn't work at the moment?

#

(that would be my advice where to start)

thorny dagger
rancid temple
#

I currently do this with SDV

hallow prism
#

(yeah but it was in the context of SDV, and for SDV it works fine)

spice inlet
granite bluff
hard fern
#

i mean it probably depends on what the mod is doing that no longer works in 1.6

hallow prism
#

the best way to proceed is having a fresh 1.6 install, start the game with smapi, load a save, go where your patches should be, and if they aren't here, see if there's anything in the log

#

!log

ocean sailBOT
#

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

Please share your SMAPI log file. To do so:

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

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

hallow prism
#

then read the log, see if you see an error and what it says, try to solve it, ask here if confused

#

and repeat 🙂

granite bluff
#

thank you! 🙂 i will try that

rain basalt
#

Also depends on what kind of edits if it’s just tile changes CP can handle that easy for you just need to convert your file structures for cp loading

woeful lintel
#

Oh boy, my end of week brain made another victim (myself):

static Dictionary<string, SortedDictionary<int, HashSet<string>>> static_types = new();
#

It's a dictionary mapping the id of Furniture Types to a sorted dictionary mapping priorities to the set of Pack ids implementing this type at this priority

#

I can't figure out a simpler way to do this.

#

With this I can get the id of the first pack implementing a furniture (with the best priority of course) in pseudo linear time by doing:
static_types[type_id].Max().Value.First();

#

I was so glad to find the existence of SortedDictionary

tiny zealot
#

PSA: do not accidentally nuke your entire Mods folder when doing mod development

calm nebula
#

(I don't see how the sorted dictioanary is contributing here.)

#

Linq does have some optimizations for some types, I don't think SortedDictionary is one of them

deep cypress
#

Slimes are super cute.

woeful lintel
calm nebula
#

it's sorted but since you're using linq it's still iterating over the entire collection

tiny zealot
#

it's so funny seeing "Update Available" on my own mod list on nexus

woeful lintel
#

don't know what that is

#

Just checked the docs and SortedDictionary is actually a binary tree (makes sense actually), so it's log time instead of linear time, but still good.
Having SortedDictionary.Max in linear time would make sense, it would be weird not to do it in linear time

calm nebula
#

Max is not a method of SortedDictionary, it's a method of Linq

#

Linq methods take any arbitrary IEnumerable and scans the whole thing.

#

a few collections get special support (ie, ones with bounded lengths)

#

but SortedDictionary does not

#

you probably actually want a priority queue or similar

woeful lintel
#

I don't think a PriorityQueue can work: I need to be able to remove a value anywhere in it. (Also there's no PeekMax, so I would have to invert the priority).

fierce pine
#

is there a way to pack an unpacked Characters.xnb
i tried to pack it with xnbcli and it didn't work

#

don't really wanna use content patcher but if that's the only way mmmm

woeful lintel
calm nebula
#

Before net 6 I had a cheap little binary heap structure I used that did support arbitrary removal

calm nebula
calm nebula
woeful lintel
calm nebula
#

It will not for collections of known length

#

But for a bheap, the last element is not necessarily the largest

fierce pine
haughty tusk
#

One message removed from a suspended account.

calm nebula
#

Yes, but that is compile time only

haughty tusk
#

One message removed from a suspended account.

#

One message removed from a suspended account.

calm nebula
#

You can use a StardewValley.targets file in your home directory if you don't want to commit the full path

tiny zealot
haughty tusk
#

One message removed from a suspended account.

#

One message removed from a suspended account.

calm nebula
#

It's actually something about the default steam/gog game paths iirc

#

But yeah, stardewvalley.targets if you want to keep it out of your git