#making-mods-general

1 messages ยท Page 388 of 1

calm nebula
#

Oh I was asking DH if he learned the fun of tilesheets

brave fable
#

i guess tIDE doesn't export tilesets so good

calm nebula
#

I know you have, iro

brave fable
#

utterly rotten software

blissful panther
#

...I was not aware of this.

gentle rose
#

at least animations can be merged because there are no conflicts

#

properties can't be

hard fern
humble timber
#

what thefuck.

gentle rose
#

forsy you were here when we talked about it SBVLmaoDog

#

with the fishing farm

humble timber
#

god sometimes i wish i cpuld go back to Not Knowing things

calm nebula
#

Showing my age but I can't think of 999 without singing charlixcx in the back of my head

#

So, iro, are those tiles animated anywhere else

gentle rose
#

wdym?

#

oh

calm nebula
#

Those tiles, in a different map

gentle rose
#

uh I'll have to check in a second SDVpuffersquee right now I'm compiling tiled

#

not tiled

blissful panther
#

Oh, no.

#

The Town version is even worse.

gentle rose
#

aseprite

hard fern
#

I guess maybe only tiles that are used in the map are animated?

calm nebula
#

I honestly believed stardew water is south west to north east

gentle rose
#

at least the ones that are animated have the same animation SBVLmaoDog

#

uh dh do you want me to see if I can cook up a version of this tilesheet with all the animations real quick

blissful panther
#

Oh, it's fine, I've added them all, but it's just a bit of an eye twitch situation. SDVkrobusgiggle

gentle rose
#

that's why I'm looking at making unions/supersets of all the animations for each tilesheet SBVLmaoDog

patent lanceBOT
hard fern
#

My first thought was to ask: are the tilesheets unionizing?

brave fable
#

were they ever ionised?

calm nebula
#

Yes

fading walrus
hard fern
#

Lol

red egret
#

Woohoo!! I'm a recognized mod author now!

blissful panther
#

Hey, that's great! Hope the message wasn't too much of a jumpscare, though. SDVkrobusgiggle

red egret
#

Nope ๐Ÿ™‚

calm nebula
#

You can also choose the orange if you like that color

red egret
#

I don't xDD and ty

hard fern
#

Im orang forever...

calm nebula
#

You're cotton candy colors rn

red egret
#

Maybe one day if i really need to make my own thread here

calm nebula
#

Eh, you can always ask if someone else will

red egret
#

Oh? Hmm

formal crown
#

An AVE? SDVpuffereyes

red egret
#

I suppose one day when i make my own expansion

lucid iron
calm nebula
#

everyone's making expansions. no one's making contractions

lucid iron
#

As discussed it's not fixable by you I just built vpp from source

formal crown
#

Did the error say where?

red egret
lucid iron
#

It died in ur PatchAll

uncut viper
#

there is practically nothing to be done about an AVE

formal crown
#

...I have no PatchAlls

lucid iron
#

Some patch or another then

#

But yes it is no concern Sleepden

#

Just a Thing that happens sometimes

#

It was essentially this error but the stack trace had vpp

#

I seen it for other rando mods too so it's not a code problem

gentle rose
#

yessss finally managed to build aseprite from source

#

and all it took was what little was left of my sanity

lucid iron
#

I thought it's on AUR

blissful panther
#

I hope you're not on Arch, because otherwise that would have been much easier. SDVkrobusgiggle

gentle rose
#

nah, windows

blissful panther
#

It is, yeah... maintained by our very own Aquo, even.

lucid iron
blissful panther
#

Waterfalls won't be tedious to animate at all! SDVkrobusgiggle

calm nebula
#

Have you tried the bulk animation tool

#

Also, what are you making

blissful panther
#

Probably the most C#-heavy farm map we've seen so far... for better or worse.

golden basin
#

question, is it possible to make our own theaters?

lucid iron
#

Afaik no

uncut viper
#

you could always make your location the MovieTheater type but it likely wont be as customizable as you'd hope

lucid iron
#

You can sorta fake it if you don't care about the movie ticket parts

#

It plays an event when u go inside

uncut viper
#

(what the hell is this)

dusky sail
#

a single 7 against the world?

uncut viper
#

what the fuck

#

surely there was a better way???

lucid iron
#

You don't understand this is performance critical

#

Gotta be array trust

uncut viper
#

an array of arrays of arrays of arrays though?

lucid iron
#

For readability/j

uncut viper
#

i think this might be the code im most baffled by in sdv

velvet narwhal
#

it's happened

lucid iron
#

Do you wanna ask pathos for what the real source looks like

fossil osprey
#

Ok so I could understand the weird "check the letter at that position" to compare strings, but this?

uncut viper
#

i cant imagine how anything sensible could turn into this even with ILSpy decompiling artifacts

calm nebula
#

(Never change, CA)

#

(We love the bat blinking)

uncut viper
#

even parseDialogue makes more sense to me than this

#

and that just gets turned into IL jumps

hard fern
calm nebula
#

Does collection init make it look prettier, button.

uncut viper
#

its a list of lists, where each list in the list contains a list of lists, and each of those lists contain one more list of lists

#

in order to figure out possibly configurations of NPCs in movie theater seats

brave fable
uncut viper
brave fable
#

collection init being [ [ "Lewis" ], [ "Abigail, "Sebastian", "Sam" ], [], ...]

blissful panther
#

The bulk animation tool does not appear to work correctly. Manual it is!

velvet narwhal
#

bulk anim doesn't exactly work on vanilla tilesheets unfortunately

uncut viper
#

i know how to initialize collections like that but i was just confused by the "make it look prettier" part

velvet narwhal
#

it kind of expects a tilesheet to have sanity and reason puffpensive

blissful panther
#

This is for the waterfalls, so it's formatted in a way that should be perfect for this kind of tool...

uncut viper
#

i thought atra was saying i could make ILSpy do collection init syntax like that

brave fable
#

ah right

velvet narwhal
#

i crack open my waterfalls one to see what i did because afaik i did use it on waterfalls

uncut viper
#

but no that doesnt make it prettier to me bc thatd still be [ [ [ "Lewis" ], [ "Jas", "Vincent", "Marnie" ] ] or whatever

brave fable
#

the real waterfalls were the new string[3] { new string[3] { new string[3] { we made along the way

uncut viper
#

i might even still be missing one layer of brackets there

#

i think i am

#

a string[][] would almost be acceptable here

velvet narwhal
#

oh nvm the big boy waterfalls don't work because they go -> and then next row

brave fable
#

ah, it's string[7] because it's for each day of the week

calm nebula
#

It looks better to me

uncut viper
lucid iron
#

Hm so this means modded npc never come to the movies as background extras?

calm nebula
#

Nop

#

New chue mod in 3 2 1

lucid iron
#

NoU

uncut viper
#

atra answered that very confidently

#

atra, can you tell me why there also exists these

#

why is there _viewingGroups and _npcGroups and possibleNPCGroups

lucid iron
#

Man i really hope the npc context tag thing mentioned in 1.6.16 thread come exist

#

It would be really nice for this and gimac and so on

uncut viper
#

also dont forget protected readonly NetStringDictionary<bool, NetBool> _characterGroupLookup

velvet narwhal
#

i've already been baited by tia about linking something in there because i thought it was this channel

uncut viper
#

(also this is more amusing and not baffling or anything bc i understand why the name is the way it is, but it amuses me that addSpecificRandomNPC is 1) called SpecificRandomNPC and 2) always called with hardcoded numbers)

lucid iron
#

It's PRNG trust

#

Xkcd random number 4 energy

blissful panther
velvet narwhal
blissful panther
#

...wait what.

#

That... explains the results. I am confusion.

velvet narwhal
#

reasonable logic means that "both" would run -> into the next row and continue -> but no it's diagonal KEK

hard fern
#

Ah yes

#

Both directions

#

I guess it's like pressing up + left or right in a video game

#

And moving diagonally

velvet narwhal
#

unfortunately if i'm remembering correctly, even if you tried to tell it to run -> continuously, the frames itself are like "uhm, that's like, a wall." and doesn't acknowledge the lower row

blissful panther
#

Yeah, that I ran into as well!

#

Guess I'll just find a vanilla sheet with the animations complete and rip the animations out.

hard fern
#

Is there even a vanilla one with both watermelons animated

#

*waterfalls

gentle rose
#

oh, right, what tilesheet are you looking at

hard fern
#

Sorry i had watermelon on the brain

velvet narwhal
#

i assume forest is probably it

gentle rose
velvet narwhal
#

no the .tmx

gentle rose
#

what tilesheet are you guys looking at rn

velvet narwhal
hard fern
#

The 1.6 waterfalls

velvet narwhal
#

DH is looking at waterfalls yeah

gentle rose
#

you need a version with both animated?

velvet narwhal
#

are you shittin' me

gentle rose
#

what

hard fern
#

Uh

velvet narwhal
blissful panther
#

Yup, the big one! I assumed the forest, so yeah, that'll make it easy.

gentle rose
#

I'm currently making my animations unifier

blissful panther
#

And the small one I'm not even using.

fast plaza
#

heh. I found this in the decomp for stardew in CollectionsPage.cs

7.ToString() ?? ""

I'm glad that even well made programs made by great developers sometimes have silly things like this in it.

gentle rose
#

that might be decompile nonsense

lucid iron
#

I think this chat's very recent discussion should tell u about the general code quality of sdv kyuuchan_run

blissful panther
#

There we go, waterfalls animated with a teeny bit of XML surgery.

fast plaza
brave fable
#

i think the fact this chat exists to have these discussions is a testament to the general code quality of sdv ๐ŸŒป

fast plaza
#

stardew is very well written and I feel bad using harmonylib to inject my own garbage code haha. I feel like im vandalising artwork in a museum

brave fable
#

oh you needn't worry about it, everyone's game is a gallery. i'm working on a fine jackson pollock myself

lucid iron
#

I have immense confidence in my spaget until it touch netcode

fast plaza
#

my code is an authentic Pierre Brassau

lucid iron
#

But there r definitely places where the code could have been better, it just doesn't matter until modders put in approximately 10086 new chairs

velvet narwhal
#

i stare disrespectfully at social page titles

finite ginkgo
#

netcode puffer_sweat

lucid iron
fast plaza
lucid iron
#

Here's a recent fun one

fast plaza
#

especially especially one that was originally intended to be a singleplayer experience and then was modified to be multiplayer

lucid iron
#

For people with names of millions of characters long

brave fable
#

do you know such people SDVpufferthinkblob

calm nebula
lucid iron
fast plaza
#

I assume that code is just a hold over from a previous system that was in place that used variables instead of just raw ints

#

or its actually super important and I'm too small brain to understand why

gentle rose
#

I am once again reminding myself that it's not tiled's fault I'm stupid

torpid sparrow
#

its okay iro one day tiled will be defeated

#

but not by me

violet valley
#

anyone know if there is an event prerequisite for if you've completed a certain quest?

fast plaza
#

how do y'all handle map stuff btw? Like... specifically if youre gonna add a new area, you need to add an entrance on an existing map right? how do you make sure that doesn't conflict with other mods that might edit the same map?

#

oop sorry

violet valley
torpid sparrow
#

also some people know where things are so asking here is great SMCKekLmaoDog

fast plaza
#

oo thats interesting

lucid iron
torpid sparrow
#

where do you want to patch your entrance in?

lucid iron
#

But map itself is fair game

violet valley
#

yea

lucid iron
#

Just need a Data/Locations and a tmx

fast plaza
#

I'm actually not working on a mod that adds any maps I was just curious how people handle that problem since it seems like it'd come up a lot

lucid iron
#

It does

torpid sparrow
#

people are constantly looking for areas to patch entrances into

lucid iron
#

Pelican real estate in dire straits these days

torpid sparrow
#

its very crowded in pelican town

violet valley
#

fr

lucid iron
#

But that's what the central station mod is for (partly)

violet valley
#

Yeah, or you can use the minecarts if you want

fast plaza
#

oh the minecarts is smart

violet valley
#

Central station is easier to use though\

torpid sparrow
#

entrance/exit by only minecart is funny

#

in terms of lore

violet valley
#

yeah lol

lucid iron
#

Dorf Fortress

torpid sparrow
#

and if u got npcs...how do they get in and out

violet valley
#

by giving them a warp room

torpid sparrow
#

i suppose you could do npc warp by the minecart that simulates it

lucid iron
#

Npc warp is a separate and related real estate problem

brave fable
#

i'm hoping someday Calico Desert Bus can be the travel mod of choice for immersive playthroughs

lucid iron
#

It's not as bad

brave fable
#

the framework's right there. you can make players drive to your map in real time. i believe in you

lucid iron
violet valley
#

Off topic, but does anyone know if there is an event prerequisite for if you've completed a quest?

violet valley
#

that'd be cool

violet valley
#

Is there a workaround?

torpid sparrow
#

mail flag

violet valley
#

oh yeah that could work

fast plaza
#

not off topic I just rudely interrupted your way more important question haha

violet valley
#

haha

brave fable
#

you can have characters 'send' 'mail' from within dialogue, you just need to write that dialogue for the quest-complete message

violet valley
#

wdym

#

like in the quest-complete message?

#

you can put commands?

brave fable
violet valley
#

hmm ok

brave fable
#

other than that, the game doesn't actually track which quests you've completed, and adding a mail flag is the next best way of doing so

violet valley
#

ok thanks for the help SDVpufferheart

brittle pasture
torpid sparrow
#

is there a calico desert expansion

violet valley
#

or make a desert expansion XD

lucid iron
#

The canyons?

calm nebula
#

Plenty of calico desert space in sve!

blissful panther
#

DeepWoods? DeepDesert!

torpid sparrow
#

is sve planning on adding more content to the desert? why is the SVE desert so big and awkward

blissful panther
#

I presume not, with Castle Village being a separate mod.

#

SVE might become... steady?

lucid iron
#

Deserts are usually big and empty

torpid sparrow
#

fair enough

tiny zealot
#

last i heard, SVE is "done" and new content is slated for castle village (separate)

lucid iron
#

Whether this realism is fitting is exercise for the reader

gaunt orbit
#

Isn't castle village for galdora though and not the calico desert?

lucid iron
#

Personally i wouldn't worry too much about existing desert

tiny zealot
#

as for "why is the desert different and also empty" that's just sort of SVE's MO (change everything)

lucid iron
#

It's reasonable to me that there's another stop further down the bus line for more desert

#

That zh expansion 7 deadly sins also adds bunch of shit to the desert too9

calm nebula
#

I assume it's for npcwarpa

#

So npcs appear to be taking the bus in

#

Frankly, I have a hammer.... I'm being told things

brittle pasture
#

technically warping in is easy, it's warping out that's the problem

uncut viper
#

so it can be tracked

brave fable
#

some would argue (that's me but not at midnight) that's the game tracking conversation topics, not quests

#

(it's midnight)

uncut viper
#

many could argue the same could be said of mail flags, and that ccPantry is not actually tracking whether the pantry is complete

brave fable
#

many (that's you any time of day SDVdemetriums )

uncut viper
#

many > some

delicate smelt
#

look,my buff has a immunity+2,but this immunity not effects in game,why?

brittle pasture
#

Immunity (and the new buff attributes added in 1.6.9 that vanilla doesn't use) doesn't show up

#

(you can install Extra Machine Config to make them show up. this is purely cosmetic and informational; the buff is there and active, EMC or not)

delicate smelt
#

no,its not just doesnt show up,it not effects,i have a +8immunity mermaid boots,and have this buff,then my immunity should be+10,i should can 100%immunity debuffs,but i didnt

brittle pasture
#

+11 is full immunity

delicate smelt
#

oh no

fast plaza
#

general question time

#

what was that one thing you forgot to check when you released a mod?

lucid iron
blissful panther
calm nebula
fast plaza
#

rip

#

ohnooo

calm nebula
#

I alsp once released a mod that deadlocked on load

#

(But only when gmcmoptions was installed)

#

That got reported to Pathos btw

lucid iron
#

Atra doing war crimes...

fast plaza
#

ooof

gentle rose
blissful panther
#

That makes me remember I've been meaning to switch to using attributes for GMCM config options...

fast plaza
#

I haven't released anything yet but I managed to catch thing by pure luck that I definitely wouldn't have found normally. I have a custom geode item that can drop a weapon, which works fine for clint but on a whim I tried it in the geode crusher and it caused an error

#

pure luck that I actually found that one. I never use the geode crusher in normal gameplay

tiny zealot
#

fortunately it only barfed on the music loading, which was isolated, so the only side effect was my music didn't load and it didn't crash the game or anything

fast plaza
#

well good that it wasnt a catastrophic issue atleast

tender bloom
#

Updating manifest version is a classic

obtuse wigeon
#

forgetting update the manifest is something I am still doing, constantly without fail, I really should write a packing and manifest script so I don't have to remember

tender bloom
#

For a first release, forgetting the update key is also a classic

uncut viper
obtuse wigeon
#

How do you actually get the update key for the very first release without having the nexus page created for the release? I always have the first upload, add update key, then reupload again

obtuse wigeon
safe kraken
#

Whenever you start creating the upload, in the url you can see the number

#

once you add the details of course

obtuse wigeon
#

All this time I've been uploading twice for absolutly no reason

calm nebula
delicate smelt
#

how to detect is player drinked iridium snake milk?

lucid iron
#

It's got an event id right

calm nebula
#

It's a mail flag

#

Because everything in this game is a mail flag

obtuse wigeon
#

What's a very distinctive image that can be used for different expansions and vanilla? I'm trying to avoid text in spritesheets so I was thinking of going with an image instead

lucid iron
#

Can you elaborate on what you want to illustrate

obtuse wigeon
#

I have a map (We'll call it Lobby) that leads to several other maps, each used to house warps to different locations, I want the lobby to lead to a map for vanilla, a map ridgeside,and a map SVE, each map has expansions specific warps inside,

#

I want a way for the player to easily tell where each map relates too without using text

lucid iron
#

Oh it's like the nexus in sve then

blissful panther
#

Yeah, I'd look at that for inspiration, honestly.

obtuse wigeon
#

Yep! just less tree like and more organisation

lucid iron
#

You can slacc by just using totem

#

Yunicorn warp hall does that

obtuse wigeon
#

I can't find Yunicorn warp hall on nexus at all, only other warp halls that only support Vanilla

lucid iron
blissful panther
#

I still want to finish my TARDIS mod...

lucid iron
#

Yuninocorn is the author name

fading walrus
lucid iron
#

But yes this indeed only do vanilla

blissful panther
lucid iron
#

If expansion have obelisk tho they probably drew a totem to match

#

Vmv has 2 even

fading walrus
obtuse wigeon
#

I am using warp totems but for instance this is the vanilla one, The lobby would lead to this via another warp, but I don't know what to use to show this is the vanilla warp hall

blissful panther
#

That's... actually a perfectly good job for the representations I think, honestly.

lucid iron
#

Yeah lgtm ship it

#

Just take a look at where you be warping to for the expansions

obtuse wigeon
delicate smelt
royal stump
royal stump
#

(deleted other text because I'm not actually sure if an event ID exists, since it's code generated SDVpufferthinkblob)

harsh bobcat
gentle rose
#

whooooo animation combining seems to have worked (so if anyone needs the metadata for all the animations in a tilesheet, lmk ig haha)

lean flame
#

hello! Do you guys know where I could find more info on creating a UI mod? I've tried finding info on it but haven't found anything. just to know where to start, i guess

round timber
#

adding new ui or recoloring ui

lean flame
#

recolor

round timber
#

!unpack do this first assuming you havent already

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!

round timber
#

then trawl through the unpacked files to find all the ui you want to recolor (vast majority is in the LooseSprites folder)

delicate smelt
lean flame
#

I know how to replace them with CP and everything, nut didnt really know where to start my plan of attack

#

ty that gives me direction lol

round timber
#

i started with MenuTiles so that you can see changes right away when you load into the game

lean flame
#

thank you again!

royal stump
mighty quest
#

Does Automate have any interaction with Hopper? I can't find any references to Hoppers in Automate's code.
I'm guessing it just treats it like a regular chest?

delicate smelt
gentle rose
#

"waiting for my tilesheets to compile" wasn't on my modmaking bingo card for 2025, and yet here we are

whole raptor
#

Holy... DP went nuts this month SDVpuffereyes

gentle rose
#

high or low?

whole raptor
#

High, very high...

gentle rose
#

maybe you just had a wave of downloads? SDVpuffersquee

round timber
#

it seems to be universal, i had it too and so did someone else i talked to

gentle rose
#

oh, nice!

whole raptor
#

I mean... that too, July was interesting hah, lemme check what's the udls to dp ratio

gentle rose
#

I honestly can't tell because my mods are kind of dead rn lmao

round timber
#

july is over double what my next highest month is (which is when 1.6 came out lmao)

gentle rose
#

oh nvm I see it too now, yeah that's a lot

#

I got more dp this month than the month I actually uploaded my mods on?

whole raptor
#

Ratio last month for me was 2,9$ per 1000 udls and this month it's 3,2$, so pretty nice (looked bigger, but that was the udls influx in July hah)

gentle rose
#

(I don't think dp is a linear function of udl)

whole raptor
#

Yeah, it's not with the new algorithm

tender bloom
#

huh, mine is higher in june than july

#

but i also am not really active at all

#

so it must be part of the nonlinearity

gentle rose
#

I wonder why the stardew steam key costs 19k dp

tender bloom
#

$4 of transfer fee?

#

does seem odd

royal stump
#

afaict the keys are based on the price when they first go up and then never changed SDVpuffermlem

#

(could be wrong though, I've yet to get one)

whole raptor
#

It might be not accurate on my end with some percentage of DP received from other mods, now that I think about it SDVpufferthinkblob

whole raptor
tender bloom
#

was stardew $19 at some point?

#

it's been $15 as long as I've seen it

#

usd ofc, I'm sure it is different elsewhere

gentle rose
#

no wonder the tilesheets were taking so long to compile, I made a silly mistake

stuck thunder
#

How easy would it be to make a mod that just replaces some sounds with Minecraft sounds?

tender bloom
#

fairly easy

whole raptor
#

Pretty simple

tender bloom
#

Content Patcher can replace sounds

stuck thunder
#

Nice

gentle rose
#

depends, how litigious are mojang nowadays

tender bloom
#

oh yeah, the publishing side i don't know if it's a good idea

#

but the making part is easy

stuck thunder
#

I don't think it matters tbh
There is a Minecraft combat sounds mod

royal stump
gentle rose
#

@blissful panther do you still need the xml for all the waterfall animations in one tilesheet btw?

compact thicket
#

how can i speak

blissful panther
round timber
ocean sailBOT
#

Hello! If you are a new member to this server, please read this informative message about how to be able to speak or stream in voice channels!

โ€ข In order to speak/unmute/stream, you must be level 5!
โ€ข In order to reach level 5, you must chat in any text-channels! Each time you talk/chat you will gain exp.
โ€ข When you reach level 5, you will receive a message that you have obtained the Cowpoke role!

To check your current level, head on over to #governors-mansion and type the command: /lvl. This will display your current level and your exp bar. Thank you for reading!

blissful panther
#

Oh no.

gentle rose
blissful panther
gentle rose
#

terrain sets?

blissful panther
gentle rose
#

if you're wondering why I need to re-unpack SDVpuffersquee I'm fairly certain this is my fault

gentle rose
blissful panther
#

Like hell I'm making a map having to do that kind of thing tile by tile! SDVkrobusgiggle

obtuse wigeon
#

I want to add a warp using Content Patcher (not in Tiled) using "Action Warp" It'll be on a tile on the buildings layer, how do I do this cause I can't see anything except the "AddWarps" field which is equivelent to "TouchAction Warp" right?

gentle rose
#

xml surgery

blissful panther
#

XML surgery!

#

Transplanting the animations from the Forest map to my farm map.

calm nebula
#

I was about to say at least you're a brit so your Healthcare costs

gentle rose
#

xml surgery is free in currency, a bit overpriced in time

calm nebula
#

Iro, do you want to know how my day at work is going

obtuse wigeon
calm nebula
#

I discovered an xml file I could parse and it made my day

gentle rose
#

how often do you discover xml files you can't parse?

blissful panther
obtuse wigeon
#

This is something I do not know about but I NEED to learn

round timber
#

woah thats cool

gentle rose
#

did you set them up yourself?

blissful panther
#

Yup!

gentle rose
#

(also busPeople may not have been my fault. busPeople may just be strange)

#

or more accurately, bus(People) may just be strange

obtuse wigeon
#

I don't think I understand terrain sets.....

gentle rose
#

...is the tilesize of buspeople 64x64 for some reason

obtuse wigeon
#

FIGURED IT! this is absolutly amazing!

twin wadi
#

...what are terrain sets? SDVpufferlurk

tiny zealot
#

people love to hate Tiled but it's actually a good program and it's just that the interface to SMAPI/stardew is wonky

gentle rose
#

(and if I succeed in what I'm trying to do, even that should be fixed eventually)

obtuse wigeon
gentle rose
#

buspeople is unused anyway, right?

blissful panther
#

Gotta reduce the probability on the tiles.

#

By... a lot.

obtuse wigeon
#

Oh wow, that certainly is a lot

#

Not quite sure why it wants to place a line of grass on dirt but that's easy to avoid at least

blissful panther
#

It's very easy to make slight imperfections in the rules! Can you screenshot the rules?

obtuse wigeon
#

the rules? are you talking about the Patterns tab? cause if not I have no idea what the rules refers to

gentle rose
obtuse wigeon
#

or are these the rules?

blissful panther
#

Colours there, yeah.

#

Yup, those are the rules!

gentle rose
#

(can't check rn because My Tilesheets Are Compilingโ„ข)

obtuse wigeon
#

Ahh okey perfect!

#

looking at it with my limited knowldege of coding priciples I wonder if it works using waveform collapse

#

Unfortunatly the tiled docs doesn't mention how it does it

gentle rose
#

it works with โœจmagicโœจ

obtuse wigeon
#

Love me some techno โœจmagicโœจ

gentle rose
#

(but tiled is open source iirc, so you could always check that)

blissful panther
#

It's definitely not that sophisticated, though!

calm nebula
#

Waveform collapse, to me, sounds like overkill

blissful panther
calm nebula
#

And unlikely

blissful panther
#

You could technically have it generate cliffs.

twin wadi
#

wait so terrain sets basically automate some parts of the terrain tiles?

blissful panther
#

Basically only things that have a complete or near complete set of tiles needed for the terrain feature, yeah.

#

The dark/medium/light grass/dirt is a perfect set of all of them.

calm nebula
#

DH can you use multiple tilesheets for this feature

obtuse wigeon
#

this is 100% magic! I am going to be obsessing over this from now on, I do wish maps could be wider than 200 tiles however (also wish Stardew used an offset grid type thing (Dont know the actual name))

calm nebula
#

And does it randomzie the center tile with given weights

blissful panther
#

Yup!

gentle rose
#

anyway this "map" (with no map) has the "all animations" version of every tilesheet in the game (spring version for multi season tilesheets except for summer_beach)

EDIT: see #making-mods-general message for updated file

blissful panther
#

Multilple tilesheets I don't think so, but you can weight the options where there are multiple possibilities.

gentle rose
#

(it's not redistributing assets because it's just metadata, which is fun)

blissful panther
#

Ohh, actually... the light grass/yellow dirt isn't a perfect set of tiles.

obtuse wigeon
#

The Tilesheetinator plugin seems to miss the mine and volcano tiles btw

obtuse wigeon
gentle rose
#

(note: "all tilesets" unfortunately includes busPeople. busPeople is broken because it has 64x64px tiles.)

gentle rose
obtuse wigeon
#

I should be?

gentle rose
#

make sure the version you're using is the one pinned in the thread

blissful panther
#

Light grass/medium grass/dark grass is 100%, though.

blissful panther
#

Those are all you need for a perfect corner set.

#

And it's missing...

gentle rose
# obtuse wigeon

oh, I managed to replicate it. Strange, thanks for reporting! I'll have a look

calm nebula
#

Can you mirror it, DH?

obtuse wigeon
blissful panther
#

Wait no, I'm silly! They are there, I knew they were.

#

Okay, so dirt/all grass is a perfect set.

gentle rose
#

the issue isn't with the tiled extension, it's with how I generated the map SDVpuffersquee

obtuse wigeon
obtuse wigeon
gentle rose
blissful panther
#

This should have the terrain sets in it. The treetop ones are not a perfect set, and neither are the water/deep water ones. But they're close enough to get you 80% of the way there.

obtuse wigeon
obtuse wigeon
gentle rose
#

yup, accidentally forgot to set up nested tilesheets correctly in my map generator code

blissful panther
round timber
gentle rose
#

maybe I should just exclude the buspeople stuff from my tiled scripts... it's not even used in game

#

afaik

obtuse wigeon
gentle rose
#

god it's been years since I've looked at the intro cutscene, but I didn't think that used tilesheets at all?

round timber
#

the inside the bus one? no it is not

obtuse wigeon
#

I don't remember the last time I wantched the intro ngl

blissful panther
round timber
#

how does one import properly

round timber
#

ok i had a feeling but just wanted to be sure SDVpuffersquee

blissful panther
#

I think just the embed tileset button down there, though?

obtuse wigeon
#

Is there even a way to inport it? the embed is greyed out for me and .tsx files don't show up in the add new tilesheet prompt

gentle rose
#

are you still on my map?

blissful panther
#

Oh, yeah, that button does not do what I thought it did...

obtuse wigeon
gentle rose
#

oh, I'm guessing it's an "unembedded to embedded" button

blissful panther
#

Aha! This maybe?

gentle rose
#

usually you bring in new tilesets using the New> Tileset menu

#

but idk how it works for preexisting tsxs

obtuse wigeon
obtuse wigeon
gentle rose
#

yeah, I think it only makes new ones from images

#

(my map has dimensions 0x0 so I would be very surprised if anything works haha)

obtuse wigeon
#

Oh wait no it has animations, I was looking at the none animated bits

lucid iron
blissful panther
#

I don't know how Iro's extension will work with external tileset files, though...

gentle rose
obtuse wigeon
#

bye bye meep page ๐Ÿ˜ข

blissful panther
round timber
#

the tsx is in the map now but i dont really understand how to use it meowderp

gentle rose
obtuse wigeon
#

Then select ground/ water/ or treetops, the select the subcatagory, then draw away

blissful panther
gentle rose
#

do out of order tilesheets still break basegame maps?

calm nebula
#

No

obtuse wigeon
calm nebula
gentle rose
#

I'm still catching up on everything 1.6 fixed then ig SDVpuffersquee

calm nebula
#

Tilesheets are sorted by name

#

That's the order that matters

lucid iron
#

Sometimes i wish that

gentle rose
#

yeah I meant out of alphabetical order, like renaming them

round timber
#

hm i think i get it now

lucid iron
#

All the map random extras mods can combine into one thing

#

Like captain planet

calm nebula
#

You're in charge chue

#

I'll PR u

gentle rose
#

so does renaming tilesheets still break base game maps, atra?

lucid iron
#

We can name it SIMD and atra is in charge

blissful panther
# round timber hm i think i get it now

The biggest thing is that in order to draw grass or dirt terrain features, you need to have either an existing dirt or grass base tile everywhere you want to draw it.

calm nebula
obtuse wigeon
#

iro, your map seems to have entirely broken resizing, zero ability to resize on my end

calm nebula
gentle rose
#

hmm, interesting

...why though

lucid iron
#

Super Immersive Map Definitions

gentle rose
round timber
calm nebula
#

Also I've replaced my entire personality with kpop btw

gentle rose
#

just copy the tilesheets you need out of it

calm nebula
#

Don't worry. Before that I was a Taylor swift fan

obtuse wigeon
calm nebula
#

i knit a replica folklore sweater

obtuse wigeon
#

Is it okay to replace the tilesheet in the Content (unpacked) folder with the animated ones? or would that substantially break things?

#

In relation to the tilesheetinator I should add

blissful panther
#

What the rules are basically saying in this case is:

  • Is there a grass tile where the blue arrows are pointing?
  • Is there a dirt tile where the green arrow is pointing?

If so, this tile goes here.

gentle rose
obtuse wigeon
gentle rose
obtuse wigeon
gentle rose
#

I wouldn't suggest using tsxs though unless you reembed them after

blissful panther
#

Yeah, this is all just to send the metadata to other people for our purposes.

gentle rose
gentle rose
hollow canyon
#

Could anyone help me fix my Stardew valley expanded

gentle rose
#

!mh

ocean sailBOT
#

For help with modding issues, please ask in #1272025932932055121! When asking for assistance there, sharing an error log will help others identify your issue (see https://smapi.io/log for instructions).

hollow canyon
#

Alr

obtuse wigeon
#

the dark sand to shadowed sand on the beach tilesheet isn't a complete set, neither is shadowed sand to grass, what a sad day for backwards beach maps

blissful panther
#

Yeah, it's really sad that there just isn't a complete set for some.

obtuse wigeon
#

They can be made but for people who use recolours, it wouldn't work out of the box, I would love to make a programatic recolour where it just desaturates every tilesheet in "Maps/"

whole raptor
#

Is "move to bugs" on Nexus bugged or something (yes, I see the irony). It technically was moved, but even with "include repilies" checked just the 1st message was moved... SDVpuffersquint

gentle rose
#

I did something entertainingly wrong

obtuse wigeon
#

Witches swap turned into a trip hazzard, Kaizo Stardew

#

How does beach water work? does it have an overlay added ingame?

humble timber
#

water overlay is in cursors

#

if thats what ur asking

whole raptor
obtuse wigeon
humble timber
#

yeah the base tiles in tilesheets wont have the overlay on top afaik

stuck thunder
#

My mod isn't working
It gave me an error the first time that I fixed, but now the audio just isn't changing
Help
Also, what do I send here? The log and the mod files or?

shy harbor
#

Is there a way to make the conditions of a recipe letter based on if the player has bought specific items from Pierre's? Or is that too complicated

brittle pasture
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.

brittle pasture
#

!log and your log via this

ocean sailBOT
#

Important note: Your computer username may appear in the log. If your username is your full name, please be aware of this before uploading it.

Please share your SMAPI log file. To do so:

  1. Open this page: smapi.io/log.
  2. Follow the instructions at the top of the page to upload the log file. (Don't copy & paste from the console window!)
  3. After uploading, it will show a green box with a URL to share. Post that URL here.

Please do it even if you don't see any errors. This has useful info like what mods and versions you have, what the mods are doing, etc. If the issue didnโ€™t occur in your last session, please load the game to the point where the issue occurs, then upload the log.

lucid iron
brittle pasture
ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Unix 6.11.11.19, with 239 C# mods and 499 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

shy harbor
#

Hmm ok, I might not mess with that then ๐Ÿ˜… Thank you though!

brittle pasture
stuck thunder
brittle pasture
#

well it's doing a lot more than formatting, it's making crap up

stuck thunder
#

Well, AI is dumb like that.

brittle pasture
#

also it didn't really help with formatting if the JSON is invalid

stuck thunder
#

I more meant that I asked it how to make the mod and then just copy and pasted the main part it sent.

#

And then I just added the sounds in and changed the file names

urban patrol
#

honestly, itโ€™s easier on everyone when people come to here for help instead of AIโ€”even with what you think is the stupidest question imaginable. itโ€™s much better than learning things wrong from AI, which then unlearning will be twice the work

stuck thunder
#

Okay, I appreciate that!

brittle pasture
#

(I've literally never seen people post AI code in here that's anywhere close to being correct. it doesn't know anything about SDV modding, and its literal design prevents it from admitting as such instead of generating wacky code on the fly)

obtuse wigeon
#

AI is one of 2 things, wrong, or VERY outdated, either way its wrong, don't use it, it frankly useless

brittle pasture
#

(I definitely agree it's preferable to ask here if you're stuck)

stuck thunder
#

I see a formatting thing for the entries on the wiki, but it seems to be for adding new sounds, not changing Vanilla ones.

    "{{ModId}}_Music": {
        "ID": "{{ModId}}_Music",
        "Category": "Music",
        "FilePaths": [ "{{AbsoluteFilePath: assets/music.ogg}}" ],
        "StreamedVorbis": true,
        "Looped": true
    }
}```
obtuse wigeon
urban patrol
brittle pasture
ocean sailBOT
#

@stuck thunder You leveled up to Cowpoke. You can now speak in our voice channels and share images in all channels!

urban patrol
#

the thing directly under entries is a key

#

entries is a dictionary of key: value pairs

stuck thunder
#

Ah, okay

#

I'm so confused.
What am I supposed to change here (this is what I made based on what was on the wiki)

urban patrol
#

you need a comma after every entry (so after the closing })

stuck thunder
royal stump
urban patrol
#

!mh

ocean sailBOT
#

For help with modding issues, please ask in #1272025932932055121! When asking for assistance there, sharing an error log will help others identify your issue (see https://smapi.io/log for instructions).

narrow ivy
#

Sorry ty

obtuse wigeon
#

These terrain sets make a lovely gradient, also didn't relise the island had so many terrain types

blissful panther
#

Hey, you even discovered you can set an icon!

obtuse wigeon
#

Incomplete tilesets really do mess with the painting, island ocean isn't a complete set at all

obtuse wigeon
brittle pasture
#

there's no CP tokens for player stats

#

nor one for quest completed

lucid iron
#

Is this the google search ai

uncut viper
#

theres really no other way google can "find" something like that

#

unless you're trying to mix up GSQs and tokens, which you cannot do

#

not allowed to just mash together the syntax like that

finite willow
#

ofc you guys pooping on ai code lol

naive wyvern
#

because AI code is useless

uncut viper
#

its both garbage and not allowed in the server

lucid iron
#

We generally want people to make mods tha work

finite willow
#

๐Ÿค” right

brittle pasture
#

the fact of the matter is every time people post AI code in this channel it's always some gems like Data/ProducerRules

velvet narwhal
#

i still get PLAYER_HAS_FLAG mixed up in my syntax because of the HasFlag cp thing and it is true, bloody pain

oblique meadow
#

Respectfully. There's a difference between trying to google an answer for yourself and using AI. Assuming I was using AI instead of mistakingly googling and finding the wrong article(s) and being detrimental sets a bad standard of inclusivity. I will continue trying to google search and solve my own issue. Thank you though.

round timber
#

gotta agree with husky here. if you are going to point out that something is incorrect, you can do so, but focus on giving the correct solution or point towards the right resources instead of dwelling on the incorrectness/speculating on why it was incorrect.

finite willow
#

ai is just a tool, It is kinda funny from an outsider perspective how much you guys hate it

obtuse wigeon
uncut viper
#

selph did only answer that there are no tokens for the things they were trying to do, and i did tell them that they cannot mix GSQ syntax and token syntax if that was what they were actually trying to do

finite willow
#

It's been trained on all existing mods in github but yeah, It is sensitive to changes between versions or specific stuff related to the game

lucid iron
#

i asked mostly because google's AI tries to pretend it is an actual answer

#

as opposed to you going to chatgpt or whatever on own initiative

haughty charm
lucid iron
#

hm i wonder if you can use the CT

#

Game1.player.autoGenerateActiveDialogueEvent("questComplete_" + id.Value);

#

should get a questComplete_100 right

iron ridge
finite willow
#

oh trust me, since microsoft bought github, there's no private repo safe from feeding into the ai slop ๐Ÿ˜‚

iron ridge
#

no, people just don't put content packs on github that often

finite willow
lucid iron
#

but i guess there's not really any good way to check if the player install it long after they do the quest

haughty charm
#

Let's move on from the AI topic, please.

finite willow
#

yes, sorry. SDVpufferthumbsup

haughty charm
#

We have server rules regarding the posting of AI code, assets, images, etc., and we ask that people respect those.

lucid iron
#

(where did the original message go i wanted to reply)

blissful panther
velvet narwhal
round timber
lucid iron
#

the best way for new save rn i think is using the questComplete_100 convo topic and then using that + GSQ PLAYER_HAS_CONVERSATION_TOPIC to make a mail flag on day ending to persist it

iron ridge
lucid iron
#

well i hope this is helpful for whomever it was

marble robin
#

Hello ! I am looking for doing a CP of the standard scarecrows but since I draw on top of a file with others item I'd like to know if there's a way to have only the scarecrows for make it as big as I want ? (because for now I'm blocked on the head by a plant). I have start modding really 3 hours ago so I know almost nothing about modding SDVpufferheart

lucid iron
#

is big like the sprite size or big like the effective range

uncut viper
#

you won't be able to make it as big as you want, 16x32 is the size for a bigcraftable thing like a scarecrow

#

unless something like Sprites in Detail (?) still works, though it'd be a dependency on that

marble robin
uncut viper
#

chu was asking if you meant for the texture or for how far away scarecrows will scare away birds

lucid iron
#

yea effective range = normal scarecrow or deluxe scarecrow

marble robin
#

Ohh thank, I mean for the texture

lucid iron
#

might work

marble robin
#

Thank you !

lucid iron
#

if the scaring away crow doesn't matter to you that much

#

then you can just make a furniture that is allowed outdoors SDVpufferthumbsup

obtuse wigeon
uncut viper
#

that seems like it'll make the actual footprint much larger too, if thats a concern

lucid iron
#

you can make the footprint 1x1 and source rect 3x3, but without other mods the texture will extend right and up always

#

which again, might be alright to u

verbal junco
#

I'm having an issue with setting up a PoolEntrance (where the player just walks right past the tile with the action on it, standing on the water). I already have a changing booth set up with the appropriate tile properties just out of frame, though I found that PoolEntrance still mostly works in the BathHouse without being in swimwear.
I included a version of the image highlighting where objects are on the buildings layer and which tiles on the Back layer have Water set to True.
I've tried having the Tile with the PoolEntrance TouchAction on both the tiles above and below its current position to the same result. The TileData item is on the Back layer, like how it is in the BathHouse.

lucid iron
#

it's a TouchAction i assume?

verbal junco
#

Yeah

lucid iron
#

should be normal then NotteThink

verbal junco
#

Copied the TileData element directly from the bathouse since I couldn't figure out how to place a new one :P

lucid iron
#

idk if you need the tiles below to be water or no

verbal junco
#

I do have some elements on the Back2 layer, and I had been concerned those could be messing with it?

lucid iron
#

the tile data must be on the Back layer

obtuse wigeon
#

How can I change the sound of the warp action? it's inside and currently makes a door sound, preferably I want it to make another sound (undecided I use coin as a placeholder), I tried adding a "playSound" action after but that just prevented the warp entirely

oblique meadow
#

in case anyone has a similar issue in the future, you can set a custom flag based on quest completion and trigger off of it. This does what I need:

        "Action": "EditData",
        "Target": "Data/TriggerActions",
        "Entries": {
                "{{ModId}}_SetFlag": {
                "Id": "{{ModId}}_SetFlag",
                "Trigger": "DayEnding",
                "Condition": "PLAYER_HAS_CONVERSATION_TOPIC host questComplete_100 1 ",
                "Action": "AddMail Current {{ModId}}_RobinAxe"
                }
        }
 },
 
  {
      "Action": "EditMap",
      "Target": "Maps/{{ModId}}_DiscoveryGrove",
      "FromFile": "assets/DG_North.tmx",
      "FromArea": { "X": 41, "Y": 0,  "Width": 48, "Height": 45},
      "ToArea": { "X": 41, "Y": 0,  "Width": 48, "Height": 45},
      "EditMapMode": "Replace",
      "Update": "OnDayStart",
      "When": {"HasFlag: HostPlayer": "{{ModId}}_RobinAxe"}
          }, ```
royal stump
#

(PoolEntrance doesn't seem to care about water properties or location, fwiw)

uncut viper
#

(its not like PLAYER_STAT, everything after "host" is just a list of CTs to check and if any of them are true the condition passes)

urban patrol
#

afaik there's not another way

obtuse wigeon
#

Gotcha, time to have a gander at BETAS

urban patrol
#

specifically i do a spacecore trigger action which then has two traction actions, one to warp the player and one to play a sound. the spacecore trigger action that goes inside the TileData is spacechase0.SpaceCore_TriggerAction {{ModId}}_TreeWarp

verbal junco
uncut viper
# urban patrol

not suggesting you should go and change it now if it works, butif you ever need it, BETAS itself has both a TriggerAction map action and a PlaySound traction of its own now

obtuse wigeon
urban patrol
#

although my poor one (1) android player will still have to suffer without lol

uncut viper
#

tbf if you're using BETAS for the warping itself anyway they are already missing out

#

but i forgot you have an android compatible version, in that case you should use the spacecore ones where applicable

#

(im like half sure BETAS still actually runs on Android and its just some specific things that fail, but i have no way to confirm or deny this)

urban patrol
#

my code is incredibly janky for this--it uses a normal warp no traction for when you don't have BETAS installed, and if you do have BETAS installed, i edit the TileData via a separate patch to change it to the spacecore tile action

obtuse wigeon
#

I know theres a smaller 1 x 1 tile version of this but I can't find it, only the red one for the witches hut that doesn't have a transparent back

fair smelt
#

hi so im trying to fix this mod https://www.nexusmods.com/stardewvalley/mods/7109 its a little issue but the mod itself adds a custom cellar with plots in it, that is working fine but when i leave the cellar i am teleported outside of the area of the farmhouse, this seems like it would be an easy fix but ive gone over the wiki and how warping commands work alongside tiled and even found the warp for the map, but whenever i change any of the cords for the warp the game either refuses to load any save or crashes when i enter the cellar, help would be awesome!

Nexus Mods :: Stardew Valley

Cleans up the cellar + adds new area with tillable tiles like in the greenhouse. (works for SDV 1.5)

urban patrol
#

are you talking about the circle or the candles?

obtuse wigeon
urban patrol
#

i feel like i know what you're talking about but i can't find it

#

maybe we're both hallucinating

royal stump
obtuse wigeon
#

I know SVE had one but I'm almost certain vanilla also had one

urban patrol
#

isn't it in the wizard's basement or something?

obtuse wigeon
obtuse wigeon
urban patrol
#

curse of not playing the game enough

obtuse wigeon
#

I may just make my own because I cannot remember for the life of me where it would be

obtuse wigeon
urban patrol
#

my thing is like, i can so clearly picture what you're talking about, but i also know that i've spent enough time staring at these tilesheets looking for all the magic stuff that if it were there i would have seen it and used it already. so i don't think it exists

obtuse wigeon
#

Time to make a sprite then it seems! I did have one but I lost my old mod it was in (probably deleted)

ornate trellis
#

theres none afaik only the red one and this one from the witch swamp warp cave

royal stump
#

SVE contains these, which seem likely

#

(copied one and screenshotted the other, whoops)
and another 1x1

obtuse wigeon
fair smelt
obtuse wigeon
#

How many frames can a sprite in stardew have? is it even limited?

calm nebula
#

Well, I don't recommend int.maxvalue frames

#

Nor do I recommend your spritesheet getting above 4096 pixels in either direction

obtuse wigeon
#

I'd be insane to aniumated 2.17 billion (ish) frames

calm nebula
#

Other than that.....have fun!

obtuse wigeon
#

Perfect!

calm nebula
#

We're all insane

#

That's why we're here

obtuse wigeon
#

Some moreso than others thats for sure

calm nebula
#

Hi lyoko

wanton pebble
#

Hi, at awkward fam time so hiding here XD

golden basin
#

@royal stump pspspspspss i have a suggestions maybe? giving monsters a glow ability with ftm?

#

i have a custom monster that id love to have glow

wide lake
#

Anybody know if there is an OS and/or input method combination where typing a non-english character like รผ or รŸ sends an escape sequence (like, with a literal ESC character) instead of just the non-english character?
I got a report of unexpected behavior from a user that could be explained if this is the case.

obtuse wigeon
#

I'm trying to make alternative locations for shops in my map, I've got Action OpenShop working, but I can't seem to find Robins building shop or the wizards

#

The wizards book is a different thing, I've found that

#

So is the Carpenter, is there a way to have it open without Robin being nearby?

lucid iron
#

i dunno what exactly stardew read it as

wide lake
#

It works fine on MacOS; just sends the single character.

obtuse wigeon
lucid iron
#

what if its like linux ctrl+c or smth NotteThink

obtuse wigeon
#

If you could elaborate more on the behaviour they got I may be able to help more?

wide lake
#

^[ is the escape sequence for terminals (VT100, maybe?). I would be surprised if that somehow worked in monogame input, but stranger things have happened.

wide lake
gentle rose
#

oh you just said lmao

#

you should ask them how they're typing them, like is it a key on their keyboard or do they use a keyboard shortcut

obtuse wigeon
#

If It doesn't I don't think there's anything you can do at all as that alt code emulates pressing the รŸ key

iron ridge
#

why am i writing switch mods and everything is working first try

#

this should not be happening

obtuse wigeon
#

You've ascended and become one with nintendo

#

praise be the almighty Pillow!

iron ridge
#

it even connects to the socket

crimson pulsar
#

Is there an elegant way to reload "Data/Objects" after changing configs via GMCM so I can load/unload an item without restarting the game? I've seen the docs for cache invalidation, but there's no on-save event built into GCMC for the common config options as far as I can tell

uncut viper
#

you can write it into your save function yourself if you're in C#

#

the cache invalidation I mean

#

that said it won't affect existing items most likely

#

and if you make an item that previously existed no longer exist you'll just get error items

tender agate
#

hello, is there a tutorial on checking and editing tile properties?

#

via code not Tiled

obtuse wigeon
#

Am I tripping or is Krobus' sprites not 16 x 32 but 16 x 24?

uncut viper
#

krobus is a short lad

#

theyve got a non-default Size in their CharacterData

obtuse wigeon
#

I can't place his sprite somewhere where his feet aren't covered SDVpufferwaaah

obtuse wigeon
brittle pasture
#

changing his size and Load-ing his texture is an option

obtuse wigeon
#

I'm guessing ArbitaryTilesheetAccess doesn't have a way of supporting none default sizes?

royal stump
iron ridge
#

oh mini jukebox is confused

round timber
#

pat pat mini jukebox

uncut viper
uncut viper
#

or rather stops SMAPI from assuming it must be in Maps* not that you cant tilesheet climb

tender agate
calm nebula
#

Tiles have propertycollections

#

You can edit them

tender agate
#

and idk how, which is why I'm asking for a tutorial to get me started xD

calm nebula
#

Line 310 in sinz's example

twilit quest
tender agate
#

either, which is easier?

twilit quest
tender agate
#

I want to check if a tile has a certain property, if not, add a property to it.

twilit quest
uncut viper
#

not possible to do with content patcher

brittle pasture
#

anything that requires iteration and "edit assets satisfying this requirement" is beyond our power

tender agate
#

I'm fine with c#. I don't know it, but I'm able to code in other languages, so I'm thinking about learning by doing rn

twilit quest
#

Then you're better off with the links above ๐Ÿ™‚ If it's something like a warp, it can be done with CP; it depends on what it is.

lucid iron
#

what's the high level goal here

tender agate
#

uhh something like the regenerative farming thing on mod ideas github

twilit quest
lucid iron
#

you should just patch hoedirt.cs then

#

that's not a map tile, it's a terrain feature that holds crops

tender agate
#

hmmm, but would any variables attached to a hoedirt be erased if it gets un-hoed?

calm nebula
#

Tile properties arent persisted anyways

tender agate
#

I see

calm nebula
#

You'll have to back up the values to somewhere else if the hoedirt is unhoed

lucid iron
#

hoedirt has moddata right

#

but yea id just store it in actual mod data

vital lotus
#

i just noticed the seasonal tilesheet for ginger island... i thought the island is in forever summer, no?

#

iirc ginger the farm in ginger island is like green house right?

calm nebula
#

I would store it in mod data personally and have host back it up

#

When the hoedirt is removed

#

And replace it when the hoedirt is replaced

hard fern
vital lotus
#

oh dang

#

thank you forsy

obtuse wigeon
#

What's the casino called to warp to it? I cannot find the name of it for the life of me

hard fern
#

Club

tender agate
#

thanks guys, btw SDVpufferheart

obtuse wigeon
#

Ahh gotcha thank you!

#

turns out you can't even warp theres without a mebership

obtuse wigeon
#

Is there a reason why I can't open "ShadowShop", "Sandy", and "Traveler" shops when using "OpenShop" action? do their respective npcs need to be nearby?

lucid iron
#

did you set any rectangles

obtuse wigeon
#

Oh sorry I'm using ContentPatcher not Tiled to do this

lucid iron
#

it's part of the OpenShop property

#

er action

obtuse wigeon
#

I was just going pasting it into the message box and realised I didn't action put "OpenShop ShadowShop" I just put "ShadowShop" whoops

violet valley
#

When using $action AddMail, is there a way to make the mail come instantly? It seems to take 1 ingame day.

brittle pasture
#

put now as the last parameter

violet valley
#

ok

brittle pasture
#

if it's omitted it defaults to tomorrow

obtuse wigeon
#

Following on from why I can't open the shops, is there a way to force the carpenter build menu to open without robin nearby (or a way to spoof it by adding a copy of robin without a schedule?)

violet valley
#

like $action "AddMail Current OMEGAlinc.CSExpanded_WizardThankYouLetter now"?

violet valley
obtuse wigeon
brittle pasture
#

there's also a mod to make shops usable without NPCs nearby

obtuse wigeon
brittle pasture
#

what's your goal? the Carpenter map action specifically requires Robin in its (hard)code

torpid sparrow
#

Shops are usable without NPCs nearby anyway arenโ€™t they

obtuse wigeon
#

My goal is to access shops and services provided by NPCs in my custom warp hall shown in the picture, all other shops and services I have added, except for the carpenter build menu and marnies animal buying shop (not "AnimalShop")

torpid sparrow
#

Oh existing shops

#

Duh

obtuse wigeon
#

(can C# mods change the hard coding? I'm guessing they can bc the mobile phone mod allows for building anywhere)

brittle pasture
#

yepyep

#

C# mods can do anything

obtuse wigeon
#

Gotcha okay, I'll make do without those 2 shops

brittle pasture
#

(there is a (vanilla) book that makes Marnie shop usable without her nearby)

tiny zealot
#

it also works with any other vanilla npc who runs a shop (sandy, dwarf, gus, clint, etc.)

obtuse wigeon
#

Pretty Happy with my diaromas, they should be compatable with any recolours or sprite replacements, Now time to make a lobby

vernal crest
#

They look great!

hard fern
#

Ooh

obtuse wigeon
#

Thank you! 25 tilesheets used however, hope that doesn't cause lag issues

hard fern
#

I think they look cool too

torpid sparrow
#

Krobus looks so teeny

obtuse wigeon
#

Krobus really is so small I love him

brittle pasture
obtuse wigeon
#

or even mail build orders, not a far fetch idea and probably a mod already

lucid iron
#

System.ArithmeticException: Adding -56 days to 10 summer Y100000000 would result in a date before 01 spring Y1.
hrm

#

shouldnt this be ok NotteThink

obtuse wigeon
#

int overflow? wait no it can't be

lucid iron
#

10 summer Y100000000: -1684901962

#

terrible times over here

calm nebula
#

What's the backing

#

Short?

#

Nah. Can't be. Piffle is just silly

tiny zealot
#

int32 is a perfectly sane choice to back "how many in-game days has the player completed" and i will not be told otherwise

calm nebula
#

Smh the game uses uint32

patent lanceBOT
obtuse wigeon
#

How do I modify this so that it always takes me to the farm totem?


            {
                "Position": { "X": 34, "Y": 6 },
                "Layer": "Back",
                "SetProperties": {
                  "TouchAction": "MagicWarp Farm 48 7",
                }
            },

That way I don't have to worry about mods changing where it is, I found "ObeliskWarp" but that just uses the look and sound but I still have to provide an X and a Y

lucid iron
#

you can't

#

just provide a config

obtuse wigeon
#

That's unbeliable annoying but the config didn't cross my mind, good idea

hard fern
#

Would you be able to set a config with like "X Position" and "Y position" ๐Ÿค”

vernal crest
#

Yes I do it for festival placement

obtuse wigeon
#

How do you set a value in the config that doesn't have a limit? just not include "AllowValues"

#

Nevermind Ignore me

lucid iron
#

just do string value

vernal crest
#

Chu does MMAP let me spawn butterflies?

lucid iron
#

yea

vernal crest
#

Sweet

lucid iron
#

mushymato.MMAP_Critter: Butterfly T 4 for instance, gives 4 default butterflies

tough crater
#

I'm curious, is there GSQ (or something similar) that checks which skin color the player selects for the farmer? I know on the character builder screen, with the blue skin tone is 17, but do you know if there's an existing command to call for it?

vernal crest
lucid iron
#

texture change of butterflies?

obtuse wigeon
#

Is this not what I should do?


            {
                "Position": { "X": 26, "Y": 8 },
                "Layer": "Back",
                "SetProperties": {
                  "TouchAction": "MagicWarp Desert {{DesertX}} {{DesertY}}",
                }
            },

      "DesertX": {
         "Default": "35",
         "Section": "Locations"
      },
      "DesertY": {
         "Default": "43",
         "Section": "Locations"
      },
#

I'm getting {{DesertX}} Token doesn't exist

lucid iron
#

sure

uncut viper
#

you cant patch reload adding config

lucid iron
#

did you restart game

obtuse wigeon
#

I did not, my mistake, thought you could patch reload

uncut viper
vernal crest
vernal crest
tough crater
lucid iron
vernal crest
#

Why's that?

lucid iron
#

well you wanna just test fast right Bolb

#

this doesn't require to leave map and comeback

#

it will spawn 4 butterflies at the X Y coord you give

vernal crest
#

Ah okay I follow now thanks ^_^

lucid iron
#

oh yea mmap does let you put a custom butterfly texture if you want

#

idk if that is relevant for yer mod tho

vernal crest
#

I saw, but this is for just a regular butterfly retexture for the whole game rather than specific to a certain map or anything so I just thought of MMAP to help me spawn them

#

40 butterflies is really a lot fewer than I would've expected lol

obtuse wigeon
#

I still don't understnad "SetTilesheet" I just doesn't seem to work no matter what I do, I've tried all of these:

"SetTilesheet": "14792",
"SetTilesheet": "TeleportyThingy",
"SetTilesheet": "Maps/TeleportyThingy",
#

What other things could I try?

vernal crest
#

Are you setting a tilesheet that's already in the map?

obtuse wigeon
#

Already in the map

vernal crest
#

And are you doing it by its tileset name rather than the image name?

#

(So for instance in some vanilla maps spring_outdoorsTileSheet will be 1 instead)

obtuse wigeon
#

It's in <Modfolder>/Maps/TeleportyThingy.png, Attached is how the .tmx refers to it

#

Ive tried adding .png onto it too

vernal crest
#

Yes that should be just TeleportyThingy. So you're doing that and then using SetIndex and it's not adding the tile?

uncut viper
#

(the .png doesnt matter)

vernal crest
#

(I think adding .png would make it not work, wouldn't it)

obtuse wigeon
#

Yep, is there a way to include a tilesheet into the map without a tmx overlayed?

uncut viper
#

the png doesnt matter

#

SMAPI strips it out

brave fable
#

(firstgid is used internally by tiled to count global ids of tiles and also doesn't matter)

vernal crest
#

Of the tileset name?

ornate locust
#

oh btw, for general reference, Do Not Use a simple /move and proceedPosition together

#

that was what was causing my previous headache

uncut viper
#

the tileset name or the image source?

vernal crest
#

SetTilesheet doesn't use image source, it uses name

ornate locust
#

I say this into the void, because I think I just passed out after fixing it :V

vernal crest
#

So if Atlas added .png it wouldn't match the tileset name and would therefore not work

ornate locust
#

instead of actually delivering information

uncut viper
#

you saying "that should be just TeleportyTHingy" made me think you were correcting the image source but if you were not then i apologize

vernal crest
#

Ah, no, I was saying "the SetTilesheet value should be just TeleportyThingy because that's what your tileset name is".

obtuse wigeon
#

I had the same issue with another mod, removing the "SetTilesheet" magically made it place the right tile somehow

vernal crest
#

The CP example for adding a tile is confusing because the list of properties says that SetTilesheet is required when adding a tile but then the example doesn't use it. I guess that means there's a default tilesheet it uses (maybe the first listed?)

latent mauve
#

SetTilesheet uses the name of the Tilesheet in the top of the tab in Tiled, yes?

#

Or am I misremembering

vernal crest
#

Yeah

#

That's the name field in Atlas's screenshot

vernal crest
obtuse wigeon
vernal crest
#

Only via another EditMap patch, you can't just add new tilesheets to a map solely with CP

latent mauve
#

It shouldn't be a Tiled issue.

obtuse wigeon
#

.tmx file has been made from a copy of the FarmHouse.tmx, a new tilesheet called "TeleportThingy" has been embedded into the tmx from "TeleportThingy.png" in the same folder at the copy of the FarmHouse.tmx(AV_FarmHouse.tmx), Then I used this to overlay the AV_FarmHouse.tmx onto "Maps/FarmHouse":

    {
        "Action": "EditMap",
        "Target": "Maps/FarmHouse",
        "FromFile": "Maps/AV_FarmHouse.tmx",
        "PatchMode": "Overlay"
    },

Using another "EditMap" action to modify "MapTiles" to ass the tile that I want and add a warp:

    {
        "Action": "EditMap",
        "Target": "Maps/FarmHouse",
        "MapTiles": [
            {
                "Position": { "X": 5, "Y": 7 },
                "Layer": "Back20",
                "SetTilesheet": "TeleportyThingy",
                "SetIndex": "0"
            },
            {
                "Position": { "X": 5, "Y": 7 },
                "Layer": "Back",
                "SetProperties": {
                  "TouchAction": "MagicWarp Desert {{DesertX}} {{DesertY}}",
                }
            },
        ]
    },
#

When I do patch reload AtlasV.TeleportyThingy I get this error:

[Content Patcher] Can't apply map patch "TeleportyThingy > EditMap Maps/FarmHouse #2" to Maps/FarmHouse: MapTiles > entry 1 couldn't be applied: SetTilesheet specifies a 'TeleportyThingy' tilesheet which doesn't exist.
vernal crest
#

Can you do a patch export of Maps/FarmHouse after your first patch is applied?

#

I have a memory of SMAPI prefixing my added tilesheets last time I messed around with an EditMap patch

latent mauve
#

Could always make sure your tilesheet name is z_TeleportyThingy in case it's an ordering issue because of the farm's default tilesheet ordering

#

Just because it shouldn't be required anymore doesn't mean it might not have a quirk if you aren't using that older method.

#

(maybe you found a bug with the new implementation where it's not getting automatically reordered, or something's happening to it on reorder)

obtuse wigeon
#

It has 2 .png extensions

vernal crest
#

Not the tilesheet file itself, but if you open the map file and see if the tileset name is still just TeleportyThingy

latent mauve
#

open the exported FarmHouse tmx in Tiled.

obtuse wigeon
#

It's auto prefixed it with z_

#

IT WORKS

vernal crest
#

It's also always a good idea to still use the z_ prefix for added tilesheets for vanilla maps anyway because there's a performance cost to interfering with the vanilla tilesheet order

obtuse wigeon
#

as this was just a personal mod I didn't bother with prefixing is as it would've made neglegable difference to myself

vernal crest
#

Might be worth staying in the habit so you don't forget when it's not a personal mod? Your choice of course though

obtuse wigeon
#

I'm now able to fix my other mod too now that I know it auto prefixes it with "z_"

latent mauve
#

so good to know, if you omit the z_, then in order to not break tilesheet ordering, SMAPI automatically prepends it where needed.

obtuse wigeon
latent mauve
#

I've learned a bit more about how that works today. ๐Ÿ™‚

obtuse wigeon
#

So have I, I thought it would've been solved in a more elegant way but you can't beat the efficiency of just prefixing it

#

Thank you all for your help, I can now play Stardew again! I've been spending more time modding it than actually playing it within the last 2 weeks

latent mauve
#

Welcome to the cheeto curse xD

obtuse wigeon
#

For the brits it's more like wotsit curse as we don't have cheetos (The bags are too small though, unless you get the giant ones, best crisps/chips)

tender bloom
#

Cheddar cheese curse?

brave fable
#

mini-cheddars curse...

obtuse wigeon
#

hmmmm mini-cheddars

#

I have suddenly become very hungry