#making-mods-general

1 messages · Page 459 of 1

ornate locust
#

patch export, that's the command I was trying to think of. Thanks

tribal grail
#

Thanks! I knew I was missing something.

frosty gate
#

You can ping/dm me, Kat is kind of busy with other projects, but if I don't respond then sure, you can ping her.

Yes! An option to have bigger portraits would very much be helpful. Right now the mod doesn't describe the portraits but when/if it does, we can add that as well.

And thank you for considering!

ornate locust
#

Oh may have spotted it

#

heckin typo

gentle rose
uncut viper
#

someone isnt WCAG-focused enough /lh

gentle rose
frosty gate
gentle rose
#

I’ll ping you closer to a beta being ready so we can figure out the best way to integrate that (from the wiki I’m guessing it will be via PrimaryInfoKey)

ornate locust
#

alright, it's a compatibility thing. How would I make sure my spot wins if another mod moves him around?

urban patrol
#

either patch priority late or false dependency on that mod

gentle rose
#

you can’t, because consider:

what if another mod author wants to do that too

urban patrol
#

oh yeah that's only if it's a specific mod

ornate locust
#

then I'll duel them on a bridge

gentle rose
#

100% ensuring your mod wins isn’t possible because other mods would have to be able to do that too

gentle rose
ornate locust
#

Unfortunately I did that and it didn't work. Well, guess that's adding to the "don't do this" instructions...

#

Don't know what Unique Winter Star is doing, but it really glues him to that one spot

urban patrol
#

they might be doing some extreme thing like late+10

ornate locust
#

They aren't actually doing anything that I can see

#

it's a normal append with no priority

worn spear
#

Ah I finally sat down and just made a dialog formatter to make my life semi easier on python 🥲 only took almost a year

urban patrol
#

isn't agentlyoko in here? you could ping them and ask what's up

worn spear
#

Almost a year for a simple for loop 🥲

latent mauve
#

Per question 2, would this ultimately be Loading an empy JSON file to a specific namespace that your mod would then read? So mod-authors could then do an EditData to add their own entries into that specific JSON (which also protects them from accidentally overwriting entries from other mods in the process)?

ornate locust
#

I got a workaround working right, now Ras can show up and be distant at the Winter Star and then get closer when he starts dating the local lawman

#

success

quick sand
#

guys am i crazy? for weapons the type field does nothing. the actual type is set by the size of the sprite?

livid kite
#

If I set these conditions for my event,

            "LogName": "Reyla's Intro Event - If you haven't met her yet",
            "Action": "EditData",
            "Target": "Data/Events/EastScarp_Village",
            "Entries": {
                "RaffieJohn_ReylaIntro_NotMet/!GameStateQuery PLAYER_HAS_MET Reyla/!SawEvent RaffieJohn_ReylaIntro_Met/Time 600 1800": "{EVENT CODE}"
},```
```        {
            "LogName": "Reyla's Intro Event - If you HAVE met her once",
            "Action": "EditData",
            "Target": "Data/Events/EastScarp_Village",
            "Entries": {
                "RaffieJohn_ReylaIntro_Met/GameStateQuery PLAYER_HAS_MET Reyla/!SawEvent RaffieJohn_ReylaIntro_NotMet/Time 600 1800": "{EVENT CODE}"},```

The farmer won't see this event twice? Trying to have her intro event change a bit depending if you talked to her before going to ES or not.
urban patrol
quick sand
fervent horizon
#

Is there a sleeping bag in the vanilla tilesets?

obtuse wigeon
#

I think the one in Linus' tent? but it may not have a transparent background

fervent horizon
#

yeah, I literally just found it

#

I can make it work though

narrow owl
oblique meadow
narrow owl
#

releastically do you need json assets cause don't content patcher literally just do most things

shut edge
#

At this point you basically need to not have JA

hallow prism
#

(if it's easier for you of course)

brittle pasture
#

it was useful back when you can't use string ids

fervent horizon
#

what file holds the foods, like cheese

#

tilesheet

livid kite
brittle pasture
#

if it's an object it's in there

quick sand
#

What is the best way to make an animated custom weapon texture? im looking at using spacecore textureoverride but i also saw some mods used content patcher animations

uncut viper
#

CP-A is also deprecated i believe in favour of spacecore's textureoverride

#

CP-A hasnt even updated in 3 years

#

(i know it supposedly works, but that should tell you a lot about its life support status)

quick sand
#

that really narrows it down then

quick sand
#

whats a Vector2 size?

uncut viper
#

a Vector2 is just a pair of numbers

#

typically used for things like size or location, for things like X,Y or Width, Height

#

dont know what form spacecore expects it written down in. never used this part of spacecore

quick sand
dire nest
#

Hey 👋 Is it possible to check the config of another mod using CP?

For example, I want to check the state of "Enable Vanilla Recipe Changes" in Cornucopia Artisan Machines.

brittle pasture
lucid iron
#

I think cornucopia has mailflags actually

#

You can use those instead if it suits your needs

uncut viper
#

unless something has changed since last i checked (admittedly a decent while ago) they are removed overnight however to aid uninstallation

#

so some things cannot rely on them

lucid iron
#

Yeah but i think a typical cp patch using HasFlag can use em fine

#

Cus the DayStarted trigger actions happen first right NotteThink

uncut viper
#

DayStarted (SMAPI) or DayStarted (vanilla)

lucid iron
#

The claim is, If DayStarted vanilla trigger is when cornucopia does all the AddMail (i don't have it open to check), Then a content patcher patch with When HasFlag should work as expected and apply/not apply according to flag

uncut viper
#

yeah, probably. just wanted to mention it so its not used for things like game state queries as the raw flag for things that happen overnight

#

like animal produce

lucid iron
#

Yeah pein PecoWant

uncut viper
#

or schedules(?)

#

i think schedules too yes

#

(talking about the MAIL schedule key, not a conditional patch)

drowsy pewter
#

they are not removed overnight anymore because of issues

uncut viper
#

oh, well then ignore me (and i apologize for) spreading misinformation

drowsy pewter
drowsy pewter
latent mauve
#

I only understand that from the CP side, so I can't be of much help, but I was hoping I understood the intended result, at least!

drowsy pewter
uncut viper
#

if you do this then Content Patcher mods can target your asset to edit it

#

(relevant to @frosty gate, i suppose itd probably help to direct them to it and not you lol)

autumn tide
#

hmmmm what's the command to get the CP github thing?

#

found the link! dunno if there's a command tho?

#

hmm, do you have to add CreateOnLoad for custom locations only used during events?

dire nest
# drowsy pewter like why do you need to check for enable vanilla recipe changes for example?

"Enable Vanilla Recipe Changes" was just an quick example. I actually need this two options (and maybe more?)

{
    "Action": "EditData",
    "Target": "Data/Machines",
    "TargetField": [
        "(BC)12",
        "OutputRules"
    ],
    "When": {
        "Enable Vegetable Wine": true,
        "Enable Juicer": true
    },
    "MoveEntries": [
        {
            "Id": "Default_Wine",
            "BeforeId": "Default_Juice"
        }
    ]
}

I need this because someone asked me to make my mod Uppergrade compatible with Cornucopia - Artisan Machines.
The best way would be if you made your mod compatible with mine, but since that wasn’t an option on your side, it’s on me now.
I don’t mean this in a “judgy” way — it’s your decision, and I respect that 🙂
But now I need this information to make it really compatible with Cornucopia - Artisan Machines.

silk basalt
#

hi um, sorry if this is a stupid question, but are there any, like, simple text guides on how to get started making a custom character mod? i have some ideas i'd like to try but i'd really prefer a text guide instead of a video, if at all possible. sorry for the trouble!

urban patrol
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:

silk basalt
#

OH thank you!

#

sorry just got here, i don't know all the commands yet

urban patrol
#

that's only if you're using changeLocation (or whatever the command is) though. if you're using changeToTemporaryMap then no you don't need an entry in data/locations

uncut viper
#

(as an aside, basically the only up to date info for modding SDV is all text guides, very few if any videos past 1.6)

silk basalt
#

oh awesome thank you!!

vernal crest
#

Wow, someone asking for text instead of video!

#

My people!

uncut viper
#

nothing to apologize for! i was just posting it to show you it, the guide linked in the first bullet point is top notch

silk basalt
#

i really appreciate it! 💖

#

i've been wanting to try it out for a long time, but video guides get very intimidating for me alksjdf thank you!!

vernal crest
calm nebula
#

!help

ocean sailBOT
#
please get me off discord
calm nebula
#

There are a lot of commands

vernal crest
#

Ok then shoo atra :P

calm nebula
#

!stopmodding

ocean sailBOT
#

wat

silk basalt
autumn tide
#

heheh

silk basalt
#

!pixelart

ocean sailBOT
#

Where to Start With SDV-Style Pixel Art
If you've never done pixel art before, don't stress! It's easy to pick up the basics - the key is to start small, ask for feedback, and incorporate that into your work.

To start, you'll want an art program. See a list of recommended programs in the !software command.

Here's some good beginner tutorials!
http://pixeljoint.com/forum/forum_posts.asp?TID=11299&PID=139322
https://medium.com/pixel-grimoire/how-to-start-making-pixel-art-2d1e31a5ceab

To start off, try opening an existing portrait and changing the outfit. Start small: edit a shirt pattern, change a jacket collar, or remove a scarf and draw the clothes underneath. Ask for feedback too! The best way to improve is learning how to identify what's wrong and why, so then you can work out how to fix it.

Here's more good tips from the artist of "Celeste":
General pixel art 1: https://www.patreon.com/posts/pixel-art-1-6971422
General pixel art 2: https://www.patreon.com/posts/pixel-art-part-2-11225146
Outlines: https://www.patreon.com/posts/outlines-14106192
Shading: https://www.patreon.com/posts/shading-13869731
Portraits: https://www.patreon.com/posts/portraits-8693396

SDV has a few quirks to remember too:

  • Colour limits: Limit the number of shades you use - stick to six including the outline.
  • Hue shifts: Rather than making shadows and highlights lighter or darker versions of the base tone, SDV shifts the hue too. Eg. a base orange will have yellow highlights and red shadows. This goes for skintones too!
  • Light source: SDV uses a top-right & slightly forward light source - check the vanilla art for reference.
    Most importantly, don't hesitate to ask questions and get advice from people. Have fun!
silk basalt
#

oooooo

autumn tide
#

there are SO many commands lol

#

!list

#

dammit

brave fable
#

not that one 🙂‍↕️

autumn tide
#

type /list lol

vernal crest
#

(We do ask that if you want to go crazy exploring them, please head to #governors-mansion for it ^_^)

latent mauve
#

Please use governor's mansion if you want to use commands for the sake of using commands xD

vernal crest
#

Same brain lily

latent mauve
#

Yep

lucid mulch
drowsy pewter
# dire nest "Enable Vanilla Recipe Changes" was just an quick example. I actually need this ...

I see, I have a flag in content.json to check for if the juicer is enabled Cornucopia.ArtisanMachines_JuicerEnabled, but I assume yours is more like Machine Production System, where you need to know if the vegetable wine rule exists in the keg so you can create a better version of it in the improved keg.

Well, I can add a new mailflag for that option in the next update in two weeks, or you can use the mod CMCT to read other mods configs

#

The other rules are dependent on various mod configs being enabled from other mods, so you can use the same mailflag conditions that Artisan Machine uses to check for them

dire nest
silk basalt
hard fern
#

So you'll have to fill it out before you start testing it

silk basalt
#

ahh okay
this is my first time making anything like this so i do apologize if i ask any stupid questions thxIloveit

vernal crest
#

No, you don't have to put any dependencies in

hard fern
#

At bare minimum all you need is content patcher which is already covered by the "content pack for" part right?

vernal crest
#

In fact, you don't need dependencies even if you do add features from other mods because as long as you have them installed it will work. But I recommend adding them to your manifest when you start using their features or you risk forgetting to ever add them, like I do lol

vernal crest
autumn tide
hard fern
#

Oop-

autumn tide
#

this is why i lurk this channel LOL

vernal crest
#

Folks, I am providing y'all with an example of why we suggest using the {{ModId}} token instead of hardcoding your mod id into your json. I am about 80% of the way through making a mod with Bog and we just decided to change the name of it, so the mod id will be changing.

I have 1,209 instances of {{ModId}} in this mod.

If I had hardcoded it I would've had to have checked all of those changes to make sure a find and replace had worked properly.

shut edge
#

is there a way to have machines speed up or slow down depending on weather? i know they can be turned off entirely or require specific weather

#

was thinking of making a dehydrator variant that works faster in the desert / on sunny days

autumn tide
shut edge
#

yeah i'm thinkin like a slow/cheap solar dehydrator

#

and then maybe a fast and expensive industrial one

#

and yea more items to make with them cuz there's like....three in vanilla

autumn tide
#

ooh i gotta download that when you're done

hard fern
shut edge
#

it's a bit early yet lol

#

but thanks

hard fern
autumn tide
lucid iron
hard fern
#

Well it's like. The map itself with the warps

vernal crest
shut edge
hard fern
#

I have all of them prefixed with my mod id

shut edge
#

i do have some art made already tho

hard fern
shut edge
#

hah yeah i was considering making squid specific jerky

hard fern
#

Ive eaten squid jerky before

#

Have you considered scallop jerky?

shut edge
#

....did i not make beef, wtf

#

i haven't, is that good?

hard fern
#

It tastes like a scallop

#

(so, good in my book)

shut edge
#

sounds good

vernal crest
#

I don't think you could affect dehydration that's already happening, but you can probably use different CP patches to change them day by day for new inputs

#

(Disclaimer: I know almost nothing about machines)

drowsy pewter
#

that confuses me

shut edge
#

yeah there doesn't seem to be like, machine speed modifiers

#

maybe EMC can

drowsy pewter
#

No there is

#

ReadyTimeModifiers

shut edge
#

oh is that what that does?

brittle pasture
#

though it only takes effect when the item is inputted

shut edge
#

ah

brittle pasture
#

the closest thing to a dynamic ready modifier is PreventTimePass

drowsy pewter
#

By the way the vanilla dehydrator works overnight, theres no time to it. So any machine you make would be "faster" if it worked within a day.

shut edge
#

i mean there's a condition so i could have like, if in desert, this cooks faster

#

yeah i noticed that

brittle pasture
#

well if you only need location-based conditions then ReadyTimeModifiers will work wonderfully

shut edge
#

i am thinking the cheap one can be like, two or three days, or one day if in desert

brittle pasture
#

what isn't possible is stuff like "if today is raining take 20% off the remaining produce time"

shut edge
#

and the fast one can make like maybe 3 or 4 batches a day

brittle pasture
#

but otherwise ReadyTimeModifiers will do it

shut edge
#

cool, thank you

#

what is that one thing called where you use like a plastic tarp to make water...

#

oh yeah solar ovens are also a thing huh

#

not sure that would be terribly stardew relevant tho

hard fern
shut edge
#

yeah that

hard fern
#

I dunno either XD

shut edge
#

somehow in my head i was seeing that when thinking of a solar dehydrator maybe

brave fable
#

I would've guessed a condensation well but looking it up and that ain't it

vernal crest
#

Solar water condenser?

shut edge
#

THAT looks like a BC, lol

#

probably the same idea, i'm just thinking of the like survival emergency version

#

this DIY one looks like a BC anyway

#

that is clearly a two tiles tall device

livid kite
#

Oh @vernal crest , thought I would let you know I updated all my events to the 1.6 method, and you are right, event lookup doesn't show them anymore. Thanks again for the help! SMCFrogHug

vernal crest
shut edge
#

yeah that's what i was thinking of, thank you

#

would there be much a use case for a solar still in stardew tho eh

#

i guess you could use it to refill a watering can in the field

#

ocean ones are kinda neat

vernal crest
#

It looks like a pointy jellyfish

shut edge
#

it does

shut edge
#

any other fish that make sense for jerky?

#

hmm, catfish

#

perhaps like slimejack or a legendary for comedy

drowsy pewter
#

How about a generic fish jerky that is created if it doesnt have a special jerky item?

shut edge
#

that would be good yeah

versed wyvern
#

Does anyone know if it's possible to make a character switch to a different portrait asset during dialogue? Via modded means if necessary?

urban patrol
#

like changing to sam's joja portrait for example?

#

you can do it during an event but i'm not sure about daily dialogue

versed wyvern
#

Yeah, I know events can do it but I'm trying to figure out something for when speaking to people

urban patrol
#

is it for a vanilla character or custom

shut edge
#

wow i forgot i made more meat trees for some mod i've never used lol

brittle pasture
royal stump
#

can't confirm it works, but it seems likely

devout otter
#

Basically as if two people having conversation, yeah? Or changing costume mid-conversation? Then yes BETAS can do it.

versed wyvern
#

BETAS did seem like one possibility, though I'm not sure if relying on the Appearance system may mean having to take extra steps to keep overworld sprites consistent blobthink

royal stump
#

in most cases, calling it again at the end of the dialogue without a specific ID should set them back to w/e they were wearing before
but ig that doesn't necessarily support all possible appearance entries, since they could have fiddly conditions that change mid-location

#

...oh, also I was misinterpreting appearances & thinking you could separate portrait + sprite entries SDVpufferdizzy so yeah

vernal crest
#

If you only set portrait, the sprite will just use the one set by TextureName which will just be the NPC's default sprite - I think

urban patrol
#

i was going to suggest just adding the portrait(s) you want onto the portrait sheet if it's a custom NPC

royal stump
#

seems like it, yeah, which might mean things like "I changed the portrait for a bit & now they're not wearing winter clothes"

shut edge
#

that might be all the meats i can think of

#

other than that one mod that used to exist with like, lizard and dragon

versed wyvern
shut edge
#

all the ones AHM and my own mods currently support anyway

versed wyvern
#

I'm working with big image files and it seems that some people's games just can't display texture sheets that get extended past a certain size (10000 pixels?), whether the texture's innately that big or extended via editimage

urban patrol
#

oh yeah i think the max size may be 4096x4096

versed wyvern
#

They work on my machine well past 10k so it's hard for me to test anything on that front Towashrug

#

Could be memory related, VRAM, GPU, maybe mobile devices are involved

tiny zealot
#

the maximum texture size is dependent on the particular hardware

#

4096x4096 is a generally-accepted conservative limit that is widely supported

versed wyvern
#

I received no such error reports for assets up to 7000 px, whereas I started getting some for the one that was above 10000 so I suppose the limit is either there or 8192

#

Hence I'm trying to figure out ways to just jump to different assets rather than just making one super beeg asset

royal stump
#

afaict (and if you haven't already) you can make the portrait sheets wider than 2/row, to reduce the total vertical size SDVpufferthinkblob
the code seems to support that at a glance

versed wyvern
#

I don't think anyone's ever tried that so how would portrait codes work like $1, $2 with that

royal stump
#

things like $s or $2 get converted into an index, which is basically "top left corner is 0, keep counting & going right until you hit the end, then go down to the next row"

#

so assuming you keep them in the correct order, it should work as-is

#

similar to how the object sheet works and such, just left to right & then down a row

versed wyvern
#

Fascinating, might experiment with that sometime cathink

#

So the letter-based codes like $s and $h should work the same way?

vernal crest
#

Pathos has said not to do that

versed wyvern
#

Does it break things?

vernal crest
#

It can do, yeah

royal stump
#

yeah, seems that way, dang

urban patrol
#

oh are the named ones specified by area or something not index? sad

royal stump
#

the "get index" thing does convert $s and such into numbers, but I'm not sure if all the code uses it properly

versed wyvern
#

From his post it sounds like the code just doesn't treat portrait sheets the same way as other indexed sheets

tiny zealot
#

i think NPC sprites might also have some code lying around that assumes it's in rows of 4

shut edge
#

there was a fairly popular mod with Pemmican in it right?

#

distant lands maybe

royal stump
#

okay yeah, there's still at least one part of the dialogue system that thinks $h/$u/etc are in specific coordinates
(upscale mods would probably have to patch those too, but idk if they add arbitrary sheet support in the process)

marble needle
urban patrol
#

someone with the mod author role can showcase it as long as it's not NSFW and not AI

obtuse wigeon
#

I noticed in the description you mention this:

I will have a repository uploaded over the next days with the generator used
out of curiosity was is a custom generator or an already existing one (if so which?)?

marble needle
#

A custom made one

#

you can generate a farmer from a pmd sprite from https://pmdcollab.org/
And as a starting point I generated all of the farmer sprites for each pokemon

#

This opens the door for cool things like Pokesonas, and other cool ideas as making a similar generators for changing villagers as custom pokemons, add the portraits available at pmd and mapping them as farmer/villager portraits, etc

obtuse wigeon
#

I shall have to download it when i next play!

#

if you send a message with a brief description and the link, I'll put it in the showcase for you

#

(if you want to do it in moddedm farmers it would be seen by more than in here I would say

#

(also feel free to tag me if you do post it or I may miss it)

woeful lintel
marble needle
#

I massivelly optimized the spritesheets for gpu (pow of two). Like rehuse repeated sprites, removed transparent space, that reduced the GPU vmem from 16 gb to 2-3

#

still there is an issue open in fashion sense to implement a way to not load all sprites at the start

lucid iron
#

im not sure if FS can do that given then menu

marble needle
#

if all sprites fails, there is still the version without variations which is a VERY lightweight version (1000 vs 5000+)

lucid iron
#

sleep u can always solve this with C# ofc

marble needle
# lucid iron im not sure if FS can do that given then menu

I had an idea of how to do it in a clean way, but I don't know how factible can be. Like make that fashion sense loads a specialized image named "preview.png" for example with only the frames that are shown in the search box, and just load that, when the sprite is selected, it loads the complete spritesheet, and that mode is available only if the preview.png is found for compatibility reason

lucid iron
#

yea potentially bolbthinking

#

although, i actually never seen 'too much stuff for game to load'

marble needle
#

yeah, this mod pushed the limit around that XD

lucid iron
#

not in a crashing way even on 2000 mod

marble needle
#

just download the all variations and see the folder

lucid iron
#

is it specifically a FS problem where it isn't being lazy with menu

brittle pasture
#

wacky.... some time ago Anaira reported an issue of DayStarted triggers not running when the condition is PLAYER_HAS_SEEN_EVENT Any <eventIdHere> and the event is skipped
I just managed to reproduce it in my real save, checked up my code, restarted my game, and now the trigger runs again and I can reproduce it no more

#

eh it has over 400 mods I can't be bothered to investigate

versed wyvern
#

Speaking of powers of 2 how important are they for Stardew textures yugu

rustic imp
#

Hi, I've never modded or coded anything, I was wondering if anyone here had any recommendations for how to start modding Stardew peepoPeek

urban patrol
#

!startmodding

ocean sailBOT
#

Making mods can be broadly divided into two categories:

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

rustic imp
#

holy

#

ty though

urban patrol
#

most mods are possible with content patcher, but if you want to change things about how the game functions, it would need C#

versed wyvern
#

You should also probably start by first deciding what kind of mod you're interested in making

rustic imp
#

I want to do a project with dialogue changes and event scripting as well as one QoL one that makes the hoe more useful by letting you move crops & things using it in a way that doesn't feel like dev mode

uncut viper
#

that last one is very much C#

urban patrol
#

the first would be doable with content patcher, and the second would definitely be C#

rustic imp
#

I'm open to learning C# NODDERS

#

easier said than done I'm sure

urban patrol
#

if you want to start with C#, then try the button press tutorial linked on the wiki page above. you should also decompile the game code so that you can reference it

#

!decompile

ocean sailBOT
vernal crest
#

I recommend starting with the CP mods

#

They can let you get a feel for how the game works in the backend and how mods interface with it without having to learn a programming language at the same time

rustic imp
#

got it, thanks for the links and tips PES_BlankieThumbsUp

uncut viper
#

though, none of that knowledge will really transfer over into making that hoe QoL mod, bear in mind

rustic imp
#

I got stuck at decompiling the game code using ILSpy

lucid mulch
#

I personally dont actually use the decompiles and just stay inside ILSpy

rustic imp
#

downloaded "ILSpy_binaries_preview1-x64", then it asked me to download dotNET, so I downloaded "dotNET 9.0 SDK Windows x64 Binaries" but ILSpy doesn't open

calm nebula
#

You absolutely do not need that for a CP mod

urban patrol
#

you might need .NET 6? not sure though

narrow owl
#

i finally published it!

urban patrol
urban patrol
narrow owl
#

if possible

rustic imp
#

I was just going down the Modding:Content Patcher page and following what it said

urban patrol
#

yeah as long as there's no AI or NSFW i'll showcase it

uncut viper
#

the content patcher page does not mention ilspy at all

jolly tulip
#

does anyone know if i can use an event as a variable and say
myvariable = harvesting-crops
if myvariable spawn monster
?

narrow owl
#

so onward to more complex modding!

rustic imp
#

I'm at create example mod

vernal crest
#

There's no mention of ilspy there

urban patrol
#

you may have confused decompiling with unpacking, that's probably my bad

uncut viper
#

there is literally no mention of ilspy there

rustic imp
#

wait

urban patrol
#

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

rustic imp
#

aight my bad my tabs are confusing me

uncut viper
#

decompilation is for C# mods (and very curious content pack modders). unpacking is rated E for Everyone

jolly tulip
#

ilspy is a unpacker?

narrow owl
#

@urban patrol thank you so much!

uncut viper
#

no

jolly tulip
uncut viper
#

also no

jolly tulip
#

what is it?

uncut viper
#

ILSpy is a program for decompiling and viewing C# assemblies

#

it is nothing at all specific to Stardew or modding whatsoever

jolly tulip
#

hows that not unpacking?

uncut viper
#

because you're not unpacking anything.

jolly tulip
#

whats packing?

#

and compiling?

urban patrol
#

we unpack to see game assets and data files, and decompile to see game code

obtuse wigeon
#

Think of ILSpy more as unbuilding, carefully disassembling a house to get as much of the materials back as possible, where as unpacking, is taking things out of a parcel or box

jolly tulip
urban patrol
#

nope i'm not experienced at all with C#

#

there may be a trigger in BETAS if you want to use a framework

jolly tulip
#

trigger?

urban patrol
#

it sounds like you might need to review some game concepts. i recommend visiting the wiki and looking at things like [[Modding:Trigger_actions]]

jolly tulip
#

do u check game's code in ilspy or does ilspy make u a folder with the game's code in it?

lucid mulch
#

can do both

obtuse wigeon
#

technically both, you can look at it in ILSpy but if you aren't as familiar with it, you may find looking through a folder somewhat easier

jolly tulip
#

does nobody know where the harvesting and crops code is?

lucid mulch
#

mix of Farmer, GameLocation and Crops

urban patrol
#

is the WindowLight map property sometimes added automatically based on tiles? i noticed that my custom map doesn't have the WindowLight property, but the windows in the base map show the bright white streaky light, while the windows that get added in via an EditMap patch don't have that same light automatically

lucid mulch
#

but I don't see how that knowledge would help if you cant find it yourself

hard fern
urban patrol
#

(like this for reference)

#

interesting

hard fern
jolly tulip
#

oh i know what u mean

urban patrol
#

yep

jolly tulip
#

ill find it

hard fern
#

Hm then i think it's like how editmap doesn't carry iver properties

#

Youd have to like manually make those windows have light

urban patrol
#

yeah, that makes sense to me. i was just confused when i went to check my map properties and saw i had NO window light defined lol

jolly tulip
#

like "harvest" and it'd show it up

obtuse wigeon
#

Ctrl + F

#

oh wait I think ctrl + shift + F searches in all files within the open folder

jolly tulip
#

i only have 1 file open

#

can i open multiple?

obtuse wigeon
#

in VSCode, if you click File > Open Folder, you can open the whole decompile folder at once, rather than just one file at a time

lucid mulch
#

the search menu on the sidebar would search in all files in the workspace

jolly tulip
#

nevermind it's called crop.cs

lucid mulch
jolly tulip
#

i searched crops

lucid mulch
#

and EditMap should apply its changes prior to it loading it

urban patrol
#

hmm then maybe i need to sleep or something? i cheated my way to 10 hearts to trigger the map edit

#

oh yep! sleeping fixed it

#

thank you for looking into it sinz and forsy

#

it's strange that daytiles/nighttiles were working but windowlight wasn't

jolly tulip
#

does anyone know if this is when player harvests a crop?

#

is "indexOfHarvest" a variable?

lucid mulch
#

I would recommend learning some C# prior to looking into whatever it is you want to do

urban patrol
#

this is a good book to read to learn C#

jolly tulip
#

but is it relevant?

uncut viper
#

this channel is not going to teach you C#

urban patrol
#

yes. why would i link you something irrelevant.

vernal crest
#

Is...a resource that teaches C#...relevant to learning C#....?

jolly tulip
#

people who "know" C# dont know every in and outs of it

#

and yet they can function

vernal crest
#

How much C# do you know?

jolly tulip
#

a little bit

obtuse wigeon
#

define "a little bit"

uncut viper
#

if you dont know what public readonly NetString indexOfHarvest = new NetString(); is, the book is relevant

jolly tulip
#

ii know what a variable is, it's a value you give to x

obtuse wigeon
#

that's not specifically C#, that's just a basic coding principle across all languages

jolly tulip
#

keyword "not specicfically" in other words, it is part of C#

obtuse wigeon
#

have you done anything with C# before? (either related or unrelated to Stardew)

vernal crest
#

Is there any way - without C# lol - that I can check if a player has crafted a recipe?

jolly tulip
#

i printed "hello world"

obtuse wigeon
#

The Yellow book will be relevant to you then

vernal crest
#

What do you mean I have no BETAS tabs open >:(

uncut viper
#

no.

urban patrol
jolly tulip
obtuse wigeon
#

Read it until you find the part where you find it and understand it

vernal crest
vernal crest
uncut viper
#

you should read the book from the start and go from there.

jolly tulip
#

but i'll forget lots of it probably

uncut viper
vernal crest
#

Ah ha! You are always my saviour

urban patrol
#

button beat me to it lol

obtuse wigeon
vernal crest
#

What's another dependency for just one GSQ

uncut viper
#

could be two GSQs if you want crafting recipes too

vernal crest
#

I will make everyone use all my friends' mods all the time SDVkrobusnaughty

#

I actually only want crafting recipes lol

jolly tulip
uncut viper
#

could be two GSQs if you want cooking recipes too

jolly tulip
#

not to mention, why would i be appealed to read it if i think it's irelevant?

obtuse wigeon
jolly tulip
#

alright

obtuse wigeon
#

Bc that's how you learn

uncut viper
#

because no one else is going to be appealed by the idea of teaching you

lucid mulch
vernal crest
#

Atlas I feel like you are getting slightly suckered here lol

vernal crest
obtuse wigeon
#

I have no idea what "suckered" means XD

jolly tulip
jolly tulip
obtuse wigeon
#

Just googled it, I'm having quite a bit of fun so I can assure you I'm not XD

vernal crest
#

Uhh it means getting played

#

Haha okay then

jolly tulip
#

rage baiting as the new gens say

vernal crest
#

I'm with button on this one

#

Hrm, this feels like it needs a letter or people might not notice it got unlocked

urban patrol
#

whatcha making?

uncut viper
#

whats the unlock method

lucid mulch
#

If you show no interest in learning, you would find that people will be less interested in helping.

And with the majority of mods needing no C# at all, the majority of people here wouldn't be able to help anyways.
And those that can, would prefer to not teach the first 5 minutes of a C# 101 class for someone that doesn't want to do external reading first to learn the most basic of C# syntax

obtuse wigeon
jolly tulip
lucid mulch
#

there is a reason why !yellowbook is a command

jolly tulip
#

ill read it for a try to change if it makes u feel better

jolly tulip
urban patrol
#

being combative and distrustful of the people in this channel isn't going to be very constructive at all

jolly tulip
#

i dont think people intentionally wanna be misleading

ornate locust
#

I don't think people are being misleading, I think you're being kinda weird about this

versed wyvern
#

Whether it's a book or a disco message you have to read and absorb something yourself either way yugu

lucid mulch
#

I'm more saying out of anything else, that there is a minimum level of competency required with C# before you would even begin asking relevant questions that might help you with whatever you actually wanted to make (which you never did say)

#

and if you don't want to learn C#, you should accept that and try and see if Content Patcher content packs could solve your problem instead

jolly tulip
#

well my intuiton was that if somebody just answers my question instead of asking me to read an entire book then it'd be faster and less boring
it's like im asking "who is George Washington?" and u link me the entire wikipeda page of "history" or give me a history book

urban patrol
#

you're asking "what does this chinese phrase say" and we're telling you to read the chinese dictionary

ornate locust
#

I don't know a thing about C#, but I also didn't know a thing about Content Patcher when I started and everyone here's always linked to very helpful stuff when asked. They aren't misleading you, they are trying to help

jolly tulip
vernal crest
#

You're asking "where does the steering wheel go" and when we've answered that you'll ask "where does the windscreen go" until you've asked how to put together the entire car

vernal crest
versed wyvern
#

A question about code requires far more foundational knowledge than just a question that can be answered with a description

urban patrol
#

another alternative, if you don't want to learn, is to pay a mod author and commission the mod you want

uncut viper
jolly tulip
versed wyvern
#

Well you could also pay someone to actually teach you

#

With actual structured classes

jolly tulip
#

yeah but wht if the structure to those classes are bad?

versed wyvern
#

Then you got ripped off I guess WarShrug

jolly tulip
#

cause ive seen some computer science from time to time and ive liked some over the others

jolly tulip
brave fable
versed wyvern
#

You can't do anything in life without some level of gambling your time and/or money

vernal crest
tender bloom
versed wyvern
#

But it's better to try it and learn how it can go wrong than to spend the same amount of time not doing anything because you're worried it could go wrong

vernal crest
#

SO HOW ABOUT THOSE MODS EVERYONE

tender bloom
#

i have a disturbing number of citations lurking under the hood of some of my (unpublished) mod features

brave fable
#

c# mods you say

ornate locust
#

guys I just had schedules work on the first try

#

fuckin miracle

tender bloom
#

it turns out fish just have wild names

oblique meadow
urban patrol
tender bloom
#

there's so many weird fish out there

brave fable
#

i respect and relate to the idiot fish

jolly tulip
# brave fable i do in fact read a lot of books for my mods lol

alright but i think books are boring, its not an active hobby of mine because the text doesnt feel human, which is why asking a guy is better than looking it up. it feels like they're trying to sound educated when the concept of "educated" is a social construct, in other words they're trying to sound apealing and cool to the masses than try to convey something to me. i dont like how teaching comes second but maybe im wrong about yellow c#, we'll see

uncut viper
vernal crest
tender bloom
#

there's also a lot of very poorly documented fish where it's hidden in some random person's blogpost to even figure out anything about the fish

lucid mulch
#

my .NET 9 SMAPI experiment for the most part has been a success, and I think I have the Satori GC working, but need to put more work into Profiler to have a sampling system in place so I can log performance details better to help compare .NET6, .NET9 and .NET9 w/ Satori

jolly tulip
urban patrol
#

is this the monster hutch?

brave fable
ornate locust
tender bloom
#

i suspect this is because I speak english so all the fish dictionaries I read are in english, which has particularly poor documentation outside of the english-speaking areas of the world

uncut viper
jolly tulip
vernal crest
#

So the letter would just be "hey, here's this particular recipe now"

jolly tulip
oblique meadow
#

Ok. Mod related question more needing help determining if there’s a better way. I have a map that starts covered / obscured. With more of the map being u covered as quests are done. Is the most efficient way of handling this via map patches I’m assuming? Or is there something better that would be easier / better / more flexible

vernal crest
brave fable
#

in any case, some of the most wordy and verbose books i've read have also been the most engaging, and more importantly, useful, relevant, and insightful

uncut viper
tender bloom
urban patrol
obtuse wigeon
tender bloom
#

this chatroom is about making mods for stardew valley specifically

uncut viper
#

wait BETAS has an ItemCrafted trigger i forgor

ornate locust
haughty charm
brave fable
lucid mulch
#

the proposed 1.7 fields on Data/Objects which were intended for shops might work on crafting as well and might be able to do what you want (with all the problems depending on 1.7 would cause ofc)

livid kite
haughty charm
#

Raffie! SBVFrogHug

obtuse wigeon
brave fable
#

but yeah more to the point it's hard to give longform C# lessons in this chat because it's a lot of information, it fills up the chat quickly, it isn't suited to an instant messenger format, and requires a good amount of practical learning on your end as well

uncut viper
#

i routinely have to double check my own documentation to make sure im not misremembering a trigger or GSQ or something or confusing it with one i only thought about adding but never did or vice versa

jolly tulip
vernal crest
#

Unfortunately there's no set order for them to craft them in

brave fable
#

we're here for asking and sharing stardew valley specific information, because there's nowhere else you can ask for that hahah

uncut viper
#

thats why you set a mail flag for each individual one

lucid mulch
#

I would leave it blueberry, particularly with logo now here I would stop getting ragebaited further

uncut viper
#

with each ring also having a separate trigger to check if they now have ALL the flags

haughty charm
#

Making a mod is coding...whether you're making a content pack for a framework or writing your own C#

jolly tulip
haughty charm
#

And that's where I'm going to put a lid on this conversation

#

This isn't a classroom, it's a chatroom

ornate locust
#

you know, good, because it was getting incoherent. Aba, the monster hatchery place looks rad

obtuse wigeon
#

-# scope creep scope creep scope creep

haughty charm
ornate locust
#

I like the little walls and gates. Are those added like people do in slime hutches or are they a feature?

vernal crest
#

They're just Boggy decorating

uncut viper
#

if no explosion of confetti, you could just make it play the level up sound or somethin

#

to give an indication that ~something~ happened

#

maybe pop up a custom Message or dialogue box to tell them exactly what just happened

brave fable
# jolly tulip what did u read?

to close things up, i'm reading through 'measurement and construction of the japanese house' by the architect heino engel, which is an extremely useful illustrated reference

vernal crest
#

I will pass your ideas on to my collaborator and we will ponder, thank you Button xD

uncut viper
#

mission accomplished

tender bloom
#

making sounds is pretty easy in C# fwiw (idk if betas has that as a feature)

oblique meadow
uncut viper
#

BETAS has a PlaySound traction yeah

#

so does SpaceCore

urban patrol
obtuse wigeon
#

you beat me to it Nic

oblique meadow
#

The idea is that the quests unlock and uncover parts of the map. So I definitely want them hidden

tender bloom
#

you could also break up the map into smaller maps

#

i guess that's not less work

#

at all

rustic imp
#

the dichotemy between wanting to learn to make stardew mods vs just wanting to play stardew

#

I'm gonna play stardew now

tender bloom
#

break the modder's curse!

drowsy pewter
#

I want to play stardew but my mod release deadline
.

oblique meadow
drowsy pewter
#

I hired some friends to translate my mod into thai so i can (hypothetically) play with it in thai later SDVpuffersquee

haughty charm
#

I want to play stardew but wikis...it's modding-adjacent nodnod

livid kite
#

I'm sure you'll be able to play soon logo! SMCFrogHug

urban patrol
#

warp NikoSasaki? 28 19/move NikoSaski? 0 -4 0/speak NikoSasaki? \"Monty! I can't believe we're going to be neighbors!$h\"/warp CrystalPalace 28 19/move NikoSasaki? 1 0 3

sighhh is this not how to have an event with an optional character? the event freezes immediately after Niko warps in. she actually did warp in, which i don't want, because she's not unlocked in this save yet

vernal crest
#

Did you give her the question mark in setup too?

urban patrol
#

...no i did not, good catch

vernal crest
#

Also I think I found that optional characters that are not unlocked still appear...let me go find my test file

urban patrol
#

ugh i don't want to have to code two versions, but i will

uncut viper
#

the optional check in addActor specifically excluded non-unlocked characters

#

like Kent

urban patrol
#

let me test it with the ? in setup

vernal crest
#

No I was wrong

livid kite
#

off to the wiki to know more about '?'

urban patrol
vernal crest
#

But move breaks with optional NPCs

urban patrol
#

that would be it then

#

darn

vernal crest
#

Try advancedMove

urban patrol
#

my least favorite move command screaming lol will do

uncut viper
#

are you certain? the Move code also has optional NPC checks

vernal crest
#

No I am not certain, my notes aren't very clear and I didn't record when I was doing this testing so it might have been before 1.6.15

#

Looks like I reported the errors before 1.6.9

livid kite
#

On the wiki it says that they are only added if the unlockconditions match

vernal crest
#

But I thought I remembered there being different errors afterwards

urban patrol
#

different errors in your log? or in unexpected behavior? my log is empty

vernal crest
#

Oh no I must have been testing after 1.6.9 because I mention the speak command having been fixed

ornate locust
#

I'm making myself play Stardew to test, would recommend just playing the dang game for testing

vernal crest
#

Event hangs forever, no errors

ornate locust
#

you really find some stuff

urban patrol
#

oh yeah

uncut viper
#

hm i suppose i dont see it incrementing the current command counter so thatd track

urban patrol
#

is this a 'report for 1.6.16' kind of thing?

uncut viper
#

idk dont put my name on it im very tired and only giving the code cursory looks at best as a result

urban patrol
#

i can def wait until someone else weighs in. this event is far from the last thing i need to do, and i can work around it by just making two events if i have to

vernal crest
#

Yes it is, I can put it on my to do list to make a repro pack for Pathos

uncut viper
#

in fact yeah after another look ignore my previous comment i missed a negation

#

dunno why it hangs

urban patrol
vernal crest
#

Did advancedMove change it?

urban patrol
#

i haven't changed that yet. let me do it now since i'll have to convert them all (never the twain shall mix!)

vernal crest
#

Nah I mix them all the time

#

Just did yesterday

urban patrol
#

omg what

#

this is news to me

#

okay this'll go quickly then

vernal crest
#

Time for me to commit config crimes sorry ichor

#

And also Button I'm pretty sure

urban patrol
#

okay changing the first move got me as far as warping crystal in, so i'm pretty confident that advancedMove likes NPC? and move doesn't

ornate locust
#

never be sure about movement

#

dead-eyed stare into the distance

patent lanceBOT
vernal crest
#

Yep, test event hangs with move Kent? 0 1 2/ when Kent is not unlocked but not with advancedMove Kent? false 0 8 14 0 4 50/

urban patrol
#

oh my god an error i've never seen before: the event started itself over??

vernal crest
#

I've had that before too

ornate locust
#

yet another Movement Quirk for the list

urban patrol
uncut viper
#

i dont know what a config crime would be

vernal crest
#

Nope

urban patrol
#

faceDirection NikoSasaki? 3 this is where it starts itself over so maybe another oddity for the list i lied, my speak command was borked

vernal crest
#

I am setting up a config that breaks things when changed mid-game. I think. My testing was sidetracked by optional NPCs.

urban patrol
#

i was about to apologize for distracting you, but if i'm preventing crimes perhaps i should be proud

vernal crest
#

Lol it's probably a very minor crime

versed wyvern
#

Does anyone know if there are any additional modders who take commissions for maps and map tilesheets not listed on the modding wiki page?
The more I think about it the more I just don't wanna make tilesheets myself biggerqiqi

drowsy pewter
#

i dont know any who are active rn

#

aside from me

#

who is not active

urban patrol
#

i love making maps but tilesheets aren't my strong suit

drowsy pewter
#

for maps you might find people in the east scarp server

versed wyvern
#

A universal distaste, it seems like rubyslime

drowsy pewter
#

Yes tilesheets are horrible

#

Sorry

oblique meadow
#

Tilesheets aren’t bad. I just suck at art

drowsy pewter
#

But if you pay enough to keep me housed for several months i could consider it (mostly joking)

urban patrol
#

what kind of tilesheet do you need? like all new terrain etc, or more like individual furniture/objects?

devout otter
drowsy pewter
#

You can ask Lumina since she does a lot of tilesheets i dont think she has like a commission page though

versed wyvern
ornate locust
#

More of an editor for tilesheets, sorry. I made exactly one flower from scratch and it gave me a real headache

urban patrol
#

i actually love drawing building exteriors but it takes me for-fucking-ever

obtuse wigeon
#

I love spooky stuff, I wish I had the skills to make tilesheets for it, everything else to do with them I quite like, except the making of them

ornate locust
#

and the one building I did was like a boxy municipal building

drowsy pewter
#

PlatinumCats might possibly be open to doing it

#

but her prices are similarly high

ornate locust
#

(that's the great thing with a bunch of small town municipal architecture, it's SQUARE AS HELL, don't gotta get too fancy with it)

indigo yoke
#

am I not seeing customfields being easier to get for Objects/Items/Tools?

Like for locations I can do

  var data = player.currentLocation.GetData();
  data.CustomFields

or for buffs, same thing. but like for Items I don't see a built in data (or customfields) getter?
like I cant do

var data = item.GetData();

or

var customFIelds = item.GetCustomFields();

like I can for context tags. am I just blind?

versed wyvern
#

A chunk of the ones on the wiki specify they don't do tilesheets

drowsy pewter
#

Tilesheets are genuinely a rare thing because someone who has done them before has to have experience with map modding

urban patrol
#

these are buildings i've made, if that's appealing to you? my skills for interior would probably be mostly recoloring vanilla assets like floors and walls, but i can do furniture and objects easy

drowsy pewter
#

Theres probably a lot of people who would be open to consider it if you ask tho

finite ginkgo
versed wyvern
#

Hmm, okay, I guess I should probably get a more detailed plan for what I want and then see if anyone would be interested ThinkO_O

drowsy pewter
#

For doing tilesheets as an artist I find that the most clear way is for you to make a scribbled wip tileset that you can use to build your maps. That way you can accurately assess how many tiles you would need and what shapes/corners/etc. Or use a vanilla tileset and tell the artist "replace every tile here with a custom one". Otherwise trying to communicate what is needed is very difficult'

urban patrol
#

also you should check out shrimplyforsy's art, i think they're making a gothic mansion sort of thing, and it looks awesome

obtuse wigeon
#

(it shouldn't be blury when you download it from discord, if it is lmk and I'll put it on my website instead and link it)

versed wyvern
#

Much obliged, will yoink

urban patrol
obtuse wigeon
#

I recently found it again, I thought it was deleted when I reinstalled my OS but it was instead hidden deep in the files of a random mod idea I have

#

there is another 20 tiles in the psd doc I was planning to convert to grayscale like these but I never got around to it

urban patrol
hard fern
#

Ah, i dont take comma

#

*comns

versed wyvern
#

We are just huddled in a circle lamenting that tilesheets are pain

hard fern
#

Whatsver that word is

urban patrol
#

ah too bad!

hard fern
versed wyvern
#

Say, related to the idea I wanna do, is it possible to control the weather for an event? Being all spooky I'd really like it to start storming during the intro for the atmosphere OkayuThink

urban patrol
#

spacecore can set it to rain

#

i'm not sure if that includes lightning though

versed wyvern
#

Mm, that might be good enough, could fake lightning strikes with playsound and whatnot, thanks for the tip googlythumb

urban patrol
#

if you do get something you like, would you mind sharing the event code for the storm part? i have an event i want to make that's the teens telling scary stories around a campfire, just haven't gotten around to it yet. no worries if not

brave fable
#

includes an info sheet and guide SDVdemetriums

versed wyvern
#

A promise from me for a project this far off probably wouldn't mean much but sure RemFive

vernal crest
#

Hmmmm nothing appears to have broken. Was my real crime lying about committing crime?!

#

Oh no I forgot one of the side effects (sometimes) of breaking events is that the music never ends

urban patrol
#

i hate advancedMove. any tips on making niko not freeze on a walk sprite after she finishes her move?
/emote farmer 20/warp NikoSasaki? 28 19/advancedMove NikoSasaki? false 0 -4/pause 1000/speak NikoSasaki? \"Monty! I can't believe we're going to be neighbors!$h\"/warp CrystalPalace 28 19/advancedMove NikoSasaki? false 1 0/proceedPosition NikoSasaki?/move CrystalPalace 0 -3 0/faceDirection NikoSasaki? 3/speak CrystalPalace \"Wow, nice digs. Did Jenny give you The Talk?$h\"/emote MontyFinch 32

urban patrol
vernal crest
#

I can't get earworms lol

vernal crest
urban patrol
#

oooh

#

perhaps that's the key to advancedMove not sucking forever that i've been missing

vernal crest
#

Probably, I've almost never had advancedMove suck

#

In fact, you're one of the only people I know who prefers move

urban patrol
#

i like to be special apparently SDVpuffersquee

vernal crest
#

I prefer to write move because it's easier lol but I am always prepared to switch to advancedMove if needed

#

And when I need simultaneous movement I don't even bother starting with move

urban patrol
#

one thing i like about move is that it pauses the event by default

#

but you can unpause it with true

vernal crest
#

I know

urban patrol
#

sorry not to modsplain lol

vernal crest
#

But I find it frequently works poorly compared to advancedMove

#

Haha that's okay

#

I am almost always doing simultaneous movement lol

#

I always sigh at events where one character walks to their destination and then the next one starts

urban patrol
#

makes total sense you'd prefer it then

#

lol

vernal crest
#

I am too impatient for inefficient movement!

urban patrol
#

i got farms to crop and people to gift joja cola to!

vernal crest
#

Huh, my config worked first go with no issues whatsoever so now I am slightly off kilter because I was expecting to have to do more work lol

urban patrol
#

wow! better not jinx it then

vernal crest
#

Oh...oh no

#

My i18n key:

"config.CT_RingIngredients.values.Bogs.Monsters_SquidKidSoul 1 Bogs.Monsters_MetalHeadSoul 1 Bogs.Monsters_SkeletonSoul 1 Bogs.Monsters_RockCrabSoul 1 Bogs.Monsters_DustSpriteSoul 1 Bogs.Monsters_ShadowShamanSoul 1 Bogs.Monsters_ShadowBruteSoul 1 Bogs.Monsters_StoneGolemSoul 1 74 1"

urban patrol
vernal crest
#

I guess I have to eat my words about wishing i18n keys didn't accept spaces SDVpufferpensive

#

That monstrosity worked perfectly

urban patrol
#

LMAO

#

i'm glad it worked, sorry about the new word diet

vernal crest
#

Curse my love of being able to put tokens right inside the recipe ingredients field

#

Kick a frog while they're down why don't you 6480 /j

drowsy pewter
#

happily

#

did you just call yourself a frog

vernal crest
#

Yes lol

merry rampart
#

anyone know where i can get a copy of the old wizard house tiles? it's not in the game anymore and I need it to make an old mod work

#

nvm i found a source

jolly light
#

Does anyone know where the shoe color mask is located?

vernal crest
#

The one in Characters/Farmer/shoeColors?

hard fern
#

🤔 what about the shoes on the character base itself

marble needle
#

Btw somebody can test if the pokemon farmer mod with all variations loads in the steam deck? (It could take time because of the sheer amount of sprites)

#

And how to add my published mod to the smapi database?

fossil osprey
#

The smapi database is updated regularly with all new mods, so you don't need to do anything

frosty gate
gentle rose
merry river
#

hi, i'm modding for the first time and i'm trying my hand at making a standalone npc using the tutorials i can find including on the CP site and the SDV site! it seems that some of it was written for 1.5 though, if I'm not mistaken? are there any up to date tutorials one could point me to? all the tutorials talk about a dispos.json but it doesn't seem to exist in 1.6. thanks in advance SDVemoteheart

drowsy pewter
#

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

drowsy pewter
#

the first one

merry river
#

thank you so much!

#

oh you're the author of cornucopia? just using the chance to say that i love this mod! thanks for your work!

drowsy pewter
#

Thank you so much!

obtuse finch
#

Does anyone know a mod that would let you remove bed in a extra player house?

drowsy pewter
#

Our new mod will be released in less than two weeks

merry river
#

looking forward to that!!

obtuse finch
#

Ohh alright, thank you

drowsy pewter
#

I wonder if requiring a specific version of an optional dependency in the manfiest will even do anything

calm nebula
#

It does

drowsy pewter
#

Thank god, i have a lot of optional dependencies and they all have required fnew features

calm nebula
#

If (dependency installed but wrong version) then (mod does not load)

fast plaza
#

Yknow. The whole "you've launched the game 100 times" feature is cute and nice until you've been relaunching the game over and over trying to debug one issue

calm nebula
#

I keep on wanting a {{mod version}} token for that reason

ocean sailBOT
#
How do I reload my changes while I'm still in game?
  • Content Patcher pack: enter patch reload <your_mod_id> in the SMAPI console window. This will reload and reapply all your patches (but won't recalculate the ConfigSchema or DynamicToken sections if you use them).
  • Translation files: enter reload_i18n in the SMAPI console window. If it's for a Content Patcher pack, also run patch reload afterwards.
  • C#: see the Visual Studio hot reload or Rider hot reload feature.
calm nebula
#

Do you know about hot reload

fast plaza
#

I didn't but this is very good to know! Some of the stuff I'm working on rn I don't think this'd work too well with but il have to give it a shot when I'm working next! Ty!

#

I used to work with unreal engine at my old job and I'm kinda nervous about hot reload cuz unreal engines hot reload is godawful

#

But SMAPI is far better made than unreal engine so I'm optimistic

next plaza
#

It's not even a matter of how SMAPI is made - it'd just be the base .net hot reload

#

but yeah it's one of the many reasons I'm a UE hater

autumn tide
#

huh, I didn't know unreal engine was designed so poorly lol

next plaza
#

The hot reload specifically has more to do with the C++ stuff I think

#

It's super old though, so I imagine a lot of the design stems from that

autumn tide
#

mmm okay

next plaza
#

But there's more than just "only C++ or Blueprint, no in between" that I dislike about UE

#

So I'd try to use godot or something instead

autumn tide
#

good to know lol, I don't plan on learning to program or anything but I find it intriguing

woeful lintel
#

Yay! hours after a patch release and no one is complaining!

dusky rose
#

if you have any issue dm me base on project that you can pay for

frosty gate
# uncut viper <https://stardewmodding.wiki.gg/wiki/Tutorial:_Making_Framework_Mods#Custom_asse...

Thanks for this! So from what I understand this how I could define the data model:

class AccessibleTileData {
  public string? Id = null;
  public List<AccessibleMap> MapEntries = [];
}

class AccessibleMap {
  public string? Id = null;
  public List<AccessibltTile> TileEntries = [];
}

class AccessibleTile {
  public List<int> X = [];
  public List<int> Y = [];
  public string? NameOrTranslationKey = null;
  public string? Category = null;
}

And this is how it can be patched,

{
  "Action": "EditData",
  "Target": "shaoib.stardewaccess/AccessibleTileData",
  "Entries": {
    "{{ModId}}": { 
      "Id": "{{ModId}}",
      "MapEntries": [
          {
            "Id": "MapIdentifier1",
            "TileEntries": [
              {
                "X": [64, 63],
                "Y": [43],
                "NameOrTranslationKey": "Yolo",
                "Category": "Decor"
              },
              // and so on
            ]
          },
          // and so on
        }
      ]
    },
  }
}

Are my assumptions correct?

next plaza
drowsy pewter
woeful lintel
next plaza
next plaza
#

the deadline is yestermorrow

woeful lintel
#

yeah but godot is C++ too and it has hot reload, so I doubt it's related to the language

drowsy pewter
#

Um...

#

Sure can!

#

Invest in my gofundme

next plaza
#

I've used it a small amount before, it was painful

woeful lintel
#

oh ok, I see. Never used UE myself, Godot was already useable when I got into game dev

next plaza
#

Not talking about C++ itself

#

Specifically UE+C++

#

Most recent time I used it wasn't by choice 😛

#

(previous job)

#

I will say that modern UE is much better than ooooold UE

#

(besides the content baking times)

woeful lintel
next plaza
#

By "ooooold UE", I mean "early versions of UE 3" (I think it was 3 - definitely before 4)

drowsy pewter
#

I liked CP-ed, maybe i'll start saying it

frosty gate
#

lol

dusky rose
#

yes

woeful lintel
#

eugh

dusky rose
#

dm me

#

for it

drowsy pewter
#

My dms are broken, maybe you should just post your scam link here in chat so the automod can get you

autumn tide
#

always more efficient that way

drowsy pewter
#

I spent all of my modding time today just writing the mod page

hard fern
#

Whats a "dee em" SDVdemetriums

next plaza
drowsy pewter
#

I can tell someone here really wants to play a science based dragon mmo

next plaza
#

Not me, I prefer my dragons magic-based

hard fern
#

I actually prefer my dragons plant based

gaunt orbit
#

did someone say dragons dragneyesBIG

autumn tide
tiny zealot
#

it's actually not a dragon unless it's carbonated in the dragonne region of france

gaunt orbit
#

if you actually want to be a dragon pedant you start talking about terminology and how it describes their physical configuration

shut edge
#

oh boy wyvern discourse

woeful lintel
#

I'm out

gaunt orbit
#

lol

hard fern
#

What about wyrms

shut edge
#

is a dragon a kaiju

autumn tide
brittle pasture
#

my dragon opinion is that eastern dragons clear those firebreathing overgrown lizards

gaunt orbit
#

iirc wyrms have wings but no legs

next plaza
shut edge
#

now what the hell is a drake

hard fern
#

Like the rock?

gaunt orbit
#

salamanders are the opposite; legs but no wings

autumn tide
hard fern
#

So salad is a dragon

#

Salamander

autumn tide
shut edge
#

behold, a man

brittle pasture
#

(how salamanders got associated with fire is eternally hilarious to me)

hard fern
#

Fire salamander

#

... Salazzle? 🤔

shut edge
#

are snakes dragons

gaunt orbit
autumn tide
#

I mean, isn't the literary tradition still a part of the greater folklore?

autumn tide
shut edge
gaunt orbit
# shut edge are snakes dragons

yesn't. serpents are a class of dragon, and serpents are just... snakes. or eels. or anything wriggly like that. but I guess mostly just for particularly fearsome specimens

hard fern
#

What is a snake but a legless, wingless dragon

autumn tide
gaunt orbit
#

AMPHIPTERES MY BELOVED

hard fern
#

I like the amphitheatre

shut edge
next plaza
autumn tide
hard fern
#

It's accurate

brittle pasture
# brittle pasture (how salamanders got associated with fire is eternally hilarious to me)

(for the uninitiated it's because some salamanders nest in wood logs, and when people toss those logs into the fireplace those salamanders understandably get the heck out of dodge, and said people thought that that meant salamanders were born from the fire. now salamanders are associated with fire just as undines, gnomes and sylphs are to water, earth and air)

autumn tide
#

how tf do ampitheres?

hard fern
#

Aren't salamander kinda wet

#

Or am i thinking about newt

autumn tide
shut edge
autumn tide
#

like if they got wings they need some version of feet

hard fern
#

Like spaghetti

gaunt orbit
autumn tide
#

I'm prob an outlier in that I think modern folklore is equally as fascinating and important

next plaza
# shut edge

The level of detail here makes me 90% sure the author has played or does play that dragon raising web game

gaunt orbit
# shut edge

my only objection to this is that dragonet is already used to describe immature dragons, and shouldn't share a name with a classification

shut edge
#

there seem to be many of these charts out there

autumn tide
gaunt orbit
#

people like worldbuilding and lore

shut edge
#

is ghidora a dragon hm

#

probably

autumn tide
#

is godzilla a dragon?

#

I'd say yes

shut edge
#

eh if you want to say dinosaurs are dragons

autumn tide
#

ooh boy several people are typing-

shut edge
#

lol

hard fern
#

Making dragons general

tiny zealot
next plaza
#

What would this dragon be classified as (besides “adorable”)

#

(This photo has been on my phone since 2016)

hard fern
#

Isnt that a bat

next plaza
shut edge
#
Wikizilla

Dorats (ドラット, Doratto) are small, genetically-engineered kaiju who appear in the 1991 Godzilla film Godzilla vs. King Ghidorah.
Genetically engineered as pets in the 23rd century, three Dorats were brought back to the year 1944 as part of the Futurians' scheme to bring the nation of Japan to its knees before it could become an economic...

hard fern
#

Huh

next plaza
autumn tide
tiny zealot
shut edge
#

lmao

#

it's a very odd film

hard fern
patent lanceBOT
autumn tide
#

that's more like pegasus-esque territory then?

#

ie animals with wings on top of four limbs

next plaza
gaunt orbit
#

I love dragons but I'm firmly in the camp of "this is more fun if everyone has their own ideas and nobody is getting hurt"

next plaza
autumn tide
#

hm

#

hm.

next plaza
shut edge
#

maybe a pegasus is the result of like a kirin and a dragon breeding

#

mabybe a griffin was in there too

autumn tide
#

I'd say that cause wings are analogous to limbs, dragons might not have like dedicated front limbs?

#

cause dragons are like- idk wing-heavy?

gaunt orbit
#

the interesting thing about pegasi/winged horses is that the greek myth Pegasus was just the one, and that was his name

autumn tide
#

they seem to be more reliant on flight than waling in the media I've seen at least

tiny zealot
autumn tide
#

OMG centaurs-

hard fern
#

According to all known laws of aviation, there is no way a dragon should be able to fly.
Its wings are too small to get its fat little body off the ground.
The dragon, of course, flies anyway because dragons don't care what humans think is impossible.

next plaza
hard fern
#

Octopodes

next plaza
#

I don't make the rules

brittle pasture
autumn tide
shut edge
#

hohoho

hard fern
#

So is the plural for pegasus pegases

autumn tide
#

pegeeese

shut edge
#

should a pegasus have a unicorn horn too tho

next plaza
autumn tide
autumn tide
gaunt orbit
autumn tide
#

i think they'd still be similar with or without horns, lots of animals have variation in horns among individuals

hard fern
#

I found it on github

autumn tide
#

why the bee movie script now-

next plaza
autumn tide
#

..oh god I'm so glad I was never exposed to the bee movie as a child

gaunt orbit
# shut edge should a pegasus have a unicorn horn too tho

in Friendship is Magic these are called Alicorns. technically that's specific to FiM, but it's gradually being adopted outside of that now due to its former popularity. Alicorn is actually the word for the material of unicorn horns

autumn tide
#

that shit would've caused irreversible damage 😭

hard fern
autumn tide
#

OH

#

i got it now

hard fern
#

I still can't believe giraffes are real

autumn tide
#

IK

#

They're fucking wild

shut edge
#

have you ever seen giraffes fight

#

it is bonkers

autumn tide
#

it's INSANE

#

THE SAME NUMBER

gaunt orbit
#

that's so evil

#

spore creature

autumn tide
hard fern
#

Oh my god

tiny zealot
#

ostrich and hippo are my other nominations for "actually a monster"

next plaza
#

surely this is AI

shut edge
#

also this came up, lol

autumn tide
autumn tide
shut edge
#

hippo would destroy us all

next plaza
autumn tide
#

rhino is just a really buff unicorn

gaunt orbit
#

platypi are wild

shut edge
#

there was some plan to farm hippo meat in america

#

i'm kind of glad we didn't

tiny zealot
#

nah, the platypus is just a little guy. just a little monotreme having a good time

autumn tide
gaunt orbit
#

did you know platypi sweat milk

autumn tide
#

no

hard fern
#

YES I DID

autumn tide
#

their sweat IS pink though

gaunt orbit
#

also they glow under uv

autumn tide
tiny zealot
#

classic monotreme behavior! the echidna also has milk patches

autumn tide
hard fern
#

They are also bio florescent

#

Fluorescent

autumn tide
#

but they do not sweat milk, they sweat pink and lack nipples

hard fern
#

Yeah so the milk comes out their skin

#

Which. Is like adjacent to sweating milk

autumn tide
drowsy pewter
#

what in the hell is happening here

autumn tide
#

ehhh but it is only from their stomachs where the mammary glands are

autumn tide
gaunt orbit
#

now quite so odd but opossums are north america's only marsupial. also they have a strong natural resistance to rabies due to their low body temperature

tiny zealot
#

when wren said "sweat" it was a synecdoche for the real thing that is happening