#making-mods-general

1 messages · Page 557 of 1

ornate drift
#

now i gotta make like 10k lines of dialogue.......

tiny zealot
#

i don't believe space versus no space in that situation makes a difference

half tangle
#

Follow up to my earlier discussion of a protected field... using this.closeSound = actually does work. I was writing code for one menu and testing a different menu in game because I was being sloppy...

tiny zealot
#

but dialogue parsing is cursed so don't take my word for it /lh

ornate drift
torpid sparrow
#

send json

ornate drift
#

ignore literally every other string except introduction

torpid sparrow
#

are u doing editdata

#

did u load a blank for dialogue?

slow basin
#

still not at the festival but im removing the _y1 to see if that does something

ornate drift
#

no its an include in the content json

ornate drift
torpid sparrow
#

oh ok yeah you need to

#

have an actual action

#

ur not doing anything rn

slow basin
#

SHE' THERE

ornate drift
#

oh wait Changes?

slow basin
#

collpases

ornate drift
#

bro 🥀

torpid sparrow
#

ugh my dialogue json is rly long

#

one sec

orchid glade
#

Hey is there a data file that describes the coordinates of specific temporary sprites? Like where on which png they are found?

torpid sparrow
#

@ornate drift

#

example

slow basin
#

now to go through and test all festivals fo the next 2 years and all events yay!

torpid sparrow
#

oh thats a bad example u dont want strings

#

hold on

#

at least not rn

ornate drift
#

not rn yeah

torpid sparrow
#

So you need the changes, and you need an actual patch

ornate drift
#

you can check my content

torpid sparrow
#

ur content looks fine

ornate drift
#

oh okay

gaunt orbit
#

does anyone know how to get a Farmer handle from a smapi screen id? is it the same as the Farmer ID?

vernal crest
#

You've formatted your dialogue.json as though you were planning to Load it

torpid sparrow
#

^

vernal crest
#

When you Include a file, all you're doing is outsourcing the CP patches to a different file. CP then recombines those patches into the content.json when it runs (conceptually).

ornate drift
#

hm

torpid sparrow
#

you can do that but you can't parse tokens that way

torpid sparrow
#

but just like how this all works

uncut viper
#

0, 1, 2, etc

#

So not a farmer ID

torpid sparrow
#

oh fireredlily did you see, the issue was a missing Include patch for Kandi SDVpuffersquee

latent mauve
#

It's better to use a blank load and EditData any time you have a brand new JSON that needs creating, because things like {{ModId}} are tokens and tokens aren't parsed through Loads

ornate drift
torpid sparrow
#

haven't we all

torpid sparrow
uncut relic
#

hey hey, trying to make a shop mod, is it possible to make sell items according to their contexttags? i want to make it sell only mushrooms (not other forage items)

latent mauve
#

I once forgot to include the elevator map on the apartment mod and none of my NPCs would exit their floors during testing SDVkrobusgiggle

ornate drift
#

ok so wait
if i have dialogue json
do i need to editdata every single string inside there with content?

#

or

torpid sparrow
#

no

#

it can be all within one patch

#

(if there are no conditions u want on it)

ornate drift
#

oh ok

#

do i just do it all in content

torpid sparrow
#

u can do it in ur dialogue json

#

just have the changes portion

#

and the patch

gaunt orbit
#

I think I can use GameRunner.instance.gameInstances

ornate drift
#

im stupid sorry chromeskull

torpid sparrow
#

u might want to look at an existing npc mod

ornate drift
#

yeaaaaahh but having already taught knowledge makes it easier once you get the point

#

oh wait i think i did it????

#

smapi io is giving me no errors

torpid sparrow
#

yes that works

ornate drift
#

hooray
thank you

vernal crest
#

You don't need the $0 portrait commands by the way, that's the default

ornate drift
#

got it

dreamy dew
#

Do the dangerous counterparts of monsters occupy the same data or ID under specificMonstersKilled?

latent mauve
#

As far as the monster slayer quests, yes

ornate drift
#

i cannot interact with him for some reason

#

is it because there should be an interactable true string

latent mauve
#

Does he have gift tastes set?

ornate drift
#

well

yeah but its not in content yet

#

i forgot to load that

latent mauve
#

Social NPCs need gift tastes defined to be interactable/speak

#

It's a weird quirk

dreamy dew
latent mauve
#

Funnily enough for this channel, my source of that knowledge is from playing the game and meeting the monster slayer requirements by fighting in the dangerous mines xD

dreamy dew
uncut relic
#

hey hey, trying to make a shop mod, is it possible to make sell items according to their contexttags? i want to make it sell only mushrooms (not other forage items)

latent mauve
ornate drift
#

still not interactable even after the gifttastes load

gaunt orbit
#

this is hideous but I think it's the best way to do it

latent mauve
#

Did you sleep, Speedy?

latent mauve
ornate drift
#

this is the gifttastes json

dreamy dew
latent mauve
#

Sometimes a sleep in game is needed for the NPC to update themselves (even after a patch reload), though it's more specifically for schedules usually

torpid sparrow
#

it looks like its in a new json but maybe not? idk

ornate drift
#

i did include it yeah

latent mauve
dreamy dew
#

I asked this before in the vanilla channel, but I'll ask them here, which here are most common to spawn, and which don't as often? Lava Bat, Lava Crab, Metal Head, Red Slime, Shadow Brute, Shadow Shaman, or Squid Kid?

dreamy dew
#

They appear in the deepest levels of the Mines.

slow basin
#

heeheeeheee

#

she looks so cute 😭

ornate drift
#

this is just a basic setup

latent mauve
#

I was using it to make Gus sell all the food of a category that I chose from the config. xD

latent mauve
ornate drift
#

no errors it seems

#

just doesnt let me interact

latent mauve
#

alright, lemme scroll up to see if I can find your Data/Characters entry and the dialogue file again

ornate drift
#

are you sure there isnt supposed to be a "CanBeInteracted: "true" string in Dispos?

vernal crest
#

NPCs do not actually have to have gift tastes to be able to be spoken to

ornate drift
#

what i have atm

vernal crest
#

Regular dialogue works without gift tastes. Conversation Topics (like Introduction) and location dialogue do not work.

ornate drift
#

but i did include gift tastes earlier

dreamy dew
#

Wait, what's the difference between the Shadow Guy and the Shadow Brute monsters?

latent mauve
#

you need those to match

slow basin
#

oop glad im testing some of these lines

slow basin
#

beaufitul

hard fern
#

beaufitul

ornate drift
latent mauve
#

She's so colorful, I love her ❤️

latent mauve
#

It doesn't matter which you use as long as you are consistent

uncut relic
vernal crest
ornate drift
#

time to test

latent mauve
#

The PerItemCondition is the important part though, yes. If you don't include it, Gus will sell EVERYTHING in the Data/Objects file, because the ItemID is only for filtering Objects xD

ornate drift
#

okay so the button is THERE

#

but it doesnt do anything when i click

hard fern
#

any errors in log?

uncut relic
ornate drift
#

doesnt seem to show any, no

latent mauve
ornate drift
uncut relic
#

"PerItemCondition": "ITEM_CONTEXT_TAG Target mushroom_item"

latent mauve
#

without looking up the context tag list, that seems right

uncut relic
#

tnx, you are awesome /big imaginary web hug 🙂

latent mauve
# ornate drift okay so the button is THERE

The Introduction conversation topic will only trigger if you're within the first few days of your save, IIRC. What day are you on and are you willing to try a different dialogue key?

ornate drift
#

ill do a diff dialogue key yeah
also year 6 chromeskull

latent mauve
#

haha

#

That is not within the first 6 days of your save, so probably why Introduction won't work xD

#

I think it's 6 or something around that number

tiny zealot
#

we are getting a different key that will trigger on first interaction without a time limit (or use of CT) in either 1.6.16 or 1.7, i forget which

latent mauve
#

Nice

#

In the meantime, $1 at the start of a dialogue will make that text only show up one time, yeah?

tiny zealot
#

de-hardcoding krobus's behavior lol

brave fable
#

i've never heard of $1 one-time dialogue SDVpufferthinkblob

latent mauve
#

I remember reading it once on the wiki

brave fable
#

interesting since you can technically put your portrait commands anywhere in the dialogue line, so someone might use $1 as a portrait command and then have their dialogue one-timed

tiny zealot
#

$1 automatically sets a mail flag and chooses from the two parts of the dialogue based on having the flag

latent mauve
#

$1 <letter ID>#<1st-time text> #$e# <nth-time text> this one

#

It has to have the $1 specifically at the front

#

(Alternatively, I believe you can use a trigger action to set your own conversation topic if the NPC is added mid-save and use that instead of Introduction)

#

There's a few NPCs that use that method for "I just moved in" type dialogue

ornate drift
#

fucking finally

slow basin
#

i think my mod is done 😭

It has stuff i'd like to add in future updates maybe but its good for release

#

most things would be like maybe in the future having Kandi mail you stuff or having more compat with other mods

ornate drift
#

wait so if spring, fall, winter, and summer dialogue exist
whats the point in having generic dialogue

#

like theres so many strings in the dialogue json i might as well not make generic dialogue

#

oh wait the numbers are supposed to stand for the relationship level.........

#

fuck

#

i thought it was like the 2nd monday 4th monday 6th monday and so on

hard fern
ornate drift
#

true

#

do i just delete ones i dont want?

hard fern
#

the dialogue priority is like, based on how specific it is, and it looks for the most specific one first before going down the line. so like if you have dialogue for a specific day you'll see that one over the others 🤔 i think

devout otter
ornate drift
#

i wanna make seasonal dialogue for only the first day of the season

#

the rest can go to the trash

#

so introduction + generic dialogue based on relationship level + festivals/events + first day of each season

#

maybe like this?

#

oh wait mb

round dock
#

If you just want their dialogue from a random pool, randomization is your friend

ornate drift
#

the original NPCs work like that as well

#

so itd only make sense to do that

buoyant moon
#

okay I've gotten into a decent pattern for events starting with dialogue, blocking, then putting it together and testing while tweaking timing/actions

#

dunno how other people tend to go about it but I've found what works for me at least

devout otter
devout otter
#

The key should be spring_1_*

#

For 1st of Spring.

ornate drift
#

i see
thanks

vernal crest
#

The dialogue page of the wiki will help you with dialogue key precedence and how they each work

ornate drift
#

i did watch it for #b# and different expressions

#

and for revealing items the NPC likes or hates

vernal crest
#

Is there any way I can do this with Merge instead?

"Query: ({{HasMod |contains= lemurkat.eastscarp}} AND {{CT_Compatibility |contains=Automatic}}) OR {{CT_Compatibility |contains=ESR}}": true```
eager tree
#

could anyone post my mod for me here? i don't have lvl 25 yet SDVpufferchickcry

round dock
eager tree
ornate locust
#

There you go. Pretty!

long jungle
#

Hii!!!

Is there a way to make my mod load before another mod so that their edits can supercede mine?

ornate locust
#

You can lower the priority of your edits

#

like this map edit is "late" priority, you'd want "Early"

long jungle
#

Okay thanks! I'll read about priorities.

ornate locust
#

If you want to ensure a specific mod loads in relation to yours, it's unfortunately easier to do the other way around. Making your mod load after another one, I mean.

ornate locust
#

that can be done with a false dependency. But making sure yours loads first, you'd need to fiddle with priorities

long jungle
long jungle
boreal dagger
#

crawls in

hard fern
#

is there any way to tell which tiles are in use by which maps without going into the map itself?

brave fable
#

which tilesheets? yes, you can use Ctrl+Shift+F in your preferred text editor and search your unpacked content folder for the tilesheet names. which individual tiles? nope

brave fable
#

now you get scrappy ugly roses that you can prune to restore to their youthful former glory. how fortunate for you

uncut viper
#

I am very pleased with this turn of events

#

Can i get a separate item data definition for my pruning shears

brave fable
#

way ahead of you SDVpuffercoolest

uncut viper
#

Stellar

hard fern
#

tree so cool

#

the pink background is very blueberry

brave fable
#

pantone 'shade of ripening blueberry'

slow basin
#

im 👌 this close to changing my NPC mod I want to make next to a mini expansion thats mostkly just for my own amusement

the premise is simple

Strawberry soda is way better than Joja Cola and you should buy it instead

#

idk fi itsd quite an expansion as it'd only include one npc and a handful of items and possibly recipes and maybe some clothes if i feel like it

hard fern
#

so glad my npc is symmetrical.

slow basin
#

do you need C# to make animated objets/buildings

#

or ig more so buildings then objects

slow basin
#

awesome

void aspen
slow basin
#

ooh ok

void aspen
#

Is there a guide for tiled specifically for sdv stuff I wonder

#

For animations, tileset importing, terrain brushes

brave fable
#

for some reason --unlocalized fails to read the first file alphabetically by walk, but the same command unpacks fine without this arg

D:\SteamLibrary\steamapps\common\Stardew Valley [1.6.16-alpha]>StardewXnbHack --unlocalized --clean
Cannot use file stream for [D:\SteamLibrary\steamapps\common\Stardew Valley [1.6.16-alpha]\StardewXnbHack.deps.json]: No such file or directory
Running StardewXnbHack 1.1.2. Special options: omit default fields, English assets only
Found game folder: D:\SteamLibrary\steamapps\common\Stardew Valley [1.6.16-alpha]\.
Loading game instance...
Setting breakpad minidump AppID = 413150
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197986246344 [API loaded no]

Unpacking files for Stardew Valley 1.6.16 (26047 "alpha")...
[           0%]  Brown Cow
Unhandled exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.String.get_Chars(Int32 index)
   at StardewXnbHack.Program.Run(String[] args, GameRunner game, String gamePath, Func`3 getLogger, Boolean showPressAnyKeyToExit) in E:\Dev\Projects\SDV\Pulls\StardewXnbHack\StardewXnbHack\Program.cs:line 185
uncut viper
#

are you sure that's not to do with it being 1.6.16

brave fable
#

it seems unlikely given line 185 is checking assetName[^6] == '.'

uncut viper
#

i don't know why it would be but I didn't test it on 1.6.16 and I didn't run into that

slow basin
#

things i need to make for my new project

  • popcorn machine
  • ticket booth
  • lion (building thing thing for map like those NPCS that show up for the fall festival
  • elephant (same as above)
    i might make the popcorn machine furniture if it comes out good wormnod1
uncut viper
#

oh was hats localized before

brave fable
#

sir this is brown cow.png

uncut viper
#

I'm on mobile and was literally getting into bed when you pinged me I've earned some slack

#

i don't suppose you have another idea why Brown Cow nres on that

brave fable
#

haha dont worry then, i'll try running with debugger to see why assetname is apparently not 6 chars long

uncut viper
#

Er not nre. Intex oob

#

Index

brave fable
#

not sure how i'll attach it given sdvxnbh wants to be in the game folder but i'm sure it's simple

uncut viper
#

tbh a regex probably would've been better I just was lazy and figured pathos wasn't against that kind of check since I think I've seen the ^# used before in his code
I could be misremembering though

#

i wonder why it'd fail for you and not me though

brave fable
#

how about instead of checking against a list of languages you delete any files containing unicode characters

#

begone french

#

now stop thinking about merge requests and go to bed

uncut viper
#

idk what if CA adds Cursors-3-₹.xnb in 1.7

slow basin
#

you can make a festival with content patcher as long as its passive or something right?

brave fable
#

personally i'm hoping for ௵.mgfx

hard fern
#

oh....

inner harbor
#

Has anyone here made custom weddings that work with multiplayer? I fear i may have bungled mine up...

#

(Ill probably just disable them in coop)

frozen elm
#

If I remember right it automatically uses the warp out location that you set. If you have more warps make sure it's the last one

hard fern
#

hmm. is there any way to make a character not show up in the social menu even after talking to them until you meet certain conditions

hollow dust
frozen elm
vernal crest
dreamy dew
#

Good evening, can someone help me pinpoint where these <songsHeard> IDs from?

clubloop
50s
jaunty
There are some I found out based on, well, common sense:
EmilyDream - Emily's 2-heart event
sampractice - Sam's 2-heart event

dreamy dew
barren tapir
dreamy dew
#

Skeleton and Skeleton Mage are referred in the Mines, so are Shadow Brute and Shadow Shaman, while the remaining two are... just there?

#

Unless they are derivatives of either or both their variants.

barren tapir
#

No clue. I haven't looked at monster logic yet 😅

dreamy dew
#

I can assume Shadow Guy but I'm confused about either Skeleton or Skeleton Warrior.

#

Are the normal Skeleton monsters not called "Warrior"? I thought it makes sense.

vernal crest
#

Shadow Guy and skeleton warrior

dreamy dew
#

Okay, thank you for the info.

#

And may I ask for clarification, that dangerous counterparts of some monsters share the same data ID as their regular ones if they don't have or aren't listed in the modding data page?

vernal crest
#

I find the player namespace of the wiki is helpful for this because the wiki is very thorough in what it documents of gameplay

#

I don't know about dangerous monsters, their info isn't in data so I assume it's hardcoded. Can you read C#?

dreamy dew
#

Unfortunately, no. I may try to manually test it out and see what is going to be cumulated, but I haven't reached the dangerous mode of the Mines in my current save.

vernal crest
#

What info specifically do you need about the monsters?

dreamy dew
#

Ah, I just wanted to pinpoint or find out where they land or go under what data ID when killed/slayed.

vernal crest
#

For what purpose?

dreamy dew
#

Oh! Mm, what about finding out which are more common to spawn/appear on each levels of the Mines? Regular, dark, icy, and then the lava one.

vernal crest
#

(Also if you want to check, you can just make a test save and then use console commands to set the mines to be dangerous immediately)

dreamy dew
vernal crest
#

This is sounding more like gameplay stuff than modmaking

dreamy dew
#

So I can make a personal planner with a notepad or something, and I usually write down what they are for, especially numbers like events and stuff.

vernal crest
#

Have you checked the wiki to see if that info is already there?

dreamy dew
lucid iron
#

Hm what's the final vision of the thing you wanna make

#

Mod or otherwise

vernal crest
#

I don't know why anyone would say it's modding if you're just wanting to find out vanilla gameplay stuff

dreamy dew
dreamy dew
# lucid iron Mod or otherwise

Non-mod, it's a table or planner for me, but I want to use the data ID they occupy to better familiarize myself at the same time.

vernal crest
#

That does sound like you'll need to learn to read C# then

#

So you can read the decompiled code

lucid iron
#

!decompile

ocean sailBOT
dreamy dew
#

Spam bot?

vernal crest
#

I'll take care of it

dreamy dew
vernal crest
#

However Chu is the one who knows stuff about monsters so I'll leave you to them SDVkrobusnaughty

lucid iron
#

No idk anything bye

unreal falcon
#

Hello, can someone help again? im doing a mod that add a fruit but the sprites doesnt show and i dont know what i am doing wrong

fossil osprey
#

!json probably first

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.

fossil osprey
#

!log maybe also

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.

patent lanceBOT
gaunt orbit
#

you can still use newer language versions

#

also wow I updated tile for the first time in years and the interface looks a lot nicer than it used to

mortal blade
#

There are two ways to write error-free programs; only the third works.

-Alan J. Perlis

merry river
#

hello everyone, how do I add a custom object to a vanilla NPCs gift tastes? I know how to append objects to the universal ones but I am not sure what to target if I want to add object X to maru's loved gifts

valid folio
#

Hi! A question: what condition should I use for Pierre to sell a specific item starting from a certain season? I want him to sell three fruit trees starting in Winter of Year 1, but I’m not quite sure which condition to use.

lucid iron
merry river
lucid iron
#

Not on hand

#

Hrm what is the thing that targeted into the field NotteThink

latent mauve
#

TargetField: ["Entries", "Universal_Love"] was the example in the docs, I think? (Rate limiting is back on mobile)

devout otter
#

Whereas #1 is the index of the entry.

torpid sparrow
#

hmm i did that and then my delimiter didnt work

#

or at least someone reported it not working chiiThink gonna test myself now

#

its showing up like this

#

i did add the delimiter is the fields wrong

devout otter
#

Is that supposed to be a liked gift?

torpid sparrow
#

uuhh yea

devout otter
#

Then the number should be 3.

quasi dew
#

any tips for added sounds suddenly not working in game?

torpid sparrow
#

guh why does it say 2,3

#

on wiki

devout otter
#

Index #2 is the Liked message. Index #3 is the Liked items.

torpid sparrow
#

ahh

#

yay fixed it thank u dolphin

subtle condor
#

Okay, so, I have looked into this Mod and I think my Code might actually be fine. First of all, even though my Mod should be very flexible, I still think I don't need to make the Map Overrides dynamic in any way. I give a modder the possibility to add a ParrotUpgradePerch and when it is completed, it should trigger a Map Override and this does not need to be a reversible Override at all XD It can be persistent. Hence, since you also mentioned multiplayer compatibility, the way my code actually works is, when any player completes a ParrotUpgradePerch, I only sent out a message to the master player. Then, I do Game1.MasterPlayer.mailReceived.OnValueAdded and then I do the Map Override. This automatically adds the Override for all players and more importantly, I also provide the possibility to make a blank ParrotUpgradePerch, which will only result in a Mailflag being added, when the Parrot is completed. So if anyone wants to do more complex stuff and wants to add a dynamic Override, or if he wants to do literally anything, he can do it on his own by checking for the Mailflag. Sooo, concluding, my relatively simple code should be fine I think SDVkrobusgiggle

lucid iron
#

So it's like this

  1. On completion apply map override one time for instant change
  2. After that you let content patcher do it
subtle condor
#

Okay, the only scenario I am realizing now, is, when a player joins the game AFTER the Parrot, the Override might not be there. I guess I'll also add the Override for when SaveLoaded

lucid iron
#

So that u don't have to worry about reapplying it

#

unlockable bundles does this approach iirc

subtle condor
#

Yeah, that makes a lot of sense, I might trust Content Patcher more for persisting Map changes XD

lucid iron
#

The reason why mmap does it this way is because it's analog to farmhouse renovations

#

For a case when someone would remove and add overrides many times

subtle condor
#

Yeah, but I think I don't actually need that, because if a modder wants to do that, he could use this mod on his own and just make mine handle the flag

#

But still, thank you though SDVpufferheart I am really at the very beginning of programming and getting into all that XD

ornate drift
#

would it make sense for a bakery to sell these

lucid iron
#

Cake

ornate drift
#

i kinda don't know what other desserts exist

lucid iron
#

Tiramisu

#

Donuts and donut holes

ornate drift
#

A bakery sells tiramisu....???

#

oh wait im dumb nvm

torpid sparrow
#

I need to make and add it asap

lucid iron
#

Yea they do, tho i guess there's like bread focused bakery and cake focused bakery

#

Bread places would sell like croissants n shit

ornate drift
#

i literally don't know ANY of the names so I'm gonna have to guess what they look like 💔

lucid iron
#

Speedy do u play the game

ornate drift
#

year 8 yeah

jaunty shuttle
#

We need cute bear cupcakes please

lucid iron
#

I believe in u but also wiki's right there

#

!itemids

ocean sailBOT
lucid iron
#

Also useful site

ornate drift
#

yay

#

ima make it

jaunty shuttle
#

Exactly SDVpuffersquee

ornate drift
#

or baker

lucid iron
#

Iirc there is a context tag for some of these goods

ornate drift
#

idk what they call it

jaunty shuttle
#

I have a thing for cute cupcake decorating

lucid iron
#

So you don't have to specify the exact items

tranquil olive
#

food_bakery might help (I think that's the tag-)

ornate drift
#

ima try that

torpid sparrow
#

Do I do both regular and matcha tiramisu

#

Hmm I don’t have earl gray tea or a London fog

tranquil olive
#

yes

torpid sparrow
#

How did I forget those

ornate drift
torpid sparrow
#

You can add to universal tastes

lucid iron
#

I thought there's only one kind of tiramisu

ornate drift
#

oh true

torpid sparrow
#

I mean regular tiramisu yeah

#

It’s with coffee

lucid iron
#

The thing with the coffee and cookies

tranquil olive
#

classic tiramisu has the coffee, but I've seen delicious matcha ones too

torpid sparrow
#

But you can do the same tiramisu structure but use different liquid/powder

tranquil olive
#

I think I've even seen a strawberry one, but that might be more of a deviation

torpid sparrow
#

And switch up the mascarpone filling as well

#

Flavour it differently

ornate drift
#

does it make sense to sell strange bun

#

... it's a strange bun

jaunty shuttle
#

I mean, assuming bear is of another species, sure

tranquil olive
#

buns do exist at bakeries, depends on the kind of bakery you want

ornate drift
#

ok so donuts don't exist
ima have to add that myself

tranquil olive
#

the maple bar might work too, I think Sam calls it a doughnut or something

torpid sparrow
#

Yes

ornate drift
#

i see

torpid sparrow
#

Maple bars are donuts

#

It’s a type of donut

#

There are crullers and fritters

ornate drift
#

whats the max size for an item

odd wagon
#

hiiii

ornate drift
#

like width and height

tranquil olive
#

16x16

torpid sparrow
#

16x16

ornate drift
#

sweet

#

tbis is like the most basic donut i can make

#

feels a lil too big though

torpid sparrow
#

mm yummy

#

London fog and two tiramisus

#

That’s good enuf I think

mortal blade
#

Mmmm... matcha tiramisu!

ornate drift
jaunty shuttle
#

Oooooo yum!!

#

What kind of donuts are they?

ornate drift
#

Plain - Strawberry - Matcha - Chocolate - Cranberry

#

the bottom ones are basically donuts without holes

mortal blade
#

No powdermelon?!!?

#

j/k

ornate drift
#

oh oops

#

lemme add that

torpid sparrow
#

oughhh yummy donut

ornate drift
#

powdermelon has a cake variant right?

mortal blade
#

I was joking, m8.

ornate drift
#

well there's a blue cake in the game LOL

#

only makes sense to add it

mortal blade
#

r'Amen.

#

This is the Way

tranquil olive
#

those doughnuts look delicious and sam-approved SDVkrobushappy
also your sprites look lovely wem, makes me want to make a london fog

ornate drift
jaunty shuttle
ornate drift
#

Yeah and on top as well

jaunty shuttle
#

Yummmm

mortal blade
#

Matcha Jam mod, when?

ornate drift
#

actually wait maybe i should add blueberry

mortal blade
#

Sweet Gem berry.

#

Ancient fruit

#

Gold foil!

#

=calms down=

opaque field
#

Question, I have Gingerbread Goats that you milk for Gingerbread Batter but I also want them to drop Icing Horns like the chickens drop eggs - I'm using extra animal configs but I'm not exactly sure how to indicate that I want them to drop them like a chicken

brittle pasture
#

have you looked at the example section in the bottom (the Goat Cashmere example)

#

anyway you'd add a new entry to extra drops, and then another entry to drop data override to change that drop's harvest method to drop

opaque field
#

ahh, right I forgot about "drop overnight" duh ty

torpid sparrow
#

does free love work with modded npcs?

#

if i dont do anything out of the ordinary with my npc will it be compatible with free love?

fossil osprey
#

I think so yeah

jaunty shuttle
#

Should be

mossy flame
#

Guys does anyone know why are some of the tiles that I added to the map appears to be glitchy and have a black background?

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.

torpid sparrow
#

DayOfMonth 21 22 23 24 25 26 27 28 does this work as an event precondition or does it need commas or anything

opaque cobalt
torpid sparrow
#

nvm tested should be fine

mortal blade
#

No need to be so testy, Wem.

#

If it compiles, it works, right?

torpid sparrow
#

bc i wasnt being testy SDVpuffersquee

mortal blade
#

It was indeed a joke. Sorry if I caused chaos and confusion ... or hurt feelings.

torpid sparrow
#

nono its okay i was worried i was coming off annoyed xd

mossy flame
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.

mortal blade
#

Nope. Just playing with words

lucid iron
mossy flame
lucid iron
#

yea

lucid iron
#

but also share what you mean by the tiles being black

#

screenshot or something

mossy flame
#

ohh

#

alr

#

1 sec

sullen rain
#

Guys why do I keep getting this error trying to load in my custom npc

ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 39 C# mods and 68 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

lucid iron
#

did u load portrait to Portraits\silver.Florence_Florence (or Portraits\{{ModId}}_Florence)

sullen rain
#

The second one

brittle pasture
#

show your code?

sullen rain
mossy flame
brittle pasture
# sullen rain

typo second entry, you're still loading into Characters

sullen rain
#

OH

lucid iron
# mossy flame

i see that you never loaded the tilesheet, but this does look like custom house

merry river
lucid iron
#

is the tilesheet that this house is on png format?

lucid iron
#

are you sure it's transparent

merry river
#

which layer is the house on

mossy flame
mossy flame
lucid iron
mossy flame
#

the ones that we walk on is back

void aspen
#

It looks like it could be on Back layer completely

#

Without anything under it

#

Or on any other layer still having nothing under it

mossy flame
merry river
#

does discord support transparency

void aspen
#

It does

#

Even for gifs

lucid iron
#

yea ur house is not transparent background

merry river
#

then it is not transparent

lucid iron
#

need to delete all the black color

void aspen
#

This is png but background isn't transparent

mossy flame
#

oh and also

#

not only the house is black but also other things

#

like i can show it one sec

#

when i load the map mod itself it also glitches other tiles too

void aspen
#

Your house cursed the game with some black plague or smth

lucid iron
# mossy flame

this just looks like you painted besides just the house with these black non transparent tiles

lucid iron
#

i did notice that your patch is editing the entire forest

#

dont do that and instead just target where you want to put the house

mossy flame
mossy flame
#

is there any guidance that i can follow?

merry river
#

let me grab a link from the modding wiki

mossy flame
#

Okay so i need to fix the black background to make it transparent and i should only use the "FromArea" for the House?

merry river
# mossy flame is there any guidance that i can follow?

https://stardewmodding.wiki.gg/wiki/Tutorial:_Map_Patches_and_Warps#Creating_the_Map_Patch_(house_exterior)

read the content patcher doc first and then try to follow this tutorial

Stardew Modding Wiki

Last edited by AtlasVBot on 2025-09-13 18:57:52
Tiled is understandably one of the most unintuitive/intimidating programs to use when making maps or patches for your mod. This tutorial aims to break it down into very simple steps with pictures! This tutorial will use the example of making an NPC house to teach you how to make a map patch (for ad...

lucid iron
#

ToArea is the important part

mossy flame
torpid sparrow
#

is there a gsq or a condition for if the island resort has been built

void aspen
#

But generally looks interesting

#

Gotta learn it too

brittle summit
#

hi I'm new at mod making and am starting very ambitiously i think but also v stubborn so i am determined to see it through. i've been very hesitant and anxious about joining the community and chatting and asking questions. i dont have a particular modding issue rn but am sending this message rn in the hopes that it will be less scary when i actually have a question lol

merry river
urban patrol
#

welcome!

merry river
#

why is there so much space lol

hard fern
#

How much of a pain in the ass would it be to overhaul leo

merry river
merry river
hard fern
torpid sparrow
merry river
hard fern
#

My idea was just to replace his whole character (as in personality)

#

And heart events and such

#

But idk gi kinda scares me lol. I dont know what's in there

merry river
#

I mean you would have to patch the events, dialogue etc etc. it really depends on your definition of "pain in the ass"SDVpufferowo

urban patrol
#

events are events no matter where you go SDVpuffersquee

hard fern
#

I guess i just want to know is there anything i need to watch out for haha

merry river
#

and they are a pain no matter where

urban patrol
#

not that i know of

#

i think the worst thing is going to be compatibility if you want that

hard fern
#

I think i could care less about compatibility for a project like this XD

urban patrol
#

excellent news for your sanity lol

hard fern
#

Im pretty much twisting an entire section of the game to fit my vision so i can make a grand total of two npcs so

swift gust
#

i think i finally got my first mod to a state where it won't need to be updated for a while CharmanderYay

#

textoperations my beloved

buoyant moon
#

If changing preconditions for a vanilla event with Content Patcher (i.e. adding a new key with the same value and nulling the original because of how the keys work), is there any way to reference the original event script as a variable/token and not have to copy/paste the entire original string?

half tangle
#

Is there an easy way to see a list of all items in the item registry that have a particular context tag? I know debug listtags shows the tags on the held item, but I'm looking for sorta the other way around where I can see a list of all the items tagged e.g. with color_yellow

swift gust
# buoyant moon If changing preconditions for a vanilla event with Content Patcher (i.e. adding ...

i just wrote a tutorial on how to do this https://stardewmodding.wiki.gg/wiki/Tutorial:_Editing_Events

Stardew Modding Wiki

Ever wanted to edit something from the base game event without making your mod a pain to translate or extremely incompatible with every other mod that also edits that event? It's finally your time to do so! This tutorial will show you how to replace lines from events with those of your own!

#

wait i misunderstood. most existing files create a new one and call it _old. like "sun_old" as the key

brittle summit
half tangle
#

That's a good idea, but ideally this would cover any loaded item and not just vanilla. I'm just gonna write a console command myself... worst case is I'm just duplicating work someone else has done.

brittle summit
#

ah yea that makes sense

torpid sparrow
#

hmm does anyone know where the picnic blanket is

#

from leah's event

#

the tilesheet

urban patrol
#

cursors

#

i think

half tangle
#

penny's blanket is in cursors... maybe leah's is the same one

torpid sparrow
#

always cursors

mortal blade
#

Cursors you Perry the TileSheet!

ornate drift
#

does Stardew use pure white?

jaunty shuttle
#

Almost never iirc, in most cases it uses white with some other underlying tone

ornate drift
#

I see...

#

Noted, thanks

mortal blade
#

If I paint with pure white, it's always with a transparency mask. 😉

pale torrent
#

(Sorry idk if this is the right channel to poste)

I NEED HELP FOR SPRITES IN DETAIL Okay, so I recently posted that I'm making a muscle mod for Stardew Valley with bigger sprites. I'm using the Sprites in Detail mod (https://www.nexusmods.com/stardewvalley/mods/14487).

I'm not a coder at all, but I tried my best to make the mod work with the player sprites because I want to change those and make them bigger too. Could somebody who knows how to code maybe help with this? I’ve really tried everything.

I also don’t understand GitHub very well. The creator of the mod said he can be contacted there, but I can’t find where to send a message

if somebody can help i can offer to make them a custom character sprite in Return

lucid iron
#

i don't think what you want can be done, sprites in detail is for npc sprites

#

you may want to look at fashion sense instead

torpid sparrow
#

are we able to use the farmer laughing animation in events?

#

and if so...how

pale torrent
lucid iron
#

i think it does do that, but its not something i attempted

#

but i am near certain that sprites in detail does not affect farmer sprite in any way

pale torrent
#

Oh man i really just want to make them like my big guys so people can have different body types ugh

torpid sparrow
#

oh i tried something and it did not work out

lucid iron
#

but if you want them to do the usual farmer animations it's going to be many more sprites

pale torrent
#

Spriting is really not the problem i never worked with fashion sense before

lucid iron
#

if u have questions about this i think peacefulend (FS creator) is prob best person to ask

pale torrent
#

OMG

#

THIS IS LIKE EXACTLY WHAT I NEED

lucid iron
#

but yea im fairly sure u can do what u want

pale torrent
near imp
#

yesterday someone shared some framework or something that lets you patch/edit parts of other mods, and i cant believe i didnt bookmark it and now i cant find it again SDVpufferflat Does anyone know the thing i mean?

lucid iron
#

what is your usecase exactly?

near imp
#

its just for personal use if that matters?

hard fern
#

if its for personal use can't you just edit the mod itself

near imp
#

i just want matchy matchy textures SDVkrobusgiggle

lucid iron
#

for personal use you should probably just edit the pngs SMCPufferjail

near imp
#

as usual (massive sigh why am i like this) i ran into an edge case where cracking another mod open for personal edits falls short. trying to add a summer version of a pine tree texture to match the custom summer version from my personal stuff. but its not a content patcher mod, its a .dll with a few pngs in an assets folder. so im not sure if theres a way to override what version is shown in summer ? idk.

lucid iron
#

that depends on how exactly they loaded it

#

and the thing from yesterday won't help anyways

near imp
#

awh. what is the thing from yesterday, just for reference? i like to keep everything bookmarked, even stuff thats not applicable currently

lucid iron
#

it let you reference other mod's pngs basically

lucid iron
#

if they do have loose png tho editing that will definitely work

near imp
#

the default game doesnt have a summer version of the pine tree, it uses the spring texture for both seasons. was relatively simple to write a content patcher mod that changes the spring texture only in summer for interactive and tilesheet trees. but my beloved ControlTree mod has its own set of textures, that is used when you shrink the trees down for visibility

#

so the ControlTree mod is not set up for any kind of summer pine nonsense

lucid iron
#

in that case you would probably have to actually edit the dll

#

i.e. make your own C# mod

near imp
#

oofs in scope creep

#

might have to do with spring texture for summer for now then SDVpufferblush

near imp
#

im aware it wont help in this case, but its bugging me so bad that i cant find it again now and i might wanna use it for something else later SDVpuffersquee

ornate locust
#

You can reference other mods PNGs with SMAPI now, can't you

hard fern
ornate locust
#

Nope

#

that's how I removed extra dependencies for the Haley's Bakery patch

#

though I'm not sure you can do it in a way that lets you edit the image... I just needed to be able to USE the image in a map patch

#

so I didn't slice off the roof of the building

lucid iron
#

and its not even useful for ur current situation

ornate locust
#

(Maybe you can, I'm just not sure, so I phrased it as a question)

near imp
#

hmm. now to find out if i can make content patcher target the spring texture of ControlTree's pngs only in summer SDVpufferthink

lucid iron
#

you will have to figure out if they even loaded to content pipeline

near imp
#

not entirely sure what that means, but i suspect i get the general idea. that however the .dll mod loads and uses its textures might be different from content patcher way (?) and/or even if i got content patcher to swap out some files i suspect theres no guarantee that the other mod will care about it, depending on how it loads its textures. like if it loads the spring one just once at the start of the game then its not gonna care that something was swapped out in a system it might not even use. im probably not making much sense but yeah

#

alright, lets see if something explodes or nothing happens SDVkrobusnaughty

near imp
#

aw, does nothing. well, sorta expected that. fun to try anyway SDVpufferthumbsup

jaunty shuttle
#

@woeful lintel Can I have a furniture that has 2 different textures depending on if it's placed in a specific furniture's slot or not?

Like for example I have a train toy. I have a dinosaur toy. If you click on the train with the dinosaur toy, it puts the dinosaurs on the train, but if you just put the dinosaurs on the ground (and/or on a table), it looks like the top image/the dinosaur toy itself

onyx panther
#

hey, is there some way to make like a delayed effect on food buffs? like after a period of time it actually takes effect?

opaque cobalt
ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 41 C# mods and 47 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

urban patrol
#

you need to load something to Kent_Class_A_Green

#

is this portraits for an appearance?

opaque cobalt
#

Yes portraits and a sprite for appearance

urban patrol
#

what's your folder setup look like

opaque cobalt
#

[CP] Kent Dress Uniform Class A Green\assets\portraits
[CP] Kent Dress Uniform Class A Green\assets\characters

urban patrol
#

just to troubleshoot, does it work if you split that load into two patches and specify the filepath without using tokens

barren tapir
#

When making a repeatable special order, should the JSON look like "Repeatable": true/false,, or should it look like "Repeatable": "True"/"False",?

ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 41 C# mods and 46 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

urban patrol
urban patrol
#

you can try parsing that

barren tapir
urban patrol
#

idk anything about special orders beyond what the wiki says

opaque cobalt
#

I based it off of how some other mod did appearances. Just confused what black magic I did to get it to work for one but not the other. Since this one has a lot less files, may just do it the simplified way of writing full path

urban patrol
#

it might be worth exporting special orders to see if your SO is being set to repeatable true

#

yeah without parsing it i wouldn't know why it's failing

half tangle
opaque cobalt
#

Thank you for the help with troubleshooting Nic

barren tapir
#

UGGGHHH. Okay, I give up on trying to figure out the repeatable special orders. They are such a pain to debug

onyx panther
lucid iron
#

Are u doing trinket tinker specifically

onyx panther
#

(so I could do like a hangover type thing with drinking alcohol via a mod maybe)

lucid iron
#

Or just regular trigger action stuff

onyx panther
#

also true

#

but I was mostly asking for giving players a hangover XD

lucid iron
onyx panther
#

it's like a back of my mind mod idea that I might go and make sometime

#

assuming no one else gets to it frist lol

lucid iron
#

But yeah for regular traction use BETAS

long jungle
#

Hi everyone!

Do you guys know any mods that increase/decrease the strength of food buffs? (Not duration)

Is it possible to do it with CP?

#

e.g. +2 defense from food would be edited to become +5 defense instead

#

It's possible to create custom foods so I am hoping it's possible to edit existing food buffs

crude rose
#

Hello! I'm having a trouble with coding in my custom outdoor location. The existing map patch works, the warps are working as well (screen slowly fades into black just like it happens when changing maps in the game) but then immediately after there is this information in SMAPI log that the map couldn't be loaded or wasn't found. I'm pretty sure it's something obvious but i thoroughly checked the file names, content file etc. so i'm lost. SDVpufferwaaah

lucid iron
brave fable
#

could you share your whole log file thanks?

#

!log @crude rose

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.

lucid iron
#

There's a few foods that use custom buff

long jungle
brave fable
crude rose
brave fable
#

as a rule of thumb, only FromFile uses file extensions

#

some minor exceptions for oddities like audio data

crude rose
#

Thank u! Changed it

brave fable
#

ah the log parser site is down for me

#

what have u done..

lucid iron
#

@ivory plume sorry if u already know but smapi.io is not doing so hot

#

Certificate problem of some sort

ivory plume
#

Yeah, there was an issue with the certificate auto-renewal; working on it.

brave fable
#

someone always pings pathos when i'm giving the most unhelpful help

crude rose
brave fable
#

this is targeted defamation

whole prism
#

For .01% performance gain

#

(this is a joke)

lucid iron
#

You have to make the rust clr thing work first

whole prism
#

its not really that big of a job, just a coding language, what could go wrong?

ivory plume
#

Site should be back up now!

whole prism
#

with claude, we can get this done in 1 hour, with 27 thousand failed unit tests

lucid iron
#

sdv 2.0 will be powered by bevy

whole prism
#

whats bevy

#

(sorry im new)

lucid iron
brave fable
#

does your location load as normal now that you've changed the MapPath value?

whole prism
whole prism
#

I also use all the cornucopias, like the new recipe one too

brave fable
#

oh that wasn't meant to be a reply hahah

whole prism
#

ooh

#

well good to know if it isnt that good

#

ty!

crude rose
whole prism
#

ohh

#

hmmm

#

conflicting...conflicting..

#

hmm..

#

i shall ponder on it

#

WHATS WITH THE HEART EMOJIS

#

🤣

#

i might as well eat a cookie shaped heart

#

no, no, bunny cookies

near imp
#

i hope its not contagious SDVpuffereyes

whole prism
#

YES, BUNNY COOKIES, EASTER

crude rose
#

lol comfortable way of saying "ive read this"

brave fable
near imp
brave fable
#

it'll be easier for me to fix it and send it back than describing how on mobile hahah

whole prism
brave fable
#

not sure why the log parser doesn't like the AddWarps format, probably just quirky regex

#

send an update here if it works SDVpufferthumbsup or doesn't

crude rose
#

Thank you so much! After checking everything so many times i started to question my sanity

#

will send an update SDVemoteheart

#

It works!!! Thank u so so much for the help SDVpufferparty SDVemoteheart SDVpufferheart SDVemoteowo

brave fable
#

no problem! got there in the end hahah

long jungle
#

Is there currently any way to modify vanilla trinkets or create any new trinkets without using C#?

near imp
#

Trinket Tinker SDVpufferthumbsup

#

made by our very best chu in fact

long jungle
#

Found it! Thanks.

#

It can make new trinkets.

#

But I believe it cannot modify vanilla trinkets though?

lucid iron
#

Indeed it's not for modifying vanilla trinkets

torpid sparrow
#

best chu implies multiple chus SDVpufferthinkblob

long jungle
lucid iron
#

I suppose if you really want you can override a vanilla trinket

near imp
lucid iron
#

But it's specifically not possible to make the froge in trinket tinker

#

The other ones u can more or less do

near imp
#

frog cursed?

long jungle
uncut viper
long jungle
#

I need to somehow increase the damage dealt

lucid iron
hard fern
#

hunger chu

torpid sparrow
#

no way

#

chu battle royale

long jungle
#

Arrow and Frost Trinket. The damage is so low that they deal negligible damage to modded buffed monsters

lucid iron
#

For compat reasons what I'd do is just make a better version of those

#

And then let ppl trade their vanilla trinkets in

long jungle
#

I was thinking that if I cannot override them. I can make better versions and then make it somehow drop from monsters

near imp
#

does content patcher make trinkets? SDVpufferthinkblob i guess we wouldnt have Trinket Tinker if it did?

lucid iron
#

Projectile and stun are both implemented

long jungle
#

Omg thank you for the idea. Will take some work, but it would at least be possible.

How about the levels and "random stats and prefixes" of vanilla trinkets?

#

Can that somehow be imitated or just fixed stats?

lucid iron
uncut viper
lucid iron
#

I think there's a few mods that make their own custom trinket effects out there

#

It's the same code path except they impl the trinket effect in their C#

near imp
#

No.1 means that while one could theoretically use the parrot effect, since its hardcoded to the parrot egg ID it means parrot effect is not able to have an alternative version (with CP) ?

long jungle
#

Also in my current game, I have literal multiple chests of unused trinkets.

I am too much of a hoarder and I cannot trash them but also cannot find the time to haul them all to the ADV guild to sell them.

#

I want to find or make a mod that can make selling trinkets easier...

lucid iron
#

Basilisk claw has similar issues

near imp
#

cursed

lucid iron
#

And golden spur

tiny zealot
#

secret notes are in the same sort of boat. you can do new ones with content patcher, but it's sort of terrible for several interrelated reasons, so i made a framework to bypass those problems

lucid iron
#

But i think u can make like a fairy whistle trinket item or something

#

And make it do the vanilla fairy trinket things

#

Still can't tweak any numbers tho

near imp
#

hmm, sort of tangentially related, you wouldnt happen to know the ID or whatnot for the screech the vanilla parrot trinket makes occasionally? asking for meSDVpuffereyes

#

the audio that is

lucid iron
#

I dunno off hand but u can debug logsound iirc

uncut viper
#

I think it's literally called batScreech

near imp
#

great tip! idk why i didnt think of that SDVpufferparty

#

i replaced the texture with an edited Bourke's parakeet already, but the screech is uh.. quite something on the vanilla parrot

lucid iron
#

The unfortunate thing is that u would also mute all the actual parrots i think

near imp
#

well screw them

uncut viper
#

Chu I thought you had another mod for specific sound replacements

#

Wasn't the parrot sound one of them

lucid iron
#

I forgot if i ever added

#

Yar i never did for some reason

near imp
#

im not sure i would even care if it replaces the screech for all bats or something too (like indicated if its called batscreech), the parrot sounds are pretty jarring and reminds me of bad old times when i had to live with one against my will SDVpufferdead

lucid iron
#

I guess I could do it real quick tho Sleepden

uncut viper
#

(I think I was misremembering the screech they made and thought it was pitch shifted bat screech so probably ignore my batscreech comment)

lucid iron
#

ye i just checked its parrot_squawk

#

i think a long time ago i promised rokugin i would and then just, never did...

#

so ill do it rn

near imp
#

in your defense Button it sounds exactly like something the game might do for audio. just like pitch it up or down and use it for 5 different things

lucid iron
#

some days i wonder if i should actually do dynamic patching somehow

tiny zealot
hard fern
#

there's only two directions this could possibly go

near imp
#

going back a lil while, wasnt space for games themselves quite limited? in that way it makes sense that they would reuse assets more, perhaps? i just remember reading that they bloated the games difficulty substantially because the storage space for the game wasnt much so gameplay needed to be "~artificially" lengthened

#

hence why some old games are so hardcore in difficulty

tiny zealot
#

yeah on old consoles you had to scrimp and save. you were constantly hitting limitations in like every possible area

near imp
#

or trying to fit on a floppy disk SDVkrobusgiggle

near imp
#

I target parrot_squawk.ParrotEgg with content patcher, ye? and cueswap is enabling that _ParrotEgg distinction so the rest of the parrots are left intact? (im a bit slow so just wanna make sure SDVkrobusgiggle )

lucid iron
#

yep

near imp
#

time to test SDVkrobusnaughty didnt have the right replacement sound at hand so its gonna snort like a horse for the test SDVkrobusgiggle

#

hmm. ya boi silent for now SDVpufferthinkblob odds are i didnt do it quite right. i used a different sound replacement mod that ive already been using as a template, but never know what i might manage to mess up SDVpufferthink

lucid iron
#

itll say if it replaced sound or no

near imp
#

AAAYY!

#

snorts like a horse, but is real cute

lucid iron
#

lmk when u wanna release mod on nexus ill update then

near imp
#

... release ..mod? like, to the public? SDVcharkrobus and here i was just planning to hoard them all SDVkrobusgiggle

#

welp, i should sleep on it i think. gotten pretty late, 03:37 SDVpetcatsad tysvm for the mod update SDVemoteheart SDVpufferheart you spoil us

calm nebula
#

(This is one of two facts I know)

#

The other is that rendering player score is absurdly expensive

tame burrow
opaque cobalt
#

Apologies for coming back with the same issue, but what are some common causes for internal asset key to fail? using

assets/{{TargetPathOnly}}/{{TargetWithoutPath}}.png
and it is giving issues this time around. I used it in Penny Seasonal Outfits Mk II without issue, but am having trouble with this mod. Same file structure, just many less files.

lucid iron
#

@ivory plume i am fix merge conflict for this PR rn https://github.com/Pathoschild/StardewMods/pull/1172 since i am touch it anyways:

  1. do you actually want the prune tokens change in this PR? that was the thing which tossed out any dynamic tokens that can never be active due to later tokens that are immutably applied
  2. one of the things i did bc i slacc is to only allow DT includes of the same name one time in one mod, to avoid doing circle checking, do u want me to go and do the circle checking properly?
ivory plume
# lucid iron <@226803198218731520> i am fix merge conflict for this PR rn <https://github.com...

(I haven't forgotten about that PR! I'm just saving it for the upcoming Content Patcher 2.10.0 update.)

  1. I'd prefer each PR to be as simple as possible; so the ideal would be one PR which just adds dynamic token includes, followed by a separate PR which adds token pruning.
  2. I think that restriction is fine for now, since it keeps the initial implementation simpler. We can add loop handling in a later PR (or even later version).
lucid iron
#

yea sounds good, i kinda did the prune thing on a whim and didn't actually profile the potential gains

median gull
#

so ive been working on my recolor mod and for the most part its working! except the farmer won't recolor, i have it in the json file to edit image but it just doesn't? and some of the fonts still have the yellow shadow, idk if i missed it when recoloring the assets but i can't find where its at? does anyone know how to fix these, id appreciate it so much!

lucid iron
opaque cobalt
ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 41 C# mods and 47 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

median gull
lucid iron
lucid iron
median gull
#

it is on the big file! but oki let me try that

lucid iron
#

so as far as edits go this seems ok, perhaps post a 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.

lucid iron
#

we want the log so that we can check for other edits on those assets

mellow laurel
#

I think the target is wrong

urban patrol
mellow laurel
#

"Characters/Farmer/farmer_girl_base"

opaque cobalt
#

That is a great question for someone that knows what they're doing. I just fumble blindly, ask questions here, and base off of how other mods did what I needed hoping it works.

median gull
brittle pasture
#

(obviously change {{modid}} to my mod's id as well as the hasmod line)

lucid iron
#

you might have another mod which edits e.g. Characters/farmer_base later than you

#

we won't be able to know until we look at the log

median gull
#

right now i have all other mods disabled besides the necessary ones for the recolor to work, but maybe i'm just confused what you mean. 😭

lucid iron
#

i believe you, but we are trying to eliminate the possibilities here and could use more info Dokkan

lucid iron
royal stump
ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 3 C# mods and 1 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

slow basin
#

where are the fences kept

opaque cobalt
ocean sailBOT
#

Log Info: SMAPI 4.5.1 with SDV 1.6.15 build 24356 on Windows 11 (10.0.26200.0), with 3 C# mods and 1 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

lucid iron
#

so it looks like none of your farmer patches actually took effect

median gull
#

so what do i do to make them work? lol

lucid iron
#

you may have to send your entire content.json

#

so that we can find out why they no work

royal stump
median gull
lucid iron
#

well doing it meant you came here and found out nightshade exists blobcatgooglyblep

median gull
#

all my assets are just -80 saturation, -80 shadow, -25 vibrance but maybe ill try that and see if its what im looking for lol

opaque cobalt
hoary flame
median gull
#

okay so that ended up not being what im looking for, it can lower the saturation but not the shadows or vibrance. do you want me to send my json here? its large and probably not how yall do it lol

median gull
#

i ran it through that, you want me to send it here?

lucid iron
median gull
#

oki there it is, i did try running it after updating it and it still didnt work :b

#

and i know monsters arent done yet lol i was just working on those

lucid iron
#

you can share big jsons like this via link

median gull
#

oh i did not know that oops

lucid iron
#

anyways i think the issue is prob
you put
Characters/farmer_base
they should be
Characters/Farmer/farmer_base

#

check your unpacked for that

median gull
#

so should i throw them back into a folder

lucid iron
#

no that doesn't really matter

#

to be specific i mean the "Target" field here

median gull
#

okay let me try that

#

yippe, that worked! tysm for the help :3

woeful lintel
# jaunty shuttle <@385527172783276032> Can I have a furniture that has 2 different textures depen...

I think you can cheat by using FF's layers: a FF Furniture will only draw its base layer when placed in a slot, so you can have the base layer be what will appear in the train toy, and have the rest of the dinos' sprites in a second layer. The only drawback is that there's no way to differentiate between a table and a toy train: only the base layer will be drawn when placed on a normal table as well.

hard fern
#

mod unabailabel

sterile crescent
#

is it a better idea to include festival locations in the content.json or in a separate festivals.json?

hard fern
#

up to you

sterile crescent
#

thank goodness

#

LOL

torpid mist
#

well that failed 1 sec

hard fern
#

wow is there really no mushroom context tag

brittle pasture
#

only edible_mushroom in vanilla yes
though I believe WAG/Cornucopia uses a standard tag

gaunt yarrow
#

haii :3

how does smapi install itself when running the script?

#

does it do anything special like replace files

royal stump
#

SMAPI installs itself in Stardew's main folder + subfolders, but installing it won't replace/edit any of Stardew's files, or most mods
e.g. you can use Steam's "verify files" button to reset Stardew without breaking SMAPI

#

(reinstalling SMAPI will reinstall the error handler & save backup mods that come with it, but that's all)

brittle pasture
tame burrow
#

WOOPS that's what i get for modding after work lmao_dog ty for catching that

#

very unstealthily uploaded a hotfix lol

hard fern
#

🤔 another weird question from me... uh how do i make a token that randomizes itself every day?

#

for schedules, and stuff, i want the schedule to change randomly, but only based on a token being either A or B

sinful grove
hard fern
brittle pasture
#

there's a Random token, and tokens already reload every day unless specified otherwise

hard fern
brittle pasture
#

just assign it a value?

hard fern
#

im confused

brittle pasture
#

like tokens are tokens

#

have a token A being random between 1, 2 and 3, and change your schedule based on whether A is 1, 2 or 3

hard fern
#

i think im getting stuck on the random part

brittle pasture
#

there's a token named Random, and it will transform into one of N values

#

dynamic tokens are just tokens you define and give a special name to

hard fern
#

😭 im sorry i still dont understand any of this

brittle pasture
#

do you have a working dynamic token

hard fern
#

ive read the whole tokens section, just i don't really understand any of it SDVpufferflat sorry

brittle pasture
#

then you can do (in bed rn this is the best I'll do)
Name: ScheduleChoice
Value: {{Random: red, blue, green}}

#

then in your edits you can use
When: { ScheduleChoice: blue }

hard fern
#

SDVpufferchickcry as usual i was overcomplicating it in my head

main sky
#

is there a tutorial of how to IL edit with Harmony and ILGenerator?

brittle pasture
#

or if you need a guide on setting up Harmony in general follow the links at the top

main sky
#

ah thx

hard fern
#

wondered why my mod wasn't loading... there was an extra : in my Changes SDVpufferflat

void aspen
#

is it possible to resize the map without messing up the coords?

#

when I does that then the top left corner becomes 11, 11 instead of 1, 1

#

I kinda don't wanna do that cuz it means Id had to edit data at very least on three maps

gentle rose
#

not up or to the left, no

near imp
void aspen
#

I decided to just edit warps atp

void aspen
near imp
vernal crest
near imp
#

i might be thinking of the coordinate to go from the farm map up to the backwoods, that one uses a -1 im pretty sure

#

good point made by Aba though

brave fable
#

resizing the map doesn't change the coordinates, just what tiles are under them SDVdemetriums

gentle rose
void aspen
#

And I though thats the same thing

void aspen
#

I think I did something like this two mods ago but I don't remember

vernal crest
#

Do you mean you're changing where in the bath house entrance map the player should arrive when coming from the railroad?

void aspen
#

Yeah I think so
Haven't changed anything on railroad

#

just the bh entrance map

#

from 5 9 to whatever is on the right bottom

#

14 19

#

for example

vernal crest
#

EditMap patch, MapTiles field, SetProperties field to change it from "Action": "Warp 5 9 BathHouse_Entry" to "Action": "Warp 14 19 BathHouse_Entry"

void aspen
#

in content json right

vernal crest
#

Yes, you won't need a .tmx file involved at all for the edit

void aspen
#

oh nice

#

tysm

vernal crest
slow basin
#

is anyone available who has made AT mods before or knows about why i might be running intoa problem? im doing afence mod and the actual fence works fine but i did the gates in the same format and its not loading the textures in the way i want it too at all (im using another mod as a basis to make sure I do it right but it still does it)

void aspen
#

urghhh

#

still this thing