#making-mods-general

1 messages · Page 82 of 1

teal bridge
#

You definitely cannot get them from seed maker.

sweet sphinx
#

oh

brittle pasture
#

for a real world analogy, saffron is the most expensive crop in the world, why aren't more people growing them

teal bridge
whole raptor
#

I think it might have SDVpufferthinkblob I just remember that when I was trying to move on from CFD for RomRas after 1.6 dropped there was still something that was keeping me there, but can't remember exactly what

latent mauve
#

I'm pretty sure I've gotten them from seed makers before.

#

in 1.6 even

velvet narwhal
brittle pasture
#

yeah you can seed maker sweet gem berry. there's almost no reason to though unless you're doing a challenge 'fill every space with sweet gem berry' run

latent mauve
#

It's just not a great option for money-making, because you can't process it into an Artisan good and it doesn't benefit from the related professions for crop price bonuses (I think), since it's not technically a Fruit or Vegetable.

sweet sphinx
#

I s2g I'm gonna make a mod where every food is edible

teal bridge
#

Since you can't use RNG manipulation to get those seeds from the seed maker, though (i.e. compared to Ancient Seeds), it would be wildly inefficient to do it that way, even once you get the greenhouse. Even with the best ferts, it still takes weeks to grow and at best you get 2 seeds for 1 crop. Covering even the whole greenhouse with that would take years of in-game play, not worth it at all.

uncut viper
#

if anything theres reason not to bc isnt the seed maker not even guaranteed to give you a seed

brittle pasture
#

hence challenge run

latent mauve
#

There's a remixed bundle that requires Sweet Gem Berry, though, so there's that.

teal bridge
#

It'd be kind of a boring challenge run tbh... lots of sleeping.

sweet sphinx
#

watering?

acoustic summit
teal bridge
#

Obviously you would use sprinklers, there wouldn't be watering. If you can afford rare seeds, you can afford sprinklers.

latent mauve
#

(Sweet Gem Berry Pie would be an interesting recipe to add in, specifically tied to the Special Order board maybe...)

sweet sphinx
#

have the bear make the special order

teal bridge
fathom hound
#

I considered having the sweet gem berry as a recipe for vanilla cooking recipes but decided against it due to how long it would take for a single ingredient

sweet sphinx
#

does getting the berry kill the plant, or is it like greenbeans?

teal bridge
#

It's a personal choice but the more interesting challenges to me are the ones that require maximizing in-game time as opposed to real-world "speedrun" time.

fathom hound
brittle pasture
#

though actually pretty sure the reddit post author was cheating

sweet sphinx
#

wtf is an apricot?? why is it not edible-... oh i'm on the sappling entry

acoustic summit
sweet sphinx
#

also, why are all the fruits 15 edibility? you'd think they'd be more with how much nutrients are in them

rancid temple
#

Probably because of how easy it is to get a bunch of them

#

Would cause balance issues with cooked food

sweet sphinx
#

... ah

rancid temple
#

What little precarious balance there even is

sweet sphinx
#

pineapples have 55 edibility

#

what is this nonsense

brittle pasture
#

though imo it's only an issue in the early game where you need all the energy you can get

rancid temple
#

Gotta get to Ginger Island before you can get those

brave fable
#

pineapples are very lategame. you seem to forget this is a game lol

#

the numbers don't have to make sense.

sweet sphinx
#

they make sense in the game

rancid temple
#

All numbers are made up

brittle pasture
#

even after summer year 1 I usually don't have to worry about energy
and yeah it's a game, don't think too hard about it SDVpufferrad

tender bloom
#

Personally I think the pineapples eating me back is why they are extra edible

brittle pasture
#

it's your mod, use whatever works best for you

rancid temple
#

If you really don't like it, you can always change it

sweet sphinx
#

of course

rancid temple
#

Most of my CP mods are just to tweak things I don't like lmao

sweet sphinx
#

I'm just refrencing this stuff for my gold-plated mod, where price & edibility gets increased by 10

#

-300 will get treated as 0 for the sake of my mod

brave fable
#

-300 is can't be eaten, and 0 is edible but nothing happens

#

(fairly sure)

rancid temple
#

Kind of risky, since things are usually -300 for a reason

#

I wonder if that would screw up seeds

brittle pasture
#

huh that's a scenario I haven't considered. though eating is right click and use is left click

rancid temple
#

Oh that's true

brittle pasture
#

I think that should be fine but dont quote me on that SDVpufferrad

rancid temple
#

I definitely play this game more by letting the parts of my brain that automatically do shit handle controls lmao

zenith robin
#

That might break when using the special ability of weapons. I am not sure though.

brittle pasture
#

yeah same it actually took me 5 seconds to recall which mouse button was eat, since I let the lizard brain handle that while playing

sweet sphinx
rancid temple
#

Well, those aren't food so they're probably safe lmao

#

For this case anyways

zenith robin
#

it depends on how their mod handles increasing item edibility though right?

rancid temple
#

*Would you like to eat the Galaxy Sword?*

sweet sphinx
#

I'm doing it manually

#

for modded items

#

specifically of my Gold-Plated Food mod

rancid temple
#

I would leave the -300 edibility and just increase price more to compensate, personally

clever sinew
#

I apologize for interrupting, but does anyone have a good updated tutorial on making cooking/crafting recipes for CP?

#

I am trying to look at other mods and learn that way but it's kind of just making my head spin 😅

rancid temple
#

I have a tutorial but I can't guarantee it's good

clever sinew
#

i mean, i'll take it

lucid iron
#

It's a big ol string

velvet narwhal
#

messy string

brave fable
#

ugly string

clever sinew
#

oh perfect! that's what I was looking for, thank you

velvet narwhal
#

1.7 to fix monsters/crafting/cooking/npcgifttastes, please

calm nebula
#

(Personally. I would like changes to xmlser)

sweet sphinx
bright panther
#

I cant 😭

clever sinew
brittle pasture
brittle pasture
velvet narwhal
clever sinew
#

ah okay thank goodness

brave fable
#

clickCraftingRecipe needs to be saved from the pile of transpilers

velvet narwhal
#

(hold on, i am sloshed, let me see if my git has an example of a cooking recipe)

#

it in fact, has both, rejoice

rancid temple
sweet sphinx
#

they are coated in Gold Dust(which you get 5 from milling in the mill)

rancid temple
#

But that also changes depending on how many of these gold plated items you can expect to receive

sweet sphinx
#

one per gold dust

clever sinew
rancid temple
#

What are you milling, gold ore?

sweet sphinx
#

yes

rancid temple
#

5 per ore?

sweet sphinx
#

yes

rancid temple
#

Ok so that basically doubles the value of gold ore, could math it based on how long it takes to mill but that's starting to get a little too heavy lol

sweet sphinx
#

isn't gold ore 25 price tho? each gold dust could just be 5 price?

#

tho I add on an extra 5 bc profit

#

I may be a little slow on math and numbers

rancid temple
#

Hence the doubling of the ore value SDVpuffersquee

sweet sphinx
#

yee, i see now

rancid temple
#

Yeah, balance is a tough thing to deal with in this game, because it's already pretty wonky

sweet sphinx
#

so what about mill times?

lucid iron
rancid temple
#

The price increase at 10 is probably fine, since that's not a huge increase and early on you won't want to be sacrificing gold so readily

brave fable
#

no ❤️

rancid temple
#

Mill times you could definitely try to calculate what your profit per time is for smelting gold

#

Gotta account for the coal price

lucid iron
#

isnt the mill like

rancid temple
#

And then see how the mill stacks up

lucid iron
#

capable of processing everything

#

in 1 day

rancid temple
#

Like it does an entire stack in one day or something?

lucid iron
#

yea no matter how much u put inside it's always done next day

rancid temple
#

Honestly, I never build a mill lmao

lucid iron
#

but molasses

rancid temple
#

I think I've only ever had one, never used it, and have never built one since

velvet narwhal
#

i build it because i'm making an aesthetic farm, that's it

brittle pasture
#

and chicken feed

lucid iron
#

i build the mill cus it spins around and that makes me happy

velvet narwhal
rancid temple
#

My chickens can eat grass and grass clippings and like it

lucid iron
#

well the system is all there

#

get drawing DokkanStare

calm nebula
velvet narwhal
#

if i was given buildings TO draw, i would

calm nebula
#

To make his own life easier

clever sinew
lucid iron
#

u can always make aviro's buildings

velvet narwhal
#

i don't have an aesthetic, so i'd have to figure out what i'd even want to do cause then i need to do every single part of the game

rancid temple
#

Magitek

sweet sphinx
#

Wild Horseradish, Leek, Parsnip, Green Bean, Cauliflower, Potato, Garlic, Kale, Rhubarb, Melon, Tomato, Blueberry, Hot Pepper, Radish, Red Cabbage, Starfruit, Corn, Eggplant, Artichoke, Pumpkin, Bok Choy, Yam, Cranberries, Beet, Salmonberry, Hops, Spiceberry, Grame, Spring Onion, Strawberry, Wild Plum, Hazelnut, Blackberry, Winter Root, Crystal Fruit, Snow Yam, Sweet Gem Berry, Coffee Bean, Ancient Fruit, Apple, Apricot, Orange, Peach, Pomegranate, Cherries, Ginger, Taro Root, Pineapple, Mango, Carrot, Squash, Broccoli, Powder Melon
these are the foods that can be gold plated

rancid temple
#

Just steal FF's garbo

velvet narwhal
#

stardew kugane

lucid iron
#

i think the market is currently saturated with witchy and rustic buildings

#

to counteract this we should invest in joja building stonks

velvet narwhal
#

there's already someone who made joja everything isn't there

brittle pasture
#

brutalism let's go

lucid iron
#

that new farm house is great

rancid temple
#

Magitek is just like steampunk, which is just witchy smashed together with rustic lmao

lucid iron
velvet narwhal
rancid temple
#

Neo-futurism (no I don't know what that means)

#

(I'm looking at it, I don't know what it means)

#

Goofy sci-fi is what they should have called it

brittle pasture
#

iirc it's stuff like rayguns, ufos and The Jetsons no that's retrofuturism, I can't read

velvet narwhal
#

do we have a full cyberpunk remodel?

#

cause honestly i've been contemplating a neo-tokyo style for a long time

brave fable
#

how are you going to make a cyberpunk farm and small fishing village

rancid temple
velvet narwhal
#

the grass is fake, it glitches out to reveal it's all a simulation

lucid iron
#

holograss

rancid temple
#

Grass that does the hologram fade/glitch when you walk through it sounds fucking dope

velvet narwhal
#

where's my quote

#

.6240

#

.q 6240

patent lanceBOT
#
#6240

@velvet narwhal #making-mods-art message Honestly I think you do actually have a special talent for ~~derailing ~~giving inspiration and motivation cause last time I ended up releasing a whole mod for 1000+ wallpapers after you asked one innocent question! :bongo_cat_heart: :VMVLmaoDog:

velvet narwhal
#

except i'd do it to myself, i just have to patch the grass draw

uncut viper
#

that said i absolutely think we need more brutalism mods—

sweet sphinx
#

robo cows and chickens

uncut viper
#

you're side-eying me but its genuine its my favourite architectural style

velvet narwhal
#

i trade you then, do the c# for my draw of glitchy grass movement and i'll make farmhouse brutalism

uncut viper
#

ill decline

sweet sphinx
#

XD

teal bridge
#

(Yes, I've always felt that Stardew's main issue was that it wasn't depressing enough.)

brave fable
#

if you could mod the game so we just live in the concrete cubicle from the intro forever and ever i think we can call it quits

#

go be brutalist in The Cube

velvet narwhal
#

isn't that already a mod

#

i vaguely recall something called "Never Left The Office" unless that was a hallucination

jagged cairn
#

you'll have to pry my gigantic bare concrete structures from my cold dead hands

uncut viper
#

well at least i know now to keep my brutalist aesthetic mods to myself i i ever make em i suppose

velvet narwhal
#

it's probably popular, but i am also not a fan of brutalism SMCKekLmaoDog

teal bridge
#

People like to look at beautiful things. Total madness, amirite?

brittle pasture
#

hey I think brutalism is neat as well
then again I uh grew up in a country that was taught architecture in the cold war by russians

zenith robin
#

I have to admit, brutalism looks nice, but from an engineering standpoint I never want to work on something like that.

brave fable
#

in this cube we don't mention things like detail, craft, and colour 😌

#

texture and warmth begone

teal bridge
#

Comrade, we should all give up our cathedrals and castles and live in cold concrete boxes.

#

Or at least, you should.

rancid temple
#

After looking up brutalist architecture, I feel like I'm looking at Halo levels

#

Some of these are genuinely cool, but the flat, tall apartment buildings I could live without

velvet narwhal
#

the geisel library made my husband go, "i ain't working on something like that"

brave fable
#

you guys must really love looking at this grey square discord window in your free time

zenith robin
#

I don't blame him I don't want to work on something like that either.

teal bridge
#

I use a non-grey theme, actually.

calm nebula
rancid temple
#

This looks like I'm gonna get jumped by a Dark Souls boss here

teal bridge
#

At least it's got a brick pathway; usually it would be dirt or more concrete.

brave fable
#

what're the green things on the concrete?

rancid temple
#

Probably weeds someone forgot to pull

teal bridge
#

Yeah, they really don't look like ornamentals to me.

#

The haphazard, untrimmed nature suggests abandonment... as rokugin said, very much warning of an incoming boss fight.

velvet narwhal
#

great inspiration for my expansion though, but not for the right reasons

brittle pasture
#

actually those are free healing items
nom nom nom

rancid temple
#

This is way cooler than the flat apartment buildings, so impractical

velvet narwhal
#

as someone who is afraid of heights, i hate that

rancid temple
#

Looks like a freakin' parkour course lmao

teal bridge
#

Imagine it being hit by a hurricane or even like, a stiff breeze.

rancid temple
#

TBF, most things struggle with a hurricane lmao

zenith robin
#

I am pretty sure that the building codes would prohibit a building like that somewhere where hurricanes are not a rarity. Too much risk of damage to nearby structures.

teal bridge
#

Most permanent structures should be able to resist a low-category hurricane, earthquake, tornado, etc. Of course if it's extreme enough to uproot giant redwoods then your home ain't gonna survive either.

tiny zealot
teal bridge
#

Skyscrapers have to deal with insane amounts of wind shear just to stand up on a clear day.

rancid temple
teal bridge
#

What amuses me the most about that photo are the apparent door-sized openings that lead to precipitous drops. Don't go out the back door!

sweet sphinx
#

I think we should build our homes into the ground

rancid temple
#

Where I live, that's insanely expensive, it's like all clay here

#

And basements leak like hell

acoustic stag
#

those look like windows to me but admittedly i am not an expert in worlds most inefficient minecraft house building so it could be doors

#

also building homes into the ground is a great idea until there is a Bug in which case. no

rancid temple
#

Actually, maybe that's why I like brutalist, it looks like something I could actually make in MC

acoustic stag
#

yeah thats so valid actually

rancid temple
#

Welcome to my new house build, it's a rectangle with no roof

acoustic stag
#

thats every minecraft house ive ever built tbf

#

roof calculations are the devil

sweet sphinx
#

even in outter space, Bug will find you

deep cypress
#

“Fixed your spouse sometimes saying "..." instead of the intended neutral dialogue’”

I LOVE U FOREVER PATHOS AND CA AND EVERYONE ELSE WHO DID THIS!!!!

@wanton pebble remember when we worked on this for hours?

wanton pebble
#

Yep.

mortal stag
#

hey mate, if you did that I would certainly use it and hopefully be able to expand it to the rest, I have not much time for modding these days as you may have seen I have put out 0 new mods in recent months, so that may be the only way I could get it done any time soon

#

also who pinged in this chat lol?

wanton pebble
#

that'd be Pathos!

#

here

#

(Also same re: not putting out any new mods - but I am currently on top of making any immediate fixes needed! So I can quickly go code Abigail's for you)

sweet sphinx
#

can you have edibility lower than -300? like -400 or smth?

tiny zealot
#

probably technically, but -300 is a special value that means "inedible"

sweet sphinx
#

ah

#

so I can do -400 health on a food

tiny zealot
#

you can try it. i don't know what it will do

lucid iron
#

would you die

sweet sphinx
#

probably

#

isn't max health like 200 or smth?

tiny zealot
#

150 or so, i forget

wanton pebble
# mortal stag hey mate, if you did that I would certainly use it and hopefully be able to expa...
   {
   "Action": "EditData",
            "Target": "Data/Characters",
            "Fields": {
                "Abigail": {
                    "WinterStarGifts": [ 
                      {
                        "Id": "(O)766",
                        "ItemId": "(O)766",
                        "MinStack": 100,
                        "MaxStack": 100
                      },
                    ],
                },
                ...
            },
            },

That's your original (removing the rest of the characters as it's character-by-character edit this way). In new code, it would be

{
            "LogName": "Abigail Winter Star Gift Data",
            "Action": "EditData",
            "Target": "Data/Characters",
            "TargetField": [ "Abigail", "WinterStarGifts" ],
            "Entries": {
                "{{ModId}}.Slime": {
                    "Id": "{{ModId}}.Slime",
                    "ItemId": "(O)766",
                    "MinStack": 100,
                    "MaxStack": 100
                },
            },
        },
#

You could also use the ID as you did (i.e. matching ItemID exactly) but I find it's easier to have a descriptive entry

rancid temple
#

I think negative edibility only reduces energy

#

Trying to figure out if I have a mod that patches that lmao

#

But I don't think I do

calm nebula
#

someone should make a desert plant mod

#

some of these are fascinating

mortal stag
velvet narwhal
#

makes cactus juice

rancid temple
#

-400 edibility reduces stamina by 1000, so no staying awake there lmao

mortal stag
#

Fixed Queen of Sauce reruns being affected by the recipes needed by unclaimed farmhands in empty cabins.

Thank god

sweet sphinx
velvet narwhal
#

i would definitely do the wavy screen effect in c# and just be like, "toggle off for vertigo sufferers"

sweet sphinx
#

yee

rancid temple
#

Ah, that's what I was looking for, my brain got tired and I decided to just test it lmao

tiny zealot
velvet narwhal
#

i'm surprised there isn't already a mod that creates that as a debuff, the screen wobble effect, i know spacecore has the screenshake for events

tiny zealot
#

it would be pretty easy to implement as a shader. i think khloe's weather mod has a heat ripple effect (via shader) which is quite similar

brave fable
#

screenshake is as simple as moving the camera, there's base game methods for that. wobble is harder and doesn't already exist

velvet narwhal
#

i know what i must do, i must cause vsync tearing but in game

tiny zealot
#

it would be much harder to do without a shader. you'd have to (transpile-)patch a ton of locations in the code, i think

velvet narwhal
#

SDVpufferthinkblob xna distortion?

jagged cairn
velvet narwhal
#

i like my dramatic events, what can i say, i'd definitely dig my heels in to see if i can implement it in event code

lucid iron
#

ok i am done feature creeping myself

teal bridge
#

Meanwhile I've still got half a dozen full pages of documentation to write... on features that were completed weeks ago. Why must they take 10 times as long as the actual thing being documented?

#

Congratulations though, must feel good to be done.

lucid iron
#

i think i should probably improve the API docs and maybe think of how the C# mod api should look like

#

but i'll do that after getting this out the door

old edge
#

hmm why is there a 1.6.9 coming out?

lucid iron
old edge
#

and wow they already have another modpocalypse coming

lucid iron
#

we knew about 1.6.9 for a while

old edge
#

im here a lot but I had asked if it was mod breaking but no answer.

#

so just assumed it was not

lucid iron
#

as for modpocalypse, there's a few C# things you need to fix

#

mainly lights and quests, the migration page describes it in detail but fastest way is to just build your current mods against 1.6.9

uncut viper
#

Is this the modapocalypse?
No. The vast majority of mods should be unaffected by the changes in 1.6.9, and SMAPI will automatically rewrite most mods that are.

old edge
#

updating mods really be incredibly difficult

lucid iron
#

naw all my transpilers survived you'll be fine PecoSmile

old edge
#

oh I was already building my bunker

sweet sphinx
#

question, I know this server doesn't allow nsfw(completely fair), does that count Greek statues and such? /gen

jagged cairn
#

Probably a question for @outer glacier

sweet sphinx
#

how do I use the bot? just dm or smth?

jagged cairn
#

yeah

#

They'll reply through the bot too

sweet sphinx
#

mk, thanks

sweet sphinx
#

is the top floor of the (normal) mine the only one that doesn't change/keeps items/objects there? could I possibly mod smth(like a shop spot) into one of the treasure/fishing floors?

lucid iron
#

you cannot without C# and even then it's painful

sweet sphinx
#

...dang

#

the mountain/train area?

jagged cairn
#

The trinket mod posted above adds a vendor to the mine entrance

#

Probably the only easier place to put them

#

Other than outside the mines

dusty scarab
#

no computer for a week
over a thousand posts in this channel alone

I will never catch up to what I missed XD

sweet sphinx
#

oof

#

TDLR of my stuff: I made alt versians of some animals, and am making gold-plated food

lucid iron
#

tbh u can just give your stuff to dwarf vendor

sweet sphinx
#

I mean, yeaaah, but would that dwarf make stone/marble statues & other decorations specifically?

lucid iron
#

i only bothered with a new vendor cus of contest LilyDerp

#

its your mod and your lore do what feels right akaShrug

sweet sphinx
#

tbh he seems more like the in the mines with bombs kinda dwarf than a making beautiful stone sculptures kinda dwarf

zenith robin
#

Is there a way that I can make a building have a shadow that functions like the sign's shadow does? (Being that it is under the structure and only darkens the texture below instead of going over it.)

sweet sphinx
#

add the shadow to the sprite?

zenith robin
#

I would, but that just overrites the texture below it. I would want the shadow to change depending if it is on grass or dirt.

brave fable
#

building data entries have a "DrawShadow": true field you can set if you bake your own shadow into the sprite

#

you'd set yours to false, of course

sweet sphinx
#

sprites can use transparency

#

like, make a slightly transparent shadow

brave fable
#

are you saving as PNG with transparency? some common formats don't support alpha (jpg, gif, ..)

zenith robin
#

I completly forgot that sprites could use transparency.

#

That should work. ty

sweet sphinx
#

np

teal bridge
lucid iron
#

i will attempt to fix the bug i noticed previously DokkanStare

teal bridge
#

You mean the grid one, #20?

lucid iron
#

yea that one, and these 2

  • splitscreen p2 focus search is very borked rn, suspect i just need to detect split screen and half viewport width before measure
  • full screen overlay do not take clicks - machine mod released with a local workaround for this but ill do the bounds caching thing
#

is it fine if i put all 3 things in 1 PR

teal bridge
#

It's better to have them separate, but if they're all 1-line changes or something very small then it's OK if they're together.

lucid iron
#

ok 3 PR then, i'll open issue for these other 2 as well

teal bridge
#

Full-screen overlays take clicks - are you talking about the thing where scroll bars were considered out of bounds?

lucid iron
#

yea, and floatingelements

teal bridge
#

(which scroll bars are)

#

Yes I remember, just confirming it was the same one.

lucid iron
#

actually hm, im not really sure what is up with the split screen thing

#

it was draw menu correctly, so measure is fine

teal bridge
#

First I've heard of it.

lucid iron
#

just basically impossible to navigate with controller

#

i'll try to reproduce now and send details in thread

teal bridge
#

Maybe some state needs to be per screen? Although activeClickableMenu should already be.

sweet sphinx
#

I'll say, one thing that I miss from MC modding, is making the little icons for the mod to use in-game, sure there's GMCM, but it doesn't show pics

old edge
#

Finally finished my first farm map

#

It took approximately 3 weeks

fathom hound
#

Congrats!!!

#

Weird question, is it possible to have crops grow only at night with CP? For example, I’ll have a crop ready to harvest on this day, but it will be ready at 7 pm.

drowsy pewter
#

no it is not

fathom hound
#

Thank you!

uncut viper
#

SpaceCore has a TimeChanged trigger and Cloudy Skies has a GrowCrops action

next plaza
uncut viper
#

you could probably do something with those

brave fable
#

yeah you can do crazy things in gmcm menu pages with images and scene builds. i went ham on advanced draw for love of cooking

fathom hound
#

Doesn’t look too hard to follow on the GitHub

uncut viper
#

ive never used it either, but according to the documentation you can grow crops, optionally using a GSQ to filter which ones are affected, in different locations (All/Here/Outdoors/radius around the player/specific rectangle/etc)

fathom hound
#

That’s very cool. I’d like to make night-time only crops

lucid iron
#

boo-pumpkin

uncut viper
#

im thinking you could maybe set the growth time of your crop to be double what you actually want it to be. it'll grow once every night you sleep by default, but then you can grow it a second time at 7pm, making it effectively half the growth time (and thus what you actually want it to be)

#

the reason i think you need to double it is in case you go to bed before 7pm, i think

#

you'd probably want to set a mail flag at 7pm saying "the player got to 7pm today" and if the player doesnt have that mail flag the following morning, grow the crops again in a daystarted trigger action

#

(and if they do have the mail flag, dont do that, just remove the mail flag so that it can be reset for this new day)

fathom hound
#

Thanks Button - I’ll definitely try this

uncut viper
#

(if you set it to the normal growth time then the problem there is that theres no way to prevent it from growing once more overnight if you ARE up atr 7pm, bc afaik theres no "UngrowCrops" action in Cloudy Skies or any other mod im aware of)

fathom hound
#

Ahhhhh I see what you mean

uncut viper
#

the only thing i dont know how id handle is not doing the GrowCrops action if the tile was unwatered, but... maybe thats just not too big a deal anyway bc who doesnt water their crops yknow. it'd still halve the growth speed

fathom hound
#

Hmmm true

brave fable
#

giant crops don't need their tiles watered to grow, do they? it's not unheard of

uncut viper
#

by then theyre already grown, though, so it doesnt matter

fathom hound
#

The middle one needs water if they’re fully grown but not a giant crop yet

#

So you’d still need sprinklers if you’re aiming for a giant

uncut viper
#

crops do not need to be watered at all to become giant

#

(once they are already grown)

fathom hound
#

Hmm I don’t remember that SDVconcernedCA

uncut viper
#

the top left tile is the one thats checked anyway

fathom hound
#

At the start of each day, every possible 3x3 grid of crops (including overlaps) has a 1% chance to grow into a giant crop as long as the top left crop is fully-grown and watered, and all constituent crops are of the same type.

#

Top left needs the water, not the middle, my mistake

uncut viper
#

hmm
maybe it was amod i was usin in 1.5 then cuz i definitely just abandon my fields without water after like year 3 when i just wanna get a buncha giants

#

(i have not gotten to year 3 since then...)

fathom hound
#

Lol nice

#

I knew it

uncut viper
#

though, looking at the code, i dont see where it actually checks whether the tile is watered

fathom hound
#

1.6: Giant Crops now require the top left crop of the 3x3 grid to be watered, instead of the center crop.

#

I knew I wasn’t insane SDVpufferwaaah

brave fable
#

what an oddly specific change

fathom hound
#

Right? Lol

uncut viper
#

probably just made the for loop easier

lucid iron
#

is there any way to cheat in a giant crop

uncut viper
#

do you mean without altering the chance

lucid iron
#

i just want to spawn one

#

so i can bonk it

brave fable
#

they're very satisfying to hit. big fan of the cromch noise ca got for it

uncut viper
#

the chance for a crop to grow into a giant one is seeded using the tile its on (plus other daily unchanging things) and the rng is recreated every day its checked so you'd have to manually do it i think

fathom hound
#

Is there a way to add a specific type of water/watering can and make use crops grow with that specific kind of water only?

#

Example: strange crops using only holy water

brave fable
#

is there a way? of course. does it involve disgusting amounts of weird and specific c#? of course

fathom hound
#

Gotcha

#

I need to get on that then

lucid iron
#

cant believe im waiting for crops to grow in the crop growing game

uncut viper
#

(also i did just change the chance of a giant crop to 100% and grew it without any tiles being watered)

fathom hound
#

That may possibly be a bug then LOL cause it sounds like that’s not supposed to be

brave fable
#

you can subclass tool to look and act however you like. i've got one that's a pair of fists that makes you bounce. the world is your oyster

uncut viper
#

the relevant loop is in Crop.newDay and theres just no check for watered status at all

fathom hound
#

But tbh, I think it makes more sense not needing water SDViconpumpkin so I won’t report it on forum muahahahaha

uncut viper
#

where did you even find that changelog item? its not on the version history wiki page

vague acorn
#

Hey! I think I know what’s your issue, from looking at milkable sheep’s code.

They don’t use the target fields, but set their own values to the sheep, which can override other values, especially since their priority is late

#

Also good morning everyone!

brittle pasture
#

yeah, you need to load an empty field for them

uncut viper
#

that giant crop changelog thing isnt on the official changelog post either

brittle pasture
#

I'll fix it by having EAC also load empty fields for every animal in game

#

so you can use Fields and TargetField

vague acorn
#

Perfect then!

brittle pasture
#

in the next version which needs 1.6.9

lucid iron
#

i wanted to make iridium scythe able to harvest giant crops

#

do you think that is too op think

#

maybe i need to gate it after an enchantment

fathom hound
#

I have so many ideas for Halloween mods but it all needs C# so far

fathom hound
#

Since scythes don’t have enchants

lucid iron
#

they do (in my mod)

vague acorn
#

I wonder, do we have actual names for the unused meat sprites?

rain basalt
#

SDVpufferwow junk food

brave fable
#

the unused meat sprites are only referred to by number on the wiki, and those numbers don't have entries in even the SDV1.4 object data file

vague acorn
rancid temple
ocean sailBOT
#

Log Info: SMAPI 4.1.0-beta.5 with SDV 1.6.9 'beta' build 24303 on Microsoft Windows 10 Pro, with 8 C# mods and 1 content packs.

rancid temple
#

Meant to look at this like a week ago SDVpuffersweats

vague acorn
#

should I add some more ingredients to this? steak would probably function as a base like fried eggs

dusty scarab
#

I like garlic with my steaks, but that's a personal taste thing

vague acorn
hard fern
#

huh, i just realized salt and pepper don't exist

brave fable
#

some JA mods added them as distinct ingredients, loc 2 has them as a basic seasoning item

#

otherwise you're using qi's secret sauce

rancid temple
#

I've always thought Qi seasoning being just plain salt is very funny

vague acorn
#

i actually wanted to try and add salt and pepper as seasonings XD

brave fable
#

the game doesn't actually let you add new seasonings like qi seasoning very easily, but at least loc does lol

vague acorn
#

I have the power of code and C# on my side

brave fable
#

and just like that, another transpiler was thrown into clickCraftingRecipe

vague acorn
#

The cooking skill needs xp somehow

woeful lintel
#

The discord app sucks, it tells me I got pinged but no idea how to check it, and the search tool is utterly broken...

#

So if someone pinged me, do it again

velvet narwhal
#

should be the inbox thing, but it was probably pathos

brave fable
#

yes pathos, do it again SDVdemetriums you know you wanna

woeful lintel
#

that was it, thanks

#

discord ping system really isn't built for such channels

brave fable
#

its own channels? i believe it

woeful lintel
#

yeah (I meant very active channels, but the statement still holds by itself)

#

damn, I just noticed that it's possible to attach a light to a TemporaryAnimatedSprite, I hope no ones uses FF particles in depth cuz I don't want to add this...

brave fable
#

i'm sure it's perfectly simple to add if you like. copy the paths implementation for basic lights, add optional field to your model, add to TAS constructor params, done

woeful lintel
#

I don't want to add fields... it means more documentation, examples and updating the schema... Also I still have so much stuff to do

final arch
woeful lintel
#

Uh, literally never used or even seen that before

brave fable
#

pair of cute SDVitemeggbasket

vague acorn
#

Why does it look like a Japanese shrine at the back?

brave fable
#

im not sure actually

hard fern
#

🤔

spice inlet
#

It kind of looks like a Saisen box

timid plover
#

Are there any tools to convert mods to Fashion Sense without making a billion manual edits?

tender bloom
#

There’s a converter I made for vanilla style layout of pants to FS pants

#

!converters

tender bloom
#

There’s a shirt and hats one too

fossil osprey
brave fable
#

hi @ivory plume, is it too late to ask if the three methods on StardewValley.BellsAndWhistles.Bird (Draw, Update, FlyToNewPoint) could be made virtual SDVpetcatsad

#

think of the possibilities. we could have pigeons

timid plover
finite ginkgo
brave fable
#

i have bird needs

finite ginkgo
#

No i understand, sometimes you just have needs

#

I personally have junimo needs, and that's why i'm working on junimo npcs

lucid iron
#

Birb good

finite ginkgo
#

If I dont scratch the junimo need they will not leave my brain (they've been stuck in there for over a year)

merry jacinth
#

@brave fable Hello, first of all, I'm really sorry if it's rude to mention you directly on the Discord board. Regarding the distribution of LOC Alpha 6.0 translation files, I left comments and messages on Nexus Mode and Discord, But I didn't got any reply, and I found you here, the mods board. If you check the comments I left, please reply. I'm also sorry if it sounds rather strange because I'm not good at English.

calm nebula
#

No critter hits anywhere in xmlser

#

You can create your own class perfectly fine there

finite ginkgo
sweet sphinx
vague acorn
#

what is the % of people that make sdv mods that do c# mods actually?

#

that seems like an interesting topic of discussion XD

tiny zealot
#

is it even knowable (in practical terms)

zenith robin
#

I think it really just depends on what type of mods are being made. I tend to do stuff in Content Patcher unless I need C#.

vernal crest
#

You could maybe do a really, really rough approximation by looking at the monthly stat dump of mod type breakdown (and I do mean really rough).

zenith robin
#

I mean, technically we could get an estimate by going through all the nexus mods, and getting the authors name and whether it need c# or not, but I don't think anyone has the time or want to do that.

finite ginkgo
zenith robin
#

That would be in interesting idea, especially if we went over multiple months of data.

finite ginkgo
calm nebula
hard fern
#

If I make a C# mod id count towards that statistic too 🤭

sweet sphinx
#

I wanna look into FS eventually, there's not many furry mods(tho there is the Animals and Myths Pack, which is really good), but I can't find any that add muzzles, and I'd like to make a custom 4 ear accessory

woeful lintel
#

i like clicking on a message in the search results, and discord sends me halfway there

#

such good software

sweet sphinx
#

yeah...

zenith robin
#

I mean, atleast the search result showd up.

hard fern
#

Discord is a functional messaging app 👍

woeful lintel
sweet sphinx
#

ok, so, finally got all the objects implimented, how do I add a big craftable?

brittle pasture
#

Data/BigCraftables

tender bloom
#

Mostly the same as an object but in Data/BigCrafyabkes or whatever it’s called again

brittle pasture
#

Data/BigCrabbyCakes

tender bloom
#

Selph is better at spelling than me

brittle pasture
sweet sphinx
#

where is "StardewValley.Object"?

brittle pasture
#

did you decompile the code

sweet sphinx
#

the unpacking?

brittle pasture
#

!decompile

ocean sailBOT
vernal crest
#

No, decompiling the C# the game uses

hallow prism
#

you don't need to see the code for most CP modding

#

don't care about the code part

#

you want to look at the data, and you have info about where the data is

sweet sphinx
#

so how do I make the BC make things?

brittle pasture
#

That's in Data/Machines

sweet sphinx
#

ah

brittle pasture
#

BigCraftables for the objects themselves, Machines for the rules

sweet sphinx
#

thanks

lucid iron
#

your machine is similiar to furnance i think

sweet sphinx
#

yee

#

does anyone have a blank I can copy?

#

I tried to copy from Machines, but VS just spat so many errors at me about commas T^T

vernal crest
#

Just download a mod that has a custom machine in it

brittle pasture
#

obligatory what editor are you using and whether it has a JSON validator plugin

sweet sphinx
#

I'm using Visual Studio

brittle pasture
#

It should have highlighting at least right (I don't use it personally)

sweet sphinx
#

it does, but no matter what I do, there's still errors

#

take a comma away, other error happens

#

readd the comma, tells me to remove it

brittle pasture
#

As usual if you need help feel free to post stuff at smapi.io/json
also seconding aba's suggestion of reading from a mod that adds machines. Cornucopia Artisan Machines have a bunch of examples of both adding new machines and editing vanilla ones

sweet sphinx
#

this is even more confusing

lucid iron
#

Can you tell us what the errors say

sweet sphinx
#

no errors, I'm just lost in trying to understand what any of this means/does, I'm looking at the wiki, but looking at vanilla and Cornucopia Artisan Machines, only makes this confusing

velvet narwhal
#

you're looking at the actual data/machine too right? machines run off of a lot of things at once
if you want to edit a vanilla one that requires the targetfields because you need to dig into deeper lists

but if you wanna make a brand new one i'd just find a similar machine in vanilla and see if you can get it to do what you want it to do

sweet sphinx
#

I'm basically trying to copy the furnace, but idk which one it is in the Machines.json

quaint moss
#

I'm making a personal mod targeting the Ridgeside falls shops and I can't get the syntax for editing specific entries right for the life of me. Any help?{ "Action": "EditData", "Target": "Data/Shops", "TargetField": ["RSVMysticFalls1", "Owners", "None"], "Priority": "Late + 100", "Entries": { "Items": [ { "Id": "Rafseazz.RSVCP.FriendFallsItem15", "ItemId": "(W)Rafseazz.RSVCP_The_Prankster", "Condition": "PLAYER_HAS_SEEN_EVENT Current 75160085, PLAYER_FRIENDSHIP_POINTS Current Keahi 2500, !PLAYER_HAS_MAIL Current mod.weaponbought Any", "TradeItemId": "(O)Rafseazz.RSVCP_Spiritual_Essence", "TradeItemAmount": 100 "ActionsOnPurchase": [ "AddMail Current mod.weaponbought now", ], }, ], }, },

velvet narwhal
#

selph beat me to it SDVpetcatangy

sweet sphinx
#

thanks

velvet narwhal
quaint moss
#

No, editing an item to make it more expensive + only purchasable once. I've tried every combination of targetfields stuff I could think of, and the closest I ever got to anything resembling success was deleting all the other shop entries which is not what I want

velvet narwhal
#

targetfield is effectively like tabbing through a book's chapters if that makes sense, and each field is a chapter
so if you wanted to edit only one specific item, you have to dig with targetfield like: "RSVMysticFalls1", "Items", "ItemId"

sweet sphinx
#

this is right? do I need the (O) parts for my mod items?

velvet narwhal
#

(O) is object, yes

quaint moss
#

Nope, still not working{ "Action": "EditData", "Target": "Data/Shops", "TargetField": ["RSVMysticFalls1", "Owners", "None", "Items", "Rafseazz.RSVCP_The_Prankster"], "Priority": "Late + 100", "Entries": { "Id": "Rafseazz.RSVCP.FriendFallsItem15", "ItemId": "(W)Rafseazz.RSVCP_The_Prankster", "Condition": "PLAYER_HAS_SEEN_EVENT Current 75160085, PLAYER_FRIENDSHIP_POINTS Current Keahi 2500, !PLAYER_HAS_MAIL Current mod.weaponbought Any", "TradeItemId": "(O)Rafseazz.RSVCP_Spiritual_Essence", "TradeItemAmount": 100, "ActionsOnPurchase": [ "AddMail Current mod.weaponbought now", ], }, }, I keep getting yellow "the field 'RSVMysticFalls1' > 'Owners' > 'None' > 'Items' doesn't match an existing target" errors, probably misunderstanding something fundamentally here

velvet narwhal
#

delete the owners/none

#

you're trying to look for chapter 7 inside of chapter 2 if that makes sense

quaint moss
#

Finally got it working, thanks a ton

sweet sphinx
#

can I make my machine bark?

velvet narwhal
#

i mean, technically yes

#
  {
    "Id": "Default",
    "Condition": null,
    "Sounds": [
      {
        "Id": "furnace",
        "Delay": 0
      }
    ],```
sweet sphinx
#

that's amazing

velvet narwhal
#

i don't remember what the dog bark soundID is

sweet sphinx
#

i'm p sure it's just "bark"

#

I was working on a dog a couple days back

sweet sphinx
velvet narwhal
#

it does, first tab

sweet sphinx
#

oh

#

"dog_bark"

sweet sphinx
#

I'm not seeing any places to put the non-working and working textures/sprites into anywhere in this code, how does the game know which to use?

dim yew
#

What’s maximum move speed for the speed command in events? 🤔

finite ginkgo
#

I imagine the integer limit

dim yew
#

thats odd

velvet narwhal
sweet sphinx
#

ah

#

still doesn't have textures stated tho

velvet narwhal
#

under temporary sprites for a different object i'm seeing tilesheets\animations

#
  {
    "Id": "Default",
    "Condition": null,
    "Texture": "TileSheets\\animations",
    "SourceRect": {
      "X": 0,
      "Y": 1920,
      "Width": 64,
      "Height": 64
    },
    "Interval": 50.0,
    "Frames": 4,
    "Loops": 10,
    "PositionOffset": "0, -4",
    "Flicker": false,
    "Flip": false,
    "SortOffset": 0.0,
    "AlphaFade": 0.005,
    "Scale": 0.25,
    "ScaleChange": 0.0,
    "Rotation": 0.0,
    "RotationChange": 0.0,
    "Color": null
  }
]```
sweet sphinx
#

but is that the full item sprite, or like the furnace, the weird fireball that pops up?

velvet narwhal
#

i don't know what craftable is 64x64 but this is where you would make it do it's animations like the jiggle of a furnace

sweet sphinx
#

I looked at the animations spritesheet, it's the furnace's fireball

velvet narwhal
#

https://stardewvalleywiki.com/Modding:Machines

ShowNextIndexWhileWorking
ShowNextIndexWhenReady    (Optional) Whether to show the next sprite in the machine's spritesheet while it's processing an item (ShowNextIndexWhileWorking) or ready (ShowNextIndexWhenReady). Default false.```
fathom hound
#

is it possible to make food items without needing a recipe for them??

#

example: i want a candy in the game as a giftable/eatable food item but i dont want a recipe requirement for it

velvet narwhal
#

how would the player replicate it?

#

or do you want it to be like the golden pumpkin where it's given out sparsely

fathom hound
#

buying it from a festival stall

#

yes

velvet narwhal
#

just an object and a shop entry then

fathom hound
#

ah nice, it doesnt need to be in cooking category in order for it to be an ingestable item?

velvet narwhal
#

i just copy paste from actual food items tbh

next plaza
#

Just needs an edibility value

fathom hound
#

sweet thanks both! SDVpufferheart

#

excited to launch my halloween mod tonight then SDVpuffersquee

vague acorn
#

i cannot change at what index an item is inserted using TargetField right?

vernal crest
#

I have a food item that is only obtainable through dialogue

fathom hound
#

oh that's super cool!!

vernal crest
#

Thanks ^_^

velvet narwhal
sweet sphinx
#

hmmm, what is it using as it's texture, and how do I change that?

hard fern
#

Looks like unused springobjects item

sweet sphinx
#

ah

#

well, I can't place it either, wtf

hard fern
#

It doesn't look like it's actually a big craftable?

sweet sphinx
#

trying again

tender bloom
#

Error texture

#

That’s the index 0 sprite on springobjects

#

Which is sometimes used as a fallback

#

How sure are you it’s a big xraftable?

sweet sphinx
#

(btw, am I spelling "plater" right? as in, something that plates with gold?)

hard fern
#

Yes

tender bloom
#

Seems right

sweet sphinx
tender bloom
#

The fallback for big craftables should be the big craftables sheet which is why we think it’s an object

sweet sphinx
#

well, now I can place it, but I can't put stuff in

hard fern
#

Did you set it up so that it functions as a machine

tender bloom
#

Data/MachineRules?

#

Or whatever the asset name is again

velvet narwhal
#

Data/Machines

sweet sphinx
#

it's only got one rescipe rn, just so i can get it working, but it'll have 53 by the end

velvet narwhal
#

iirc the data/machine needs (BC){{ID}} right?

#

same exact id as the data/bigcraftable

sweet sphinx
#

so, like this?
"(BC){{ModId}}_GoldPlater": {

velvet narwhal
#

data/machine (left) data/bigcraftable (right)

sweet sphinx
#

it works!

#

now to wait and see if it spits out a gold plated horseradish

#

YES!

fathom hound
#

grats!! SDVpufferwow

#

will never forget that feeling of having your first mod ever work for the first time

#

am i missing any important fields here?

#

(these items will only be obtainable through npc dialogue + sold at a stall during an event)

velvet narwhal
#

i don't think gift tastes is a field in objects?

vernal crest
#

Blehh that reminds me I need to find a way to make mine ungiftable

fathom hound
velvet narwhal
#

no i mean, it's not a valid field in objects

fathom hound
#

oh i see

velvet narwhal
#

you'll have to manually add them in with targetfield, hold on i pull up the copy paste

fathom hound
#

i guess i didnt need that for my other mod since it had a Cooking category and those are automatically giftable items

fathom hound
#

does it look like this?

#

oh yay thanks avi!

vernal crest
velvet narwhal
#

right underneath artifactspotchances

sweet sphinx
#

mine for example

tender bloom
#

Maybe a newer unpack

vernal crest
#

Maybe it's a 1.6.9?

velvet narwhal
#

oh, it's 1.6.9

sweet sphinx
#

line 1347

velvet narwhal
#

neat

tender bloom
#

I feel like maybe this was added so you can stop handing people prize tokens

fathom hound
#

sweet

vernal crest
#

Well, I need it for tomorrow so that isn't ideal haha

velvet narwhal
#

sorry, i always look at my 1.6.9 unpack

fathom hound
#

no thats great!

#

thats good to know, thank you

sweet sphinx
#

wait, how do I have it then?

#

I only have the 1.6.8 version of stardew

vernal crest
#

No problem Avi SDVpufferheart

velvet narwhal
#

i do actively have the other folder i just uh, renamed it to "stardew 1.6.8" and my go-to is quite literally just "Content (unpacked)" SMCKekLmaoDog

fathom hound
#

same

vernal crest
sweet sphinx
velvet narwhal
#

it's there in 1.6.8 though too so that's weird that yours doesn't have it aba

sweet sphinx
velvet narwhal
#

the only things that differ are npc-specific dialogue keys

velvet narwhal
sweet sphinx
#

nono, the object code you pasted into the chat

#

and then the animal code you linked to your own thing

vernal crest
#

Hmmm if my date modified is to be believed, I haven't unpacked since 1.6.6

velvet narwhal
#

well that makes sense

vernal crest
#

I'd better unpack and see

velvet narwhal
#

major field additives haven't changed between 1.6.8 and 1.6.9, but considering 1.6.9 is in like, 5 days, having your code up to snuff isn't a bad thing

sweet sphinx
#

gods I do not want to add all 52 more rescipes

vernal crest
#

Huh, CanBeGivenAsGift was added in 1.6.6. I haven't even got that! I've been on 1.6.5. Oops

sweet sphinx
#

how do I add a rescipe to the (vanilla) mill?

velvet narwhal
#

is that buildings

#

data/buildings

#

then targetfield dig into itemconversions

vernal crest
#

Thank you Avi that CanBeGivenAsGift saves me so much fruitless work

velvet narwhal
#

i need a pufferconstructionhelmet for the amount of times we suggest targetfield digging

#

i will be the change i wish to see in the world, i pull out the tablet

sweet sphinx
tender bloom
#

Go one level deeper

velvet narwhal
#

same way you did your red chickens

tender bloom
#

Like if you want to access something that’s nested

sweet sphinx
#

like this?

velvet narwhal
#

target mill, then target itemconversions

#

"Mill", "ItemConversions"

#

i will brb for a little while, chores just flopped in my lap

sweet sphinx
vague acorn
#

added some fun continuity to my cooking mod.

basically, Joja has a monopoly on selling meats around Pelican Town, and that is why you can only get meat from them.
but when you complete the community center, Pierre starts selling meats as well, since they are out.

sweet sphinx
#

ooo~

fathom hound
#

do i need a type and category for objects?

calm nebula
#

Yes

fathom hound
# calm nebula Yes

I have a food item but I don't want a cooking requirement for it, how would I format that?

hard fern
#

Just an object

#

Make it edible

lucid iron
#

you can use spacecore for custom categories

fathom hound
#

i dont want a custom category, would just prefer none tbh

vague acorn
lucid iron
#

though imo its fine to have something that is cooking but you cant cook it yourself

fathom hound
#

Oh ok, that wont make a cooking/recipe requirement for 100% then right?

lucid iron
#

and u can use spacecore to give it some fun category like "snack"

hard fern
#

:3 now this makes me want to use spacecore to do that

sweet sphinx
#

snackies

fathom hound
#

I wanted to make a trick or treat category but i also have items that villagers may give that's vanilla so i figured its just best i do Cooking but without the requirement needed

#

so just making sure I wont need any recipe of sorts but its also ok to be a cooking item

#

thanks all

sweet sphinx
ocean sailBOT
#

Log Info: SMAPI 4.0.8 with SDV 1.6.8 build 24119 on Microsoft Windows 10 Home, with 9 C# mods and 4 content packs.

sweet sphinx
#

wait, ok I see where I messed up

ocean sailBOT
#

Log Info: SMAPI 4.0.8 with SDV 1.6.8 build 24119 on Microsoft Windows 10 Home, with 9 C# mods and 4 content packs.

sweet sphinx
lucid iron
#

your entries is incorrect

#

it must always be "entries": {"someid": {}}

#

even if you only got 1 thing

fathom hound
#

Do I need that /Cooking/ part in there?

finite ginkgo
#

If that's what your target is called, yes

fathom hound
#

it was just {{ModId}}/sourslimes

#

ill take it out, tyty

sweet sphinx
tawny bough
#

Question about replacing sprites and portraits: What would cause the code in content.json to work for one character but not another even when the code looks identical? I made a mod that swapped out Abigail's sprites and portrait, then copied/pasted it when I added the sprites and portraits I made for Caroline, just changed the file names to her files. When I run the game, Abigail's sprites still change but Caroline's don't acknowledge the mod at all.

lucid iron
#

!json a lot of things could cause it we wouldnt know without inspecting

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.

tawny bough
#

I literally just copied the exact code from Abigail

lucid iron
#

all the Assets/Caroline* images exist?

tawny bough
#

Yep, I even tried freshly copying them into the folder

velvet narwhal
#

well, all of your targets for caroline have .png in it, which makes it invalid

rain basalt
#

foudn the error

#

remove .png from targets

tawny bough
#

Oh the Target field oop

#

Thanks

rain basalt
#

lol guess A-Sauroen beat me to it

sweet sphinx
#

I think this is the longest name in the mod

rain basalt
#

is that a challenge lol

sweet sphinx
#

no?

#

this is my mod, i'm p sure that's the longest name in it

rain basalt
#

you could reduce it with Golden Wild Horseradish

sweet sphinx
#

no

#

bc there's more than just that one

rain basalt
#

ah

sweet sphinx
#

including gold plated pumpkin

rain basalt
#

60g seems cheap though lol ^..~

sweet sphinx
#

gold dust is 5g, gold ore is 25g, you get 5 dust per ore. gold plating something increases it's price by 10g

fathom hound
velvet narwhal
#

it might be in the 1.6 migration?

#

it seems to have been eaten in the void

rain basalt
#

not sure if its just 1.6 but 1.6.9 beta its in data/objects

#

yah not seeing it in 1.6 unpack so its added after but definatly in 1.6.9

#

you get this in 1.6
"ContextTags": [
"not_giftable"
],

fathom hound
#

it was confirmed 1.6.6 iirc

rain basalt
#

k i have a file gap lol had RL issues so i only have 1.6.9 and 1.6 to reference ^.~

velvet narwhal
#

i'll probably throw it into the wiki but i'm just double checking what it defaults to

rain basalt
#

probably true

uncut viper
#

it defaults to true

velvet narwhal
#

looks like canbetrashed is the same

fathom hound
velvet narwhal
#

no, but if you want it to be a different loved/liked you'd still do the npcgifttastes edit

fathom hound
#

okay thank you!

#

hmm why is it red lining me?

uncut viper
#

standard json doesnt allow comments

fathom hound
#

ohh didnt know that thanks

uncut viper
#

its fine for stardew modding and smapi and content patcher. just not standard json

fathom hound
#

thank you SDVpufferheart

rain basalt
#

you can change to ignore

fathom hound
#

how can i do that?

rain basalt
#

file/ properties

fathom hound
#

thank you!! SDVpufferheart

rain basalt
#

preferecen sorry

#

sec trying to remeber lol minds stuck on code

fathom hound
#

its totally fine, no biggie~! dont wanna stress you out SDVpufferheart

whole raptor
#

There was a command...

latent mauve
whole raptor
#

Can't really remember what was it tho

#

!vscjsonc

ocean sailBOT
#
How to make VSCode not scream at json comments

In Visual Studio Code, go to File -> Preferences -> Settings, then search for "associations", and in the "Associations" setting, click the Add Item button to add an item with key *.json and value jsonc (see image).
If you are making a content pack for Content Patcher, you should consider using its json schema so that VSCode can tell you if your patches are valid, you simply have to add

"$schema": "https://smapi.io/schemas/content-patcher.json"

at the start of your content.json file.

sweet sphinx
velvet narwhal
#

i was gonna say it's a brand new one

rain basalt
#

.> that works to lol

velvet narwhal
#

ctrl + h /lh

whole raptor
#

Just !jsonc would probably be easier to remember imo 😅

velvet narwhal
#

maybe, i don't use vsc so it doesn't scream at me about my comments SDVpufferthinkblob

whole raptor
#

Also I didn't know we could make code look like that on discord SDVpufferthink

velvet narwhal
#

i don't remember which ones are supported but it's like, cs, c#, json, c++ all gives it funny colors

uncut viper
#

they use this. it supports a lot more languages than that

rain basalt
#

sigh gona have to take a break for some dumb reason the path tile sheet is broken on my map im working on ....

hard fern
#

Will setting a false dependency force a mod to load after said false dependency?

finite ginkgo
#

yes

hard fern
#

Ty^^

crystal yarrow
#

anyone know why im getting this red text? [game] Failed parsing dialogue string for NPC Tenko (key: , text: ). ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at StardewValley.Dialogue.checkForSpecialDialogueAttributes_PatchedBy<mistyspring.dynamicdialogues>(Dialogue this) at StardewValley.Dialogue..ctor(NPC speaker, String translationKey, String dialogueText)

fathom hound
rain basalt
fathom hound
#

Now that I finished my assets, objects, and i18n, how can i...

  1. have Pierre sell my items in a stall during a festival?
  2. have NPC's give a random item when you talk to them on only a specific day?
tender bloom
#

For 2, dialogue has an option to give items

#

Just make sure the dialogue only shows up on that day

fathom hound
#

(if there are any mods that are similar i can just learn from then i dont mind recs either SDVpufferheart )

tender bloom
#

Either with the games own conditions or CP

fathom hound
rain basalt
#

hmm im sure i saw event shop data somewhere

tender bloom
#

For 1, you’ll have to look in the unpacked content for the names of the festival stalls

brittle ledge
#

(do you want it to be the same item every year or only on year one, because those are two different dialogue keys)

fathom hound
#

i wanted it to be a randomized item every year on fall 27

brittle ledge
#

Should be fall_27 and uh fall_27_2 I think

#

Jorts and Jean have day-specific dialogue as a reference if you want to look at their dialogue files

fathom hound
#

thank you! SDVpufferheart

brittle ledge
#

You can use the same dialogue for both keys though (or point them at the same i18n)

rain basalt
#

from what i see data/shops i did a search for strawberries and it shows vendor info and items

#

"DesertFestival_EggShop"

crystal yarrow
fathom hound
latent mauve
#

So, I've been thinking about doing another random feature in one of my personal mods that would trigger a chance to get a clothing item if you interacted with a specific piece of furniture. How terrible would that be to accomplish with CP?

#

(Mainly thinking about using HxW's bathroom furniture set to try to make the laundry machine do this)

lucid iron
#

is it a whole new clothing item

rain basalt
next plaza
#

You could that using SpaceCore's tile action on furniture thing, using the trigger action tile action to give it.
(I think Calcifer might have tile action on furniture too? Not sure about trigger action tile action though)

lucid iron
#

or like a drawer where u r put in take out

latent mauve
#

I figured I'd use a vanilla clothing item that's associated with a character's spouse, or if unmarried, a random vanilla clothes item.

rain basalt
brittle ledge
crystal yarrow
rain basalt
#

go to one dialoge line and see if it works then add others back

fathom hound
#

thank you <3

lucid iron
#

it's possible to give furniture machine rules

lucid iron
#

but unfortunately machines can't output Item

#

only Object

#

so yea i think either spacecore or calcier are your best bet

calcifer feature:

Custom actions when interacting with furniture (can run tile actions as well as trigger hooks). For example, this can be used to create custom catalogues, by defining a custom shop and then opening that shop when the furniture is interacted with. See HxW Fairy Garden Furniture's beautiful Fairy Garden Furniture Catalogue for an example!
velvet narwhal
latent mauve
#

Thanks for the suggestions! I'll take a look at both Calcifer and SpaceCore's tile action/furniture implementation to see what I can come up with.

fathom hound
#

good luck lily!

brittle pasture
lucid iron
#

i feel like thats gonna draw a chest on the table

#

unless you specifically do something about furniture.heldObject.heldObject

brittle pasture
lucid iron
#

DokkanStare coat stand furniture that give u new shirt every season

fathom hound
#

did i do it right? lol

finite ginkgo
#

It looks correctly formatted

fathom hound
#

ok cool, will skip to the day and test it in a bit then ^_^ tyty

fathom hound
#

theyre turtles SDVpuffersquee iirc

sweet sphinx
#

Jorts is an orange tabby cat that initially rose to internet fame in December 2021 for a viral Reddit thread discussing purported workplace attempts to train him that included him being smeared with margarine.
A Twitter account personifying Jorts (and his fellow workplace cat Jean) as a supporter of organized labor has since received recognition.

fathom hound
#

awwwwwwwwww!!!

crystal yarrow
velvet narwhal
#

!npc

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:

whole raptor
crystal yarrow
near sierra
#

I'm still having problems with events in our custom areas. I'm now loading a blank JSON file into a hypothetical XNB for the new areas, which is what people here have told me to do. Problem is, the event I'm testing this with still isn't working. I tried activating the event through the console, but all I get is an error saying it wasn't found. It's almost like I'm trying to edit a file that doesn't exist, but the console isn't telling me that for some reason. What's actually going on? (I know some people may prefer a link to the SMAPI JSON validator, but I'm just putting the full file folder here so people can see the full file structure, which will probably be important for figuring this out).

hallow prism
#

chance of people looking without the json are low

#

you do you, but personally i will not dl a file unless i have reasonably excluded other options first

#

and then i would likely just not doi it anyway

fathom hound
latent mauve
#

Without looking at it, have you already checked it with debug ebi <id> to make sure the event loads, even if it's not triggering?

#

to rule out precondition weirdness

tough crater
#

(Unrelated)
I'm working on <location>_Entry dialogue and I'm wondering how many characters can fit in the speech bubble. I wanna make sure I don't break it with too many letters

velvet narwhal
#

Nope I said I was gonna nap I'm gonna nap.
I don't know what hypothetical xnb means but if you never loaded a blank.json i.e. a {} into your data/events/YOURLOCATION then you're writing your events into the wind.

near sierra
tight rivet
#

This may be relevant to people here, but I doubt it's relevant to anyone: https://forums.nexusmods.com/topic/13501488-publisher-approved-paid-modding-policy/

Nexus Mods Forums

Over the past year several game developers have introduced varying paid modding schemes, including Bethesda's Verified Creators (Skyrim, Fallout 4, Starfield) and InZoi's Creations Marketplace. As a result, we've received a lot of requests for clarity on our paid modding stance and our paid moddi...

#

still, pasisng it along for those who have patreons etc.

whole raptor
#

Isn't it just for partnership with the game publisher on modded content (mostly or only Bethesda situation with their mod shop)? SDVpufferthinkblob I don't think Patreon has anything to do with this

near sierra
tight rivet
#

there's a bit about how you have to link to Nexus if you have a patreon for paid mods

#

the fact taht Nexus, a private company that makes money off of people downloading mods, is complaining about paid mods, is, however, hilarious.

next plaza
tender bloom
#

If you click through to the advertisement policy you actually can’t link to patreons for paid mods at all

tender bloom
#

They’re very unclear about this in the announcement, but the announcement is for Bethesda games as best I can tell

tight rivet
#

.. they mention InZoi

#

which is not a Beth game, atall

tender bloom
#

I mean it’s motivated by

#

Not that it only applies to

iron ridge
tight rivet
#

Sure, but itapplies beyond Beth, so kinda..

#

Look, if you want to defend a company that makes millions off of memberships so you can download mods, on you, etc.

#

I'm going to just point out Nexus is often strict on this and leave it at that

tender bloom
#

I’m not defending

teal bridge
#

I don't think anyone knows or cares what inzoi is, lol... Besthesda is still almost half of Nexus's traffic.

tender bloom
#

Just trying to make sure the info is clear

tight rivet
#

fair, sorry.I misunderstodo a bit

tender bloom
#

Because I was very confused at first

tight rivet
#

(inzoi is a Korean sims competitor)

#

(IIRC I don't think it's out yet.)

tender bloom
#

I don’t agree with it, but it seems like nexus is scared of Bethesda getting mad about paid mods given that there’s some options “officially” for paid mods, and is trying to completely separate themselves

#

With much resulting outcry etc etc (nexus author server is a cage match today)

next plaza
tender bloom
#

But I specifically asked about Stardew situation and they said that no commissions for mods are allowed to be linked, and comms for art they feel is “it depends”

teal bridge
#

Bethesda gonna Bethesda and Nexus gonna Nexus. Attaching oneself to any commercial property and hoping to make a profit off that is always going to be a risk, and subject to having the rug yanked out from under you.

tight rivet
iron ridge
#

mod as in moderator?

next plaza
#

It still feels really bizarre not to allow commissions though.

tight rivet
#

Yes. Nexus's moderation team is .. uneven?

#

And as such I default to assuming you'll get one of the harsher ones and can't appeal

quaint moss
#

Is there an actual difference between "Now" and "All" when it comes to non-letter mailflags? I've been (accidentally) using both interchangeably and I've noticed no difference, all flags are applied instantly (which is the behavior I want)

next plaza
#

Like... I get it could be abused, but still

tender bloom
#

My theory is that lawyers won’t go for anything if there’s no money in it, but idk why they don’t just say that

tight rivet
#

Maybe that's not other people's experience, so-

brittle ledge
teal bridge
#

Well, Comms in Bethesda land are virtually all mod commissions, not "asset commissions" like what often happen here.

tender bloom
#

Bethesda land seems scary

next plaza
#

Interestingly, I sometimes get people wanting to pay for me to update my old mods - and that's against the policy apparently: "Do not offer donations in exchange for files, updates, or assistance."

tight rivet
#

Then they can specify.

teal bridge
#

It's not exactly Earth Logic, but I can see how one could come to consider that a form of paid mod.

tight rivet
#

Like I realize Nexus grewout out of the Morr-Obli-Skyrim modding scene

tender bloom
tight rivet
#

but they could be clear about non Beth mods

next plaza
brittle pasture
teal bridge
#

Their model of modders is the sharecropper model and they don't want you running any kind of independent business on their platform.
(You don't have to like it, but staying in that mindset is how you'll predict their policies and enforcement.)

old edge
#

Yeah well you just can't do it on nexus

brittle pasture
#

otherwise you get a blank letter in the mailbox

brittle ledge
old edge
#

If you do it on Patreon its ok

crystal yarrow
#

oh my gosh custom npcs have changed since i last modded this is so confusing

fathom hound
uncut viper
#

If you do it on patreon you still have to have no way to link your mod page to that patreon, including through intermediate links like twitter or Reddit that then advertise the patreon

old edge
#

You can offer commissions on Kofi or Patreon

brittle ledge
#

Oh, I wouldn't use Google for anything on Nexus, just use their search

fathom hound
#

makes sense

old edge
#

Not on nexus itself

quaint moss
next plaza
tender bloom
#

Let me see if I can find it

brittle ledge
#

!NPCs ?

crystal yarrow
tough crater
old edge
#

Oh yeah I also find translation first for some reason have to search on Google

tender bloom
crystal yarrow
#

thats a good idea!

#

thank u

uncut viper
tender bloom
hard fern
#

i never knew cats could form a union

tender bloom
#

And obviously translations are all newer than the original

#

I don’t know why it does that instead of like by relevance

whole raptor
#

They could have at least mentioned the name or somethin SDVkrobusgiggle

teal bridge
brittle pasture
brittle ledge
tender bloom
#

The helper cats?

whole raptor
#

Well.. fair enough SDVpuffersquee

quaint moss
tender bloom
#

I thought it had a subtaglinething

old edge
#

So can you put requested by if a mod was commissioned?

brittle ledge
#

Missed my opportunity to call it "Rise Up, Sabo-Tabby! The Adventures of Jorts and Jean"

uncut viper
#

well, the third type is the answer. it's the one that does what you want with no other side effects. adding it to All will also work, but only as long as you never need to remove that mail flag on that same day, because it'll be re-added tomorrow whether you want it to be or not

whole raptor
#

I just thought about a possibility of seeing a mod called "The Rise of Jorts" and can't stop laughing... SDVkrobusgiggle

quaint moss
#

Now that's a solid answer. Thank you.

old edge
#

I actually just finished a farm that was requested made

uncut viper
#

so if you want your mail flags to be temporary or not there after today , you don't want that. if it doesn't matter then there's no difference, just best practices that can potentially save headache later

crystal yarrow
#

?

tender bloom
#

See the error at the top? You seem to have a brackets problem

crystal yarrow
#

i know theres an error but not sure what to do about it

crystal yarrow
tender bloom
#

Yes

#

Several more

crystal yarrow
#

"1 Missing required fields: Format."

#

what does that mean?

tender bloom
#

Is this a file you used “include” for? Or is this your main CP content.json?

crystal yarrow
#

its my dialogue json

tender bloom
#

What is the original file named?

crystal yarrow
#

dialogue.json

tender bloom
#

Okay, then you can ignore the format warning

#

The main content.json needs to have the format

#

But the other ones that get referenced from there don’t

crystal yarrow
#

i was tyring to rework my content file and thats where i got confused lol

fathom hound
rancid temple
#

What's your object data look like?

brittle pasture
#

your file looks right to me. did you make sure to include it

#

(if object data is wrong an error entry should still show up right)

fathom hound
rancid temple
#

Do you have a Format in all these included files?

fathom hound
#

ahhh im missing 1 in NPCGiftTastes.json

rancid temple
#

You shouldn't have Format in any Included file