#making-mods-general

1 messages · Page 317 of 1

brittle pasture
#

also stuff like the artifact dig spot

gaunt orbit
#

Dig spots are TFs I thought

brittle pasture
#

maybe some other stuff i forgor lol

gaunt orbit
#

Forgot about torches

brittle pasture
#

nope, they're objects, and can even enter your inventory with cheats

gaunt orbit
#

That's so evil

#

Wait that means garden pots can theoretically have dig spots in them

#

Brb making a dig spot forage crop

brittle pasture
#

they can, but I don't believe that's handled (tooling the garden pot will just dislodge it)

#

that though is a funny idea that could work (outside of pots)

gaunt orbit
#

Can forage crops grow giant? I know there aren't any in vanilla that do, but would the code allow it?

brittle pasture
#

I don't know if you're still working on this, but latest version of EMC adds a much (much) easier option via colored draw layers, if you don't need unique sprites and just want vanilla juice/wine style color overlays

gaunt orbit
#

It destroys the crop when it grows, iirc, so I think you'd need harmony

calm nebula
#

They are replaced by objects

gaunt orbit
#

Oh no I'm giving myself ideas for a giant crop framework

brittle pasture
#

I think khloe already beat you to it

#

something 2 cakes

gaunt orbit
#

Listen,,, I do not need more projects, I will be very happy if someone else is doing that

brittle pasture
#

(for now it's a multiplier based on the input. if you need complex "stack modifiers" style syntax I will cry)

#

now all that's left is waiting for bug reports from those who installed the full congregation of drawToolTip transpilers

calm nebula
#

I think the old atracote variant of that used...polynomial notation

brittle pasture
#

that was briefly considered, before I bapped myself and asked "realistically is anyone going to use anything beyond an input multiplier"

calm nebula
#

At least allow ax+b

gaunt orbit
calm nebula
#

-# I'm so glad the vanilla game does buff times now

#

I had a mod that implemented those

#

About the only time I ever used array.copy in a transpiler

brittle pasture
uncut viper
#

(what is drawTooltip used for)

brittle pasture
#

item tooltip

#

add your own custom buffs/extra info/etc.

gaunt orbit
#

And here I am with mus just freestyling it and hoping for the best /jk

brittle pasture
gaunt orbit
#

What is convenient inventory doing with tooltips?

uncut viper
#

oh i see

#

should i not be patching Item (et al) .getDescription instead

brittle pasture
#

getDescription is fine, but you only get text

#

we want fancy icons in here

uncut viper
#

thankfully i only need text SDVpufferthumbsup

gaunt orbit
#

Difference is that getDescription can only do text

uncut viper
#

(i actually patch the Description property getter directly for tools and weapons though... bc getDescription is not fine there...)

calm nebula
uncut viper
#

well getDescription literally only returns a string so

#

i believe selph when its said that one must go to drawtooltip

calm nebula
#

I avoided it for atracore

rancid musk
#

Quick someone make a Better Tooltips mod to avoid needing so many transpilers /s

brittle pasture
#

is your tooltip before or after vanilla stuff

uncut viper
#

you seem to be patching drawTooltip?

calm nebula
#

Not as a transpiler iirc

uncut viper
#

(also pictured: the other reason that patching getDescription is not fine. i have no idea why there is just a blank space here instead of text for Rings specifically but im electing to not really care)

gaunt orbit
#

I think rings and weapons do wonky things to handle stats and enchantments

uncut viper
#

weapons for sure, i handled those, i was just too lazy to figure out where to patch for rings

calm nebula
#

Either you or Casey but Casey is resistant to nerdsnipes

uncut viper
#

and admittedly some of that laziness stemmed from being annoyed that i reflected to get all the correct getDescription methods specifically to avoid hardcoding patches for differnet subclasses of Items and did not like having to then hardcode patches anyway

calm nebula
#

Yeah

#

What are you doing with tooltips anyways

#

Museum?

uncut viper
#

oh i remember why now another reason i didnt bother to go looking to patch it: unlike weapons, Rings description is a field, and not a property. so the only solution is 🥁 patching Ring.drawTooltip

#

yeah its for museums

calm nebula
#

Anyways

#

Truce? We both try to get Khloe to do better tooltips

uncut viper
#

i wouldnt set a dependency on it anyway so i think i cancel out your volunteering

calm nebula
#

I'm not volunteering. I'm voluntelling

#

Damnmmmm my voluntelling skills are weakening

frosty hull
#

Hello world!, i have question about Game1.whichFarm

  • public static int whichFarm;
    if "whichFarm == 7" is mean euqal "Mod Farm Type"?
#

because i seek src code on mobile
file: MobileFarmChooser.cs -> func: optionButtonClick(string name)
i very confuse

brave fable
#

there should be a handful of consts at the top of Farm.cs that show the names of each value

#

technically meadowlands is a modded farm since it uses the AdditionalFarms asset

frosty hull
#

Ohh

drowsy minnow
#

hii i was just wondering what "uniqueID" is for when it comes to making a content patcher mod?

brave fable
#

or, all modded farms are simply vanilla additional farms, depending on how you approach life

#

UniqueID is simply a letters-numbers-and-periods value in the format author.modname.maybeasuffix

gaunt orbit
#

The game has methods for getting farm metadata

gaunt orbit
brave fable
#

so yours might be bvbbysbvnny.mycoolmod for a simple & cool mod

hard fern
#

😔 im finally out of the swamp enough to work on modding.... but now i dont want to do it bc i hate map making

drowsy minnow
#

ohhh okok thank uuuuSDVpufferheart SDVpufferheart SDVpufferheart

calm nebula
#

Butttttt I would love that as a serious suggestion

#

If you don't do it may I?

rancid musk
gaunt orbit
#

I do think it's an interesting idea but I'm pursuing other projects right now

#

I've been working on mod to add garden beds and proper growable hedges

umbral plume
#

@uncut viper aw damn does that mean i cant change the coordinates when i enter the house?

gaunt orbit
uncut viper
#

theres an EntryLocation map property for the farmhouse, i would try that first

#

disclaimer im not 100% sure of anything regarding the farmhouse

#

i just think things and sometimes theyre correct

calm nebula
#

Yeah, I figure I don't have the bandwidth for a big project but something I toss together in two hours and ignore when it breaks is fine

umbral plume
#

where i leave and where i enter are different places @gaunt orbit

gaunt orbit
#

Huh, I guess the farmhouse is different

#

No need to ping me twice, I'm right here

umbral plume
#

That's my issue lol I exit in one spot and reenter in another

gaunt orbit
uncut viper
#

¯_(ツ)_/¯

calm nebula
uncut viper
#

im not even 100% sure thats what its for. it just seems like it would be since its called EntryLocation and is in FarmHouse.getEntryLocation() above some hardcoded coordinates that change with upgrade level

#

so im like 90%

gaunt orbit
#

I know some farmhouse stuff got dehardcoded in 1.6, and since it's also a building now I wouldn't be surprised if that got added and slipped through the cracks on the migration page

umbral plume
#

oh hey btw in Tiled the warp code, I know its "x y warp" but then theres two numbers after that, what do those two numbers refer to?

gaunt orbit
#

Fromx, fromy, toname, tox, toy

umbral plume
#

....? I think I get it?

#

like starting coords to ending coords?

#

likke warping from x y and warping to x y?

gaunt orbit
#

Yeah, plus the name to tell it which location

umbral plume
#

gotchya gotchya

#

sorry if i came off mean before btw i didnt intend it to be wren

gaunt orbit
#

You're all good <3

umbral plume
#

❤️

#

would i be crazy if i just adjusted the entrance visually to where it warps me inside then change the warp to the outside coords

fathom hound
uncut viper
#

got an AccessViolationException SDVpufferparty love when those happen

calm nebula
#

I forgot what I said was in scope for smd

#

Capacitors. Capacitors are in scope.

uncut viper
#

in this case its actually 100% consistent so i guess im just not allowed to do what i was trying to do

lucid mulch
calm nebula
#

Tbh if stardew futures market gets scope creeped enough to have a functional electricity market

#

I kid I kid

sleek igloo
#

GERV!!

#

How goes the animation game

rough lintel
#

thats right, i forgot gervig practically has a monopoly on the animation side of modding lmao

sleek igloo
#

He also used to magically appear in any conversation with "animate" in it

rough lintel
#

true!

#

just like pillow appears when people mention switch modding

sleek igloo
#

To this day he has never told me how he does that, we had a bet it was a Google alert

rough lintel
#

secret python script 😎

sleek igloo
#

Lol

rough lintel
#

i think if you say machine progression system 3 times nach also appears

#

many such summons

sleek igloo
#

Snort

rough lintel
#

anyways. hadi! why are you semi retired

sleek igloo
#

I'm kinda trying to come back but it's very slow going lol

#

New content patcher formats make my brain hurt

#

I can do extremely basic replacement things but even configs still stress me out; I am from a simpler not even close, just different time

rough lintel
#

xnb replacement time, or when ran’s old cp mods dominated nexus time?

sleek igloo
#

Not that old aha

#

1.4ish

rough lintel
#

oh!

#

so the good times

sleek igloo
#

I'm used to JA and PFM and all those specialized frameworks that are now either obsolete or not as useful

rough lintel
#

understandable tbh

sleek igloo
#

Technically it's much easier to do stuff now

#

But it's hard for me to get my head around advanced CP stuff

#

In my day you only had i18 for translations and now there's a data folder instead of everything in content dhdhd

rough lintel
#

yeah i struggled a bit initially because i hopped on the DGA train as it was scheduled to die

sleek igloo
#

Oh nooo

rough lintel
#

but i promise you, its WAY easier now

#

stuff is spread out a bit more but once you get the hang of it, its cheese

sleek igloo
#

It's mostly syntax that gets me tbh

rough lintel
#

you can always ask in here if youre having trouble too! lord knows i do all the time

vernal crest
#

Plus you can still keep everything in the content.json if you want to

#

No need for a data folder

sleek igloo
#

True, but I'm sure there's Reasons why people do that

#

I don't know them but they must exist 😂

vernal crest
#

Tidiness mostly lol

rough lintel
#

tidiness, yeah. once Include became the new meta, everyone hopped on

vernal crest
#

Some people do it for local token stuff but that's way advanced so just pretend that doesn't exist right now lol

sleek igloo
#

Hnnnng

rough lintel
#

it helps a lot for bugfixing when stuff is spread out too, bc u know exactly what file went wrong

vernal crest
#

And just close your ears when Kisaa starts talking xD

sleek igloo
#

Pfahaha

rough lintel
#

but yeah hadi. get back in the game!!! stuff is more accessible than ever and this entire chat is willing to help u always

sleek igloo
#

Conditions are so scary

#

I mean I technically am back sorta

rough lintel
#

i thought so too but conditions? actually god tier

sleek igloo
#

I published 3 mods in the last two weeks lol

rough lintel
#

omg nice!

#

is ur name on nexus Hadi? or smth else

sleek igloo
#

Very tiny mods

rough lintel
#

i may have seen ur mods

sleek igloo
#

Hadiwrites42 I believe

#

If not, hadi42

#

The first one. Ya

rough lintel
#

OOH

#

I HAVE SEEN THESE

#

yeah, get that kitchen outta here fr 🤣

sleek igloo
rough lintel
#

YOU DID SPANISH REVIVAL BUILDINGS?

sleek igloo
#

I was so annoyed with it in my playthrough lol

#

I did

rough lintel
#

HOLY

#

OH MY GOSH my friends and i talk about that mod all the time

sleek igloo
#

Also Victorian craftables and khadija's recipe shop

rough lintel
#

OMG

#

YOURE A LEGEND

sleek igloo
#

Aww I'm sorry I haven't updated in so long

#

It's been a rough time

rough lintel
#

i remember i wanted to try making a continuation of SRB but i got lazy lmfao

#

theyre beautiful buildings

sleek igloo
#

It's a Lot of work to do buildings xhdhd

rough lintel
sleek igloo
#

Lot of folks asked if they could convert but I kinda rely on Nexus dp for basic funds so I was reluctant

#

I finally let shads take over artisanal sodas because I had no idea how to do ja to cp

#

Also it's a fuckton of sodas

west tundra
#

Hey all, I feel so silly I'm sure this is a simple fix, but I'm trying to make a portrait mod with zero coding experience. I don't know what I'm doing wrong here, but I'm getting this messahe in SMAPI for every single portrait, and I've double checked that they do indeed exist and are in the right file spots... any help would be appreciated!

sleek igloo
#

I would double check for typos and case sensitivity

#

Also stray or missing commas

west tundra
#

Ahh, I bet that might be it. I'll double down on proofing, thank you

sleek igloo
#

If it persists then it's time to look at the patch and filenames

#

Nw, I get that sort of issue all the time SDVpufferchickcry

west tundra
#

god, glad I'm not the only one SDVpuffercry

#

thank you haha

sleek igloo
#

Far from it, it's so easy to miss one character 😅

#

Idk where case sensitivity applies anymore so I'm just extra anal about it to avoid issues

west tundra
#

This seems like the way!

sleek igloo
#

Good luck, let us know if it worked!

west tundra
#

oh my god, it's the difference between / and \

#

I feel very smart

sleek igloo
#

I think you just have to assume \ is dead to you

west tundra
#

So, never use \ ?

sleek igloo
#

No I'm sure there are places to use it

#

Just

#

Not in filenames

#

I don't think

uncut viper
#

have you checked that changing the slash actually fixes it

west tundra
#

gotcha!

#

I'm about to, I need to go in and change all of them

uncut viper
#

bc slashes aint supposed to matter

west tundra
#

No?

sleek igloo
#

Oh really

#

That is news to me lol

#

But interesting

west tundra
#

Hang on, let me actually make the switch, and run it I'll come back to this in a few

cinder talon
#

haii i know there's ongoing troubleshooting but i also have a question, for using content patcher to make new events, do you have to overwrite the existing events in order to make a new one, or could i create a fully new one without overwriting - for example - sam's 8 heart event?

wide lake
#

slashes vs backslashes in file paths shouldn't (as in "aren't supposed to") matter, but they definitely will in other places.

sleek igloo
#

Ah, okay I knew there were cases where they did

sleek igloo
#

It definitely does with maps

sleek igloo
#

o7

sour sleet
#

Can anyone help me get my event working? I'm getting an error when using switchEvent in my script. This is the error I'm getting: [game] Event '8BitAlien.Lilybrook_Archie10Hearts' has command 'switchEvent 8BitAlien.Lilybrook_Archie10HeartsMean' which couldn't be parsed: can't load new event from asset 'Data\Events\8BitAlien.Lilybrook_Lilybrook' because it doesn't contain the required '8BitAlien.Lilybrook_Archie10HeartsMean' key.

uncut viper
sleek igloo
#

Nice

#

Til

cinder talon
#

sweeet! Thank you!

uncut viper
#

if you dont null the old one then you'll just have multiple heart events

lucid mulch
#

anything in the stardew asset pipeline / and \ (which in json would be \\) are equivilent.
but if you are putting it in a slash seperated data structure (like Data/Furniture) then / is forbidden and so the paths need to exclusively be \

sour sleet
#

It's basically continuing the event and ignoring the switch

cinder talon
uncut viper
#

(you also dont need to start with a vanilla map as a template for map editing, though its just very helpful if you do, but its perfectly possible to make one from scratch)

uncut viper
sleek igloo
uncut viper
#

this should have all the info you need, particularly the preconditions section to determine what circumstances must be met for the event to trigger

sleek igloo
#

But good to know it isn't required anymore

uncut viper
#

it wouldnt have been required bc you can always ofc just add in the same properties and tilesheet animations manually yourself, basically do what CA himself did. its just annoying to do that when you can just open Town.tmx or whatever and that stuff is already there for you to edit

#

particularly the tilesheet animations

#

so i would agree you still should. you just dont necessarily need to

sleek igloo
#

Hmm fair. I was always told it was a must, but I don't really think anyone explained why

#

Thanks for clearing that up SDVpufferheart

sour sleet
#

Here's the relevant part. Does this look okay? quickQuestion #{{i18n:event-Archie10Hearts.04}}#{{i18n:event-Archie10Hearts.05}}(break)friendship ArchieLilybrook 50\\speak ArchieLilybrook \"{{i18n:event-Archie10Hearts.06}}\"(break)speak ArchieLilybrook \"{{i18n:event-Archie10Hearts.07}}\"\\switchEvent {{ModId}}_Archie10HeartsMean/pause 500/

sleek igloo
#

Events hissss

#

(no idea, ignore me)

sour sleet
#

The switchEvent part isn't working SDVpufferwaaah

#

And here's the event I want it swapped to: "{{ModId}}_Archie10HeartsMean/f ArchieLilybrook 2500/t 800 1800/w sunny":"pause 1000/emote ArchieLilybrook 28/friendship ArchieLilybrook -250/globalFade/viewport -999 -999/stopMusic/end",

urban patrol
#

are you sure that quick question and switchEvent are what you want? why not use a fork instead?

umbral plume
#

yall

#

why is the cellar doing THAT when its not in Tiled? WHERE ARE THE EXTRA TILES COMING FROM

sour sleet
latent mauve
umbral plume
#

.....oh

#

yes

#

i am

#

any way to fix it without disabling farmhouse fixes?

latent mauve
#

FF does some shenanigans to call spouse rooms and the cellar entrances, so try disabling it first to see if it goes away or not

#

If it doesn't go away, then it's something else.

urban patrol
umbral plume
#

thats probably it, because it was fine until just now

#

ive been working on this mod for a while too

latent mauve
umbral plume
#

its not farmhouse fixes apparently

#

aw fffffrick does that mean i have to go through each of my tilesheets

#

i just dont know where the heck the extra tiles came from, i didnt change any mods between the time before they appeared and after they did

sour sleet
#

Any event experts here? I can't figure out what's wrong with mine for the life of me SDVpetbearsad

latent mauve
# umbral plume nothin

the other thing to check would be where the renovation tmx puts the cellar entrance, because you might need to tweak the renovations due to your custom farmhouse positions.

rough lintel
sour sleet
#

Ahh okee, I will continue to try figure it out but I feel like I've tried everything SDVpufferwaaah

latent mauve
sour sleet
#

If anyone knows what this error means, let me know c: [game] Event '8BitAlien.Lilybrook_Archie10Hearts' has command 'switchEvent 8BitAlien.Lilybrook_Archie10HeartsMean' which couldn't be parsed: can't load new event from asset 'Data\Events\8BitAlien.Lilybrook_Lilybrook' because it doesn't contain the required '8BitAlien.Lilybrook_Archie10HeartsMean' key.

latent mauve
#

It has to be in the same location, in case that is a concern here

sour sleet
#

I do, here it is c: "{{ModId}}_Archie10HeartsMean/f ArchieLilybrook 2500/t 800 1800/w sunny":"pause 1000/emote ArchieLilybrook 28/friendship ArchieLilybrook -250/globalFade/viewport -999 -999/stopMusic/end",

#

It's the same location

latent mauve
#

the precondition is the issue

#

Try removing the preconditions on that one

umbral plume
#

i...dont understand, the unpacked cellar entrance doesnt look the same

#

but cellar available and fixed basement dont have cellar entrance textures

latent mauve
sour sleet
#

Yay, all fixed now. Thank you c:

umbral plume
#

originally, the entrance was higher up or so, and all i did was shift the entrance left one tile, changed the warp coords and they line up now, but the cellar was fine then- then i replaced some tiles for walls i could walk through and now the tiles are messed up

latent mauve
#

I do still think Farmhouse Fixes is interfering, so if you haven't found that config option and turned those tiles off, you need to. But also FarmHouse_Cellar, if you've moved the planned cellar opening at all, will also need to be edited.

umbral plume
#

I completely disabled FF and it didnt change anything

#

i opened farmhouse_cellar and opened iit in Tiled but its longer than the entrance i have

#

actually...if i cover it with stair tiles instead of leaving the spot empty in Tiled, do you think it would fix it? It still functions, just looks messed up visually

latent mauve
#

so, the full FarmHouse_Cellar file shows that the top-left tile of the wall is placed at 18,32

#

Which is where it lines up with the vanilla farmhouse Cellar entrance

cinder talon
#

what does "viewport 24 97 true" mean? im trying to pick apart one of the mods i have installed and this is the first thing i couldnt figure out for myself so far

latent mauve
#

But without knowing exactly what layer you are putting your walls on and if they are the same as the layers the FarmHouse_Cellar walls are on, it's hard to give you an exact fix.

rough lintel
#

true is…. there is probably some function that can run after viewport x y [???] youd have to check the wiki

#

for Modding:Events

cinder talon
rough lintel
#

yeah!

latent mauve
#

the first true should be unfreeze, I think?

#

if there were two true/false statements, it would be unfreeze and then clamp

tiny zealot
#

in this case, the true means "fade in after setting the position"

wide lake
rough lintel
latent mauve
#

wiki is still waiting for someone to explain the secondary parameters

#

LOL

tiny zealot
#

viewport is cursed and this exact thing has come up recently, but you can trust me on this specific usage since i do it all the time lol

cinder talon
#

okaaay follow up question cause i thought that viewport was this, what does the none/-1000 -1000 mean?

uncut viper
#

the viewport stuff keeps coming up bc no one will ever parse the command enough to figure out how to write it down succinctly on the wiki. if you think you can do better go look at it /lh

latent mauve
#

The first one (none) tells it to stop the music. The -1000 -1000 is for the starting center coordinates and the viewport command later on lets you move it. It's pretty common to put the centered tiles offscreen like that to prevent weirdness with the fade effect appearance.

rough lintel
#

ohp lol

#

lily was faster

umbral plume
#

YOOOO I was right sort of lmao! I literally just made the cellar entrance visually into the layout so it overrid the messed up tiles and it works perfectly, i can go in and out without problem

latent mauve
umbral plume
rough lintel
#

the position the camera focuses on* actually

uncut viper
ivory plume
cinder talon
#

"I saw some eggs being placed near my house.#$b#Just thought I'd give you a hint.$u",
i plucked this from the mod im picking apart, why are there the random #$b# parts? are they just from translating into code?

ivory plume
cinder talon
#

oooh okay! Thank you!

vernal crest
#

SinZ did this for the viewport stuff! I've found it very helpful!

vernal crest
timid scroll
#

Hey, is there like a "how to" guide for making your own farm mod? I'm kinda curious if I should give that a shot.

ivory plume
timid scroll
#

... Is there a way to learn how to do that for beginners? Like, really beggining beginners?

urban patrol
#

!startmodding the wiki is the best place (which pathos linked)

ocean sailBOT
#

Making mods can be broadly divided into two categories:

Usually it’s easier to start with making content packs, since you don't need to learn programming.

timid scroll
#

Thank you.

calm nebula
#

wait how bad was unboxing again.

brittle pasture
#

is this rust

calm nebula
#

C# stop being too smart I'm trying to benchmark

#

I wrote an entire effing cache and then realized "wait you're trading string manip for boxing and you do recall a blog post saying boxing is blasted terrible in C# YOU SHOULD BENCHMARK"

#

anyways I'm going to sleep with the thoughts of benchmarks

#

pufferthink

#

okay I'm going to rework that the next time I can't sleep SDVpufferthumbsup

umbral plume
#

okay i really need help now

#

WHAT EVEN IS THIS

#

HOW

hard fern
#

Wuh oh

umbral plume
#

YOU CANT EVEN TELL WHAT ITS SUPPOSED TO BE

#

HOW IS THAT

hard fern
#

😅

umbral plume
#

SUPPOSED TO BE THIS

hard fern
#

Are you sure you're applying the patch correctly

brave fable
#

welcome to the farmhouse, we got fun and games

umbral plume
#

IT CANT EVEN BE CONFLICTING MODS BECAUSE I DISABLED THEM ALL AND TRIED AGAIN

brittle pasture
#

did you test this on a safe with fully upgraded farmhouse + renovations

umbral plume
#

I literally just completed the first upgrade and then combined that and the vanilla second upgrade

latent mauve
#

Those are definitely the black boxes from the vanilla renovations

#

You need to create alternate placements for the renovation maps (and the corresponding remove_ maps for them)

umbral plume
umbral plume
hard fern
#

Bc no renovations ig?

latent mauve
#

The black boxes are from the remove version of the renovations, renovations are inaccessible and not applied until hallway/kid room upgrade

hard fern
#

fsrmhohse scarey

umbral plume
#

and im really fking determined

brittle pasture
#

hmm admittedly I didnt know renos apply black areas if disabled, but that makes total sense

umbral plume
#

i WILL play a game with the layout I want even if i have to make it myself gdi

hard fern
#

Ive been procrastinating my artisan goods mod for so long bc i hate machines so much

brittle pasture
#

machines you say

latent mauve
#

This is why most custom farmhouse mods that dare to completely restructure the farmhouse also create custom renovation layouts

umbral plume
latent mauve
#

Yes

brittle pasture
#

yeah you'd need to change the renovations as well

umbral plume
#

so....i should change my second upgrade into seperate renos rather than a whole map

#

🤔

latent mauve
#

By default "empty" renovation spaces use black boxes on the buildings and front layers to prevent wall passthrough when they don't exist

woeful lintel
#

I have found myself in a purgatory of my own making with the FF parsing rework 💀

umbral plume
#

would it work if I replaced/modified a vanilla reno or should I just make a totally new reno?

latent mauve
#

You can absolutely just modify a vanilla reno

woeful lintel
#

I don't have JsonConverter bugs anymore, but I have to find a way to make them work around my eldritch horror of json structure

latent mauve
#

You only need to change the map and the Data/HomeRenovations file to properly assign the new tile placement for build checking

brave fable
#

out of interest, why do you need to manually parse your json files?

woeful lintel
woeful lintel
brittle pasture
#

adding a new renovation is fine too

umbral plume
#

alright well whos with me til the end of my first and possibly most challenging mod? Cause if this is the case, I'm making it my dream and adding in a stamina regen bath which i need help on how to tell the game that the water tiles = swimming which in turn = stamina regen

woeful lintel
#

I'm trying to migrate from literally manually parsing JTokens to having a data Model class structure so that the files are patchable with CP

umbral plume
#

might as well go all in

latent mauve
woeful lintel
umbral plume
#

def not college work

#

or work woork

#

its the spite and caffine im chanelling

latent mauve
#

Minor caveat with the swimming thing though: you will want to make sure your tub area has enough vertical space to allow for the jump animation when leaving swim mode, or things get funky

umbral plume
#

ill make a whole damn spa

latent mauve
#

I found out the hard way when I got in a jumping loop.

woeful lintel
umbral plume
#

mooooooood

brave fable
#

hmmm graduating is important tho

umbral plume
#

except i was kicked but SDVpuffercoolest

brave fable
#

not paying another semester of tuition fees is importanter

umbral plume
#

Eventually 🫡

woeful lintel
#

it's less bad that I'm making it seem: I engaged in a 2.5 years double degree program to push back having to work in a company.

#

Also I'm from France, so tuition is 600€ a year, so it's not life ending

umbral plume
faint ingot
#

Is there any way to add conditions in FTM content packs? For example if I only want a monster to spawn if it is raining.

woeful lintel
umbral plume
faint ingot
#

I guess I could create an alternate copy of the location...

umbral plume
#

I failed two semesters and the gov said "i dont give a sht if you have untreated adhd honey gimme my money you loaned for tuition"

#

sorry @faint ingot i dont mean to talk over you ❤️

#

somone help this child

#

not me cause im struggling on my first mod lol

faint ingot
#

OK thanks I haven't noticed/played with ExtraConditions before

calm nebula
#

"WeatherToday" also seems relevant

umbral plume
#

i need to sleep for now but @latent mauve if youre in for the long run, we'll have to touch base again so you can help me add in my functioning spa of pure spite

latent mauve
#

I also need to sleep, we can definitely touch base again later

patent lanceBOT
old edge
#

anyone able to help with my green rain summon?

fallow grotto
#

gotta love it when file explorer crashes

cinder talon
#

i'm looking at the event data, and i'm a little confused on the move <actor> <x> <y> <direction> thing, specifically on how you use it?

rigid musk
#

You can also add "true" on the end so the move command happens but doesnt pause the script, so other commands continue happening after

cinder talon
#

so how does the moving itself work, what are you counting for x and y and direction?

rigid musk
#

So /move Leah -4 0 0
Would have Leah move -4 tiles in the x direction and face up

#

Just tiles :]

cinder talon
#

x is left to right and y is up to down right?

rigid musk
#

I usually open my maps in tiled to count so I know how they need to move

#

Yes, x = horizontal y = vertical

cinder talon
rigid musk
#

Like a coordinate grid

#

Tiled? It's a map making program

#

If you've unpacked the games files you can open the maps in Tiled to view them

#

It's helpful for stuff like starting positions or if you want to warp npcs places during events

cinder talon
#

bless you! thank you so much!

visual dirge
#

the only things you can have friendship with where the friendship displays visually as hearts are npcs (in the social tab) and pets & farm animals (in the animals tab) right?

#

and the only other places that friendship is displayed visually as hearts (in vanilla) are the individual npc profiles (when you click on their social tab entty) and the individual farm animal profiles (when you interact with the animal) right?

cinder talon
#

There is NOTHING more satisfying than seeing this working for the very first time HYPEDANCE

#

I'm just doing a basic one to test if it works

#

I'm so excited

serene moat
#

Seriously though, seeing something you made pop up the first time? Best feeling

cinder talon
#

so... it did not go the way i expected xD

#

okay i fixed it by now but to explain how it worked, at first it was just a pitch black screen for several seconds. viewport did not work for me so i wanted to run the test with the correct coordinates from the beginning. then after that when i fixed the black screen, i went to town and alex........ well xD

#

my goal was this:

  • have alex throw his football two times before hitting the 💧 emote and then saying "I'm bored."
  • have him turn and face the farmer in front of his house and hit the ❗ emote, then say "Hey! You're the new farmer, right?"
  • have him approach the farmer and say "You're kinda [descriptive word player inserts, default is 'cute']" and then fade the cutscene to black
#

That did not happen KEKWIGGLE

#

First thing was Alex threw his football for 0.2 seconds and then started lifting weights with no shirt for some reason, then he hit the 💧 and faced towards the river. Then he faced where the player should've been [but they was invisible cause of course.] and hit the ❗ emote, then he started speedwalking away opposite of the player. no dialogue. just a really awkward and confusing occurrence of this guy just going "🏋️‍♂️ 💧❗🏃‍♂️‍➡️"

#

it works now!! its perfect :D

serene moat
#

I’m having trouble getting inspired to write dialogue for a character. Usually I can get in the mindset with a Spotify playlist, but it’s not coming to me this time. Anyone got some tips?

fading walrus
serene moat
#

That’s a good call. Maybe clearing my mind, taking a shower or a walk will help

fading walrus
#

Something light on the brain

gentle rose
karmic gust
vernal crest
#

kcspace's advice is great though.

gaunt orbit
lucid iron
#

Ooo is that the light map draw thing

gaunt orbit
#

Yeah!

lucid iron
#

This is probably more elegant than me putting 1 LightSource with beeg texture lol

gaunt orbit
#

I've been thinking about porting it

#

It would be easier now that there's an official lighting hook, but I'm still debating the most compatible way to deal with subpixel problems

serene moat
lucid iron
#

Oh r u draw bigger than 64x64

gaunt orbit
#

I can postfix the Quality getter, which I think is the simplest and most straightforward way of doing it, but if custom lighting from other mods don't use that and do hardcoded scaling math, then it will break things.

Though I suppose the same would be true if it changed in vanilla later, so maybe I just don't worry about it

lucid iron
#

I feel I am missing something here is the lightmap draw tied to scale in a way LightSource is not

gaunt orbit
# lucid iron Oh r u draw bigger than 64x64

No, the lightmap is drawn small and scaled up. It's 1/8 scale, and tiles are 1/4 scale, which means that tiles get smushed.

There's also the issue that the camera position is not necessarily a multiple of 4 or 8, so snapping the lights to tiles can create warping when you move. It's just not noticeable with vanilla lights because they're all gradients

#

Lightsources are drawn with scaling math based on Options, but now that there's a render hook, anyone can draw anything into the lighting, they just have to do their own scaling

round timber
#

so if i wanted to have one NPC sprite flipped for an event, id have to use the animate command correct?

#

also does anyone know the audio IDs for totem sounds?

brittle pasture
round timber
#

ooh thank you

tiny zealot
gentle rose
#

I think mine was rideable lizards. idk why though

calm nebula
#

The first time I made a transpiler and it worked

#

The first time I went off thread in Stardew and nothing blew up

coral trout
#

hi dears, I met a nexus post for automate today, says "can I make only one kind of chests automated like automation only work with stone chests ?"(sry I cant post screenshot with my role lvl)

that sounds useful, and when I turned to automate github repo it told me to discuss here if a feature should be added

I can try to implement it, and I wonder is there any committee or sth else can accept the feature for automate?

rancid musk
lucid iron
lucid mulch
#

Its so close to what AutomateChests does, but not quite

lucid iron
brittle pasture
lucid iron
#

Interestingly this is a content patcher mod?

brittle pasture
#

it uses code from another mod as a base

lucid iron
#

Ah this one then

#

Yeah u can use it to make ur own take too

brittle pasture
#

which yeah seems like it does what they want

#

albeit not on an individual chest level

lucid mulch
#

Looks like I got fourcake'd or something

coral trout
#

oh thx, but why not make it a built in feature for automate? likes all machine has its own config, so why not grant config for chests too

lucid iron
#

Are you going to submit the PR that does this?

#

Various people who implemented these things decided it should be separate mod for whatever reason

coral trout
#

not hands on it yet

#

yes but it Iooks like that the separate mods mentioned focus on gameplay balance more

brittle pasture
#

you can ping pathos to discuss with him, in case he decides that it's not a good fit for the mod for whatever reason

coral trout
#

reasonable to separate if changes gameplay

lucid iron
#

I am confused about what you want then NotteThink

coral trout
#

awh thats right

lucid iron
#

If you just want to control a chests in/out you can use chests anywhere

lucid mulch
#

Mine was pre1.6 and pathos mods at the time didn't like anything that wasn't save safe and can be easily uninstalled.
Modern automate probably would have been more open to doing what automator does

lucid iron
#

It let you designate a specific chest in the world as input only or output only or neither

coral trout
#

i prefer to aggregate chests together and something unexpected happens with automate, like all my quartz were refined

coral trout
lucid iron
#

You can disable the quartz refining rule with machine control panel if you want

#

That one is "machine no longer allowed to do this" globally

lucid mulch
#

If the chest containing quartz was in the same machine group as a furnace then that would happen

coral trout
#

yeah so I separate the chest groups and makes them looks weird and harder to store/get items...

#

(oh I can send embed here)

#

like this

lucid iron
#

This seems like a pretty normal setup kyuuchan_run

lucid mulch
#

Ironically enough Automator is less code than AutomateChests as it doesn't need to handle user input or refreshing automate.
Though gets to take advantage of the fact that making custom bigcraftables is much easier than it used to be

coral trout
#

but I need to open & put & close here & here & here

lucid iron
#

At any rate we already suggested various ways you can control automate idk what else you want at this point

coral trout
#

walks here & here & here too

chrome mountain
lucid iron
#

Since this is a mod making channel if you are preparing to submit PR but have problems we r happy to answer questions

coral trout
#

yes I am about to implement it if accepted

lucid iron
#

Then yes pls have fun YuniHappy

coral trout
lucid iron
#

Ik pathos always tells me to ask him b4 i do stuff but i usually do stuff first to see if the desired thing can work kyuuchan_run

#

Worst case your PR is rejected but you just built it for your own game anyways

coral trout
#

kek that is another way too, thanks for advice and Id have a look on the code later

opaque field
#

Is there a way to make an event trigger when the player goes to bed? I've got the wiki open and tried ctl+f in (but I could be searching wrong) to try and find out. specifically, I'd like to have this event trigger when the player goes to bed after witnessing a different event.

whole raptor
#

You can probably make an event that starts first thing in the next morning, so it looks like it's a night event

rough lintel
opaque field
serene moat
#

I just want to say thank you to all the great advice I got earlier about getting writing inspiration back. It really helped and I have written a bunch more this evening. Much love to you guys

umbral plume
#

Morning all SDVpufferheart aSDVjunimowave

#

well, evening

ivory plume
coral trout
ivory plume
#

Sure! There's no hurry. You can also discuss how you want do it here before doing the actual work, but it's not strictly needed if you prefer discussing it on the PR.

coral trout
#

I haven't go through all the code right now, would look how the configs for machine works and then apply to the container marker as them too?

ivory plume
#

Do you mean the machine options shown in Generic Mod Config Menu? Yep, it would probably be very similar to how those are added.

blissful panther
#

(The Automate discussion makes me wonder... Pathos, do you think you would be open to the simplest PR of all time to add a custom path that would serve as a connector by default? Something pipe-looking?)

ivory plume
#

Potentially! I'd probably want it to be configurable so the player can choose the appearance, and I'm a bit worried about what happens when they uninstall the mod and just have Error Items all over the place. So I'd want to discuss that one a bit more first.

#

(I haven't looked at the Automate discussion yet; I have a few hundred Nexus comments to catch up on before I can release the next update wave.)

tiny zealot
#

i would enjoy a feature to require connector paths underneath machines and chests in order to create valid connected groups

coral trout
#

Hah compatibility always makes things more confusing

tiny zealot
#

then i could make the only valid connector path be something expensive and/or gated to mid-late game

tawny ore
#

The only potential problem is that some things Automate can connect to can't go on paths

ivory plume
#

(But otherwise yep, cost and/or crafting materials is another thing to figure out for that.)

blissful panther
coral trout
#

a dedicated path-like connector may help(on the implementation form)?

blissful panther
#

And yeah, very valid concern with Automate being uninstalled. The only way I can see of handling that would be some kind of SMAPI-controller automatic cleanup. Which sounds like a big rabbit hole.

whole raptor
#

Always makes me think of pipes mod from MC (could never live without it)

#

Wouldn't that just be some error items? Doesn't seem like a big deal

uncut viper
#

not a big deal for most mods I think but a bigger deal to go from a mod that DOESN'T have that problem to one that suddenly does

blissful panther
#

It could potentially be a lot, though, and it just wouldn't give a good impression even if it is harmless and makes sense.

tawny ore
#

1.6.100 request, or whatever we're on, can objects remember a fallback object

uncut viper
#

Matt were on 1.6.16 upcoming

tawny ore
#

I'd love to make unique chests that could become vanilla chests when uninstalled rather than become error items

gentle rose
#

for things like the paths you mention

#

that way mod authors can add things with a little bit less fear of what happens when the mod is uninstalled

lucid iron
#

Paths are actually Very Bad to leave as errors they crash draw loop

blissful panther
lucid iron
#

Nah u do this in automate

blissful panther
#

Ah, so you mean SpaceCore style.

lucid iron
#

Turn em back to actual path in Saved

blissful panther
#

Right, yeah, that'd work.

tawny ore
#

The concept itself could be implemented as its own mod

uncut viper
#

plus it's in the saving black screen so it's basically free to do /j

lucid iron
#

The ol snorlax swap ( ©️ ichortower )

coral trout
#

Kek that sounds kinda complex, or is it possible right now?

blissful panther
#

Oh, that's 100% possible.

uncut viper
#

anything is possible with enough c#

blissful panther
#

Shockingly simple, too.

uncut viper
#

but no one's written the c#

lucid iron
#

Yeah it's just kind of suck for you going to sleep n waiting 5 yrs

gentle rose
coral trout
#

Sounds that needs helps from SMAPI

tawny ore
#

I don't really like the hot swapping back-and-forth. It'd be better if during load the current error item logic could catch those.

lucid iron
#

Well it has the help

#

Saving and Saved

tawny ore
#

Like, if I'm about to turn into an error item, and I have some kind of object fallback then try to replace it with that instead.

gentle rose
blissful panther
#

Vanilla would make the most sense, since this situation could easily occur when removing SMAPI.

tawny ore
uncut viper
#

the error item isn't actually being replaced with a different error item though so it's a lot less work

coral trout
#

Yea anyway the game/SMAPI can not know the fallback after uninstall without store it in the save previously

gentle rose
uncut viper
#

basically just a fallback texture innit?

lucid iron
#

But yeah barring that, not letting ur thing go into the save is how to do it rn

coral trout
#

in another word it affects saves

lucid iron
#

I do think paths should get proper error texture checking and not explode the draw loop when it errors

coral trout
#

So compatibility again?

gentle rose
whole raptor
tawny ore
#

Anyway, we're on the same page. Error items are annoying, and I wish they were more avoidable

gentle rose
#

let's concede that great minds think alike and work together to make this a reality SDVpufferwoke

uncut viper
#

i think you should not concede and instead fight it out and the winner implements it

tawny ore
#

By order of preference, it should be in SDV, SMAPI, or SpaceCore

uncut viper
#

(/j)

tawny ore
#

Because whatever the solution ends up being, will be a dependency for every other mod wanting to use it. So it may as well exist in what's already a dependency for most mods.

uncut viper
#

i say this with much love for casey in my heart but pls do not give spacecore yet another big feature that could reasonably be its own independent mod

tawny ore
#

I'd want to limit the amount of mods that do dangerous save serializer stuff, so it's well suited for SpaceCore

uncut viper
#

if it were up to me spacecore's save serializer stuff would already be its own mod

gentle rose
#

I think SDV would be ideal

and the other question is if, once the item is missing, the game rewrites the save to just be the fallback item or if it leaves the original there in case the mod is reinstalled

tawny ore
#

SpaceCore is where things that aren't in scope for Content Patcher go

#

At the end of time, there will be only those two mods, and content packs

tawny ore
#

No need to overcomplicate, especially if we get into things where the new object can't possibly retain all of the previous object's state

gentle rose
#

also can you chain fallbacks

like can you say that your preferred fallback is a cornucopia item but if that's also unavailable then a default item

tawny ore
#

In my mind it'd be something like heldObject, but more generic, so theoretically heldObjects can themselves have heldObjects

uncut viper
#

tbh, i also dont really feel like a fallback item feature really has much use outside of mods that offer alternatives to existing vanilla things

tawny ore
#

Maybe a simple heldObject and copyFieldsFrom on creation

gentle rose
uncut viper
#

like what would a cornucopia crop put as a fallback

blissful panther
#

There should be an option to have a null fallback that results in removal for sure.

tawny ore
#

I mean the new instance replaces the old, but if a copyFieldsFrom is possible, then it can maybe do that too?

gentle rose
tawny ore
#

IIRC @gaunt orbit had something too

#

Someone had skill books as an example

#

Oh no that was for cjb item spawner. I'm getting my feature proposals mixed up.

gentle rose
#

iirc I originally thought of this in the context of one of your mods Matt SDVpuffersquee probably custom bush

tawny ore
#

Well custom bushes would revert to just tea bushes on failure, but Expanded Storage is where it's more useful.

#

Like custom chests eating up your items on uninstallation is not a good user experience.

gentle rose
#

yup! I was just about to say that haha. Because that then took me to thinking about container fallbacks

uncut viper
tawny ore
#

Well the nice thing about this suggestion is that it gives modders more options instead of taking away options

uncut viper
#

to me imo if an item of mine made sense to turn into e.g. a furnace if it no longer existed... then why isnt it a furnace in the first place

gentle rose
#

do you guys want to know what vital feature is ACTUALLY missing from vanilla though?

there are only console commands to spawn cats, dogs and horses. Turtles never got one!

uncut viper
#

well no option is being taken away by not including it, as there was no option to take in the first place

#

but i think determining how broadly useful it would be is good discussion for deciding whether it should go in the base game, SMAPI, or a different mod

gentle rose
#

I've seen it come up in enough contexts that I think it would be helpful

uncut viper
#

(not that any of us have the deciding say in whether it goes in the base game or SMAPI, but you get the point)

#

counter anecdotally, this is the first time ive seen it come up! SDVpuffersquee

gentle rose
#

and it's less about what your item makes sense to turn into and more about what's better than nothing

a lot of mod authors will pick an unideal replacement over an error item

#

my counter is the thing that brought it up in this very discussion, adding a default connector to automate SDVpuffersquee

uncut viper
#

yeah, which makes the connector path stuff the first time ive seen people talk about fallback items

tawny ore
rigid oriole
gentle rose
rigid oriole
#

Valid

tawny ore
uncut viper
#

i do want to be clear im (hopefully obviously) not saying fallback items is a terrible idea and shouldnt be implemented at all bc its useless and yada yada
just tossing in my own 2 cents about its general viability considering one of the discussion points was "whose responsibility is it?"

gentle rose
#

I think it's your responsibility, button

#

I nominate you

uncut viper
#

i havent even finished the last other-mod-dependent feature i was pseudo assigned

#

(ill get back to CMCT one day)

rigid oriole
#

No maintain only new project

#

Wow autocorrect killed me there

uncut viper
#

new princeton

calm nebula
#

We assign Matt

tawny ore
#

I think I've hit my limit for the number of scope-creeping features I can suggest for CMCT before Button disappears me

calm nebula
#

I have no idea what is going on

#

I just assign matt

tawny ore
#

I'd be willing to play with the idea as a proof of concept, but I don't think it really works unless it makes it's way into something ubiquitous

uncut viper
#

to be fair, im always open to scope-creeping feature suggestions for CMCT
but given one of my reasons for not wanting everything to go into spacecore is "i dont like putting so much important functionality in one single mod that one person is in charge of," it'd be hypocritical of me to suggest more things should be delegated to CMCT when i cannot be trusted right now to implement or maintain them as much as they would need to be

tawny ore
#

AtraCore it is then

calm nebula
#

No

gentle rose
#

if only vanilla took PRs

#

I nominate barley to write an SMAPI pr

calm nebula
#

I think the person who wants the feature should do it, Matt

lucid iron
#

I don't think this feature makes any sense for not vanilla to implement

tawny ore
#

It's not my idea, it's iro's idea Cool

lucid iron
#

Netfields scary

rough lintel
#

this chat scary lowkey

#

so haha…. difference between List and an array?

tawny ore
#

Lists are backed by Arrays

rough lintel
#

so all lists are arrays but not all arrays are lists

tawny ore
#

I think on a technical level, Arrays are sized once on creation, and can only hold however many items they're sized for.

#

Resizing array involves creating a whole new bigger array.

rough lintel
#

theres no way to make the array get bigger as needed?

tawny ore
#

But don't quote me on that, I don't get deep into the guts of code as much.

rough lintel
#

like if you were logging scores in a game or something

#

cant you do a for statement that just… ++?

#

this may be a case of IMBS (i may be stupid)

#

but im also asking baby questions because im doing the c# players guide to relearn c# so i dont explode my house over this mod lol

blissful panther
rough lintel
#

[cowboy accent] this aint C territory boy……….

#

i need to go matrix mode and download someones programming skill directly into my brain

blissful panther
#

Well you definitely don't want mine!

rough lintel
#

wynaut

tawny ore
#

I think the simple answer is that Lists are dynamic and Arrays are fixed, but Arrays are faster than Lists

lucid iron
#

I give u this box it hold 12 Things

#

Don't ask box to hold 13 Thing it explodes

brittle pasture
uncut viper
#

you can however create a new box that holds 13 things and if anyone asks for the previous box, point them to the new box instead

lucid iron
#

(Although usually u get a 24 Thing box so u won't have to change box as frequently)

uncut viper
#

(which is what Array.Resize does, it doesnt actually change the original array size)

blissful panther
#

Short version though, an array is contiguous, and so you can't expand an array without very possibly (if not likely) overwriting other memory, because it would be being resized in place.

blissful panther
#

I actually have no idea what C# would let you do in an unsafe block... or with weird IL.

dusk terrace
#

what's the green grass skirt called? and on that topic... I'm pretty sure that weird skinny pants tileset is unused, but just making sure

blissful panther
dusk terrace
#

ooo yes, thank you

#

I guess that explains why I couldn't see it on the tailoring page too 😅

cinder talon
#

how would one go about listening to the sound cues in stardew? EYES

#

all the music and whatnot

lucid iron
#

unxwb to get them unpacked

#

But you can also just do debug ps <cue name>

tawny ore
#

I used to use a mod called Handy Headphones, but I don't know if that broke in 1.6

#

Nevermind, just checked. It has been discontinued for a long time.

cinder talon
#

how the heck do i use unxwb? nothings showing up

lucid iron
#

You don't get the cue names that way tho

#

Which is why just playing the cue in game is best

cinder talon
lucid iron
#

You run it once on a xwb file to unpack

#

It's a command line tool not much to say here

blissful panther
#

That's what I was thinking, but the link leads to a source-only GitHub repo...

#

Oh, nope, there's an exe in the... repo. That's cursed.

lucid iron
#

I had to build with the makefile linked

#

Glad someone figured it out so i didn't have to

cinder talon
#

i'm just gonna go with playing sound cues in game. is there a way to stop the main music?

lucid iron
#

But yeah if u are just trying to find a cue's name in game

#

Do debug logsounds and then do whatever action to proc the cue you want

#

It'll log the cue name so u know

lucid iron
#

Or just mute it in the settings

karmic gust
#

From what I've gathered in the wiki, vanilla NPC festival locations are done in the map file for each festival so if I wanted to change them I'd have to edit the maps? Is that correct?

brittle pasture
#

isnt that in Data/Festivals

karmic gust
#

I'm not sure. I was looking at the egg festival and there's a loadActors Set-Up command, but nothing about individual NPCs (aside from a few people that move around)

uncut viper
#

theres those like. weird NPC face tilesheet tile things on the festival maps but idk what they do or if theyre still used

karmic gust
#

I could also be missing it though

uncut viper
#

these things

round timber
#

those dont actually have a function

#

i think they were just for CA’s own reference when making da game

blissful panther
#

My pet theory is they were used to determine schedule starts or something... but only he would know!

uncut viper
#

well like kcspace then i dont know where theyre set up, bc the set-up script just has the people who move

round timber
#

id recommend looking at how other mods add their NPCs to festivals, that’d probably be your best reference

#

id show mine but not at pc rn

#

so bleh

uncut viper
#

i know modded NPCs use setupAdditionalCharacters

#

but idk about vanilla NPCs

round timber
#

oh true

uncut viper
#

last time i looked at event setup code i do recall seeing the tilesheet stuff pictured mentioned iirc

#

tho that mightve been the loadActors command specifically

#

oh which the main script does call

#

yeah, okay, it does use those faces on the Set-Up map layer

round timber
#

huh i totally thought they didnt do anything

#

weird

calm nebula
#

Yeah

#

Those tiles do stuff

#

But it's okay

#

You can actually override with setupadditonaletc

karmic gust
#

You can override vanilla npc spots with setup additional characters you mean?

#

Sorry I haven't done this before so I'm unfamiliar

uncut viper
#

yeah just put them in that field as if they were an additional modded NPC

karmic gust
#

Okay ty! I'll give it a try

uncut viper
#

the main script will load them in the spot indicated by the map tmx, and then setup_Additionalwhatever will change their position and facing direction if they were already placed

karmic gust
#

Perfect! Thanks for the help 🙂

cinder talon
#

any recommendations for music programs i could use to create a song for a mod preferably on pc? :3

clever sinew
#

Does anyone know if there’s a way to use context tags in cooking recipes? Similar to the “any milk” and “any egg” categories

rough lintel
#

you can do a category of item by just referencing the object category number OR by category_whatever

#

Modding:Items has more info on that

#

item categories n whatnot

clever sinew
#

Okay I knew about item categories, but was looking at Wildflour’s machines through item lookups and thought the way that mod handles it would be really useful for both Cornucopia and WAG compatibility

#

Thank you!

rough lintel
clever sinew
#

So for example, one of the recipes is Elderberry Cordial

visual dirge
clever sinew
#

For the Elderberry Pie in WAG, it’s anything with the context tag “elderberry_item”, because both Cornucopia and WAG have separate Elderberries/Elderberry blossoms

#

I want to do something similar where you could use either/or, but i do not know if I can do that with a cooking recipe

rough lintel
#

you can

#

you can do context tags and categories

clever sinew
#

Okay perfect

#

Thank you again!

brittle pasture
#

but category numbers (though only a small set like egg/milk) is possible in vanilla

clever sinew
#

Welp

#

New dependency for me then i think

brittle pasture
#

Culinary Delights has examples of recipes with cross mod support (recipes that take butter can also use WAG/Cornu/VMV's butter)

round timber
#

if it makes you feel better, most players have already have spacecore for other stuff anyway SDVpuffertongue

brittle pasture
#

Cornucopia Artisan Machines itself change some cheese recipes to also take vegan cheese

rough lintel
clever sinew
rough lintel
#

so i had to update it in my personal copy

brittle pasture
#

yeah, alas the author is busy irl

rough lintel
#

it still uses the faeriegarden era object codes

#

yeah

brittle pasture
#

I actually sent her an updated file, but she hasnt the time to merge it yet

clever sinew
#

Once again I find myself an hour into a new SDV day and then closing the game so I can mod

lucid iron
#

1hr is solid numbers

brittle pasture
#

after close to 6 months I've finally reached winter year 1 in my main megamodded save
that's like 3 minutes per day on average

rough lintel
#

wooo

rigid oriole
#

The secret is to find someone to get addicted to stardew and then they keep asking if you want to play more in your shared save

brittle pasture
#

I did get a friend on SDV, but they're still a babby player who likely won't install mods for a while
they themselves are also busy and havent been on for a few weeks lmao

clever sinew
#

.....the problem with not looking at json for six months is that getting back into it is making my head spin a bit

hard fern
#

agreed. but me with very specific json

brittle pasture
#

poll: which fate would you prefer, that or having to look at json everyday because you're web dev /lh

clever sinew
#

listen that's a very valid counterpoint and bless your soul, lol

hard fern
lucid iron
#

Before we even consider that tho

#

I would like stardewxnbhack to get a xml output mode

uncut viper
clever sinew
#

okay spacecore question

#

If i am making new recipes, am i still using the override format?

#

ohhhh we're overriding the cooking recipes file itself aren't we

#

nevermind, i think

brittle pasture
#

you need two things: a base recipe in Data/CookingRecipes, and an override in spacecore's asset

uncut viper
rigid oriole
#

You can what

#

👀

uncut viper
#

you can unpack and if a field in Data asset is optional and unchanged from the default value, it'll be omitted

rigid oriole
#

No ik what u mean i just was excited to learn it existed

uncut viper
#

(it also omits things marked as json ignore or whatever that attribute is but IDK how relevant that is to most vanilla stuff)

clever sinew
#

So making the new base recipe as normal for content patcher

#

and then spacecore override goes on top

#

Right?

#

or am i misunderstanding

brittle pasture
#

yes

clever sinew
#

okay thank you

#

i know that's just repeating what you said already but rephrasing helps for some reason 😭

round timber
#

rubber ducking!

lucid iron
#

Hm idk if i would actually use it cus

#

I like having all the fields blobcatgooglyblep

uncut viper
#

i wouldn't recommend it for new modders but I'd use it for sure

#

I use ilspy to look at the fields if I need to know which exist

brittle pasture
#

that would have saved me 20 min when working on aquaponics because I didn't know the default value for max occupants wasn't -1

uncut viper
#

If I'm looking in the unpacking it's cause I wanna know what data something in vanilla has set

#

20 min is more than most minor inconsequential things like this save

brittle pasture
#

Oh I meant it as significant

uncut viper
#

what is the default value if not -1

brittle pasture
#

20

lucid iron
#

Oh for buildings right

uncut viper
#

oh I was thinking fish ponds

brittle pasture
#

"why the heck do the upgraded ponds allow 20 fish I didn't do anything"
"oh, it's because I didn't do anything"

lucid iron
#

Hm so

#

What if u give a fishpond a indoor animalhouse

#

Do u just have to have same number of fish as ducks

uncut viper
#

what if, chu
what if

lucid iron
#

I don't want to be sent to the duck dimension

round timber
#

the sequel to fish dimension?

clever sinew
#

.....this may be an obvious question but I am asking anyway. In the following piece of code, am I telling Json to only include this recipe when both are active or when one or the other is active?

#

{
"Action": "Include",
"FromFile": "Data/elderberry_Cordial.json",
"When": {
"Enable Cornucopia Recipes": "true",
"Enable Wildflour Recipes": "true"
}
}

brittle pasture
clever sinew
drowsy pewter
#

content patcher documentation has syntax on how to do OR conditions

#

(personally i would do it in dynamic tokens so you dont have to write the same complex condition 100 times)

uncut viper
#
"When": {
  "Merge: {{Enable Cornucopia Recipes}}, {{Enable Wildflour Recipes}}": "true"
}

can do it like this if you want, in either a dynamic token or in the when block directly as you see fit

clever sinew
#

thank you!

clever sinew
#

Are you able to use spriteindex positions for "OverrideTextureRect" in Spacecore, or do you need the actual x and y coordinates?

brittle pasture
clever sinew
#

Okay thanks

#

And i think these are all 16x16 so just have to multiply…

faint ingot
#

so I had this configuration and I thought it was working before but maybe I'm wrong. Is it not possible to set the default for a config value to an i18n translation? "cfgNpcName": { "Default": "{{i18n:mynpc.name}}", "Section": "general" },

sour sleet
#

Say there are schedules for Mon and summer and it's a Monday in summer, which schedule would be followed?

half tangle
calm nebula
#

Patched game code is my favorite mod

brittle pasture
faint ingot
lucid iron
#

do an edit to Strings/NPCNames and use that

#

its what vanilla npcs do

rare orbit
#

anyone know how to use ja to cp converter? trying to understand how to use it for converting mods for personal use

#

i have no idea what im doing ;-;

hard fern
#

I know how to convert mods from ja to cp but not using a converter

jaunty dawn
#

How do u do that

hard fern
#

Depends on the mod for how you go about converting it

jaunty dawn
#

For me i want "Statue of Anglers Sorrow" to be converted

brittle pasture
#

probably learn how to add new objects/craftables with CP, and reference the associated JA fields (textures, name, price, etc.) when writing your CP code

calm nebula
#

Also that sounds like a c# mod

jaunty dawn
#

I have no idea whats a c# or ja or cp or whatever lol im basically a dumbo

rare orbit
#

trying to convert korean blossom to cp.

#

if i knew how to code id do it by hand but im struggling with cp already.

#

the other converts give tutorials but not ja to cp.

half tangle
#

One helpful approach is to find another CP mod that does something similar to what you want to do (and hopefully does not do a lot more than that) and reference that as your guide.

umbral plume
#

to replace renovations, would i just use load like i did with the farmhouse map layouts for the first upgrade

half tangle
#

The CP docs are also good

brittle pasture
rare orbit
#

k. i feel so stupid... everytime i think i get close to getting it to work something else occurs. it's a bit frustrating.

#

like recolor replacers? not too hard. but content patcher? something occurs..

brittle pasture
#

as mentioned (if the converter doesn't work for you), you're basically learning to make a CP mod that adds a new object, with the advantage that the sprite/description is already done for you

rare orbit
#

mhm ;w; i just gotta find something similar

#

it adds crops, trees and recipes

#

ja still works but i wanna use the cherry blossom recipe mod alongside it

umbral plume
#

pssssssst

#

psssssssssssssssssssst

#

teacher

rare orbit
#

yee?

umbral plume
#

I need to replace renovations should i just use load like i did for the first farmhouse upgrade map

#

or are renos different

brittle pasture
#

loading the map edits is probably fine, but if your farmhouse dimension is different you'd need to edit the coordinates as well

#

someone more familiar with this stuff come here pls

umbral plume
#

lolol dont worry ive figured like 90% of this out on my own already

#

like changing in and out of swimsuit and water stamina regen i figured out myself earlier

calm nebula
#

I think you're thr local export sleph

umbral plume
#

just wanted assurance that i wasnt gonna destroy everything

#

im ok with making mistakes as long as they arent permanent lmao

#

Is there a command like load that i can add in to ignore extend corner room

#

cause the reno i made there combines corner room and extend corner room so id like the game to forget extend corner room exsists apart from straight up removing the files

rare orbit
#

so how hard is it to convert a ja recipe mod to cp?

#

especially if they use modded items?

rough lintel
#

if you can add an item with cp you can convert it

#

one of the easiest things you can do besides an image replacement

rare orbit
#

hmm ok! the hard part for me is setting up the json

#

for me

#

as ya can see i am failing making a simple texture replacement ;w;

rough lintel
#

you are orange

latent mauve
umbral plume
#

can i use null as an action in the json

rare orbit
#

i made one simple mod

#

and even then i had help the inner gifted kid is screamin at me ;w;

latent mauve
rough lintel
#

the cp docs have the answer you are looking for, as well as the Modding:Items page on the wiki. there are also several mods that add items that you can look at. you just gotta find your resources

#

essential part of modding is learning to search extensively for your own benefit

#

bc u learn stuff that way, rather than someone telling you every step

rare orbit
#

ahh sorry ;-;

latent mauve
#

I was actually updating my bathroom renovation maps earlier because one of my friends found an issue if you place down furniture two tiles below the PoolEntry tile that lets you escape and swim outside the pool, which I didn't want exploited. >_>

rare orbit
#

i might be a visual learner too so im very used to visual tutorials

rare orbit
#

even tho it takes my brain longer to process just text.

rough lintel
#

the entirety of modding is just text though so im not sure how else someone can help 😭

woeful lintel
#

Words are kind of tiny images

rough lintel
#

so true leroy

vernal crest
rare orbit
#

i just saw it :3

woeful lintel
#

Holly shit, talking about "visual learning" made me realize I should probably make a graph to explain the FF json structure

rare orbit
#

yeah i usually learn faster when things are demonstrated and i tend to feel real dumb if i can't learn fast enough. thank you public school!

umbral plume
#

the json checker thing doesnt like my value 😠

#

its like "idk what a , is"

sour sleet
#

Anya has a mind of her own. She is deciding to randomly stop when on the way to a schedule point. Any reason why this might be? I've checked for errors and there aren't any.

umbral plume
#

what do you mean you dont know what : is

rough lintel
umbral plume
#

A black tile?

rough lintel
umbral plume
rough lintel
#

thats all i can tell you. LOL

#

i know zero else 🤣

umbral plume
rough lintel
#

SOMEBODY WITH EXPERTISE OR A COMPUTER, COME HERE

umbral plume
#

THATS HOW CONTENT PATCHER HAS IT 😂

rough lintel
#

wait on yoba?

umbral plume
#

ITS THE EXAMPLE LMAO

sour sleet
round timber
#

most likely

rough lintel
#

yes skipping time does that

round timber
#

npc schedules are v sensitive to time shenanigans

umbral plume
#

could there be a black tile behind other tiles iin the map? ^^

rough lintel
#

also, patch reloading in the middle of a schedule will fuck it up too

#

it makes npcs void walk if you patch reload

sour sleet
#

Ohh ok - gotta watch her entire sched then lol

rough lintel
#

i learn unfortunate things whenever i test stuff with my npc 🤣🤣

umbral plume
#

anyone know how to null a file thats not the way i have it lmao

round timber
woeful lintel
#

I don't know how Data/HomeRenovations works, but the correct way would be

"Entries": {
    "<key>": null
}

I'm guessing you'll need to use "TargetField" in your case (search the CP EditData doc for it)

rough lintel
#

^

umbral plume
#

but

#

the cp editdata doc

#

had it like the way i have it

woeful lintel
#

What's the full example?

umbral plume
woeful lintel
#

Can't check it rn, I'm in class break on my phone

#

See the opening bracket after Entries? You need that