#making-mods-general

1 messages · Page 372 of 1

obtuse wigeon
#

Ohh okay, I thought there just might've been some issues or artifacts left over from coverting binary to xml format, not too sure why i thought that seen as text is quite literally at the lowest level binary

lucid iron
#

I was thinking more that i wasn't sure if tmx directly deserialized into xTile objects or if it became tbin first

dark spade
#

Hello everyone, I'm trying to find the sprinkler sprits and I can't find them, can anyone help me with where I can find and extract the xbns to edit?

lucid iron
#

It's in Maps/springobjects

#

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

dark spade
#

não apenas precisava pegar o para poder editar e fazer a localização do item através do mod e utilizando um png, como vou fazer isso eu já não sei

lucid iron
#

This is english server but going by mtl you will want to look at editimage

obtuse wigeon
#

What major expansions are there that change vanilla locations? I've made a compat patch for SVE, just doing one for Ridgeside now, then East Scarp after,

reef siren
#

Smapi/Console Commands tells me that it sent the command but couldn't execute it. BUT it did in fact debug warp me to my map. Is it just lying to me?

reef siren
#

debug warp TaffyDream
[game] Warping Game1.player to Shmoky.GP_TaffyDream at 8, 13
[Console Commands] Sent debug command to the game, but there was no output.

lucid iron
#

Yep normal

hallow prism
#

output isn't result

#

it's just "there's no data to give to you after this" kinda

lucid iron
#

Some debug commands have output

hallow prism
#

by opposition to a message saying "found 5 melon in chest in farm in 18 17" for ex

lucid iron
#

Like debug gq <game state query>

reef siren
#

Oh so legit just a "Did it. Dunno what else to say"

obtuse wigeon
#

Yep

#

exactly it

reef siren
#

Haha silly

#

Well glad it works, thank you :]]

obtuse wigeon
#

Is this how you specify when someone doesn't have a mod?


"When": {
   "HasMod": "!FlashShifter.StardewValleyExpandedCP"
            }

or does the ! need to be before the quotes?

hallow prism
#

no

#

you're mixing GSQ/event preconditioon and CP ones

#

look at CP doc!

#

it doesn't use the ! convention

obtuse wigeon
hallow prism
#

it has format about how to make a condition false

golden basin
obtuse wigeon
hallow prism
#

CP has basically examples for all sort of things but there's a point when you need to combine stuff

#

if CP tells you how to make a condition for a profession being false, and how to check for mod being true, then you kinda have the element to make a check for mod being false

golden basin
#

I get that sometimes you need to see it written first to understand how its supposed to be written, im the same way

lucid iron
#

Clown where should I put the pets item query

golden basin
#

Can you expand upon that question, whats a pets item query?

lucid iron
#

The Power to filter specific pet licenses in a shop

golden basin
#

are you putting it in your livestock mod?

obtuse wigeon
lucid iron
#

I dunno that's why im asking

golden basin
#

I would put it in your livestock mod

lucid iron
#

I can either put it in livestock bazaar or peliq (my other mod focused on item queries)

golden basin
#

hmmmmmm

lucid iron
#

But it's the same code either way blobcatgooglyblep

golden basin
#

well since its about animals id do live stock

lucid iron
#

Kk

golden basin
#

Also chu would it complex to make it possible to create custom pet shops?

#

I've never really looked into the base code but I was thinking it would be a lil tricky?

#

esp with how things are combined sort of weirdly for the adoption shop

lucid iron
#

This is the Power to create custom pet shop tho

hallow prism
golden basin
golden basin
#

I didnt mean to imply otherwise i realize I may have sounded like that and I do apologize lumina

lucid mulch
hallow prism
#

thanks, clown! i appreciate it

obtuse wigeon
golden basin
#

of course! I didnt realize it sounded badly until I read it a second time, I just woke up actually so my words are scrambled

#

its actually 7:13 am for me, having my first cup of coffee hehe

#

been working on my museum descriptions

#

its how i wake up is writing

golden basin
hallow prism
#

well i'm considering a nap myself, didn't sleep a lot that night

golden basin
#

Honestly Lumina is one of the best people around here in terms of coding content patcher mods.

hallow prism
#

see you later all 🙂

golden basin
#

sleep well lumina

obtuse wigeon
#

Bye Lumina and thank you foir your help

lucid mulch
#

as someone that works inside the cp codebase more than using cp itself, I find treating it as set theory to make the most sense for me

hallow prism
#

thanks! i ask questions a lot still about formatting because i always miss a details, but there's even more questions you don't see because i use my existing stuff as reference 😄

obtuse wigeon
golden basin
#

Thats good practice though! using your own work as reference, I use my work as reference too and other ppls work too when I get permission

lucid mulch
#

the code in the logic for |contains is literally set theory

bool found = values is IInvariantSet set
    ? set.Overlaps(search)
    : InvariantSets.From(search).Overlaps(values);
golden basin
#

tucks lumina into bed!!!! Sleeeeeeeep

#

grabs chu like a squeaky toy

#

I love your mod btw

#

youre very talented

#

slinks off

obtuse wigeon
#

Paved Valley finally has vanilla and SVE support! The two biggest parts done, time to also sleep first however

lucid iron
golden basin
#

Paved Valley?

lucid iron
#

its ok ill be done by the time u wake up

golden basin
#

im not going to bed silly

lucid iron
#

if you never go to bed then ill never finish this feature SDVpufferpensive

#

thats how it works

golden basin
#

but i just woke up!

#

😄 :

#

its in the AM

lucid iron
#

but yea ill go make the thing

obtuse wigeon
# golden basin Paved Valley?

The mod I'm making where main routes around the valley and between houses are paved and not dirt, I've lived in a few villages and towns and all of them have had paving between common places and homes so it seemed odd that stardew didn't. So i fixed that!

golden basin
#

oooo interesting

lucid iron
#

hm atlas are u aware that the joja route in sve paves the roads

lucid iron
#

||it happens after morris becomes mayor||

hard fern
#

😅

#

well

gentle rose
#

did you need help with something?

golden basin
#

im still trying to make some choices? on where my museum should be? right now I have it in the casino as a fancy door but.....im wondering if i should put it somewhere different

obtuse wigeon
#

well I haven't done a joja route and I don't intend to so it'll work for none joja route playthroughs, it does mean I need to account for that

#

That sounded rude, sorry didn't intend to at all

golden basin
#

my museum is for my fictional culture, and like....im worried itll be out of place-

#

but then i think about it and theres museums on cultures here in my country

obtuse wigeon
hard fern
#

🤔 can villagers accept rings as gifts or no

obtuse wigeon
golden basin
#

It's not based on any real life cultures exactly

obtuse wigeon
hard fern
#

so sad

gentle rose
#

can they accept any equippables?

hard fern
#

they can accept trinkets

golden basin
#

But uhh It's very fishing based actually

hard fern
#

apparently

gentle rose
#

what about clothes/shoes?

candid lava
hard fern
#

hmm that i dont think they can

ocean sailBOT
golden basin
#

tropical in influence

#

so i guess ginger island?

#

but i dont know. it just feels out of place everywhere

#

its because Ive created a full set of islands for the culture to be housed

gentle rose
golden basin
#

but im not planning on actually making those islands in game because.......no

candid lava
#

i was lowk lookin for a teamwork thingy tho 😔

#

ill look into it tho thank youu

gentle rose
#

usually people only want to team up on things where they also have creative control tbh

obtuse wigeon
golden basin
#

hmm maybe i do like that idea

obtuse wigeon
#

Keeps it on it's own "island" as a nod to the origin and it's a pretty empty place

lucid iron
#

So u don't make the whole thing

#

Ginger island is also implied to be one of many islands

lucid mulch
#

also there are joja cargo ships in those water ways

golden basin
lucid mulch
#

that aren't docking to ginger island

golden basin
#

ive been working on something silently for a long time that predates passerby, its a passion project that i actually want to do

#

Its called Zeam Village

#

Its just a village located in the isles of Arcania

#

but meh

cursive pike
#

Someone knows an App where I Can edit the Stardew Valley House Designs?

lucid iron
cursive pike
lucid iron
#

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

lucid iron
#

The outside is simply a texture so you can edit it with normal CP things

#

The inside is a map so you use tiled [[modding:maps]]

reef siren
#

Is there a way to ensure that a cutscene is zoomed in? My cutscene doesnt really work well if someone is zoomed alllll the way out

lucid mulch
#

(I don't need to zoom in to probably break your cutscene anyway)

reef siren
#

(Oh nooo)

lucid mulch
reef siren
#

Thats so far away

lucid mulch
#

I need to max out the zoom to get something approaching what 1080p has

reef siren
#

Do you have to squint to see anything???

lucid mulch
#

get used to it

gentle rose
#

what resolution is your monitor?

ornate trellis
#

help lmao

#

i think someone needs to explain the swimming thing to me

#

So, i mahve the toch action for change into swimsuit and for poolentrance in my map but i somehow get stuck either on the edge of my entrance or swimming in the ground but either way i cannot change out of my swimsuit after

#

or is it just the wrong placement for it?

gentle rose
#

I think it may need to be on ground (outside of water) maybe?

#

purely speculating because that’s where I’ve always seen it

#

the swimsuit one, that is

ornate trellis
#

oh wait i realize my swimsuit mistake, hm theres also a changeOUTof swimsuit touchaction... but idk why im stuck in my edge

#

the example i looked at had the tileaction weirdly placed so i missed it..

lucid iron
#

The pool action comes with a large downward force

ornate trellis
#

ahh

lucid iron
#

If u want void u can use the mmap version which makes the force more controlled

#

I been informed it's incompatible with swim tho

ornate trellis
#

hmm

#

thats bad cuz this is about swimming

#

but i think...i might worked around it, lemme test

#

also unrelated but i jsut realized my MG grass for the island is also on my farm, why...i blacklisted all other locations sigh, another thing i gotta look at

#

nevermind im jesus now

lucid mulch
gentle rose
ornate trellis
#

ok it got a bit more square but i put it from the top, now it works

#

ok now its better yay! actually this wasnt hard at all(after me checking again cuz guess im blind)

crude plank
#

it's also clearer now where it is

ornate trellis
#

i might make a tiny stairs to make it even learer jsut in case

lucid iron
ornate trellis
#

tho maybe not...hm. if i remember later. i am torn between doing it or being like let the player figure things out themself

brave fable
#

is anyone interested in testing an update to @south fjord SDVdemetriums

crude plank
brave fable
#

Apps > SDVcharleah Publish

crude plank
#

did it work

ornate trellis
#

snazzy

brave fable
#

perfect. thank you

ornate trellis
#

its cute when you see who published it tbh

brave fable
#

rejoice, now all mod authors can publish posts from anyone in the modding channels without needing to repost it themselves. how fortunate for you

brave fable
#

both you and the original poster can remove it by re-publishing the showcase post ☀️

ornate trellis
#

this is a lot of power

brave fable
#

with great power comes stressed moderators

crude plank
#

do we not allow B's to be mod authors

ornate trellis
#

a part of me hopes for a mod showcase train ngl

calm nebula
#

Both of them are attached to being purple

round timber
#

burple

crude plank
#

valid

brave fable
#

i prefer to think of it as demetriums-colour

calm nebula
#

I have the best color

ornate trellis
#

ourple tempting...even for me if i reach 1000....thonking

crude plank
ornate trellis
#

on the topic of it gov is erroring me when i try looking at my levels how mean

lucid iron
twilit quest
#

The Case of the Disappearing Wallpaper:
The situation:
I use Load to entirely replace the base FarmHouse map:

        "Action": "Load",
        "Target": "Maps/FarmHouse",
        "FromFile": "assets/BrokenFarmhouse0.tmx",```
Then, when the player meets certain conditions, a patch is applied to the map:
```    "Action": "EditMap",
    "PatchMode": "Replace",
    "Target": "Maps/FarmHouse",
    "When": { "DLX.Bundles/Purchased": "glymr.BrokenFarmhouse.FixUp02",
              "Query: {{DLX.Bundles/DaysSincePurchase:glymr.BrokenFarmhouse.FixUp02}} > 0": true, 
              "FarmhouseUpgrade |contains=0": "true",
              },
    "FromFile": "assets/FixUp02.tmx",
    "FromArea": { "X": 0, "Y": 0, "Width": 13, "Height": 12 },
    "ToArea": { "X": 25, "Y": 19, "Width": 13, "Height": 12 },
//    "Priority": "Early",
    },```

The loaded FarmHouse map replacement does not allow wallpaper to be applied. It has MapProperties defining default wallIDs, but no TileData on the walls themselves. The patch does have TileData on the walls, so that after "fixing up" the walls, the player can apply wallpaper.

The problem:
If wallpaper is applied, it shows up at first, and after sleeping. However, upon exiting and re-entering the farmhouse, the default patch walls show, and the wallpaper disappears. Screenshots to follow.
#

Part of the Farmhouse replacement (this map uses Load):

#

The patch, applied with EditMap/Replace (I have also tried Replace by layer):

#

I changed the wallpaper so it would be more noticeable when it switches to the patch

#

Now, when I first fix up the map, it takes on the properties of the Farm WallID and FloorID properties. Here's a screenshot using my Beautiful Vista Farm map, which has custom Wall and Floor IDs:

#

However, after I get up, exit, and re-enter the farmhouse:

#

If I apply wallpaper, the same thing happens. After applying wallpaper:

#

After applying wallpaper and exiting and re-entering the farmhouse:

#

I've tried a bunch of different stuff, like changing priority, changing the Replace method, taking the map edits out of an Include file, changing the WallIds and FloorIDs on the patch itself - nothing has fixed this issue.

#

I swear I had it working a few days ago, but switching to an earlier version of the mod that I thought was working has not solved it.

#

Sleeping makes the wallpaper come back

#

But as soon as I leave the house and re-enter, it's gone again.

vernal crest
twilit quest
lucid iron
#

Are you using the trigger action i made?

#

Maybe it's getting run every time

twilit quest
#

This was happening earlier, but I thought it was fixed. I removed the trigger action first thing. I know it's not the trigger action, because I used a different wallpaper setting to test it out.

#

(I wanted the trigger action so that it wouldn't inherit the wall and floor paper from custom farmhouses, as it did in the image above, and the trigger action works beautifully for that. This bug is something else, and I'm not sure if it can be fixed)

#

There are a lot of conditions for the patch to apply. I wonder if that's part of the problem

#

Log incoming

ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.19045.0, with 19 C# mods and 5 content packs.

vernal crest
#

If the patch was failing to meet conditions and no longer being applied, you'd see the messy Loaded map again

twilit quest
#

I don't think this is a layering issue, since the wallpaper can only be applied to the patch, since only the patch has the TileData to support it.

vital lotus
#

Can we set gift taste for certain flavor of jam?

vernal crest
#

Hm, is it normal for CP to load and then edit the map every time you enter it?

twilit quest
vernal crest
#

Also, it applied an EditMap patch immediately after loading the map upon save creation. Do you have another EditMap patch that doesn't have any conditions?

twilit quest
#

Hmm

twilit quest
#
        //Removes starting furniture (even from custom maps!) and substitutes my own (bed, table, chairs, TV, dresser, lamps, broken television, trash, etc)
        "Action": "EditMap",
        "Target": "Maps/FarmHouse",
        "MapProperties": {
        "mushymato.MMAP_FarmHouseFurnitureRemove": "ALL",
        "mushymato.MMAP_FarmHouseFurnitureAdd": "2048 30 24 0 1134 19 27 0 0 18 27 0 0 21 28 3 704 43 31 2 1680 20 31 0 1449 46 14 0 1449 52 14 0 1758 27 15 0 BrokenTelevision 16 16 0 2076 37 14 0 2076 41 14 0 MoldyCouch 50 18 2 AluminumCan 53 17 0 PlasticLawnEndTable 46 18 0 PlasticLawnChair 45 18 2 PlasticBag 52 15 0",
        },
    },
#
    {
        //Fixes farmhouse entry for starting and first upgrade/married farmhouse. Not sure if this is necessary since it's also built into the map properties.
            "Action": "EditMap",
            "Target": "Maps/FarmHouse, Maps/FarmHouse1, Maps/FarmHouse1_marriage",
            "MapProperties": {
                "EntryLocation": "27 30",
                },
            "When": {
                "LocationUniqueName": "FarmHouse",
                },
    },
#

And this one:

    //Moves seed box in vanilla maps 
    {
        "Action": "EditMap",
        "Target": "Maps/Farm, Maps/Farm_Foraging, Maps/Farm_Combat, Maps/Farm_Fishing, Maps/Farm_FourCorners, Maps/Farm_Mining, Maps/Farm_Island, Maps/Farm_Ranching, Maps/Beautiful_Vista_Farm",
        "MapProperties": {
            "FarmHouseStarterSeedsPosition": "27 26",
            },
        "When": {
           "FarmType": "Standard, Forest, Hilltop, Riverland, Wilderness, FourCorners, Beach, MeadowlandsFarm, glymr.BeautifulVistaFarm",
            },
    },
#

(I use @lucid iron's trigger action to move the seed box in non-vanilla maps)

brave fable
#

that's likely as specific as you can get, though

twilit quest
#

And this one:

        "Action": "EditMap",
        "Target": "Maps/FarmHouse, Maps/FarmHouse1, Maps/FarmHouse2, Maps/FarmHouse1_marriage, Maps/FarmHouse2_marriage",
        "MapProperties": {
        "mushymato.MMAP_SkipMoveObjectsForHouseUpgrade": "T",
#

@lucid iron's mod has been so helpful

lucid iron
#

So does it happen if mmap not installed

twilit quest
#

I also have more that replace the other FarmHouse levels

lucid iron
#

Just to eliminate possible causes

twilit quest
lucid iron
#

Well most things just won't do anything without mmap

#

Like the map props

#

They r just unused data

#

Trigger action u can gate with a When hasmod

vernal crest
#

Okay sorry for late reply, I was trying to find another log to check for loading the map after warping but it was 67 pages so it was a lot of hunting on mobile.

I couldn't see any sign that CP was repeatedly loading and then editing any maps for any mods in the other log.

twilit quest
#

Okay, I'm tweaking the code and manifest

lucid iron
#

so if u want a pet exclusive to the modded shop, set CanAdoptAtMarnies to false in the pet data and then use this item query to grab it like mushymato.LivestockBazaar_PET_ADOPTION YourPet T false true

twilit quest
#

@lucid iron Still happening even without MMAP. (I got lazy and tried loading it anyway - the triggers break but everything else still worked, so I was able to test)

lucid iron
#

hrm i guess it is something to do with the mailflag based edits then NotteThink

twilit quest
#

I wonder if Unlockable Bundles might be doing something

#

It's designed to apply permanent patches - I'm using CP instead, but they're still conditional to the bundles

lucid iron
#

maybe it dun like that you put bundles in the house

twilit quest
ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.19045.0, with 18 C# mods and 5 content packs.

twilit quest
#

Still doing the load/edit on entry

lucid mulch
#

Farmhouse is very cursed in general, but I would recommend using unlockable bundles mechanism to apply map modifications for bundles so it can be correctly timed with finishing the bundle and not need to wait for an interval for CP tokens to update

twilit quest
vernal crest
#

Have to go to bed now but I hope you figure it out! I'll message you when I get a chance (either to be nosy about how you fixed it or to offer to help more if it's not yet fixed lol)

twilit quest
#

Thank you, @vernal crest! Sleep well ❤️

#

@lucid mulch Same issue is happening, even when using the Unlockable Bundles system

ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.19045.0, with 19 C# mods and 5 content packs.

twilit quest
#

hmm, it seems more stable though

#

Nope

#

Nevermind

#

It's losing the wallpaper even after sleeping with the Unlockable Bundles method

spice inlet
#

could you perhaps share the wip mod?

gloomy wagon
#

helloo, i was looking at the mod furniture frameworl and i wanted to ask if it's possible to combine the seasonal and variants options (i didn't find where it could say if it's possible or not)

twilit quest
#

Thank you, @spice inlet ❤️

calm nebula
#

(The specific reason has to do with how alpha 7 handles the farmhouse content cache. I think.i may be very wrong)

twilit quest
#

Maybe I should have made a thread for my issue here

#

Not sure how SSS is used, but here's a log with it installed:

ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.19045.0, with 20 C# mods and 5 content packs.

twilit quest
#

Update: @spice inlet has helped me solve the wallpaper issue!!! ❤️

#

Many, many thanks!!!

brittle ledge
#

@acoustic summit Hey, I was poking around at some NitV stuff and had a couple questions I hope I'm not missing in your docs 🙏

  • Can you limit spawns so the player can only have one in their inventory at a time?
  • Can you stop spawns if a creature is already donated?
  • Can you have a donation point aside from the Insectarium?
torpid sparrow
#

am i able to set my own mail flag using CP?

uncut viper
#

youre already doing that any time you send mail

acoustic summit
# brittle ledge <@800304016377774090> Hey, I was poking around at some NitV stuff and had a coup...

No worries!
2: Yes that for sure can be done using a creature GSQ with "!NAT_NIV_DonatedSpecific <that creatures name>"
1: I'm not sure if there is a GSQ for whether the player has an item in their inventory, if so then yes, otherwise still yes but you'd have to do some harmony patches which is muddier and c#.
3: With c# yes, otherwise if you want pure CP you can make a creature undonatable and use the "NAT_NIV_CaughtSpecific <string>" GSQ in combination with a trigger action to spawn that creature when the player say enters a location if its already been caught. I could expand this to spawning static creatures like in the insectarium.

uncut viper
#

(there is a GSQ for item in inventory)

#

PLAYER_HAS_ITEM

torpid sparrow
uncut viper
#

yes

torpid sparrow
#

yay okay ty

uncut viper
#

the only difference between "mail" and "mail flag" is that usually when people mention the latter, they colloquially mean letters that go straight to the received inbox that the player never sees. thats all a flag is. but any mail ID added via any means works as a mail flagf

#

mail flag = "did this player receive this mail, yes or no?"

torpid sparrow
#

ohh okay thank you!

slate trout
#

im looking at the decompiled code and if im reading this right, golems are bats?

tiny zealot
#

several types of enemies are bats, but i don't think golems are one. i think it's just a recycled sound effect?

uncut viper
#

dont give sound effect names too much importance

#

a lot are reused in a lot of places

rugged torrent
#

What size should portraits be?

uncut viper
#

64x64

craggy goblet
#

Does anyone know how to add custom tracks to the in-game Jukebox? Like, the one we get gifted? (forgot how and by whom, but iykyk)

uncut viper
#

Data/JukeboxTracks

hallow prism
#

gus, when at 5 friendship maybe, for the obtention

slate trout
rancid vortex
#

Is there any way to activate an NPC's sleeping state on the schedule and have him wake up immedietly after?

#

I'm trying to do it with Alex, but after going to sleep all of his dialogue is locked to 'zzz'

hallow prism
#

no, you'll need to use a diffferent sleeping anim

#

this one is hardcoded to have this zzz thing after

rancid vortex
#

damn

#

Thanks!

#

so doing alex_sleep at any point in his schedule will force him into that dialogue for the rest of the day?

urban patrol
#

yes, try defining an animation as alex_nap or something like that

rancid vortex
#

I see I see

#

Is there any way to just change his avatar during the schedule then?

#

without the animation?

calm nebula
#

Location dialogue

#

Unless you're talking like marriage

rancid vortex
#

Nah I'm just rewriting the base schedule

#

I want Alex to walk around shirtless and work out at random points in the day

outer verge
#

are there any tutorials/guides for modding in custom portraits that are bigger than the 64*64 size? SDVpufferpleading

uncut viper
#

you cant without a framework dependency

outer verge
#

i see mods on nexus that give the characters portraits in an more anime/smoother style, how did they do that?

uncut viper
#

using a framework dependency

#

HD Portraits, Portraiture, SpaceCore, probably another one or two im forgetting

#

take your pick and follow their docs

outer verge
#

awesome, thanks <3

cloud pumice
#

what do you guys use for pixel art! i’m settling in rn to get some pixel art done and maybe there’s a better option to work with

calm nebula
#

!software

ocean sailBOT
torpid sparrow
#

is there a way to assign an object to be universally hated?

torpid sparrow
finite willow
#

I just wanna escape from the .NET landscape

#

yet

#

It just keeps popping back

#

anyways

#

what IDE do you guys use?

#

vs code 2022 is the worst IDE I've ever seen

torpid sparrow
#

nvm found it

finite willow
#

getting notepad++ with a c# lsp seems like a better dev exp tbh

rigid oriole
#

Rider is free now

finite willow
#

oh

#

Is it good

torpid sparrow
#

Okay nvm i cannot figure out what to put in the "target" to edit universal feelings

#

"Target": ["Fields", "Universal_Hate", "0"], what goes in the "0" section"?

uncut viper
#

VS Code isnt really meant to be an "IDE" anyway

finite willow
#

newbie take but what if that's a boolean

finite willow
uncut viper
#

there is a difference between Visual Studio Community, which is a full fledged IDE, and Visual Studio Code, which is not

finite willow
#

It feels bloated though, It has data overflowing all over the screen

#

I feel miserable using vs code 2022

uncut viper
finite willow
#

It feels slow

torpid sparrow
uncut viper
torpid sparrow
#

ohh okay

floral stratus
#

Quick question: How do I get a machine to accept poisonous items (edibility -1 to -299) since "poisonous_item" isn't a vanilla tag. I can't find anything in the docs.

                            "Id": "DraconicArcher_Poison",
                            "Triggers": [
                                {
                                    "RequiredTags": [
                                        "poisonous_item"
                                    ]
                                }
                            ],```
torpid sparrow
#

well i was doing regular gift taste stuff and there wasnt an example on the modding wiki

hallow prism
#

well yes there is

torpid sparrow
#

i forgor to check CP

hallow prism
#

otherwise how do you target the universal ones rather than abigail?

#

oh hmm

#

yes my bad, universal ones are formatted differently

#

because of course

torpid sparrow
#

yus

hallow prism
#

but normal npcs use target fields

torpid sparrow
#

i was modelling the universal one after the npc ones

hallow prism
#

i wonder if the npc taste was suggested as candidate for change on 1.6.16 by the way

floral stratus
royal stump
floral stratus
#

Thank you, I'll test it out!

pine elbow
#

studying the decompiled code like im a phd professor

floral stratus
calm nebula
#

Iirc it is not.

hallow prism
#

and what happen when you try to put an item?

floral stratus
#
   "Changes":[
      {
         "Action":"EditData",
         "Target":"Strings/Objects",
         "Entries":{
            "DraconicArcher_Poison":"{{i18n: poison_wine}}"
         }
      },
      {
         "Action":"EditData",
         "Target":"Data/Machines",
         "Entries":{
            "(BC)12":{
               "OutputRules":[
                  {
                     "Id":"DraconicArcher_Poison",
                     "Triggers":[
                        {
                           "Condition":"ITEM_EDIBILITY Input -299 -1"
                        }
                     ],
                     "OutputItem":[
                        {
                           "ItemId":"(O)348",
                           "ObjectInternalName":"{0} DraconicArcher_Poison",
                           "ObjectDisplayName":"[LocalizedText Strings/Objects:DraconicArcher_Poison %PRESERVED_DISPLAY_NAME]",
                           "PreserveId":"DROP_IN",
                           "CopyPrice":true,
                           "CopyColor":true,
                           "PriceModifiers":[
                              {
                                 "Id":"Poison",
                                 "Modification":"Multiply",
                                 "Amount":2.5
                              }
                           ]
                        }
                     ],
                     "MinutesUntilReady":60
                  }
               ],
               "LoadEffects":[
                  {
                     "Sounds":[
                        {
                           "Id":"Ship"
                        }
                     ]
                  }
               ],
               "WobbleWhileWorking":true
            }
         }
      }
   ]
}```
#

Trying to put in an item just doesn't work (Asks me if I want to eat it)

brittle pasture
hallow prism
#

what

#

you are using an existing item as a base for yours?

floral stratus
royal stump
#

if you're just trying to add an extra input/output for the kegs, I think you're erasing all the other settings by using Entries and no target

floral stratus
#

Just trying to make poisonous wines, that's all

uncut viper
#

(this is effectively resetting all of the kegs data to default machine data before applying your edits yeah)

floral stratus
#

This is the exact same code I use for my floral wines mod, with only the names and triggers changed. The other mod works fine.

uncut viper
#

if this is what you're doing in your other mod, it aint fine

floral stratus
#

Okay, I should have tested more.

uncut viper
#

doing it this way is erasing not only every other mods output rules but also every vanilla output rule as well (and same for the working effects, and same for any other field you didnt change)

royal stump
floral stratus
#

I feel stupid now. Sorry

uncut viper
#

(addendum to that is that sometimes the default is whats used anyway so it may not be immediately apparent)

#

its a common mistake with Entries/Fields so nothin to feel stupid about, just something very important to learn

hallow prism
#

what are you trying to put in the keg?

floral stratus
#

Omg thank you! I learn best by example, and that's exactly what I needed!

floral stratus
hallow prism
#

so

#

they can't go in the keg

#

this may be the reason why you can't put them in a keg

#

which is why it's important to have custom rules when you can accept the context tags you need

brittle pasture
#

though hmm, if they wiped all the machine rules with their initial approach it should work

hallow prism
#

so possibly yes

#

and the issue may lay elsewhere

#

we'll see clearer with a proper approach anyway

#

i wonder if RequiredItemId/RequiredTags is needed (at least one) despite being optional, like, if it's optional in absolute but needed for some cases

floral stratus
#

I'm wondering if the issue was using two mods that both override the whole rule. The last loaded would take priority, no?

hallow prism
#

that would likely do it indeed

lucid iron
#

What's the other mod that override whole rule

hallow prism
#

the flower one that is working

floral stratus
#

"working"

hallow prism
#

i mean you said it worked fine

#

anyway we'll know more once it's on the proper format

half tangle
#

Ladder Chance Framework has been updated to 1.1.0

This version introduces three new conditions: ConditionPolygon (passes when inside a polygon you define) ConditionNotPolygon (same but outside), and ConditionVanillaChanceBetween (passes if the current vanilla chance of a ladder is between two numbers.

This version also introduces an easy way to draw a polygon in game and let LCF handle the conversion to a string in the console. See the docs for details.

https://www.nexusmods.com/stardewvalley/mods/35477

Nexus Mods :: Stardew Valley

A framework mod to change the chances of a ladder or shaft/hole in the Mines or Skull Cavern under any of numerous conditions using Content Patcher

thin fern
#

hi i’ve never done coding but i wanna make a mod 😔 can i get some help on how to get started and what i should use? i looked a few things up but still confused

half tangle
#

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

half tangle
#

Feel free to let us know what kind of mod you're interested in making and we can provide some more guidance!

floral stratus
#

The only issue is my poison wines have the edibility of regular wine. Again, I don't know how to set those values. I'm gonna research the docs more.

hallow prism
#

if you use the item as base it may not be easy to change, i don't remember a field to use the base item for edibility...

#

althought i would look at how stuff is for some of the new 1.6 recipes in case one exists

brittle pasture
#

if you use the FLAVORED_WINE item query it should have proper scaling edibility

#

specifically "if input edibility is positive multiply by 1.75, if negative inherit it, if the item is inedible set it based on the price"

#

look at the vanilla wine output for what it looks like

opal tendon
#

where do you get the bus photos to make a recolor/edit for the bus?

brittle pasture
#

cursors I think

thin fern
hard fern
#

I know pam is in cursors

#

So the bus is probably there too?

opal tendon
#

where are cursors at?

iron ridge
#

loosesprites/cursors.png

brittle pasture
#

"if you can't find it, it's in cursors" is our unofficial motto

opal tendon
#

oh perfect I found it would I edit that photo and then have it replace just the bus in the text stuff or?

brittle pasture
#

yes, you can specify just patching a section of the image with EditImage

half tangle
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:

opal tendon
half tangle
reef siren
#

where is this windmill used?? Im trying to rack through my mind files I canny remember

hard fern
#

The thing next to Leah's house

#

I think

reef siren
#

Aha yes it is!

#

Thank you!

thin fern
opal tendon
brittle pasture
#

the png in your mod folder will just have the bus
then in your CP mod you specify the area of cursors you want to patch over with that png using ToArea

opal tendon
#

just to clarify its this photo and I would do the bus on this photo then put the entire photo in with the mod?

#

(I've never made a mod before)

brittle pasture
#

no

#

crop to just the bus

opal tendon
#

okay perfect ty

#

does it matter what size I make the image?

uncut viper
#

yes, it must match the original dimensions of the bus

opal tendon
#

is there an easy way to know what those dimensions are?

#

or do I just erase everything else in the photo or

uncut viper
#

easiest would be to just crop to the bus and then erase the bus. then draw in the now invisible space

#

then the dimensions are just the size of your image

opal tendon
#

like screenshot it and put the ends to the ends of the bus?

uncut viper
#

no. open it in your image editor.

opal tendon
#

(sorry I am a little loopy from procedure earlier)

#

what's an example of an image editor

brittle pasture
#

!software

ocean sailBOT
brittle pasture
#

ignore the c# section

outer verge
opal tendon
#

I am using procreate and like I just crop it like this ?

rugged torrent
#

For dialogue how would you write something like "Who're you?" and then another box that says (like the box without the portrait in it) "He looks skeptical of you even as you give your name."

brittle pasture
pine elbow
slate trout
brittle pasture
#

tilesheets looseprites/cursors

#

though magma sprites should have their own monster sheets, hmm

slate trout
pine elbow
pine elbow
brittle pasture
#

yeah I see Characters/Monsters/Magma Sprite.png

brave fable
uncut viper
brittle pasture
brittle pasture
pine elbow
brave fable
#

strange, i'm on my phone and i noticed SDVdemetriums

brittle pasture
#

look at blueberry over here with their fancy 4k phone

opal tendon
slate trout
uncut viper
#

zoomed in on what? if you zoomed in when inside an image editor, it shouldnt change the actual size

ocean sailBOT
#

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

uncut viper
#

(i mean aside from an unofficial unauthorized repo being the wrong place in general, why would you expect a 1.5 repo to be the correct place when we are on 1.6.15)

rugged torrent
pine elbow
# rugged torrent So how would I write that? Or is there a wiki pagethat explains all the options ...
Stardew Modding Wiki

So, you're interested in creating a new character for Stardew? Good news: with version 1.6, creating a character is easier and allows for more flexibility than ever. However, NPCs are one of the more complicated things to create for Stardew, as they have a LOT of moving parts. This guide aims to provide...

pine elbow
rugged torrent
slate trout
opal tendon
uncut viper
#

you crop them inside your image editor

opal tendon
#

idk how

opal tendon
#

I FOUND HOW TO CROP IT

pine elbow
# opal tendon why not?

It doesn't have an accurate 16x16 grid by default. There's lots of free pixel software/websites out there :3

brave fable
# opal tendon idk how

it's probably best you look up a how-to for your art program, most people here aren't artists, and the rest use a whole bunch of different programs SDVpufferthumbsup

opal tendon
#

is this cropped right now

brave fable
#

what's your plan for the bus btw?

#

yeah that looks good, appears to be original size

opal tendon
#

I ideally want to do a texture of everything in the game

#

someday

#

(I am working on NPCs right now and finished Haleys main outfits but need to do her winter ones still)

brave fable
#

a lot of people do, but it's a big big game hahah. always start small

opal tendon
opal tendon
reef siren
#

Okay so I just closed my laptop butttt
My map is basically just the bus stop that I wiped over. The file was copy pasted from the bus stop so I didn’t have to worry setting up my own file. Does the bus stop have a fixed view? Coz when I go to my location, my view is fixed to the left? If this isn’t like a fix off the top of someone head then dw :] I’ll bring it back up tomorrow when I’m back on my laptop

brittle pasture
#

the bus stop map has a map property that clamps the viewport

#

you probably didnt clear that

royal stump
#

yeah, delete ViewportClamp probably

reef siren
#

Ah yes exactly as I thought

#

Perfect I’ll just delete that! Thank you :] silly me

cold marsh
#

Is there some weird obscure risk to making unique items in my mod Litter type? I use Spacecore to change the title+color of their categories and they're not giftable so that's not an issue

lucid iron
#

If you are going to use spacecore categories anyways you can just leave it at Basic

brave fable
#

@tribal ember hi, nexus is being a butt ☀️ feel free to make & publish a CP LOC recolour in your style

#

wow the mod page numbers are high these days. i thought desert bus was a newish page at ~10000

lucid iron
reef siren
#

On sign posts is there a symbol for a down arrow?? ` is up, > is left, idk what down might be. I used = thinking that but it was a star instead

#

I dug through other mods for those idk what page they would be on on the wiki

brittle pasture
#

nope sadly

reef siren
#

Awh shoot

#

Well I gotta rethink some things 😭

brave fable
#

SVE patches = to be uparrow on the farm only sometimes 🥳

#

means my mods tell you there's new powers in your ☝️ Special Items tab

reef siren
#

Wait up arrow?

#

Is there two up arrows in SVE

cloud pumice
#

maaaan… i haven’t dug into sve patches yet 😭

brave fable
lucid iron
#

Well it's a mode of transportation

brave fable
lucid iron
#

What does windmill mod and rings mod do

reef siren
#

Lmao was confused, well I may have to look into that patch nonetheless. Might be beyond me but we will see

brave fable
#

well the windmill was mostly just a tile animation test, I was thinking of turning it into a sort of windmill framework but then Miller Time came out lol

#

rings mod was my 2nd mod after sailor moon hair, but naturally when you're learning c# with harmony modding on a brand new codebase it's an uphill battle

lucid iron
#

Blueberry farm buildings pack when

#

Is ring mod along lines of atra critter rings

brave fable
#

it's less impressive looking back at it now lol

#

very brown mod

#

oh no it was basically just the new rings we got in the last game update, phoenix thorns fire and all that

#

surprisingly overlapped some of the trinkets too

lucid iron
#

Wow the trash farmer was there

brave fable
#

Big Bill's been in it for the long haul

brave fable
#

i doubt i'll ever go back to the rings mod, i lifted most of the ideas into LOC as food buffs (slow aura, coins on kills, aoe fire) or into shrine mod (fire/blast damage/resistance, death safety), and the rest are basically vanilla now as rings/trinkets

calm nebula
#

Slow aura?

brave fable
#

yeah! lasagna makes all non-flying enemies around you slow & fat

opal tendon
#

I finished the bus but I am confused on what to put in the target section

brave fable
#

it's realistic

#

it takes goat cheese & fiddlehead to make so a little prohibitive but makes the mines super simple

lucid iron
#

I want to see the inside of mill somewhere DokkanStare

#

Tho hrm it'd be annoying as building if that's 3 different locations

brave fable
#

yeah exactly hahah

#

and you'd need a new location entirely if you wanted a brand new mill which isn't worth it

lucid iron
#

Well u can just not warp

brittle pasture
lucid iron
#

Make it 1 map

toxic charm
#

are there any good youtube tutorials on how to make a custom npc?

opal tendon
#

are you allowed to copy paste from another mod or is that a nono

brittle pasture
#

find the coordinate of the top left pixel of the bus in Cursors

brittle pasture
#

depends on your image editing software, but most of them should show something with the rectangle select tool

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

opal tendon
#

well darn it

hard fern
#

uh,

brittle pasture
#

you're missing files it seems

hard fern
#

is the rest of your mod there

brittle pasture
#

you have a content.json and a manifest.json?

opal tendon
#

yes

urban patrol
#

are they actually text files by chance

opal tendon
urban patrol
#

yeah those are actually .txt, you can enable file extensions on windows to be able to see what type of file they are

hard fern
#

an actual json file will say this btw, for future reference

opal tendon
#

oh

#

how do I that

urban patrol
#

in whatever text editor you were using (we recommend notepad++ or visual studio), save as .json

hard fern
#

if you want to turn on file extensions you unckeck the boc

#

"hide extensions for known file tyoes"

#

this means you can now just edit the file in file explorer to have a different extension

#

but it will warn you since it doesn't always work to change just any old file

#

.txt to .json works fine though, from what ive found

opal tendon
hard fern
#

options

opal tendon
#

and then how do I save them cause I tried 3 times and they are still text files

hard fern
#

this is probably the easiest way

opal tendon
#

maybe I did something wrong..

brittle pasture
#

just select all files

opal tendon
#

I did try that

uncut viper
#

if you select "All files" and manually name it with a .json suffix, it will work

#

but also you should be using something that is not just normal Notepad

#

as other text editors like Notepad++ can just save to JSON directly

opal tendon
#

it didn't work

#

oh

vital lotus
opal tendon
#

does the version of notepad++ you get matter?

uncut viper
#

just download the latest version

brave fable
lucid iron
#

Oh then it work as building np DokkanStare

#

Just roll ur own intra map warp

opal tendon
#

hmmm I've decided this is too hard atm does anyone want to upload it for me 🥲

#

and or does any kind soul want to write what I need to put in the thing

lucid iron
#

You already wrote the right things it's just the file extensions

opal tendon
#

I need to do the the rectangle of Cursors thingy

#

I think

#

and then I think its all done

#

but idk how to do that

opal tendon
#

I will look at my program more for the image stuff right?

brittle pasture
#

you find the top left x y coordinate of the bus in the original Cursors image

hard fern
#

using Load is fine if im editing enough of a map that it probably wouldnt be compatible with other mods that also change said map right..?

opal tendon
#

(its a bus mod)

brittle pasture
#

sure

#

though you don't need FromArea since it defaults to your entire source image

opal tendon
#

so I would just do to area?

brittle pasture
#

yes

#

(also use another text editor)

opal tendon
#

perfect ty

opal tendon
#

nope

brittle pasture
#

you only have the bus right, not the doors and pam

#

delete the second patch and fix the first patch's FromFile

#

(it should be assets/Sakurabus.png)

#

(also pls use another text editor)

opal tendon
#

I have to find where the new one installed because its not showing as a program that I can choose I have to dig for its path 😢

#

did I do it wrong

brittle pasture
#

change width and height to be the width and the height of your bus image

#

seems like the mod you're using split their patch in half so they can also cleanly patch the door animation and pam's image

#

128 and 102 per the error message

opal tendon
#

ohhhhhh

opal tendon
karmic gust
#

That bus is adorable omg. I love it

opal tendon
urban patrol
#

can one Include patch list multiple files at once?

brave fable
#

yep, of course SDVpufferthumbsup e.g.```json
"Changes": [
{
"Action": "Include",
"FromFile": "assets/base.json, assets/game.json, assets/other.json"
}
]

urban patrol
#

sick thank you

#

i'd been doing them all individually and suddenly was like this is stupid hang on

lucid mulch
#

internally content patcher is splitting it out for you when doing that

urban patrol
#

i love that there are all these shortcuts built into it

#

how do i write a config token into the "condition" key of appearances? i have a character and i want players to be able to choose which version of him they prefer

#

i know how to do it with a when condition but that's different i'm pretty sure

twin wadi
#

im not 100% sure but this might be helpful? i think it'd work as long as its a toggle between true and false

urban patrol
#

so if this is my config:

    "AllowValues": "Orange, Black",
    "Default": "Black",
},```

the token would look like this? `"Condition": "{{Cat_King_Appearance |contains=Orange}}",`? i'm not sure about the "contains" being present
round timber
#

yep that should work

urban patrol
#

cool thanks both of you

obtuse wigeon
#

Hi, I've just moved over to Linux to mod stardew and reinstalled Tiled, However I don't see TMX support with in Tiled on Linux, it's the same version of Tiled just for a different OS, Is there somewhere I have to download the TMX plugin from and just completely forgot? The attached picture is the plugins available on the fresh linux version install

brittle pasture
#

it should just support tmx out of the box?

obtuse wigeon
#

So it does, I thought I had to enable a plugin for it to support it? hmm odd

#

Following on from a previous convo where someone said the Joja route adds pavments(sidewalks) around stardew, I can't find any info on that, does anyone have an image or the location of the files that are responsible for this? I can't find anything on it anywhere

twilit quest
obtuse wigeon
twilit quest
hard fern
#

|| "Election.Leah": "I don't want paved roads by my house...$2", ||

I couldn't find it anywhere exactly, but leah does complain about it lol

hard fern
#

yeah

#

i might make the one time i play the joja route be a sve playthrough just bc im curious as hell lol

twilit quest
# obtuse wigeon Oh it's specific to SVE gotcha, that makes compat easier then, I thought it was ...

It was something I appreciated when I did the Joja route in SVE -||it did a good job of making you feel the difference. Some characters wanted the paving, others didn't. But I know I felt bad when I saw how the roads had gone in. You trade a small benefit to yourself (small increase in speed which all paved areas give) for permanently altering the landscape, regardless of how any of the townspeople feel about it. ||

twilit quest
#

I also recommend the Marry Morris mod - you don't have to marry him, but it lets you befriend him and gives more events with him. It works well with SVE

obtuse wigeon
obtuse wigeon
hard fern
toxic charm
#

so im using a character creator instead of the regular way and for some reason, the add spritesheet option is greyed out

tiny zealot
#

!npc i recommend making an NPC the regular way. the NPC creator is woefully out of date and will teach you wrong things

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:

toxic charm
#

ok

twilit quest
obtuse wigeon
gaunt orbit
#

There's a mod I like called Faster Path Speed that adds a boost to placeable paths and lets you adjust map path speed boost

twilit quest
tiny zealot
#

i understand that the path speed boost exists but it's so small i have never been able to discern it. feels a bit pointless tbh

obtuse wigeon
twilit quest
#

For crafted pathing, "All types of pathing provide a +0.1 boost to Player Speed"

#

I notice it

#

I can always tell when I'm on stone vs. dirt

gaunt orbit
#

I can't

twilit quest
#

It's slight, but if you run everywhere it has an effect

gaunt orbit
#

Hence mods

twilit quest
#

Yay mods!

gaunt orbit
#

Secretly I'm hoping to reach 1000 mods

twilit quest
gaunt orbit
#

I'm at 970ish

#

I think

twilit quest
twilit quest
echo sand
obtuse wigeon
hard fern
twilit quest
obtuse wigeon
#

I didn't know about Dynamic Reflections, I'll keep it in mind and make sure its compatable

twilit quest
#

Sounds like you should be good though, @obtuse wigeon

#

I've been making a list of mods for my next save - I want to make a very Farm-Focused save. I've got Fresh Produce, Immersive Manure, Chicken Feed, Animal Husbandry, Questable Tractor, Aquaponics, maybe Weeds, and a few others.

#

I'm looking forward to it ^_^

obtuse wigeon
#

I read "Questable Tractor" as "Questionable Tractor"and thought it was the Pam tractor mod

twilit quest
#

Hahaha

twilit quest
obtuse wigeon
#

I haven't, I dislike how much it costs but feel reducing the cost is too cheaty for my taste, so that's the perfect mod to solve my issue! absolutely love quest adding mods to, gives me a direction and makes discovery very fun

twilit quest
#

Oops, wrong link, one sec

twilit quest
#

There we go

#

The same mod author did Junimatic, which is an alternative for Automate that has a similar quest-based setup

#

Good stuff

obtuse wigeon
#

it also comes with a separate size setting for each tool?! even though I've already got the tractor in my playthrough I am adding to my game immediately

frail oasis
#

Hey guys, why is this not working? 😦

#

{
"Format": "2.3.0",
"Changes":
[
{
"Action": "Load",
"Target": "Characters/Caroline",
"FromFile": "assets/Caroline_Sprites.png",
}

]

}

#

:c

#

I need more configuration?

urban patrol
#

are you getting an error message?

frail oasis
#

Idk why

urban patrol
#

try making your format 2.7.0

frail oasis
#

Let me try

#

Ohhh, now i'm gettng a log

#

Ohhhhh

#

Maybe ik

urban patrol
#

are you trying to mod on android?

frail oasis
#

Yes

#

🐢

urban patrol
#

ah ok i can't help with that, sorry

frail oasis
uncut viper
#

you'll want to go to the android smapi discord

#

most likely

frail oasis
#

Oh, there's an android smapi discord?

hard fern
#

!androidsmapi

ocean sailBOT
#
Android SMAPI

We are not able to provide support if you run into trouble or compatibility issues with Android SMAPI; please use the discord linked on the Android SMAPI github.

IMPORTANT: This is a highly experimental build and may be prone to glitches, bugs, or incompatibilities. Please see the wiki instructions for more information regarding installing the unofficial Android port of SMAPI for Stardew Valley 1.6.

Do not harass mod authors to make Android specific compatibility patches.

hard fern
#

yes

#

it's linked on the github

frail oasis
#

Ohhhh

#

Im on that server haha

#

Didnt know

lucid iron
frail oasis
outer verge
#

why are heart events so hard ive been fight ts for like 6 hours

urban patrol
#

congrats!

#

and don't feel bad, everyone messes up

#

would you like it to be showcased?

outer verge
#

thatd be amazing :0

hard fern
#

hes real

#

in stardew

outer verge
hard fern
#

omg

#

LOL

#

wait did you hear about the weird thing that happened with the sun too

outer verge
#

YEAH he's here

round dock
#

I saw the animation for your NPC and it was really good SDVpuffersquee

outer verge
hard fern
#

😔 i just cranked out gift taste dialogue for another npc

#

why is that all i seem to do nowadays

craggy goblet
obtuse wigeon
#

I'm adding recolour support for a custom tilesheet but I'm not sure how to implement it into a .tmx file, I'm guessing you can't use local tokens inside a .tmx file. Do I have to make a different map for each recolour?

hard fern
#

uhh no you dont

obtuse wigeon
#

Oh wait actually can I just use the vanilla one, then edit image it with the recolour?

hard fern
#

basically yeah, you have your original tilesheet, then editimage with a condition for if they have the recolor config/ or if you auto recolor by checking if they have the mod installed

echo sand
#

how do i do the leah bot

hard fern
#

or you can just load separate versions of the tilesheet using that

echo sand
#

im a tilesheet

fading walrus
hard fern
#

😔 are you a tilesheet?

echo sand
#

yeah :(

echo sand
hard fern
#

i can do it

echo sand
#

fanku

hard fern
#

do you have any kind of message you want to say?

echo sand
#

just the existing description i guess

hard fern
#

ok

echo sand
#

tyty

hard fern
#

huh wait seb's eyes are green?

fading walrus
echo sand
#

they look purple to me

fading walrus
#

Woop, ping

hard fern
obtuse wigeon
#

Oh perfect, next question is about seasonal tilesheets, do I have to add any special logic for changing the tilesheet for a different season or is prefixing the image with spring_ enough?

hard fern
#

(and dw i dont mind the ping)

#

the game will auto change season if your map is outdoors iirc

fading walrus
echo sand
fading walrus
obtuse wigeon
echo sand
#

i have turned off my blue light filter and they are indeed green. wild

hard fern
#

ok well thats funnt

echo sand
hard fern
#

this is just like sam

obtuse wigeon
hard fern
#

for whatever reason seb's portraits and sprites eye colors dont match... sigh

obtuse wigeon
#

Eh I'll just write some logic for it to change

echo sand
#

i am so not looking forward to making the front and back sprites for my stupid bike

#

it'll be so worth it tho

obtuse wigeon
#

What's the best way to offer recolour support? as a config option or automatic by detecting whether they have a specific recolour mod

echo sand
#

i prefer a config but most ppl like autodetect iirc

lucid iron
obtuse wigeon
lucid iron
#

Ok so you probably want to match earthy and vpr at least

obtuse wigeon
lucid iron
#

To do auto matching you can use a dynamic token

hard fern
#

are these interior or exterior tiles btw 🤔

#

wait

#

you're the path person

obtuse wigeon
#

is it possible to do both config and autodetect? so you have the options autodetect, vanilla, earthy, etc?

lucid iron
#

Yeah

obtuse wigeon
hard fern
#

SDVpufferwaaah my memory is failing me

lucid iron
#

Have a config option with 1 option called auto

#

Then, using the config token, make a dynamic token that does hasmod on each supported recolor

obtuse wigeon
inland rain
#

Can summon mounts using custom "flutes" and have them eat custom "carrots" - Pinkie is summoned using an ancient drum and is partial to ice cream.

craggy goblet
inland rain
#

really partial to ice cream

lucid iron
#

Excited to feed my broom some wood

inland rain
#

I just added a field set a custom speed boost value too, the vanilla value is 0.4

echo sand
#

i’m 100% gonna fuck up the code but the art will be solid af

inland rain
#

carrot eating animation is still broken for oversized mounts

latent cape
#

Quick question, is it actually possible to start a heart event in a custom location? If so, is the template still uses Data/Events/Location ?

vernal crest
latent cape
lucid iron
#

It's gotta be the internal id

vernal crest
# latent cape Can i ask how one does that 😔

Make a json file named blank.json and put {} inside it. Write a Load patch where you have that blank.json as your FromFile and your desired location as your target (as chu said, it's the internal ID for the location, not its display name). Then write an EditData patch also targeting that location but with your actual event in it (using {{ModId}}_<DescriptiveStringNameHere> as your entry key because we like a unique, descriptive event ID).

latent cape
vernal crest
lucid iron
#

@stark spindle hi i want to ask if mayor mod have any text in the dll component

stark spindle
#

Is there anything in particular you're looking at?

proper jolt
#

Ooookay I think I've royally messed up somewhere ablobgrimace ... how can I show a file I've been working on? Because I think I've converted it wrong NotLikeThis .
I've been trying to update an old mod that allows you to buy almost anything from npcs (Buy more materials is the name). However, when I converted it, it looked like half of the npc shops got chopped out D: . I don't know if that's meant to happen or if I've missed a whole lotta things KEKW

devout otter
proper jolt
#

Ok nodders

#

In the orginal before conversion, there were way more items than this NotLikeThis

lucid iron
stark spindle
lucid iron
#

They did zh.json on the cp half but still have some random eng text

#

It's probably just mistek on their end then ty for checking

#

If u do end up putting some text in the dll half u can i18n that too SDVpufferthumbsup

stark spindle
#

no it's probably my fault. I was possibly overly cautious when they were asking about the translates. Its been on my list all week to check for them

stark spindle
lucid iron
#

Wait so is there text left in dll or otherwise not i18n'd bolbthinking

#

Or is it probably tl side mistake

vernal crest
stark spindle
lucid iron
#

Ok I'll let you know SDVpufferthumbsup

stark spindle
proper jolt
#

I'll have to read around again then nodders

devout otter
devout otter
proper jolt
lucid iron
proper jolt
#

the mod I'm working on has both an STF section and a CP section Keqing_Think

lucid iron
#

Hm are you doing edits to these in AssetRequested? Possible that you are editing all locale

vernal crest
#

Looks like the CP bit is for the maps and STF is for the shop stuff

devout otter
#

Yar, the CP section is fine. You just need to merge them at the end.

vernal crest
#

I always forget the converters exist.

stark spindle
devout otter
#

I'd suggest to just do it manually, but whew there's a lot huh.

proper jolt
#

Yeah there is monka . But I'm still gonna give it a shot. ablobnodfast

#

One more thing before I go. When you say merge them at the end, do you mean drop them all in one folder or...? Cuz current end product is this: (output is the conversion I did earlier)

lucid iron
#

Gotta do per locale edits basically

#

Some u can perhaps do via LocalizedText but not mail

lucid comet
#

eya, i have a question regarding the grass tilesheet. i'm trying to figure out what row is used in which season/location. some are pretty easy to guess (blue grass, first 3 rows) but the middle has me stumped. can someone point me to where i can find some info on that?

devout otter
lucid iron
#

I think some of them are partially cut

stark spindle
devout otter
#

And then

devout otter
#

SO you'd only have one main folder in the end.

proper jolt
#

Oohhhhhh ok ok

#

I get it now nodders

#

Thanks for the input blobtext_thanks

devout otter
#

I don't know how the converter work, so I can't give any advice for that. But if you really want to do it manually, you should be able to surmise the format by comparing.

lucid comet
#

that would make sense, guess it's time for some bright pink recolors to figure out the details ^^

lucid iron
#

If it is even consistent

stark spindle
lucid iron
#

Sounds good and good luck SDVpufferheart

proper jolt
lucid iron
#

For vanilla shops you need to targetfield into the Items list

#

Otherwise you be overwriting whole shop

proper jolt
#

gasp no wonder...

forest canopy
#

Has anyone had any experience creating mods using More Grass? I'm having issues where grass will not spawn outside of the farm

hallow prism
#

i dont believe more grass is changing that

#

how are you trying to get the grass to spawn?

forest canopy
#

At first I didn't have anything specified in the Whitelisted Locations, but now I've got multiple areas using the location names from the stardew wiki for modding: location data. I even have tested having one grass type whitelisted specifically for the town, but it isn't showing up either

hallow prism
#

ok so

#

more grass is a framework to change the appearance of the grass (having more sprites for grass), i don't believe it does SPAWN grass

#

so how are you trying to spawn it?

forest canopy
#

Ohhh I getcha, my bad. As far as I know I don't have anything removing grass, but thank you for actually helping me figure out where to look properly

#

Like as far as I know, the grass should be present like usual, but it just isn't showing anywhere other than the farm

hallow prism
#

there are some properties on maps that allows grass to spawn, usually coupled with proper path property, but just using grass starter can be enough

#

well vanilla location don't have grass unless a mod changes that

#

or you plant it yourself

#

only some modded locations have grass

forest canopy
#

I might've been playing modded too long to remember that 😅

#

Thank you for the help!

hallow prism
#

sure, sorry it wasn't the help you needed!

forest canopy
#

It's still exactly what I needed, at least I know I'm not crazy now!

hallow prism
#

yeah not knowing why stuff isn't working is infuriating

brittle ledge
#

(Also requesting feature where if you're mayor, you sometimes start the day at noon because your first six hours is spent on paperwork SDVkrobusgiggle /j)

stark spindle
# brittle ledge Hey, if you don't mind a couple of compat questions re: this, do you have some s...

sure so "EmuEngine.MayorModCP_ElectedAsMayor" is the key for when you're elected so that. I'm not sure what do you mean by position?
That feature is hilarious! Ha maybe I can put it in as a configurable thing.
I do apologize. I have been planning to put all of the source for this up on github I just haven't gotten around to it yet. All of my project tracking is in my forgejo instance so I need to look into moving that stuff with it.
Edit: I misread

brittle ledge
stark spindle
#

Hmm maybe we could make him an assistant or something. Ha i dunno if id trust him with tax if i was mayor though

brittle ledge
#

OK, I won't worry about that event for now then. Not sure how much you want to go into the lore but I think it'd make sense if Lewis either handles some of the bureaucratic paperwork, like taxes and licenses, or teaches the farmer how kyuuchan_nod2

#

I assume you edit some of his dialogue - do you edit any of his Saloon strings?

stark spindle
stark spindle
#

I actually might be doing something silly now and I was half thinking of asking you all if its a really dumb way to do it.

brittle ledge
#

Go for it SDVpuffersquee

#

I'm actually working on an update to my saloon dialogue mod and I've already got some edits for No Town No Mayor that I can add your mod in on. If you wrote anything new for his Saloon lines I'd need to integrate that though.

stark spindle
# brittle ledge Go for it <:SDVpuffersquee:562830783568543755>

so the im trying to cut down on the amount of strings you'd have to update for simple changes ("Mayor Lewis" -> "Lewis") and have those update on the fly in the AssetRequested in c#. The idea is you have a list of the keys which you know has that and you just have a find/replace for those assets. Then all you'd have to translate is the searchString ("Mayor Lewis") and the replaceString("Lewis"). Mainly im worried that much editing in the AssetRequested is just super inefficient. Maybe there is just a standard way to do this and I haven't seen it yet?

stark spindle
brittle ledge
stark spindle
torpid sparrow
#

Jabigail

#

Is Sam’s name Jam?

#

That’s so funny

brittle ledge
#

One of these days I need to put together a rec list for high quality shitpost mods SBVLmaoDog

stark spindle
#

that would be a fun collection

reef siren
#

Hi gang, is there any way that doesn't use central station mod to make a warp from the stardew station that costs money?

brittle ledge
#

Oh, are you talking about the train station?

reef siren
#

Yes yes :]

brittle ledge
#

VMV has an implementation for if CS isn't installed, you could look at that.

#

!vmv

ocean sailBOT
#

Visit Mount Vapius (https://www.nexusmods.com/stardewvalley/mods/9600) is an expansion mod that adds a new region in the mountains. Accessible by train, you'll enter the hamlet of Glimsap, with its tight-knit group of villagers, that holds a market twice a week. You'll get to explore new places, fight monsters, get new crops and forage, trade local coins for exclusive goods, and complete tasks to unlock special items, including machines, buildings, and animals.

reef siren
#

Aye aye captain! Thank you!

cursive pike
#

How Can I make my Pond in my map fishable Yes I Can fish but its mostly trash

urban patrol
#

you need to add the fish via location data

#

for example, if you want to add the same fish that are available in the ocean, you would copy the entry (off the top of my head, it’s something like FISH_OCEAN)

cursive pike
#

Ok thank youSDVpufferheart

#

Can I then also add my own fish?

reef siren
#

Ah as far as I can tell looking through the files I dont think that is how I want my trains to run 🤔 Hmmm I'll figure something out

brittle ledge
# cursive pike Can I then also add my own fish?
Stardew Modding Wiki

Adding a new fish to the game has never been easier than in 1.6; nowadays, fish are a simple set of patches via Content Patcher. There are four required steps: you need to load sprite images, define the fish (as an item, and as a fish) and add it to locations. Optionally, you can add aquarium sprites and data, and fish pond data. I'll be using ...

stark spindle
hallow prism
# reef siren Yes yes :]

i'm using minecarts and :


                        {
                            "Id": "Lumisteria.MtVapius_TrainStationTrain",
                            "DisplayName": "[LocationName Lumisteria.MtVapius_TrainStation]",
                            //"Condition": "LOCATION_ACCESSIBLE Railroad, {{RailroadMinecart}}",
                            "TargetLocation": "Lumisteria.MtVapius_TrainStation",
                            "TargetTile": {
                                "X": 6,
                                "Y": 32
                            },
                            "TargetDirection": "down",
                            "Price": 250,
                        },```
This format
reef siren
#

Ah minecarts!! That’s why I could t figure it out! So you just use the new railroad mine cart and warp to another mine cart in mt vapius?

lucid comet
#

so you could take a look at how they are doing that and if that fits for your issue as well?

reef siren
#

Hmmm well I could use mine carts (I keep misspelling it as Minecraft smh) but I fear lore wise for my mod that wouldn’t be the best haha! My location is like a super long way away, like if Stardew was east coast America, my location is like montana 🤔 I’m thinking I gotta just get creative

#

Or learn c#

#

Im putting my money on the first

calm nebula
#

(Just because it's called Minecraft doesnt mean you need to skin it as minecarts

#

Unless you want like a plane animation you could do it

#

Also doesnt central station support boats

#

But yeah, you could also do your own c#

reef siren
#

I mean if I can use Central station but only have my destination accessible from Stardew Valley Railroad and never Central Station then that would be good

#

(And yes CS does have boats too :]])