#making-mods-general

1 messages · Page 169 of 1

uncut viper
#

JSON has specific rules and syntax you need to follow so things cant just be pasted into there wherever or whenever

oblique frost
#

I was learning a bit of coding last year so I remember that but I mustve looked past it at 3am last night lol. But yeah I made the content and manifest, then found the wiki and copied it so I forgot to delete what I already pasted

#

I'll see if it works now because theres no error now

#

Well the new NPC is showing on the map, but theyre not showing in game at the bus stop (which is where it says they will be)

velvet narwhal
#

lurkexcalibur damn i should've asked pathos if i could include include the local tokens

velvet narwhal
oblique frost
#

I used Abigail's schedule json from the game files, is that not enough to give this NPC a schedule?

#

Maybe the content isnt loading it correctly?

velvet narwhal
#

i'm quite unsure of the specifics of what happens when those things are loaded

oblique frost
#

Hmm okay thank you. Does anyone know what could be wrong with the schedule? The NPC shows up in the map and in the social tab, so the mod is working but the NPC isnt actually showing up and moving around. Im assuming this is because of the schedule not working. I used Abigail's so what could be wrong with it?

tender bloom
#

Schedules are often temperamental, but usually it’s because the path is blocked

#

Sometimes it’s because you need two times minimum

#

Sometimes it’s because there’s something wrong with your time formats

#

Or the entire format

ivory plume
uncut viper
#

(psst Pathos, the markdown links for LocalTokens in the Overview sections of pages like actions-editdata.md for the CP docs link to a non-existent anchor link in author-guide.md instead of to tokens.md)

oblique frost
uncut viper
versed wyvern
#

Also are you checking for the character on a new save/day? I believe I've seen it said schedules are calculated when going to bed for existing saves so if you just continued a file they wouldn't have their schedule loaded

oblique frost
#

I'll try that right now. And I just checked, the home coordinates are set to 4, 5 at the bus stop, does that seem right?

ivory plume
uncut viper
#

ooo

#

very nice

tiny zealot
ivory plume
#

(You can also do crazy things like use an inherited local token to overwrite itself, like "SomeTokenName": "{{Query: {{SomeTokenName}} + 1}}".)

uncut viper
#

i cant think of a scenario yet where id need it, but i love being able to do it

velvet narwhal
upbeat condor
#

Im making my custom map and cant figure out how to make a warp in from the town. I have a warp out already. Any help would be great

ivory plume
velvet narwhal
#

hmm, weird

versed wyvern
oblique frost
upbeat condor
tiny zealot
oblique frost
#

Thanks a lot! I'll download that

velvet narwhal
#

o hwait

#

i'm dumb

#

haha don't look at me

uncut viper
#

what was the issue cuz i couldnt see anything wrong

velvet narwhal
#

(cp wasn't updated)

nova gale
#

apparently my other unreleased mod in broken in 1.6.9!

uncut viper
#

o

#

that'll do it

nova gale
#

fixes light sources

velvet narwhal
#

wait no, the error persists suslysella

gentle rose
#

I've dealt with enough mystery light source weirdness for a lifetime

velvet narwhal
#

it's also not recognizing my ConfigSchema suslysella

oblique frost
#

Whats the best way to get the default portraits/sprites onto my ipad so I can make new art for them of the exact size and position? I dont want to worsen the quality or anything

uncut viper
tiny zealot
#

i have experienced only one type of light source weirdness in my time so far and i don't relish the idea of experiencing more types

velvet narwhal
#

i should probably rename these things, but i will rename it to be blatant

nova gale
#

this just looks like the method signature changed to include an id

#

should be easy enough to deal with

uncut viper
ocean sailBOT
#

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

uncut viper
#

by that i mean you cant make them any size you want without an external mod

oblique frost
#

Im planning on using the exact images as the canvas so that the size and position is the exact samee

upbeat condor
versed wyvern
#

You shouldn't be trying to include an entire edited town map, you should be patching in the local area you've made changes to with a new tmx and a map patch

rocky anchor
#

It's defaulting to 0, 0 in Cursors.png for some reason 🥲

warm imp
#

did you load the {{modid}}/hats file before trying to edit it?

#

looked through chat and saw your previous codes; i would use Load to add in the default sprite (I'm assuming hood down is the default) for the hood, and then use EditImage to change the sprite when it's raining/snowing/etc

rocky anchor
#

Hahaha, nope! I was just coming back to say that adding a 'Load' action fixed it

#

Thanks mate!

onyx flame
#

when does this trigger? I thought you can't stay past 2am which is at 2600?

velvet narwhal
# ivory plume Yep, local tokens on an `Action: Include` patch are inherited by all the include...

your local-breaker-of-things found a few things with the brand new LocalTokens:
https://smapi.io/log/7c251a66690d4eb79e613d25a0da5b90 LocalTokens fail on Action:Load
https://smapi.io/json/none/5debefcf4c104b269231bb6db45d78cd NPCData.json
https://smapi.io/json/content-patcher/f3385032fe5b499a868f2f136063ebe2#L292 A_Template_NPCs.json

It also seems that an invalid LocalToken on the EditImage will just silently fail, not giving a warning that it's invalid (i gave the data "yep" to the PORTRAITEDIT local token)

as well as in particular the provided example doesn't work:

   "Action": "EditImage",
   "Target": "Buildings/houses",
   "FromFile": "assets/{{HouseStyle}}.png",
   "LocalTokens": {
      "HouseStyle": "{{Season}}_{{IsOutdoors}}"
   }
}```
https://smapi.io/log/ccd8ef3c49fd45afabcd6323aa4957ef EditImage warning

(i went and formatted the `Action:Load` to be:
```{
  "Action": "Load",
  "Target": "Characters/{{ModId}}_Edelweiss, Portraits/{{ModId}}_Edelweiss",
  "FromFile": "Assets/NPCS/{{TargetPathOnly}}/{{NPCNAME}}.png"
},```
and that fails too

the silent failure on EditImage is after I forced the `Action:Load` to instead be:
```{
  "Action": "Load",
  "Target": "Characters/{{ModId}}_Edelweiss, Portraits/{{ModId}}_Edelweiss",
  "FromFile": "Assets/NPCS/{{TargetPathOnly}}/{{TargetWithoutPath}}.png"
},```
so that everything would be valid
ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Home, with 12 C# mods and 2 content packs.

#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Home, with 3 C# mods and 1 content packs.

velvet narwhal
#

why the hell is that italicized

uncut viper
#

you have underscores in things

#

(RE: that provided example, i took that straight from the Content Patcher docs and put it into a content.json. thats literally the entirety of the content.json (it is format 2.5.0). there is a valid png named spring_true in an assets folder to be found, not that it got that far anyway before complaining about an invalid token)

#

(we think the tokens failing in Action: Load miiight be a separate issue? in that they would not work in Load actions that were in an Included file, but they would work on EditData and such in that same included file. whereas with my issue using the example from the docs, they just dont work even when not in an Included file, when theyre used in the same patch theyre declared in)

rocky anchor
#

Hmm, does anyone know why the 'hide hairstyle' value doesn't seem to work for my hat?

velvet narwhal
#

are you doing a cp hat or a fs hat

rocky anchor
#

CP

#

The 'hide' value is coming through my patch export in data/Hats

#

So it wants to work haha

velvet narwhal
#

i cannot tell what that means

#

your index 2 is hide?

rocky anchor
#

Ah sorry, I did a patch export command to make sure my current in-game data/hats file had updated correctly

rocky anchor
velvet narwhal
#

oh, okay, so you're seeing your entry and it's there

rocky anchor
#

She just always has pigtails

#

(When wearing my custom hat)

velvet narwhal
#

well true would mean that the hair would be shown

#

so the string should look like:
name/description/show real hair/skip hairstyle offset/tags/display name/sprite index/texture name
what does your data/hats look like

rocky anchor
#

"RainHood": "Rain Hood/Optional extra for your rain coat./hide/true//Rain Hood/0/IMS.RainyDayClothing\\Hats"

upbeat condor
#

Im trying to remove the fence in this area but no matter what i do it wont remove in game. What should I do? (Heres the code too)

velvet narwhal
upbeat condor
#

I used StardewXnbHack to get all vanilla data from the game so I would assume its the exact size.

#

Ive also been confused on the FromArea/ToArea

velvet narwhal
#

so fromarea is the map that you're using to overwrite the original, toarea is the location you're trying to overwrite

upbeat condor
#

How would I find out the Width and Height?

velvet narwhal
#

width and height is the amount of tiles

#

so if you wanted to make a hole in the fence you'd be 1 width and... suslysella probably 3 height or maybe a little more, i don't know how many tiles you've changed

upbeat condor
#

Ive changed about 3 tiles so seems about right

#

Would get the X and Y from the bottom or top of the tiles I changed?

rocky anchor
velvet narwhal
#

topleft most

upbeat condor
#

Got it

oblique frost
#

Isnt there a list on the wiki of all locations I can use in schedules? For example "SeedShop", or can I just set it to whatever name I want and only the coordinates matter?

velvet narwhal
#

Data/Locations has all of the locations in vanilla game

#

if you set it to an invalid name, it'll error at you that the npc can't get to the map or something

upbeat condor
velvet narwhal
oblique frost
#

I have another question. Im using Abigail's schedule to edit for a new NPC Im making, and I want to know if its possible for me to add a new date that she doesnt have. For example if I just add "spring_12" and start writing a schedule, will the npc actually follow that? (given everything is written correctly)

velvet narwhal
#

but you must have spring, it's what the game defaults to

oblique frost
#

Okay good to know thanks :)

#

I also noticed that in her schedule, she says "hey, taking a break from work?" on Mon, does that mean she says that every single monday if its just a regular monday?

velvet narwhal
#

is it monday? which one

#

oh you're looking at Characters/Dialogue/Abigail

#

that's not the same

#

but to answer that question, yes, they will repeat the dialogue unless it's specified year 1 only (much like for jodi talking about kent)

oblique frost
#

Ohh okay, I was thinking when I make an NPC I would have to choose 112 different dialogue pieces for each year (because 28 days and each season)

velvet narwhal
#

technically you don't have to

#

you can have a very expansive dialogue if you so wished, but it's not necessary

#

also i wouldn't suggest putting dialogue strings into your schedules, it will get messy quite fast

oblique frost
#

yeah I wont try anything like that I'm just sticking to the dialogue json

#

Going back to the schedule though, I can see she does some animations like sleep and sit down. Obviously I'd want to let my NPC sit sometimes, so would I have to keep it "abigail_sit_down" instead of changing the name?

#

I dont know how any of the animations work and Id like to avoid getting into that besides the basics

velvet narwhal
#

So that's something called animationDescriptions

oblique frost
#

Ahh I just found that. Would I make a new one there?

velvet narwhal
#

You'd editdata a new entry into there

oblique frost
#

And then are the numbers the frames they're doing in the animation?

velvet narwhal
#

the numbers correlate to the sprite index

#

which starts at the topmost left, starting at 0:
0 1 2 3
4 5 6 7
etc

#

which is a part of the Character/Abigail.png iirc

#

i think uhh

#

tia's guide as a template for it

oblique frost
#

Ahhh thank you, Ill check that out

rocky anchor
#

So it must be something to do with my hat? 🤔

light bramble
#

Hypothetical here, say I made a mod that retextured a lot of modded items. But I didn't want people to have to download different flavors of the mod and have to replace the assets of the original mods. Could I use:

  "HasMod": "<somemodID>"
}```
within the config schema declaration so that the options for recolor didn't appear unless you had the mod that contained new textures?
light bramble
ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Enterprise, with 64 C# mods and 34 content packs.

gray bear
#

what's your json look like?

old edge
#

my map patches in the museum they are small now since there was a room there.. but what if we wanted to add new maps with this logic since running out of space in museum for rooms now.

wide flint
#

Can I package a CP mod with a C# mod? What would the folder structure look like?

rancid temple
#
FolderNameHere
- CP Mod Folder
- C# Mod Folder
#

So long as each one has its own manifest, you're good

brittle pasture
#

also modbuildconfig has an option to do the bundling for you

latent mauve
#

How do update keys work with those, by the way? Do you just do the ??? like SVE, or leave them blank? Or give just one the update key?

rancid temple
#

I usually set one to an invalid value, I prefer it to tell the trace logs that the key is invalid rather than tell the user to tell me there's no key

brittle pasture
#

you can also give both of them the same key and the same version - no lines in log, but high chance of committing manifest crimes if you forgot to update the version in one component

wide flint
#

Thanks. Will give it a try, expecting it to not work on first attempt

formal crown
#

SDVpufferlurk Hi all, is there a command or a cheat (mod) to spawn in a giant crop?

frigid hollow
royal stump
#

(FTM can spawn them, but it's more involved to set up, so defer to others SDVkrobusgiggle)

calm nebula
#

Are they normal giant crops now?

#

(Or bushes in disguise)

potent frigate
#

new to modding and im making a dialogue mod, but i was wondering if anyone could tell me when exactly each pool of dialogue cuts off?
for example, i read somewhere that all dialogue from 0-4 hearts is shared (once the player gets to 4 hearts with that npc, of course), but i wanted to know if 6-14 were shared also?
sorry if this info was somewhere on the wiki! i looked, but i couldnt find it.

drowsy pewter
#

I havent heard of that

#

that being said, I'm not an npc modder. I just havent seen that mentioned in the go-to npc tutorial

potent frigate
#

oh, maybe i misread it haha! i think it was somewhere in vanilla dialogue wiki pages, though, not the npc tutorial

drowsy pewter
#

in fact it explicitly states that a 0 heart dialogue will be covered by a 2 heart dialogue

vernal crest
#

As soon as you reach the higher heart level, dialogue lines from that heart level take precedence over lower ones.

drowsy pewter
#

If you can find the original let us know

vernal crest
#

So if you have Mon2 and Mon4, you will never see Mon2 again once you hit 4 hearts.

potent frigate
#

ohhhh i see

#

okay! thanks so much catnod

#

unsure if my wording makes sense, but... um, if a contentpatcher mod reads an empty string (see attached), it simply won't do anything and will instead output the original game code or a higher precedent code right?
what i don't want to happen is for it to just output nothing, but from my understanding, it would only output nothing if i set it to 'null', so i just wanted to make sure

obviously i could just get rid of the stuff i'm not filling in! but i want to make sure that, while this mod is a wip, i can leave empty strings in the code so that i wouldn't have to readd it later

#

tl;dr: does the code ignore empty strings or nah

frigid hollow
#

it'll set the value to the empty string i think?

potent frigate
#

aw, damn

#

unfortunate but makes sense

#

i'll just comment the unfinished stuff out i suppose catnod

royal stump
# calm nebula (Or bushes in disguise)

I eventually stopped using the fake LTF clumps (in 1.6 iirc, though they were obsolete in 1.5?)
so it's just location.resourceClumps.Add(new GiantCrop unless it's from an item framework

potent frigate
#

(p.s thank you all for answering my silly questions)

blissful panther
#

(Test packs are fun.)

hallow prism
topaz zenith
#

If my npc has an older child would it be possible to have both move in if you marry her

#

Asking incase it isn’t doable

pine salmon
#

hi everyone!! wanted some insight on an error i threw up while testing a content pack i'm making for fun. i'm editing the keg to exclude dandelions from the forage > juice rule. to do that, i've given dandelions the unique context tag "dandelion_item" and tried adding an entry to the "condition" field that goes
"!ITEM_CONTEXT_TAG Input dandelion_item": "!ITEM_CONTEXT_TAG Input dandelion_item"
unfortch, when i run the pack ingame, i just get this error:
[Content Patcher] Can't apply data patch "Liquor Cabinet of Curiosities > Include Dandelion Wine > data/dwine.json > Tweak Machine Conditions (Dandelion)" to Data/Machines: the field '(BC)12' > 'OutputRules' > 'Default_Juice' > 'Triggers' > 'ItemPlacedInMachine_Forage' > 'Condition' has type 'System.String', which isn't recognized by Content Patcher
wanted to know if theres a workaround for this besides entirely overriding the Condition field for compatibility's sake ;0; thank u sdv community!!

vernal crest
# topaz zenith If my npc has an older child would it be possible to have both move in if you ma...

I'm not aware of any way to let a non-spouse NPC move in with a spouse. The closest thing I can think of is if you cause the wedding to trigger an event where your farmer asks the child to be a roommate, but a player would need to have a polyamory mod or something for that (unless you wrote your own bespoke C# code allowing it - and if you did that, you might be able to write a way for the child to move in as a roommate more seamlessly but that's beyond my knowledge).

plucky girder
#

So Diologe mods are easy. Maybe in spring, I'll see if I can manage to make a mod where the girls break the 4th wall (It's not procastadhon snow gives me headaches)

topaz zenith
lucid iron
#

As for ur edit not applying, you want to add to list of required tag instead of the condition

calm nebula
#

sorry

lucid iron
#

With !tag for negation

calm nebula
#

CP docs, text operations, append ", !!ITEM_CONTEXT_TAG Input dandelion_item"

#

this works because , are ANDS

lucid iron
#

The bone mill has a example fkr that, to exclude bone fragment

calm nebula
#

so you're basically saying "previous, AND MINE"

pine salmon
drowsy pewter
#

I dont thin you want text operations

pine salmon
drowsy pewter
#
            "Action": "EditData",
            "Target": "Data/Machines",
            "TargetField": [
                "(BC)15",
                "OutputRules",
                "Default_Pickled",
                "Triggers",
                "ItemPlacedInMachine_Vegetable",
                "RequiredTags"
            ],
            "Entries": {
                "#-1": "!id_o_cornucopia_olive"
            }
        },```
#

This is what we use to exclude our olives item from being pickled under the generic vegetable rule

#

It's not a text field its a list of separate context tags

#

Oh you went the method of changing the condition rather than the trigger input

#

I see

pine salmon
#

ill give this a go, though:)

hallow prism
#

no pickled olive? sad

drowsy pewter
#

It makes a special item :P

calm nebula
#

ohhh I didn't realize you could do that lol

pine salmon
drowsy pewter
pine salmon
#

thanks everyone!!:)

drowsy pewter
#

Can I ask why you're excluding it?

hallow prism
pine salmon
drowsy pewter
drowsy pewter
#

in fact its worse for compatibility

pine salmon
#

well i feel real silly now

lucid iron
#

isnt dandelion wine already makeable LilyDerp

drowsy pewter
#

No

pine salmon
drowsy pewter
#

If the vanilla Wine rule doesnt take precedence before Juice, then you should make a new Wine rule for the dandelion only, and use MoveEntries to put it above Juice

lucid iron
#

oh i prob had that one option in cornu artisan machines on for too long kyuuchan_run

pine salmon
drowsy pewter
#

Or move the vanilla Wine rule above Juice, but idk if that will screw with any other mods

lucid iron
#

i think making a new rule that takes explicitly dandelion make sense

calm nebula
#

is dandelion whine a thing

lucid iron
#

tho u may need to do the tag thing mentioned if u want more than 1 dandelion to be consumed

calm nebula
#

...fuck it, leaving typos today

pine salmon
frigid hollow
pine salmon
#

fell in love with the idea on brewing youtube pfft

frigid hollow
#

but yes it is a wine

calm nebula
#

I knew dandelion tea was a thing

pine salmon
frigid hollow
#

Dandelion and burdock is a beverage originating and commonly consumed in the British Isles since the Middle Ages. It was originally a type of light mead but over the years has evolved into the carbonated soft drink commercially available today. Traditionally, it was made from fermented dandelion (Taraxacum officinale) and burdock (Arctium lappa)...

topaz zenith
#

Is there somewhere I can find a body base for pixel sprites of npcs?

pine salmon
vernal crest
ocean sailBOT
#

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

drowsy pewter
pine salmon
topaz zenith
#

Would this be worth buying (the sprites have no clothing but aren’t explicit so I’ll spoiler warning them)

drowsy pewter
#

its id_o_(id number of dandelion) just like in my example

gray bear
#

i mean.. if u want them then yes??

#

i support anything made by void

topaz zenith
#

me when I look up references and all. I see is ai..

pine salmon
#

theyre very well made im just also so unnerved by them being Naked

topaz zenith
#

Yeahh

pine salmon
gray bear
#

it's a base, they're usually not clothed

topaz zenith
#

I’ll clothe sylvestra dw LOL

vernal crest
frigid hollow
gray bear
#

i feel very old in this discord server atm

topaz zenith
pine salmon
gray bear
#

depends on what you're going for???

vernal crest
drowsy pewter
#

do those npcs look really tall to anyone else?

topaz zenith
#

Sylvestras gonna be tall eventually but

#

First release probably not. I don’t wanna break game sprite bounds for first time

pine salmon
gray bear
pine salmon
#

oh, sorry about that!

topaz zenith
#

I might do SOME sprites but I’m waiting for ref sheet to be done

pine salmon
topaz zenith
#

Yaaay

#

I need dialogue to do..but I run out of ideas so quick

vernal crest
# topaz zenith Which npc would have the best vanilla sprite to look at?

Depends on what you want. My transfemme NPC Hiria is based off Demetrius and Sam because she's tall and broad but most female NPCs will probably be based on one of the female NPCs. You will probably get a feel for what works for your ideas pretty quick when you start trying to edit a vanilla NPC.

calm nebula
#

in five years your knees will start hurting

gray bear
#

my knees already hurt! it's how i know it's going to rain sometimes

vernal crest
topaz zenith
pine salmon
frigid hollow
pine salmon
#

@ aba, yeah itll take some getting used to

frigid hollow
#

(oh i forgot to unping RIP)

topaz zenith
#

Her using a male body type for sprite sheets makes sense

drowsy pewter
pine salmon
#

got it, thank you so much!

topaz zenith
#

So like it would make sense if she didn’t use the sprite bodytype women use in the game

pine salmon
#

basegame female npcs r so tiny i get that

vernal crest
topaz zenith
#

She’s built like ian from RSV kinda?

#

Except bulkier

pine salmon
#

buff women....

topaz zenith
#

I’m gonna struggle so much

topaz zenith
vernal crest
#

This is Hiria btw for reference so you can see how much of the 16x32 space she takes up

#

(4x zoom so she's game-sized)

topaz zenith
#

How can I optimize gimp to best work for that?

calm nebula
#

real talk, does anyone put a non-right angle value into this and if so who hurt you.

vernal crest
#

1px brush, make sure anti-aliasing isn't turned on

topaz zenith
#

Looking for a pixel brush on gimp

vernal crest
#

If there's a pencil option (can't remember, can't be bothered opening gimp to check), that's a good choice

pine salmon
#

i just closed it, there is!

topaz zenith
#

I know pixilart is a good site for pixel working on browser

vernal crest
#

It's definitely not bad! Fortunately it's easy to do pixel art in almost any art program.

topaz zenith
#

Me trying to make a new layer

#

Found it

#

I’m using a mouse so it’ll look so scuffed LOL

vernal crest
#

Nooooo my session didn't save SDVpufferwaaah so many carefully destroyed voxels, gone!

topaz zenith
#

I wanted to keep the sprites within stardew style but I might make beta ones that aren’t

#

What’s an optimal size for portraits

tough crater
#

I do my art in Krita, but that's because I do ALL my art in there. Other than that, I originally used Jodi as a reference for portraits (until I decided to overhaul it lol), and used Penny as a reference for the spritesheet because my character is supposed to be on the shorter side and her sprite tends to be shorter than the others'

gray bear
#

64x64 is the only one the game recognizes without additional frameworks iirc

topaz zenith
#

Ah ty

slender badger
topaz zenith
#

I’ll probably use a male npc with more body size as a reference

#

Vanilla Elliott you’re my test subject.

gray bear
#

why are they standing like that tbh_sobs

frigid hollow
#

THE LEGS??

slender badger
#

For some reason, there's a serious drop in quality with the beach art. I dunno if CA outsourced them or was just lazy that day or what

topaz zenith
#

The closest non mod npc that fits sylvestra would be Elliott on body type alone and even then he’s a bit small

gray bear
#

i think they all use the same pose and just add the head of the npc up top or something-

frigid hollow
#

leah stands differently

topaz zenith
#

Is there somewhere that has a list of every vanilla item you can gift

gray bear
#

the wiki

vernal crest
#

I will admit the legs are terrible. But after examining all the variants on sprites I could find, I have concluded that legs are just really hard at that size anyway.

frigid hollow
#

and they all seem to have somewhat different walk cycles

tough crater
#

Abigail looks like she has scoliosis

topaz zenith
#

LOOL

tough crater
topaz zenith
slender badger
#

The portraits too - Sebastian's ultra-wide shoulders and Clint's complete lack of shading are standout examples, but just about none of them match up with the original portraits

mighty quest
#

I swear users always find a way to break what should be unbreakable.

held.RemoveWhereNull(); <----
result = held.MaxBy(h => h.salePrice()) as SObject;
NullReferenceException: Object reference not set to an instance of an object.
   at DaLion.Ponds.Framework.Extensions.FishPondExtensions.<>c.<GetProduce>b__3_0(Item h) in G:\modded\sdv\dev\main\Ponds\Framework\Extensions\FishPondExtensions.cs:line 97
   at System.Linq.Enumerable.MaxBy[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer) <----
gray bear
vernal crest
#

My goal with Hiria's sprites ended up having to be "can I avoid her looking horrendously misshapen upon a casual glance" because I couldn't do anything better haha

fading walrus
topaz zenith
vernal crest
fading walrus
#

Can we please be nice while talking about the vanilla portraits, we normally don't use such harsh language with fellow mod authors' art and CA shouldn't be excluded from that! SDVpufferheart

topaz zenith
#

Can you make me a thread to picture dump Sylvestra stuff into so I don’t lose it tism

#

/nf

fading walrus
#

you do have a thread, no?

topaz zenith
#

I wanted to keep that one for a diff npc

fading walrus
#

this one

topaz zenith
#

Or I will mix them up badly LOL

fading walrus
#

sure

topaz zenith
#

Ty:D

#

I’ll make non pixelated sprites as test sprites then maybe trace over my own sprites with pixel brushes

fading walrus
#

Susan's Thread 2: Electric Boogaloo

topaz zenith
#

POTRAITS*

fading walrus
#

there ye go

gray bear
#

electric boogaloo quill you're awesome

topaz zenith
#

I will use this thread like my life depends on it

#

Is me setting some universal likes as a dislike a bad thing genq

gray bear
#

no

fading walrus
#

no

#

people aren't obligated to like the same thing irl and neither are NPCs

gray bear
#

universal likes have exceptions, even univeral loves do. different folks, different strokes

topaz zenith
#

like wine and stuff she would dislike

hallow prism
#

there are people making their npc have no loved gift, including universal stuff

topaz zenith
#

She’s also allergic to eggs so she’d be offended LOL

hallow prism
#

i don't think it's like, super needed, but mod authors do what they think is nice for their mod

round dock
gray bear
#

those are all fair and good

#

also i think eggs aren't a universal like anyway

topaz zenith
#

I was wondering cuz ik immersions a huge thing for people

fading walrus
#

bongoblob We should encourage all artists, including CA! happyfrog

topaz zenith
#

Sylvestra won’t even accept egg products

gray bear
#

a character not liking a universal like is more immersive when they do, imo

topaz zenith
#

She’ll be offended but won’t take the item out of ur inventory

#

Cuz allergic to egg

round dock
#

Yeah, there's a reject gift mechanic

fading walrus
#

ye

#

that's fine

vernal crest
#

I am not getting too hung up on gift tastes because as soon as a player has an item mod where the mod author has decided their item is a universal like/love then poof! My carefully planned gift tastes are gone.

round dock
#

(QUILLLLLLLLLLLLLLLLLLLLLLLLL anidinokisses)

fading walrus
#

(CLAAAAAAAAAAAAAAAAAAAAAAAIRE SBVHugFrog )

gray bear
#

but in my defense it's easier to do that and then set specific items as not that for specific npcs

topaz zenith
#

How do external item mods work as gifts for npcs?

gray bear
#

also i didn't set any universal loved besdies uhhh rainbow rock sushi and if ur npc is offended by rainbow rock u can let me know and i will add

fading walrus
#

you can set them with a when mod installed condition iirc

gray bear
#

if they don't set a specific one, it defaults to the category

#

like for example cooking items are a universal like

fading walrus
#

just to avoid things yelling, iirc? Thonk

vernal crest
fading walrus
#

when I set my gift tastes for npcs i admittedly don't remember adding modded npcs because i had no idea which ones would like different sodas

#

having the same problem now with my wip

gray bear
#

i don't actually set anything as a universal like the game does because i add dishes

royal stump
#

I wouldn't expect the game to validate IDs in gift tastes, but I don't actually know what the code looks like SDVpufferthink

topaz zenith
#

Ah thank you

#

I have dialogue specific to if she’s allergic to smthng lol

round dock
#

There are dialogue keys for that

vernal crest
#

I have decided that I will set the theme for Hiria's tastes (only food) and if someone wants to play with mods that changes that, I will just Not Look lol

topaz zenith
#

Yaaay

gray bear
#

you could technically make your npc dislike specific item tags, but i'm not sure everyone uses them

slender badger
#

A lot of this is discussed in detail on the modding wiki and regular wiki

topaz zenith
#

Oh there’s a lot of dialogue to write that’s funsies :D

#

I lowkey love writing dialogue

round dock
#

Yup, dialogue is fairly easy. Studying docu is important.

blissful panther
#

(Has anyone considered a Scrooge NPC that dislikes everything, but has an extremely rewarding friendship arc? That could be a fun mod with some real challenge to reach the end of!)

gray bear
#

so you'd just need to talk to them

blissful panther
#

You could maybe implement custom quests and some C# to bump their friendship in special ways?

gray bear
#

you lost me at C#

acoustic summit
#
  • Talking to them more than twice a week gives - friendship
vernal crest
gray bear
#

if i was an npc i would like any food anyone gives u

vernal crest
#

However, I do hate gift mechanics in games like these so it's still on my wishlist one day to have an NPC that dislikes all gifts

royal stump
#

SDVpufferthink spawn ghosts around town, lead them to scrooge's house at night, he starts liking things after you collect 3

gray bear
#

a plot of a horror comedy

ornate trellis
# pine salmon theyre very well made im just also so unnerved by them being Naked

Just a (belated) heads-up but since these are made by me I am just stating that theyre naked because as stated they're a base and bases are for me usually best without any kind of clothes that can obscure the body shape so even someone inexperienced can try and create an NPC without accidentally messing up the body itself so they can go straight to doing the outfit/hair etc. Not sure where the unnerving part comes from as all bases i know are usually like this in any context. SDVpufferthumbsup

blissful panther
gray bear
#

ooh!

#

we're breaching dimensions

round dock
#

Maybe Haunted Chocolatier was the Stardew Valley we knew all along

calm nebula
gray bear
#

"npc that doesn't believe in gift giving" is not a bad idea, i suppose

blissful panther
#

Let's just remain festive until Halloween!

gray bear
#

...what month is halloween again

acoustic summit
#

october

royal stump
#

gotta keep it up until Valentine's Day like retail stores

gray bear
#

yeah sure i'll stay festive forever

#

what is a year but a bunch of holidays hanging around

topaz zenith
#

I’m writing dialogue in the order the wiki shows it

#

Sylvestra panics at monsters in the house except for rock crabs

#

She loves them LOL

calm nebula
#

gifts are a bad idea

#

tbh that's how I feel whenever someone gives me a gift most of the time.

#

thanks, but now I have to store this. 😦

topaz zenith
#

Sylvestra when a mean dangerous rock crabs in the house: “Oh it’s so cute can we keep it? (as it’s being mean)

safe apex
#

HeyHey guys, can someone tell me which schedule is used at GreenRain in the first year and from the second year?

blissful panther
#

(Ah, schedule. I was typing out the dialogue keys. Caught that just in time. SDVkrobusgiggle)

gray bear
royal stump
#

it looks like GreenRain_2 has first priority as a schedule key in year 2 or later, but if that doesn't exist or it's year 1, GreenRain is used

#

...wait, I'm also looking at dialogue code

ivory plume
gray bear
#

that does look fun

ivory plume
#

I might just add validation to prevent using non-inherited local tokens in Target and FromFile, since those have special parsing rules.

royal stump
#

so afaict, "GreenRain" as a schedule is only used in year 1, and there just isn't a special GreenRain schedule for other years; I imagine it falls back to normal rain behavior

gray bear
#

i suppose it's less exciting if it's, already happened before huh

topaz zenith
#

should i igniore "RejectBouquet_NotDatable" since sylvestras marriageable?

#

and RejectBouquet_NpcAlreadyMarried

#

i might write smthng for those if i rival hearts her but idk if her dialogue would go funky without it

calm nebula
#

mckthingi

royal stump
#

SDVkrobusgiggle
yeah, I don't know much about schedule priorities myself (i.e. which key would be used for year 2 green rain), but you can edit them conditionally

golden basin
#

@chrome mountain hey there its a meeeee
I would love for my feeesh to be in the aquarium mod

#

i have some animations for them but im cool with yall doing more and stuff too! i just love the mod

topaz zenith
#

im preparing my notes app to write dialogue

#

tons of it

topaz zenith
#

hoping to get her gift taste done today

chrome mountain
inner harbor
#

Depending on how you react in events

blissful panther
#

Oh, that's super cool!

topaz zenith
#

man im making a spreadsheet of every giftable item to make her likes dislikes

vernal crest
hybrid talon
#

Question, is there a phrase you all would understand as meaning "your own inventory when you're in a chest or similar menu with two inventories, and which is treated differently from when it's the only inventory"
I'm currently calling it "secondary inventory" but I'm not sure that's clear enough
(I'm trying to word my config options better)

topaz zenith
#

yeahh for cooking and artisan tho it needs to be specified she wont accept it

vernal crest
hybrid talon
#

Yes

#

I have keybinds that apply to it specifically when it's the little inventory below the main inventory

vernal crest
#

I don't think "secondary inventory" would convey that meaning for me because to me that implies that I have two player inventories, which I do not see myself as having. But if you have the description there from your message in the hover box, I think I would arrive at the right understanding.

topaz zenith
#

which isnt a lot shockingly

hybrid talon
#

(Or a readme which nobody will read)

topaz zenith
#

would her not accepting dinosaur mayo make sense or wouild it not

vernal crest
topaz zenith
#

oh

#

i was wondering since idk how the dinosaur connection to chickens is

#

wasnt sure if they were close or not

acoustic summit
#

birds are dinos

vernal crest
topaz zenith
#

she hates crabs as gifts cuz she loves rock crabs so much

#

is there somewhere i can find like a full length code file for dialogue?

vernal crest
topaz zenith
#

yeah.

#

im reteaching myself coding again

vernal crest
#

No, but there are a few templates around with many of them. Let me find them.

#

!npc Probably some in here, if I have remembered the command correctly.

ocean sailBOT
#
Creating a Custom NPC

Keep in mind that making NPCs is a complex process that requires learning many different aspects of Stardew modding.
Here are a few links that can help get you started on all that you need to know:

topaz zenith
#

what site/app should i use?

vernal crest
#

Ah ha. That first link to Tiakall's NPC tutorial has a dialogue section where they link to two dialogue templates.

vernal crest
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.

topaz zenith
#

ty! ill test notepad plus

vernal crest
#

That's a good one to start with, yeah. Very lightweight and easy to just jump into the editing. I started with that.

tough crater
#

So I'm working on another NPC and for some reason, only ONE of the tilesheets won't work, but I don't understand why? The name is correct and I made sure it's not supposed to direct to any exterior folder. Can anyone help me out?

I'm trying to patch a map onto @/fireredlily's apartment mod

vernal crest
#

It's saying it can't find it, so my guess is that your Load code block is wrong.

tough crater
#

These are the code blocks that interact with the map patch

topaz zenith
#

Should all the speerate code thing use diff files?

vernal crest
tough crater
tough crater
topaz zenith
#

pls dont ping rn

tough crater
#

I listed that mod as a dependency and I thoguht it'd fix it

topaz zenith
#

does notepad+ have darkmode?

vernal crest
# topaz zenith Should all the speerate code thing use diff files?

Up to you! Its only purpose is organisation, so if you find it easier to understand your mod having everything in the content.json instead of separated out into different files, you can do it that way instead. I started modding by doing everything in the content.json and then started using separate files as my mod got bigger.

vernal crest
topaz zenith
#

its too bright on lightmode

tough crater
#

FireRedLily's apartment mod is the one that has that tilesheet

vernal crest
#

Ah that explains the FRL

tough crater
topaz zenith
#

me when coding is tricky

#

(doesnt understand the templates)

tough crater
#

Every day that I code, there's always at least one moment when I'm internally screeching

#

You'll get the hang of understanding the templates with time! Is it your first time stepping into modding?

topaz zenith
#

after a while yeah

tough crater
#

Feel free to ask any specific questions you have. One of us is bound to understand what's going on

topaz zenith
#

Maybe I’ll do smthng smaller as a first mod. How difficult is retexturing an item?

vernal crest
tough crater
#

OH

#

The weird part is that I didn't have that issue with my main NPC

vernal crest
#

Also, she may not actually provide permission for you to use her assets anyway.

topaz zenith
#

I retextured an axe :3

tough crater
topaz zenith
#

I’m thinking about the two cakes thing

tough crater
#

We love two cakes!

topaz zenith
#

YAAY I RETEXTURED AN AXE

tough crater
gentle rose
vernal crest
tough crater
#

Loading the tilesheets into the game makes it accessible to other people's mods, right?

topaz zenith
#

i hope my retextures work fine

vernal crest
flat sluice
#

Hi,
sorry if this is such a stupid question to ask (and also sorry if I'm interrupting), but when I write dialogues for events, I have to use #$b# in places where there is a direct dialogue (f.e. /speak event command) and # in places where there is an indirect dialogue (f.e. /message event command), right? I tried the #$b# in the /message event command and it took the $b as a separate dialogue, but when I used only # to separate the dialogues in the /speak event command, the whole thing after # is skipped.
Is that right? And if so, is there a way to unify the formatting of the dialogue breaks?

tough crater
#

Can you send the code for the event you're working on? It could be a syntax issue

tiny zealot
#

that sounds right. different cases call for different formatting (see also mail, which is another different format). not much you can do about it, i'm afraid

flat sluice
# tough crater Can you send the code for the event you're working on? It could be a syntax issu...

Here (https://smapi.io/json/content-patcher/73e74366bf7f4d4ebc4298ec562efdb9):

      "LogName": "Eleanor - 14hearts event (p2) - Wizard's tower",
      "Action": "EditData",
      "Target": "Data/Events/WizardHouse",
      "Entries": {
        "Eleanor_14hearts-p2_pre/e Eleanor_14hearts-p1": "none/20 20/farmer 0 0 0/viewport -1000 -1000/pause 2222/message \"{{i18n:Events.14h-p2.0|PlayerName={{PlayerName}}}}\"pause 1111/switchEvent Eleanor_14hearts-p2",
        "Eleanor_14hearts-p2/e Eleanor_14hearts-p1": "none/20 20/farmer 9 33 0 Wizard 7 7 0/viewport 20 20/pause 111/move Wizard 0 14 2/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.1|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.2|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.3|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.4|PlayerName={{PlayerName}}}}\"/pause 1111/message \"{{i18n:Events.14h-p2.5|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.6|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.7|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.8|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.9|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.10|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.11|PlayerName={{PlayerName}}}}\"/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.12|PlayerName={{PlayerName}}}}\"/pause 1111/emote farmer 56/pause 1111/speak Wizard \"{{i18n:Events.14h-p2.13|PlayerName={{PlayerName}}}}\"/pause 1111/pause 1111/switchEvent Eleanor_14hearts-p3"
      },
      "When": {
        "Eleanor_14hearts-variants": "long"
      }
    },```
#

And i18n (https://smapi.io/json/i18n/f8cf6e7c0a4345d0b8a8936ee711ac91):

  "Events.14h-p2.1": "Yet another morning...#Wait. Something is not correct.#I can feel it in the air...#...but what is it?",
  "Events.14h-p2.2": "Hmm...#I sense a shift in the magical energy around me...",
  "Events.14h-p2.3": "I know this feeling...#...but I can't remember when I felt it last time...#...and what happened then...",
  "Events.14h-p2.4": "Oh!#{{PlayerName}}!#Why are you here this early?",
  "Events.14h-p2.5": "You tell Mr. Rasmodius about Eleanor's situation. He listens to you carefully, but he doesn't say anything.",
  "Events.14h-p2.6": "So that is why the magical energy is uncommon today...",
  "Events.14h-p2.7": "Well, it is my duty to help you find her, {{PlayerName}}.#Especially when she is my apprentice.",
  "Events.14h-p2.8": "*...sighs...*#I hope they'll forgive me for this...",
  "Events.14h-p2.9": "No.#I may have some minor knowledge about her past, but I can't tell you anything else than things that you don't already know, because that is all I know.#It's her past, not mine.#It is up to her to tell you about it...",
  "Events.14h-p2.10": "However, I suppose I know where she might be.#I can feel her magical aura.#And at least some of it is coming from Sprite Spring in the forest.",
  "Events.14h-p2.11": "I know you're worried about her, {{PlayerName}}.#But you have to be careful.#The forest is not a safe place, especially for someone like you.",
  "Events.14h-p2.12": "I'll help you find her, {{PlayerName}}.#But you have to promise me that you'll be careful.",
  "Events.14h-p2.13": "Good. Let's go then. We have to find her before something bad happens...",
vernal crest
flat sluice
tough crater
#

I noticed that for this event "Eleanor_14hearts-p2_pre/e Eleanor_14hearts-p1", you have {{i18n:Events.14h-p2.0|PlayerName={{PlayerName}}}} even though the token {{PlayerName}} isn't being used in that line of text

tough crater
latent mauve
#

(it's mainly used for lobby shenanigans)

vernal crest
topaz zenith
#

I have done three tool textures

flat sluice
latent mauve
#

also, yes, the transparent borders are okay to redistribute, they are literally just vanilla assets with the background removed

tough crater
#

That's valid lol

topaz zenith
#

I can’t figure out the template I was sent

tiny zealot
#

@flat sluice for speak commands to continue to additional boxes (without closing), you have to use #$b# as your delimiter. (it means "next command, previous line is continued, next command"). if you really want to use plain # for this, you can try adding the literal character { to the end of the previous line ($b appends this to make it work). i've never done this and i don't recommend it

tough crater
topaz zenith
#

I was shown it by barley

tiny zealot
#

(i also can't guarantee it will work. that character may get replaced or ignored or something. i haven't read all the code and i don't care to since my decompile of it is frightful and full of gotos to labels like IL_08a2)

flat sluice
vernal crest
topaz zenith
#

Oke

#

What’s the optimal sprite size for tools

vernal crest
topaz zenith
#

Oke

#

!unpack

ocean sailBOT
#

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

topaz zenith
#

trying to figure out where to put the xnb thingy

#

nvm

#

what should i do with my image files to make them be retextures?

#

oh so i should retexture the entire sprite sheet?

tough crater
#

There's a way to replace only parts of an image

vernal crest
#

Just start with one tool for now so you can learn the whole process from start to finish.

#

The mod Barley shared with you is already set up for only replacing one part of a spritesheet.

topaz zenith
#

i got the basic tools inventory thing done so ee

#

oh

#

m, not sure where to look at it first

vernal crest
#

Look at what first?

topaz zenith
#

the tutorial

vernal crest
#

Uh, I don't remember there being a tutorial?

topaz zenith
#

HUH

vernal crest
#

For which thing?

topaz zenith
#

confusions

tough crater
#

Can you send us the link to the tutorial you're using?

#

i think that's where our confusion is coming from

topaz zenith
#

OH i was using the wrong link'

tough crater
#

It happens, no worries!

topaz zenith
#

if its editing JUST the inventory slot look what would i do

vernal crest
#

Find the file called tools.png inside the TileSheets folder and open that up in gimp.

topaz zenith
#

okay

#

opened

vernal crest
#

Gimp should hopefully show you the pixel coordinates if you hover over a particular spot on the page. Use that and, if it helps, a grid (set to 16x16px) to find out the top left pixel coordinate for the axe image you want to replace.

topaz zenith
#

ooo

#

what would i put in to use the entire sheet? i kinda wanna make an entire sprite sheet

vernal crest
#

If you want to retexture the entirety of tools.png then you wouldn't need a "ToArea" or "FromArea" field at all. You'd just have "Target": "TileSheets/tools" and "FromFile": "godpristinetools.png" (or whatever you called it).

rigid oriole
latent mauve
#

Nexus why?! It added an extra dot to my version number (1..3.0 instead of 1.3.0) and I have no idea if it'll actually update it on the file page eventually or if I need to reupload it again now. -_-

topaz zenith
#

i mixed up the two lol

#

i might just make an entire sheet of retextures

latent mauve
#

So for anyone else curious now that I've fought with it: Nexus will not update the version number on a saved file unless you also change something in the description. So that's fun.

topaz zenith
#

im gonna make each set of tools a diff theme

velvet narwhal
# ivory plume Thanks for reporting them! I'm looking into these, which is uncovering fun edge ...

One 🤏 last thing
I can't recall specifically when ichor brought it up, but were local tokens and dynamic tokens exclusive from each other? If not: [Content Patcher] Ignored Voidsent > CHAOS BEGIN > Data/NPCData/BaseNPCs.json > Excalibur: error reading info. Technical details: System.InvalidOperationException: Can't get values from a non-ready token string (raw value: {{ExAlts}}). at ContentPatcher.Framework.InternalExtensions.SplitValuesUnique(ITokenString tokenStr, Func`2 normalize) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\InternalExtensions.cs:line 74 at ContentPatcher.Framework.LocalContext.SetLocalValue(String name, ITokenString value, Boolean ready) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\LocalContext.cs:line 116 at ContentPatcher.Framework.PatchLoader.LoadPatch(RawContentPack rawContentPack, PatchConfig entry, LocalContext validatorPatchContext, TokenParser tokenParser, InvariantDictionary`1 inheritLocalTokens, Int32[] indexPath, LogPathBuilder path, Patch parentPatch, Action`1 logSkip) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchLoader.cs:line 486.

I will double check this one later but I have a dynamic token with 9 different values and I made sure one is always valid.
I'm unfortunately on my phone right now so I can only link my git https://github.com/Aviroen/Voidsent/blob/4216d938d4592e571793cc984201105b02ee4710/[CP] Voidsent/content.json#L49

old edge
#

Here's what the museum looks like with all the patches I've found for museum expansions. Along with my own miniscule patches. I had to edit the patch in Make Gunther Real content pack due to it glitching but now it looks like this.

velvet narwhal
#

Beeg

old edge
rotund elm
#

Hey Abagaianye! Quick question, if I am using the beach map as the base map and want to include another tilesheet from a separate map, but don't want to have to reanimate and give all the tile properties to each tile, how did I export the tilesheet from the map I am not using to import it with all that info?

#

I remembered we discussed it briefly but I think I keep missing it in our DM

topaz zenith
#

suffering casually

rotund elm
#

Oh no

#

WHyyyy

topaz zenith
#

im making a tool retexture sheet

#

im hyped to finish the iridium retexture to do a diff one

rotund elm
rotund elm
vernal crest
topaz zenith
#

oke

rotund elm
#

I just know you always be watching SDVpuffereyes jk I checked if you were online XD

#

Thank you ❤️ for the snappy reply

rotund elm
vernal crest
#

Goat stop pinging her

rotund elm
#

Oh my bad X|||

#

I am such a ditz I swear

topaz zenith
#

oke

vernal crest
#

Sorry for blunt am tryingf to eat melty ice cream

rotund elm
#

Sorry Susan!!!!

topaz zenith
#

wooo..

rotund elm
#

You're good thanks for pointing that out who knows how long before I would haverealized

vernal crest
#

one hand tyuping

rotund elm
#

THOSE ARE AMAZING

vernal crest
#

Had to eat quickly because I am overdue to start fasting before my ultrasound

rotund elm
#

I hope everything goes well!

topaz zenith
#

the other tool sets will be a cuter color palkette

rotund elm
#

I can't wait for this to be released I will be adding it to my modlist ASAP

topaz zenith
#

WOOO

rotund elm
#

These emojis crack me up lol

topaz zenith
#

I FINISHED THE TRASHCAN, PAN, FISHING ROD, ANDTHE HOE

rotund elm
#

GET ITTTTTT

topaz zenith
#

update: iridium watering can done!

#

update: axe done

#

THE IRIDIUM SETS DONEEE

light bramble
topaz zenith
#

i finished retexturing the iridium

rigid oriole
topaz zenith
#

maaan..

#

i might just make only two sets

pine ermine
#

Is there a mod that tells you the best place to fish to maximize profit?

hard fern
pine ermine
#

If no one has done it, I will make sure it exists

topaz zenith
#

YES IM ALMOST DSONE THE GOLD TOOLS..'

#

i need to finish the pan and the hoe

oblique meadow
hard fern
#

it's because you're orange 😔

topaz zenith
#

what kind of mods count towards cheeto?

hard fern
#

you just gotta make a mod

#

there's 3 roles, pixelsmith, contentsmith, and blacksmith

#

for mods involving original artwork, original content, and original C# (?) respectively

topaz zenith
#

ah

#

im retexturing tools rn :D

hard fern
#

one of these days i'll get blacksmith

topaz zenith
#

hh...its so much easier coding wise for me to recolor all of them

#

does anybody have scripting to use retextures instead of vanilla

gentle rose
#

I’m only a blacksmith rn but I think thanks to boncher I technically qualify for contentsmith SBVLmaoDog it feels like a bit of a pisstake though so I’ll wait

teal bridge
# pine ermine If no one has done it, I will make sure it exists

Someone spent a lot of time in #programmers-off-topic working on and discussing an offline tool to do that, I'd try to find the exact post but Discord search is utter garbage. Try skimming back through the history a month or two (or three). Lots of challenges, mainly it's very difficult to do in polynomial time due to the game's bizarre use of randomness in fishing distributions.

Personally I don't see much value in it, since minmaxers don't play with a ton of content addons and the most profitable vanilla fishing strategies can be condensed down to a couple of paragraphs on a wiki page. But I guess if you really want some dynamic calculation that'll work for mods, then no, I don't think the "mod version" was ever done, only some python code to do it offline.

topaz zenith
hard fern
#

im not gonna scroll up all the way for that

topaz zenith
#

shrugs

gentle rose
#

nothing good comes from blindly editing existing files

blissful saddle
#

if you are only replacing vanilla textures, you can just make a CP

gentle rose
#

the documentation is very comprehensive and the wiki has lots of examples though so it should be plenty to go off of!

topaz zenith
#

oh yeah i got more of the npc references. (yippee!)

#

i can almost make her sprites

gentle rose
#

I wouldn’t replace all of tools.png if you’re only changing iridium, it will make your mod incompatible with other tool retextures

vernal crest
topaz zenith
#

rn i only have two sets which might(?) be trickier specificlaly

blissful saddle
#

so you are making a complete tool retexture overall

hard fern
#

two sets of what?

topaz zenith
#

tools

topaz zenith
blissful saddle
#

two sets of retextured tools

hard fern
#

🤔? so like two different pngs

topaz zenith
#

i have two(?) more left to do

latent mauve
#

I'd also recommend that you use FromArea and ToArea to specifically target regions of the sheet (because you can choose to leave parts off, or add in config options to selectively change specific tools later)

blissful saddle
#

well. if you really intend to make a complete overall, yeah, your cp may work, with a manifest.json as well as mentioned above

topaz zenith
#

i have to do copper and iron(?)

hard fern
#

(if you want)

vernal crest
#

Right now we are just focusing on her getting any working mod before starting to make things more complex.

latent mauve
#

fair enough!

topaz zenith
#

nm i have three.

#

i have three sets to do.

blissful saddle
#

it will make the game simply ignore the original file and use yours instead. but be aware that if you have another mod that replace tools textures as well, they may go after yours too

topaz zenith
#

i dont think i use other retextures rn

#

i would be happy to finish the rest if i can think of a color palette to work with

blissful saddle
#

if you decide to release your mod and make it compatible with other mods that also change textures, going for more detailed editimage procedures may be needed

topaz zenith
#

its not rlly gopnna be compatible

#

more of a "i did a test you can use it" type thing

hard fern
#

i mean i just go in with the Hue shifting and pick whatever looks good

topaz zenith
#

i am not gatekeeping smthng im not happy with LOL

vernal crest
#

Yeah I'd recommend not aiming to release this

#

It's just for helping you figure out how to understand CP

topaz zenith
#

if i do then woowie

blissful saddle
#

what we are trying to point you is that most of retexture mods that just do one or two sets of something use FromArea>ToArea and Replace Patch things to make them compatible to other mods that retexture another sets of other things on the same file. that's all

topaz zenith
#

i might release it purely for the sake of like seeing if it works for other people

blissful saddle
#

for now you can do like that as a personal mod

topaz zenith
#

if i open it in gimp

#

where would i have to specify

blissful saddle
#

if you open what on gimp? you don't specify it in the images you are uploading

#

you add fields on the content.json

topaz zenith
#

oh

#

how does one export stuff from notepad+

blissful saddle
drowsy pewter
#

Aba's been helping a lot already and im pretty sure has got this

vernal crest
topaz zenith
#

the edits to the script

vernal crest
#

You don't need to export those, just save your file as "content.json" inside your mod folder (make a mod folder first)

topaz zenith
#

how does one do that

vernal crest
#

Which part? Make a mod folder? Go to your existing Mods folder and...make a folder. I don't know what OS you're using.

topaz zenith
#

ill zip it after :D

vernal crest
#

That has zero relevance right now

#

You are very far away from zipping being useful for you

topaz zenith
#

i am opening stardew to see if it worked

vernal crest
#

How can it have worked if you haven't made a mod folder yet? Have you made your manifest.json?

topaz zenith
#

..oh

blissful saddle
#

you need a structure, like a folder into your mods folder with your mod name and a content.json, a manifest.json and your .png inside it

topaz zenith
#

can i ask how to make a manifest

crimson bison
#

Hello, I'm looking to get crucified and hated quickly.
I used chatGPT to update the "build endurance" mod: asdadasd
not looking for credit of course, but, it does run, and seems to function fine, but like, how garbage is it?
Personal skill level is "hmm yes, I know some of these words"

#

ohgodthumbnails

blissful saddle
#

something like Mods>MyFirstMod> with all three inside MyFirstMod

drowsy pewter
#

You are not allowed to share links to mods with substantial AI generated content (as per one of the pinned messages)

hard fern
#

SDVpufferwaaah chat gpt is your first problem

topaz zenith
#

okay

naive wyvern
blissful saddle
#

I am surprised it ran at all

crimson bison
#

thats fair, thank you and apologies there, imagine me being smart enough to read (sorry!)

#

I am too, I tweaked it a bit while giving it the SMAPI "how to make a mod" page and the 1.6 changed effects

topaz zenith
#

smapi load faster tism

drowsy pewter
#

Yeah its fine, just saving you from the "crucified quickly" part. The channel rules around AI-gen are in the pins somewhere if you want to review, but yeah people here dont like to help with chatgpt code at all

crimson bison
#

Well, i'll adjust my question.
It's creating a max stamina buff upon waking up, and removing it when sleeping -> updating calculations -> rinse and repeat.
Generic phrase of "we'd have to see" but is that known to cause issues trying to re-apply buffs daily?

topaz zenith
#

i think smthng deff happened cuz my game was running with 1 less mod before. yaay

hard fern
topaz zenith
#

Idk if it’s what I was wanting but atleast smthng happened!

blissful saddle
gentle rose
#

if you don’t have a manifest, your mod won’t be loaded. If something new is loading, it’s not your mod.

topaz zenith
#

that’ll be a later Susan issue then. Mighta moved the wrong folder

hard fern
#

im still debating opening tiled again and making a map for my npc SDVpufferchickcry i dont need more maps!

topaz zenith
#

yeah i moved a random foldere

hard fern
#

see, but i dont even need a map.

blissful saddle
gentle rose
hard fern
blissful saddle
#

I have a mod with a c# core and a CP, and now everytime I generate a new version, I have to change the version number in three places.

I know there is a way to make it so I just need to change it in one of them, but my dumb ass can't find directions... SDVpufferchickcry

gentle rose
#

is there a way where you only change one of them? I thought since they’re technically separate mods you have to change both

calm nebula
#

<PackageReference Include="Leclair.Stardew.ModManifestBuilder" Version="2.1.0" />

gentle rose
topaz zenith
#

I made a manifest

gentle rose
topaz zenith
#

Yeah I might have been the content into a folder inside it tho so should I move it just into the main one

blissful saddle
#

sorry for the ping

calm nebula
#

Weird

#

I use that package and update one location only

gentle rose
#

if your png isn’t inside your main folder, you may have to change your FromFile to match

vernal crest
topaz zenith
#

Should the file stay a png?

blissful saddle
# calm nebula Weird

wait, now I saw it... sorry...

So I can just add that into my project file and alter the version there? and use $version in all the other three?

blissful saddle
calm nebula
#

It updates the version of both I think

topaz zenith
#

Confused sobs cuz I have a manifest and eveything I need so idk what’s up

vernal crest
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.

topaz zenith
#

I don’t think small even recognized it cuz it wasn’t there at all

#

Smapi *

blissful saddle
topaz zenith
#

Hmm

#

Lemme check again

gentle rose
#

can you send us your manifest, susan? and a screenshot of what’s in your mod folder

topaz zenith
#

I may have made a spelling error

topaz zenith
#

Ok smapi thank you for telling me the issue yesyes

#

(Proceeds to close smapi meaning I have to reopen it.)

#

HELP I HAVE TWO DECIDES OOEB ON DISCORD

gentle rose
#

you’re using a c# mod’s manifest rather than a cp manifest

#

the wiki’s modding section has an example manifest for content packs

topaz zenith
#

ty

#

!modding

#

.

gentle rose
#

I don’t think that’s a command. What are you trying to do?

topaz zenith
#

Trying to get the bot to give me the wiki again lol

gentle rose
#

[[Modding]]

gentle rose
#

but I think the general rule of thumb is if you’re pulling something up for your own use, it’s best if it goes in #governors-mansion with the other bot “spam”

topaz zenith
#

Smapi better listen this time lol

blissful saddle
#

the commands has changed seems like

topaz zenith
#

I was taking a peak at other mod manifests simmilar to see if maybe I did smthng wrong, and then his time it should be fine(?)

gentle rose
#

to pull up a wiki page, it’s always [[page name]] (aka, wiki link syntax)

#

I don’t think it works on pages inside the modding namespace though unfortunately

frigid hollow
#

[[Modding:Console_commands]]

gentle rose
#

I stand corrected SBVLmaoDog

topaz zenith
#

Hmm

frigid hollow
#

anything after the slash will count and will function if typed correctly SDVpufferthumbsup so you can even link to specific sections

vernal crest
#

I can never remember the URLS exactly enough to get them through the farm computer

topaz zenith
#

Smapi be telling all the wisdom

#

its literally telling me the issue and i fixy it lol

blissful saddle
topaz zenith
#

fingers crossed

blissful saddle
#

the fact that took me several minutes to find this manifest page is somewhat concerning

vernal crest
#

Some of the pages are really hard to find, I think

blissful saddle
#

couldn't find any other reference to manifests anywhere else also

blissful saddle
blissful saddle
#

[[Modding:Modder_Guide/APIs/Manifest]]

tough crater
#

Somehow my map patching broke for my main NPC? I'm sifting through the code right now and I think I know what's going on, but it's most likely gonna take a while 😅

blissful saddle
#

it basically takes the string inside [[]] and paste it in the end of https://stardewvalleywiki.com/

blissful saddle
topaz zenith
#

uhh

#

my error this time is rlly long

hard fern
#

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

vernal crest
topaz zenith
#

idk if the entire log is nessasary for jsut this one issue

drowsy pewter
#

It is.

vernal crest
#

It is

hard fern
#

it is x3

brittle ledge
#

@royal stump hi Esca, related to you mentioning FTM can spawn bigcraftables, how exactly is that done? Based on your docs I'm thinking that it's a forage spawn with the Area restricted to the specific tile coordinate for the place I want it to spawn, and that DaysTilSpawnExpire should be set to zero. I'm not sure if I should also have MinimumSpawnsPerDay set to 1 so that it's there after the mod is installed/farmer sleeps, or if that would spawn a new one on top of it every day. Is the general spawn settings and item settings all I need or do I need to dig into the forage-specific stuff or the timing (if I want it to be permanent)?

topaz zenith
#

i closed smapi but i have the text file\

blissful saddle
hard fern
#

a log is always important unless you know exactly what the issue is and how to fix it

gentle rose
blissful saddle
#

I passed through it all the times I scrolled it while looking

topaz zenith
blissful saddle
#

maybe it is just a my end issue

vernal crest
#

Ah I see. Yeah there's definitely no direct reference to a manifest in the contents table

hard fern
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.

vernal crest
hard fern
#

i can barely even read that screenshot btw

topaz zenith
#

Neither can i thats why i highlighted it

gentle rose
vernal crest
hallow prism
vernal crest
topaz zenith
#

{
"Name": "GodPristines tools",
"Author": "GodPristine",
"Version": "1.0.0",
"Description": "Retextures for gold and iridium tools",
"UniqueID": "GodPristine.tools",
"UpdateKeys": [ "N/A" ],
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher",
}

gentle rose
#

I think that page is for c# manifests? I haven’t looked at it in a bit though

topaz zenith
#

oh

blissful saddle
#

yeap´, missed a }

topaz zenith
#

where is the missing }

#

at the end?

blissful saddle
#
{
   "Name": "GodPristines tools",
   "Author": "GodPristine",
   "Version": "1.0.0",
   "Description": "Retextures for gold and iridium tools",
   "UniqueID": "GodPristine.tools",
   "UpdateKeys": [ "N/A" ],
   "ContentPackFor": {
    "UniqueID": "Pathoschild.ContentPatcher",
    }
  }
topaz zenith
#

OH

hard fern
#

at the end, this is why you use a validator or a text editor that will yell at you

blissful saddle
#

you opened it but didn't closed it

gentle rose
#

yup. If you used the json parser that was linked above, it would have told you this btw

topaz zenith
#

im using notepad+ rn

blissful saddle
# ocean sail

also try to use this to share your jsons from now on

topaz zenith
#

okay

blissful saddle
#

parsing it would usually solve it to you, and if you don't understand, you can share the link so we can have a better view of it

#

specially useful when debugging long content.jsons

gentle rose
#

I’d also make the mod ID something more specific than “tools” just in case you want to make other tool mods in the future, but that’s just personal preference

hard fern
#

XD im the type to keysmash in a temp manifest

topaz zenith
gentle rose
topaz zenith
#

unsupported 2.5 format?

blissful saddle
gentle rose
hard fern
#

what version of CP are we on

frigid hollow
#

uhh, 2.5.0 i think right now?

gentle rose
#

have you updated to cp 2.5 yesterday susan?

lament shell
#

3 am manifests I just start calling my ids smumberood.fhjfjsjfs

topaz zenith
hard fern
#

yes

topaz zenith
#

oh.

#

that might be why.

frigid hollow
#

yeah, new major feature too

hard fern
#

2.5.0 in your format will bork unless you're using the latest version of CP

blissful saddle
#

you can also use the 2.4.0 in your content.json too

#

and update it later

vernal crest
#

Poop that means I'm behind too

lucid mulch
#

You should only bump the cp format version if you want the new functionality

hard fern
#

hey ive been using 2.4.0 for everything XD

gentle rose
#

I disagree, I think using the most recent format available is usually a good thing to do

blissful saddle
#

yeap, I just realized it too SDVpufferchickcry

#

I also need to update 16 mods already since my christmas break

gentle rose
#

unless there’s a reason not to

topaz zenith
#

i upgraded it just now

blissful saddle
gentle rose
#

not that it matters in this case either way, but theoretically speaking

blissful saddle
#

it is just a lazy solution for now

gentle rose
round dock
#

still using 2.4.0 gah thonkid (for my format)

topaz zenith
#

:0

vernal crest
frigid hollow
#

i don't think it's even been 24 hours since it updated so it's not like you're falling behind SDVkrobusgiggle

gentle rose
#

2.5.0 is like a day old so I think it’s fine to be a bit behind rn SDVkrobusgiggle

lucid mulch
frigid hollow
#

what was that one mysterious version that is still somehow getting packs

#

1.23

gentle rose
frigid hollow
#

last month someone made a content patcher mod for format 1.23. somehow

gentle rose
#

and with brand new mods, when it comes to cp, it’s best to use the most recent version

lucid mulch
#

For brand new mods sure

blissful saddle
hard fern
#

i think that 1.23 is because people ask chat gpt and chat gpt has no idea what version we're on

gentle rose
frigid hollow
#

oh nice

gentle rose
#

I think lemurkat has an old tutorial on their blog with 1.23 in it

hard fern
gentle rose
#

for me, chatgpt spat out something more recent than 1.23, but I think we found it switched between a couple versions

blissful saddle
#

if anyone would generally disagree that using the most recent format available is usually a good thing to do, I would be inclined to doubt the sanity of who said it though

topaz zenith
#

the joy of fixing content patcher files by deleting the old one

lucid mulch
#

Using the most recent format, and just changing the version number aren't the same

frigid hollow
#

what CP version does miss coriel's npc creator use SDVpufferthink

blissful saddle
lucid mulch
#

The amount of issues I've seen over the years from people having an ancient content pack that barely still works and then they set it on fire by bumping the version without understanding.
And it's usually end users breaking it rather than the mod author

#

That or users wanting their mods to work again by messing around in the manifest.json

gentle rose
blissful saddle
#

well, sometimes this tinkerings works

hard fern
#

honestly there are some ancient content packs that im sure i could just. rewrite

#

but who has time for that...

#

and yeah, i see lot of mod users try and use a hammer on mods thinking "so i just need to update the number" without knowing what anything means

blissful saddle
#

most problems with rewriting ancient CPs is that we don't have permission to upload the updated version with the original assets

hard fern
#

i was just thinking for my own sake

blissful saddle
#

I usually rewrite ancient CPs that I want to use for my own personal use though

topaz zenith
#

I CAN SENSE VICTORY RAPIDLY APPROACHING >:D

blissful saddle
#

or tinker with mods assets to make my own personal CPs

hard fern
#

i had like. a pasted together content pack which was just meant to be converted xnb mods but the json is so scrambled i hate looking at it, yet it works SDVpuffersweats

blissful saddle
vernal crest
topaz zenith
blissful saddle
#

we are all rooting for you, Susan

topaz zenith
#

if it works ill do oc specific personal toolsets for myself

blissful saddle
#

if it doesn't, we will keep tinkering with it until it do

#

you got too far to give up now

topaz zenith
#

is it capital sensitive for image files?

blissful saddle
#

yet on doing personal CPs, I will yet tinker with Seasonal Rasmodia for SVE to make a vanilla version for me just because

#

unless I migrate to SVE before I have the time

hard fern
#

your image files needs to match whatever it is in the json

#

and vice versa

topaz zenith
#

which it does so im troubleshooting that myself

gentle rose
#

capitals included

topaz zenith
#

it does count it as a mod tho so theres that!

#

smapi please 🙏

#

dont do this to me smapi D:

#

oh my gopd

#

OH MTY GOD

#

IOT WORKS

#

IT WORKED

hard fern
#

nice

#

995 slingshots XD

#

or are those thre stones

blissful saddle
#

🎆

topaz zenith
#

IT WORKED IT WORKED

blissful saddle
#

those are the amount of stones

#

or ammo

hard fern
#

ah, i dont use slingshots, ever XD

topaz zenith
#

im gonna keep working on the scyth

#

uhh

#

where is the scyth in the tool sprite sheet

warm imp
#

scythe is in weapons

gentle rose
#

there’s a chance it’s in a different sprite sheet

hard fern
#

weapons

topaz zenith
#

ill leave the scythe alone then

#

i promised soembody id let them use the tools dawg_sweats

blissful saddle
#

prometheus and Forsy are right, they are in weapons

topaz zenith
#

imma just put it on nexus so they can use it

warm imp
#

how exactly do you rearrange the crafting recipes? Moveentries action just tells me that data/craftingrecipes isn't an ordered list, but, as far as i can tell, the order in there is how the crafting menu orders them

hard fern
#

why are you looking to rearrange them? 🤔

warm imp
#

adding a new one and i want it next to existing similar machines

#

specifically: a machine that creates a tackle each day, same way the worm bins work, and i'd like it next to the worm bin recipes

gentle rose
topaz zenith
#

Yep! :D

#

its on there

#

YES IT IS NEXUS

hard fern
#

no it's not XD

#

nexus takes a while

#

and sometimes can be weird with showing "not available" when it is

drowsy pewter