#making-mods-general

1 messages · Page 251 of 1

old edge
#

so requester_name should be baby...

reef kiln
#

I like that approach. 😇 😇 Biggest gets to set the standard. That would make compatibility question have a "correct" answer for who to send people too. 🤣 😇 😇

old edge
#

oh well people are just gonnna have to get used to nott having an emoji icon there.

gentle rose
#

that’s already the approach some people take. In mod comments. Loudly.

drowsy pewter
#

technically spacecore is the biggest cooking mod now. It's also the biggest forage mod, trigger action mod, crops mod, event mod, map properties mod, animation mod, item properties mod, buffs mod, crafting mod--

lucid iron
#

if ur cooking mod isnt compat with cornucopia what r u cooking even

reef kiln
rigid oriole
#

i endorse better game menu api

reef kiln
rancid musk
drowsy pewter
#

Agreed

#

hungry hungry caterpillar style

rancid musk
#

If it was big enough it wouldn't have Space it'd just be Core /s

old edge
rigid oriole
#

mark it wontfix

reef kiln
#

Oh, you are getting reports. That would be annoying.

drowsy pewter
#

wontfix annoys me because it permanently increases your bug counter

#

But I want to use it for "not my problem" reports

lucid iron
tidal stone
#

Ok im not getting any log errors but my ids are apparently still sillied up in my content patcherhttps://smapi.io/json/content-patcher/b6e29723cf6f463194d04536b48f6979

I dont even get any red lines on content patcher in VS Code so idk what color my brakcets are supposed to be if teir still the wrong color 😦

lucid iron
#

i didnt test this beyond making sure vanilla doesnt crash

old edge
#

yeah and I'm kind of a perfectionist it's the first time I had this challenge of it being very difficult

reef kiln
brave fable
lucid iron
#

this one is meant to work by customfields on the chara data

#

but idk i dont have a special order framework and ill die if i make any more frameworks i think

lucid iron
#

does it?

rancid musk
#

It doesn't help that Nexus takes 3 to 6 business years to update the bugs tab number when you do something to a bug.

drowsy pewter
#

it's red so i assumed so

lucid iron
#

the bug counter says 0 tho

#

some of my mods have this perma 1 discussion (it does not exist) so ive given up from caring about any number nexus presented to me

old edge
#

I really try to do it on my own before I ask but yeah I will look at your example thank you

reef kiln
#

Some people don't make the bugs fixed even when they fix them. That is kind of annoying. But one marked won't fix don't bother me.

lucid iron
#

oh btw dreamygloom

#

i doubt its relevant to you right now but i did make a thing that let you have light rays from islandforest

#

it will be in mmap next version sometime this weekend

old edge
#

ok I did figure that out before but it took me weeks

#

would be nice if it was easier

lucid iron
#

lava remains hardcoded as hell but i'll tackle it eventually

old edge
#

I added it to my map aalso took weeks

lucid iron
#

thats good Dokkan

#

for mmap it just becomes a map prop you add

tidal stone
#

i think im frustrated enough for today, imma play some video games and return to the modding 2morrow

reef kiln
tidal stone
#

yea I even changed it to be like yours and specificed to position top and it said it was incorrect so idk

#

it said there was only 2 valid fields and that i was missing the ID entry but i have the ID entry in there so its like =_=

reef kiln
tidal stone
#

lemme try that rq

reef kiln
#

Only thing I can think of. I hope it works,

tidal stone
#

😔

#

i think ill just coem back to this tomorrow with a clear mind

reef kiln
#

Ok

fierce vault
#

Hi, would removing this tree path icon in a map patch cause disturbances if pre existing saves already have a tree in that location that may even be in use with a tapper? Would this small change upset people, or would it not be a big problem?

tiny zealot
#

if you remove that tile, existing saves will not be affected. trees, bushes, etc. are baked into the save file and changing the map does not move them.

old edge
fierce vault
#

Ok. That's Something I'll need to consider than. Thanks

tidal stone
lucid iron
#

i dont see how this would help

tidal stone
#

uwu_nod ok then i wont change it

brittle pasture
#

that might be why it's not working? the move cannot find "{{ModId}}_BleedingHeartSeeds" because it isnt added to the shop yet?

#

wait, do MoveEntries always fire after every single Entries edit even in other patches

old edge
#

you could add a priority property.

brittle pasture
#

or they can just move it, since this is all in their mod

tidal stone
#

should I move the moveentries to the bottom?

uncut viper
#

pretty sure move entries is just part of the patch , no? and thus goes at the same time as the rest of the patch?

brittle pasture
#

in that case yeah move them

uncut viper
#

in order within the patch itself but then before other patches after it

tidal stone
#

ok i had them there because i thought they had to go in like that but ill move them

brittle pasture
#

yeah, your third patch (among other things it does) moves the shop entry for "{{ModId}}_Chamomileseeds" to below "{{ModId}}_BleedingHeartSeeds"
however, it is not until your 13th patch that you add "{{ModId}}_BleedingHeartSeeds" to the shop

tidal stone
#

i originally had them before parsnips but they wouldnt show up

#

could i have made it where they just dont show up int he shop at all that way?

brittle pasture
#

what was your problem again, I only just tuned in. are they in the shop but not in the right order, or are they just not in at all

tidal stone
#

everythings in the shop but the chamomile even when i had them in before parsnips or jazz seeds

brittle pasture
#

ah I see

      "Entries": {
        "{{ModId}}_Chamomileseeds": {
          "Id": "{{ModId}}_Rosehipseeds",
          "ItemId": "(O){{ModId}}_Rosehipseeds",
          "Price": 15
        }
      },
#

you added the wrong item here specified the wrong ID here

#

it was overwriting the chamomile entry with rosehip seeds

rancid musk
brittle pasture
#

nice! hmm should I move FFP to its own tab instead of the quest menu
the quest log is already a pretty intuitive location though

rancid musk
#

No need to worry about some kind of gold rush for new game menu tabs, I think. Best to make sure it makes sense to have a whole new global tab in the menu and you're not just going for it because it's shiny and new.

tidal stone
#

got em to show up

#

now i have other problems but i will deal with that tomorrow

#

ty for the help!

lucid iron
#

i think it would be nice selph

#

and then u can scope creep the menu

rancid musk
#

(And if people don't make a ton of new tabs straight away, then it doesn't matter if I put off working on my scrolling tabs code a while)

lucid iron
#

brb making an add new tabs trigger action

#

i dont really like putting a menu in the game menu though think

#

partly because it used to be hard and bad compat obviously

#

but if i make the menu bigger than vanilla game menu it'll feel weird

versed wyvern
#

What would be the steps to make forage not spawn on a specific spot? Like specifically if I'm adding things to the beach or making a character have a schedule point and I don't want them doing it on top of items

lucid iron
#

i guess you can use that BETAS trigger action to just clear whatever forage when you start event

versed wyvern
#

Not for an event, just I want to make NPCs visit the beach but forage could be in the way

lucid iron
#

for schedule point u just do it from Data/TriggerActions i suppose, though i thought npc destroyed forage already think

#

aideen (ES) busts down this 1 tree in cindersnap every week

versed wyvern
#

Powerful...

brave fable
#

yeah npcs will gleefully obliterate anything in their path while moving

lucid iron
#

did u have non destructive npc maybe?

brave fable
#

if there's a parsnip on the schedule point it'll be ground into a fine powder

versed wyvern
#

Oh, I just assumed this kind of thing would be necessary, but also there are walkable tiles I'm adding like beach towels where some NPCs will stop on and I figured I should make items not spawn on them

lucid iron
#

see even if you can deal with vanilla im not sure how you would cover FTM

brave fable
#

FTM respects nospawn tiles depending on the strictness level the FTM content pack author sets

lucid iron
#

maybe if you just ban placing items in general on those towels would that work?

#

TileData NoFurniture

brave fable
#

adding some TileData to the 🟪 Back layer with the property NoSpawn All will prevent forage spawns tho

lucid iron
#

ah i thought that was trees and weeds

#

guess i should update wiki then

brave fable
#

um

lucid iron
#

rn it says NoSpawn All : Combines NoSpawn Grass and NoSpawn Tree.

#

but yes it definitely prevent forage spawn

brave fable
#

yep it does actually, GameLocation.spawnObjects() checks against IsNoSpawnTile(location2, type = All)

versed wyvern
#

Ooh, okay, that clears up the matter a lot more, thanks Watame_BounceFast

brave fable
#

but yes NoFurniture will cover both objects and forage

#

as you'd expect. from no furniture.

wary crown
#

Guys do you know how to edit rrrr’s content.json file to let it compatible w polyamory sweet;)

lucid iron
#

what is broken about it?

wary crown
#

Rrrr Is not compatible with any multi-spouse mods

lucid iron
#

this is news to me

wary crown
#

I don’t want to make a new game just to marry wizard so

lucid iron
#

divorce :)

wary crown
#

I’ve tried but once you decided to marry w him you have no chance to divorce

#

Its funny

#

And I can’t marry anyone else as well

#

They were be like:NO YOU ARE NOT LOYAL

versed wyvern
#

Huh. I wasn't even aware it was possible to do that with CP

lucid iron
#

this sounds like high level of author intention then, not bug think

#

i was under impression its just regular ol spouse room issue with poly mods

wary crown
#

The author says magnus is brokenhearted heart he can’t accept I have other men

lucid iron
#

i dont have RRRR on hand but since it is just CP mod my guess is some kind of mass rejectItem mermaid pendant edit conditioned on wizard marriage

gentle rose
brave fable
#

strong 'i can fix him' energy

lucid iron
#

you can do personal edits all you want ofc, just would be rude to post it Dokkan

wary crown
wary crown
#

Damn it’s complicated

lucid iron
#

its a big mod

wary crown
#

Yes and this mod is perfect

lucid iron
#

the thing i suspect is RejectItem_<id>

fierce vault
#

To make a small map patch, I only need to have the portion I want as it's own little map right?

lucid iron
#

but otherwise i'd start by noting what exact dialogue do you get if you try to date/marry someone else

#

and search from there

wary crown
#

Had no idea with where to edit

lucid iron
#

i dont have any more detailed advice for you because i never used RRRR

wary crown
#

You should get one

#

Its good

#

:)))

uncut viper
#

this channel can provide higher level advice but the specifics of editing RRRR is really up to you to figure out, bc people here arent gonna drop things to figure it out for you

lucid iron
#

do u think mod authors play long enough to get married in game

uncut viper
#

there is no one single edit that works for all mods

lucid iron
vernal crest
#

Back up save and use debug commands to yeet the wizard /half-serious

gentle rose
#

why not try a debug command— dammit aba KEK /lh

wary crown
#

I don’t even know this method🫢

gentle rose
#

click on the smapi console (the black window) and type debug divorce <npcname> with whatever the internal name of the rrrr wizard npc is iirc

wary crown
#

Do I need to do this everytime I open sdv

gentle rose
#

wait nvm, no need to type in the name

#

just debug divorce

#

and no, last I checked you usually only have to divorce people once SDVpuffersquee

lucid iron
#

ig u can also just

wary crown
#

I’ve never heard this way before

lucid iron
#

debug marry right

#

might explode some flags but shrug your funeral Dokkan

gentle rose
#

and debug get engaged iirc, and debug wedding. Though those are a bit glitchy because of said flags

vernal crest
lucid iron
#

they should teach this in school

brave fable
#

i always wondered how it happened...

old edge
lucid iron
#

in this implementation yea

gentle rose
lucid iron
#

but if you are just doing it for your npc you can skip it

wary crown
old edge
#

yes it's an npc

wary crown
#

If you allow:))

old edge
#

added already

lucid iron
#

the idea would have been add the modId/SpecialOrdersBoardEmojiTexture: "your/texture/target"

#

to your npc's custom fields

#

the texture should be 9x9

#

i was gonna do source rect but since it wasnt gonna be real framework i got lazy

fierce vault
#

How do I quickly edit the size of the map I made?

brave fable
#

Map > Resize should suffice

fierce vault
#

K, I'll try it out, thanks

lucid iron
#

if you are lazy you can just keep the full size

#

put a from area

#

obviously bloating your mod Dokkan

gentle rose
fierce vault
#

Oh, actually... instead of remaking the patch I want to apply, I could just edit a copy of the map and then resize that right?

calm nebula
gentle rose
#

also if you ask someone that, you should really wait for their answer before DMing them anyway

wary crown
#

Oh I see,I don’t really understand by type divorce debug:(

calm nebula
#

(East Scarpe has its own verison)

lucid iron
#

but atra if i made one more framework mod i'll return to dust

uncut viper
#

(everyone says "someone should dehardcode this" no one ever says "i wanna download this very very niche specific single-use dependency for my mod"...)

royal stump
#

if I wasn't so behind on other stuff I'd cram that into EMP, but SDVpufferlurk

gentle rose
wary crown
calm nebula
#

(I'll add it to SMD)

gentle rose
gentle rose
drowsy pewter
#

dehardcode it and PR it to spacecore

gentle rose
#

I’m not sure what the question here is

royal stump
#

all the features I want should be in SMAPI SDVpetcatangy

lucid iron
#

hmm

wary crown
lucid iron
#

i guess i theoretically can put this in special order notifications

gentle rose
#

forget nexus, we should manage mods via PR to smapi. we all must collectively agree to install any given mod

gentle rose
lucid iron
#

since its got one other mysterious not notif thing

uncut viper
#

can the notifications be turned off though

lucid iron
#

mods distributed like consolecommands and savebackup

wary crown
#

:<<

uncut viper
#

theoretically, im not sure theres anything technically stopping SMAPI from downloading mod builds from a centralized repo on launch and adding them at runtime

gentle rose
#

oh, then you’re back to what chu et al were telling you

gentle rose
wary crown
#

It might sound like I’m a bit of a player, but honestly, I just don’t have the energy to start a whole new save file.

uncut viper
#

neither of those are technical challenges

gentle rose
vernal crest
wary crown
gentle rose
#

if all you want is to be able to marry someone new instead of your current spouse, divorce will work. If you specifically want polyam compat, then like Button and Chu already told you, we can’t really help you with the specifics

lucid iron
#

does polysweet have its own debug marry

wary crown
#

Thanks I got that,but actually I’ve an new problem is the seasonal sprite won’t exist

#

I just downloaded the seasonal sprite for wizard but it seems overtime

uncut viper
#

if something in a mod is broken but its not your mod, then at that point its a #1272025932932055121 problem

wary crown
#

Ohhh ok

fierce vault
#

Hi again, I think I heard somewhere that there is a specific way you should name copies of preexisting tilesets and maybe tmx files to help out with loading. Is there a short answer to this, or a wiki page covering this exact thing for reference?

lucid iron
#

you basically want smth like this while editing

yourMapPatch.tmx
spring_TileSheetWhateverFromContent.png
#

do not ship spring_TileSheetWhateverFromContent.png

#

the tilesheet should come from Maps/* folder

vernal crest
calm nebula
#

considers content mod deploy again

vernal crest
#

Not sure if you meant that or using the z_ prefix when adding new tilesets to vanilla maps to preserve tileset order (no longer mandatory but still strongly recommended for performance reasons).

lucid iron
#

its not mandatory?

#

is that new in 1.6.9 thing blobcatgooglyblep

fierce vault
vernal crest
fierce vault
lucid iron
#

do not upload your mod with this file still inside

lucid iron
#

specifically the patch on vanilla case

fierce vault
#

You mean, no imbedded tilesets?

lucid iron
#

yea when you upload your mod, only have the tmx

#

unless it's a custom tilesheet ofc

fierce vault
#

Ok, so embedding is good for vanilla tilesets right?

lucid iron
#

you are asking about the case where you use tsx

#

you can embed tsx yes, prob for the best Dokkan

fierce vault
#

I look at vanilla maps for referance, and they have embedded tilesheets. Thank you for all the answers. I'm trying to complete my first map edit soon.

royal stump
lucid iron
#

yea that tracks i havent done actual map making since .8

royal stump
#

hard to search since it doesn't specifically mention the z_ convention or show up on the maps page, but yeah

vernal crest
# fierce vault You mean, no imbedded tilesets?

You do want to have embedded tilesets as much as possible. Embedding just means that the data about the tileset is in the map file. It doesn't mean anything about the actual image itself being in the map file (which it cannot be). So when you add a new tilesheet to a map, add the PNG rather than using tsx files, and click "embed in map" in the "add tileset" box.

sour sleet
#

Ooo so we don’t need to add the z_ to custom tilesheets anymore?

lucid iron
#

you should

vernal crest
#

Don't stop doing it. And it's not just custom tilesheets, it's just any tilesheet you add to any vanilla map.

#

Don't have to do it for custom maps at all.

versed wyvern
#

So it's no longer mandatory but still good to do for efficiency ThinkO_O

dusk mulch
#

what are all the possible entries for quest types?

uncut viper
#

Basic, Crafting, ItemDelivery, Monster, Social, Location, Fishing, Building, ItemHarvest

dusk mulch
uncut viper
#

i have no idea

versed wyvern
#

Did we ever get any follow-up on that issue someone was having where Monster quests apparently don't allow for custom dialogue on completion ThinkO_O

dusk mulch
#

better question, is the gold lewis statue spawning hardcoded?

uncut viper
#

addendum, i forgot LostItem and SecretLostItem

dusk mulch
#

SecretLostItem?

uncut viper
#

im just a messenger

dusk mulch
#

alright lol

royal stump
#

seems like a lost item quest that just doesn't show up in the quest log or hud messages, at a glance
(as you might guess)

dusk mulch
#

ah

versed wyvern
royal stump
# dusk mulch better question, is the gold lewis statue spawning hardcoded?

it seems hardcoded to tile index 599 in the town, judging by Town.checkAction

case 599:
    if (Game1.player.secretNotesSeen.Contains(19) && Game1.player.mailReceived.Add("SecretNote19_done"))
    {
        DelayedAction.playSoundAfterDelay("newArtifact", 250);
        Game1.player.addItemByMenuIfNecessary(ItemRegistry.Create("(BC)164"));
    }
    break;```
calm nebula
royal stump
#

(same goes for what appears to be a "lewis moves the statue inside if you leave it there" day update SDVpufferthinkblob I've never done it in-game, so idk)

versed wyvern
#

Well it was another person who brought it up initially, just dunno if they followed through with the report

rigid musk
#

I don't recall you telling me to make a report catcry Then again I have the same memory as I do an attention span, and that's to say it's barely there

#

I also don't know how to make reports like that... or what forum you're referencing

urban patrol
#

hey guys! i have two issues that i think may be related. i'm making a custom beach map, which i started by editing a copy of the Beach map. the waves are walkable even though they're on the building layer. i also have two identical beach tilesheets for some reason. anyone know how to fix the collision issue?

calm nebula
ocean sailBOT
calm nebula
#

Eff it.

urban patrol
#

damn invisible tiles lol

#

no WONDER my map was also all sorts of wonky with invisibles

rigid musk
#

waAAAh I didn't remember my apologies

calm nebula
#

@ivory plume - this targetmessage is always overridden (SlayMonsterQuest)

rigid musk
#

Again, terrible memory for things unless I write it down or something.. ouh

calm nebula
#

(I'm not at home and can't put it on the forums anytime near soon.)

vernal crest
# urban patrol hey guys! i have two issues that i think may be related. i'm making a custom bea...

If you've had the vanilla beach map open while editing your one and you went into the vanilla one to look at stuff you might have accidentally clicked on a tile in a tilesheet in the vanilla map and then added that tile to your map. If you do, that adds the tilesheet used by the vanilla map into yours as well even if they're the same tilesheet - it's incredibly frustrating. The only fix I know of is to delete the one with fewer tiles placed and then place them again using the correct tilesheet.

urban patrol
#

oh man good to know lol. it's unfortunately... many many tiles 😩 (do i have to fix it, just wondering?)

dusk mulch
#

...

#

why does CA have to make the most random things hardcoded

brave fable
#

well it is a very specific interaction lol

#

if it weren't super random it probably wouldn't need hardcoding

golden basin
#

has this happened to anyone else?

vernal crest
golden basin
#

yes there is issues with vanilla sheets being in mods, it will cause graphical bugs

vernal crest
urban patrol
#

yeah it's like 40/60 split between them lmaooo

brave fable
#

you should thank blueberry for highlighting the information SDVpufferthumbsup

golden basin
vernal crest
golden basin
#

the incubator just.., turned into a hay container

dusk mulch
golden basin
urban patrol
#

oh yeah i had already heard that!

vernal crest
#

Oh. But that wasn't what was being discussed?

urban patrol
#

but always good to reiterate

golden basin
#

oh i misunderstood

#

im sorry

urban patrol
#

all good

sour sleet
#

Didn’t quite realise how much work an expansion is. Oh well, I’m committed now SDVkrobusgiggle

vernal crest
#

No worries SDVpufferheart

golden basin
#

But um my gif, does anyone have that happen?

urban patrol
vernal crest
dusk mulch
#

For lostitem quests can you put null or something so that nobody is attached to it?

urban patrol
#

wait, before i screw up a bunch of invisible tiles, should i put the waves on buildings and the invisible tiles on building2, or vice versa? does it matter?

latent mauve
brave fable
urban patrol
#

awesome thank you, so glad i asked

brave fable
#

that said, the base game Beach puts the waves on Buildings

#

both these and Farm_Island waves are given the tile property Passable T in the tileset, only to have some invisible Buildings tiles further out into the water so you can paddle

#

huh wait im dumb, beach waves are Passable T as well. the invisible walls are just one tile out

urban patrol
#

ugh i just got done but i feel like i should move mine out a tile now too

brave fable
#

you can always do it later, but you can do it now, too SDVpufferchickmorning

rigid musk
dusk mulch
rigid musk
#

Do the secret notes add any sort of flags?

#

Because if finding one of them does you could just do a when condition on a patch for a one time tile interaction pondering

dusk mulch
#

i am using a framework which is very limited

latent mauve
#

Secret Note Framework does support trigger actions

#

set any number of trigger actions to be run when a note is first read

#

From the advanced features

#

So you could add a mailflag that way

#

You would just need to set your ActionsOnFirstRead field

grand edge
#

I got it working 🥺 he gives you extra friendship points if you give him a coffee during the night market.

dusk mulch
devout otter
#

And if the note was read, what would the trigger action do?

dusk mulch
#

i honestly forgot i had PEEM

wary crown
#

Hey guys if I want to make a seasonal building mod,how to edit content files

#

For island farmhouse

vernal crest
#

Kiis, am I making this mod for you or not?

#

Because if you don't want me to, please let me know so that I am not wasting my effort.

wary crown
#

But for now if you are making the mod for me so I can use this to create an island farmhouse on my own,instead of using others images

vernal crest
#

I can make it and you can put whatever image into it that you want provided it's the right size.

#

But I am going to ping you in my thread so we can discuss it there.

wary crown
#

Yesss thats what i want

dusk mulch
#

Would it be possible to set a dynamic token then when a secret note is read, set the token to true?

brave fable
dusk mulch
#

first i need to read up on dynamic tokens

#

ohhhhh

#

i get it now

#

its just a better trigger action in a way

dusk mulch
brave fable
#

games are about progression, flags track your progress

dusk mulch
#

okay so i would use a dynamic token to check for a mail flag if i have read the note, then if i have then place said interaction?

#

wait wait wait

#

i am making this so much harder on myself

#

PEEM entry > When > Secret note read

brave fable
#

HasFlag is the dynamic token that checks for a mail flag, it's available to all content packs

#

you just need to send your mail flag from a trigger action on secret note read as described earlier

dusk mulch
#

(peem is a custom version of meep that decidedlyhuman made for me, ty btw)

dusk mulch
#

If that is what you are talking about

brave fable
#

nope no idea haha

shy viper
#

Good morning

#

From sweden

deep cypress
#

Hi loves! Are there any events which have a splash in them, via a Temporary Animated Sprite? (or otherwise...) Basically I want there to be a splash when the crayfish goes back in the water.

dusk mulch
brave fable
dusk mulch
dusk mulch
#

@blissful panther Is there a conditions entry possible for PEEM?

last plume
#

can you use VS code for SMAPI mods?

#

cuz Visual Studios 2022 which was what i was using no longer supports mac.

dusk mulch
#

I think

#

Someone correct me if I am wrong

blissful panther
last plume
#

I forget what version of .net 6 is required. website only says .net 6 but doesnt tell you which one to download.

blissful panther
#

And yeah, you can use VSCode. Unfortunately though, you'll be dealing with some quirks, and no real guides on the differences, because nobody's made one yet!

last plume
#

what platform does have a guide...im familar with CP but i wanna learn SMAPI now.

blissful panther
#

For you, one of those two.

last plume
#

I have an M3 so i will download ARM64

last plume
#

is there a guide for JetBrains? thats the only other supported platform for SMAPI on Linux and macOS

brave fable
vernal crest
#

But it looks inconsistent, like there isn't a section for how to add a NuGet package in Rider. That should be easy to google though.

blissful panther
#

(And fortunately, those Rider screenshots are not off by -0.03 degrees.)

deep cypress
#

How to Add a Splash to your Event: An Exceeding Brief Tutorial

copy paste this command!
temporaryAnimatedSprite Maps\\springobjects 48 16 16 16 150 5 1 X Y false false 5 0 1 0 0 0 color white

Fill in your own x and y for where you want it to appear!

This concludes this exceeding brief tutorial!

blissful panther
last plume
#

Parallels desktop has a high powered version made forgaming

vernal crest
last plume
#

no. im just saying most guides seem to be geared more towards windows and not mac/linux

winged crest
#

A mod that adds a Recycling bin in the town and lewis pays you every weeks for the amount of Trash that you put in there

vernal crest
#

I know there are people here who use Rider. I assume from what he just said that DH is one of them.

last plume
#

oh ok. nvm then. i will check out rider. does a smapi modder beginner guide for rider available?

lucid iron
#

Tbh i think all the basic stuff is fine on linux

vernal crest
#

I don't think there's going to be much difference once you've actually created the project.

lucid iron
#

There's some jank around debugger and hot reload mainly, rest is fine

blissful panther
#

Some definite issues with debugging using Rider with SMAPI on Linux, and Matt still has issues with hot reload.

lucid iron
#

I wonder if it's worth adding vsc setup instructions

vernal crest
#

I do not know how to use the debugger on VS22 so I wouldn't be missing much if I switched to Rider xD

lucid iron
#

I been hesitant since it's honestly suboptimal and if you are insisting on it like me it's not that much to figure out

last plume
#

i might virtualize windows since most developers here seem to be more familiar with windows than mac/linux so i think i'd get more help if I am on Windows.

I am getting Parallels desktop now.

#

thats designed for high power use

blissful panther
lucid iron
#

Yeah lol

#

Well debugger is in the ui

blissful panther
#

True, but that doesn't feature in any guides for anything I don't think!

lucid iron
vernal crest
#

Most of the more knowledgeable C# mod-makers here are not actually on Windows, I don't think?

lucid iron
vernal crest
#

I can't name anyone who I know for sure is on Windows.

#

(I am on Windows but I do not count xD)

blissful panther
#

Well, Pathos for sure!

vernal crest
#

Is he? I didn't know that.

lucid iron
#

Ppl who are on real VS

#

Parhos definitely is

brave fable
#

here i thought i was infamous for posting blatant windows 7 screenshots

vernal crest
#

Hmm sus

brave fable
#

shamelessly

vernal crest
#

Pathos, that is, not blueberry

lucid iron
#

That's why his mono repo is broken out of box for me SDVpufferpensive

last plume
#

oh never mind. i decided not to do parallels.

lucid iron
#

Weird problem with builds creating a _release folder if i forget to remove $(SolutionDir)

lucid iron
#

Ik casey is also windows

blissful panther
#

I vary. Sometimes it's Windows, sometimes it's Arch (by the way).

lucid iron
#

Bc I have to fix weird case stuff when i need to build her mono repo

last plume
#

yea. if i can get good help learning SMAPI modding as a mac user, i will back out of windows virtualization

lucid iron
#

But the point is just,

vernal crest
#

Hopefully for your sake you never have to build my monorepo chu xD

lucid iron
#

It doesn't matter when you are just learning

#

The code is all the same

last plume
#

true. lmfao

brave fable
#

bet you wouldn't say that if someone was choosing between notepad and notepad++

last plume
calm nebula
#

Pathos uses windows

#

He just builds smapi on wsl

blissful panther
#

My real setup is Neovim and dotnet. /j

calm nebula
#

Also, someone, go build my repo 😛

#

Gl have fun

lucid iron
#

NoU

calm nebula
#

I can build my repo 😛

blissful panther
#

I bet it's not too bad... right?

vernal crest
lucid iron
#

It was bad enough that i tried once and was like well let me just cherry pick it

last plume
#

yea. i decided to back out of parallels desktop idea

#

stardew valley performed poorly on parallels desktop when i tried months ago

#

based on research Vmare fusion is free and performs better so if you are a stardew modder or modded player, i recommend vmware

vernal crest
#

Why would we be using VMs when Stardew runs natively in Mac, Windows, and Linux?

last plume
#

nvm i was just mentioning it. scratch what i said

deep cypress
#

Is this the correct format for adding trigger actions into dialogue?

"HitBySlingshot": "That will cost you!$5#$b#$action AddMoney -500

brave fable
#

i don't believe you need to use $b there, you should be good to use $5#$action

deep cypress
#

Ok, thanks!!!

#

Can I add two actions back to back like that?

last plume
#

im downloading rider now.

#

it sucks visual studios is dead. the vs code there's too many hurdles with the website not updated for SDV modding

brave fable
#

i've never tried, but i don't see why not SDVpufferthumbsup

proud wyvern
#

and neither was Visual Studio

last plume
#

but rider is good for smapi mods?

proud wyvern
#

if by SMAPI mods you mean C# mods, then yes

last plume
#

thats what i meant. sorry for being vague

deep cypress
#

What do you reccomend for CP mods?

proud wyvern
#

it's not you being vague, it's the wording used everywhere

#

for CP? any good normal text editor

#

which includes VS Code

brave fable
#

they're working on macOS in case you hadn't read

vernal crest
#

I use VSCodium, Sublime, and N++ because I am needy like that

proud wyvern
#

them being on macOS doesn't change anything in my reply

#

VS Code works the same on macOS

calm nebula
#

Please, I use vim for work ||kill me now||

proud wyvern
#

and Rider also works on macOS

last plume
#

and can you use the text editor feature on VSCode for CP, trying to limit the amount of programs i got installed.

proud wyvern
#

i don't think i'd recommend VS Code to anyone just starting with C#

#

or with actual programming languages

vernal crest
#

You will really struggle trying to use VSC for C#

last plume
#

i am more experienced with CP which we know uses JSON.

last plume
vernal crest
#

If you need lightweight, use Sublime or N++ for the CP mods.

vernal crest
proud wyvern
#

didn't you say you're downloading Rider already

last plume
#

i already downloaded Rider.

proud wyvern
#

and you're planning to use it for C#/SMAPI mods, correct? not CP?

last plume
#

i plan to do both.

proud wyvern
#

then you should ideally use both Rider and VS Code

#

the right tool for the job

last plume
#

i dont plan to ditch JSON anytime soon as i got an unfinished mod that i abruptly ended support for and got some angry users on NEXUS comments

calm nebula
#

It's actually pretty good for python

brave fable
#

i write a lot of json files in VS2022 on windows. why shouldn't rider be fine for the task?

calm nebula
#

VSCode. We generally recommend it

proud wyvern
#

are you using Excel for adding two numbers together

#

that's why

last plume
#

like why doesnt json work on rider?

proud wyvern
#

i never said it doesn't work

vernal crest
#

Avi writes her CP mods in VS22 because she is a gremlin

calm nebula
#

I don't understand why you would lol

last plume
#

yea. i am a holdout on stuff. i wish there was a way to find VS2022 as i uninstalled it

proud wyvern
#

if you already have VS/Rider open, and are familiar with it enough - just use it i guess

brave fable
#

well sure, if those numbers are part of a project i'm working on lol

calm nebula
#

VS is a bloated PoS I only put up with for c#

#

Anyways

#

Some people have weird flows.

brave fable
#

i'm not about to open VS2022 specifically to edit a json file, but it's open already and comes with a solution explorer to navigate between them

calm nebula
#

Like this neurotic enby, who still uses vim at work like a heathen

proud wyvern
#

but if your mod is exclusively JSON, then why

last plume
#

true. i honestly might try to create my latest Improved Shops update on Rider to see how it goes.

#

my mac only holds 256GB disk space so i gotta be frugile with my space

vernal crest
#

I think there is a niche in the market for more island farmhouse variety and I am now ideally placed to fill that niche. If only I wanted to.

deep cypress
vernal crest
#

Definitely unrelatedly, any time in future I say "I can make that mod in ten minutes", somebody please hack my computer and lock me out of it.

brave fable
#

well you can use Edit > Advanced > Toggle spell checker, but i don't see it actually doing anything

deep cypress
#

I would probably use a text editor, except, the jsons all open with VS, and now I am used to it, and changing it would drive me mad...

#

I think I tried that, and it didn't do anything for me either.

brave fable
#

oh, it doesn't bother reading json files

deep cypress
#

That's truly hilarious!!!!!!!!!!!!!!

last plume
#

if I did github, what are the possible benefits of github???

deep cypress
#

A nice backup?

#

Helps with co-op mode style programming?

vernal crest
#

Backup, versioning

brave fable
#

in fact it only seems to care about americanising my variables 🌎

vernal crest
#

I assume you're not asking about github as an alternative to a text editor or IDE

last plume
#

noooooo no no no

#

i was thinking about integrating github

#

but was curious about what the benefits are before i did

proud wyvern
#

using git is also great for working on multiple versions at once - like, you're preparing a huge update, but it's not yet ready for release. but in the meantime, someone finds a bug in your mod and you want to fix it and release it, before the huge update

blissful panther
vernal crest
deep cypress
last plume
brave fable
#

hi from sunny sydney. it's 25c at midnight

deep cypress
#

Y'all got Florida weather!

vernal crest
#

I have my ceiling fan on medium right now

lucid iron
#

Are you making ur mods open source without checking it into a git repo

#

I suppose you could obviously but it's annoying

vernal crest
#

However it is apparently a chilly 23c outside

deep cypress
#

It's a balmy 40F here in the PNW!

lucid iron
#

The vs code instructions for setting up a C# mod is

  1. Install C# dev kit
  2. Use command palette to make new .NET project, choose class library, target net 6.0
  3. You now have a sln and csproj, follow rest of wiki's steps on making the button press mod
  4. In solution explorer right click and click build from context menu
#

Solution explorer kind of sucks to use so most people use the cli dotnet build

last plume
#

would i be better off using github desktop app or using it through my browser Safari?

lucid iron
#

The lesser evil is GitHub desktop app

vernal crest
#

Does Rider not have versioning?

#

Git integration I mean

lucid iron
#

Most IDE have git support though

last plume
vernal crest
#

Then why would you need anything else?

last plume
#

so do i need desktop app?

lucid iron
#

What kind of mod are you hoping to make?

last plume
#

still in the planning phase but wish to make a wedding expanded which includes a reception at the Saloon. but still trying to iron out details. also i wanna finish up my already existing Improved Shops so I can put that mod to rest.

lucid iron
#

think do you need C# for that

#

I guess if you want the reception event to be interactive

last plume
#

yes i do.

vernal crest
#

You can just use Rider for your git stuff, no need to get github desktop

#

I wonder how hardcoded the parrots' positions are

calm nebula
#

Very

#

Hey chue do you want to do something about that

lucid iron
#

Birb.

calm nebula
vernal crest
#

Excellent, I was hoping that question would bring you out of the woodwork Atra SDVkrobusnaughty

lucid iron
#

What is meant by parrot position

vernal crest
#

I want an island farmhouse that is two tiles wider. I should be able to achieve that if I shift the obelisk parrot left by one tile.

calm nebula
#

I'm away from my computer and can't do a single thing about it

lucid iron
#

The obelisk is 3 wide tho

vernal crest
#

Obelisk isn't in the way

lucid iron
#

Are u sure u don't mean the mailbox parrot

fathom hound
#

I can’t make NPC events with just CP, right?

vernal crest
fathom hound
#

Oh wow so I can make an entire NPC purely with CP?

brittle ledge
#

what do you mean by "NPC events" because events are just CP

vernal crest
#

I could move the mailbox parrot but I am sure I don't mean it lol

vernal crest
fathom hound
#

Ohhh..

#

Thanks SDVpufferthumbsup

brittle ledge
#

Why would you think you can't?

#

(/gen)

fathom hound
lucid iron
#

I was confused because if you do extend farmhouse that direction 2 tiles

vernal crest
#

Cutscenes and events are different things according to the game (kind of - cutscenes are just hardcoded events as far as I can tell)

lucid iron
#

Don't you cover path to obelisk

brittle ledge
#

we would not have nearly the number of event and NPC mods we do if you can't SDVpuffersquee

vernal crest
#

No, there is still a one tile path up to the obelisk

fathom hound
#

That’s cool thanks… now to make some concept

lucid iron
#

That seems suboptimal to me, an obelisk enjoyer

vernal crest
#

Do you need to walk up to an obelisk very widely?

lucid iron
#

I want to see it

vernal crest
#

That's understandable

#

If moving the mail parrot is the same amount of work and I'm capable of whatever work that is, I'd happily move it instead

calm nebula
#

Why is the island farmhouse becoming wider

lucid iron
#

ill take look at birbs later

vernal crest
#

I just thought it might be more complex since I'd have to move parrot and then mailbox

calm nebula
#

Birb!

vernal crest
#

Oh just because my stupid "I can make this mod in 10 minutes" claim involved offering to replace the island farmhouse with a texture that turned out to be two tiles wider than the island farmhouse is.

lucid iron
#

An idea i had once is

vernal crest
#

Just to be clear chu, I am not requesting a framework for this xD

#

A total of one person may use this

lucid iron
#

Buildingfy all 3 things on ginger island

calm nebula
#

Pls do

#

Also pls walnut movement framework

#

At this rate I won't even have to release SMD, it'll just be a chue framework SDVkrobusgiggle

lucid iron
#

Nou

calm nebula
#

Anyways

lucid iron
#

The reason for wanting building-fication is so that you can use skins

calm nebula
#

Emoji icons have easily steal code

vernal crest
#

Does "very hardcoded" mean "someone who is a beginner to C# would find it impossible to move a perch using C#" or "very hard to dehardcode"?

lucid iron
#

Very hardcoded means mr ape put the number right in the code

calm nebula
#

I need to figure out subevents to allow custom click events to run arbitrary event commands

nova gale
#

usually it means "hard coded in the middle of some method that you couldn't easily harmany patch out

lucid iron
#

You may or may not need a transpiler depending on where the number is

vernal crest
#

Hmm I see

gentle rose
#

wait, what are you trying to do, aba?

#

I tried to backread but adhd went ay_Pensive_Bounce

vernal crest
#

Move a parrot, which seems unlikely to be within my capabilities.

calm nebula
#

You don't need anything fancy

#

I could probably do it semi trivially in a few lines of c#

vernal crest
#

If you say that and then say anything to do with Harmony I will chancla

calm nebula
#

Harder would be considering how to framework it

#

No harmony needed

vernal crest
#

Well, I do not want it frameworked

calm nebula
#

Mr. Parrot just has x and y coords assigned to him

gentle rose
#

reflection?

vernal crest
#

Yes I saw they have a position in the class

gentle rose
#

imma go dig

#

it might not even need reflection actually

#

I am not awake enough to be saying c# shit

#

atra laughing at my suffering SDVpufferwaaah

patent lanceBOT
calm nebula
gentle rose
#

oh I forgot digging through c# means having to find where ca put things

vernal crest
#

I'd be very unlucky living in parrot land if I was unable to move parrots irl lol

#

ParrotUpgradePerch.cs

calm nebula
#

How do you move a parrot irl

gentle rose
vernal crest
#

Walk near it lol

calm nebula
#

No need to offer peanut?

vernal crest
#

Is this my man?

base.parrotUpgradePerches.Add(new ParrotUpgradePerch(this, new Point(72, 37), new Microsoft.Xna.Framework.Rectangle(71, 29, 3, 8), 20, delegate
{
    Game1.createItemDebris(ItemRegistry.Create("(O)886"), new Vector2(72f, 37f) * 64f + new Vector2(32f), 2);
    Game1.addMailForTomorrow("Island_W_Obelisk", noLetter: true, sendToEveryone: true);
    this.farmObelisk.Value = true;
}, () => this.farmObelisk.Value, "Obelisk", "Island_UpgradeHouse_Mailbox"));
#

No, I do not carry peanuts around for the purpose of placating parrots.

gentle rose
#

looks like it!

#

hmm, what is base in this context

calm nebula
#

Yes!

calm nebula
vernal crest
#

Oh yes of course it is that is the coordinate where he lives right now

#

BRB I must rescue my wife

gentle rose
#

it's a netobject I see

vernal crest
#

(Not from a parrot)

calm nebula
#

IslandLocation

#

Realistically you just need to find the specific parrot in .parrotUpgradePerch and update his location

calm nebula
#

Try doing it when the player warps in

gentle rose
calm nebula
#

Yes, the parrot is bound to the perch

#

I use parrot and perch interchange

#

Same object

gentle rose
#

ah, fair (technically, they aren't, there's a nested class inside the perch class called Parrot apparently lmao)

#

ohhh, that code isn't in the parrot perch class (obviously), I am so slow today

gentle rose
last plume
lucid iron
#

I don't think you should ask me, known vscode enjoyer, about why Rider is better

#

The advantages of a dedicated IDE vs fancy text editor is the extra features usually

last plume
lucid iron
#

I think these are all easily reversible decisions

#

If you tried rider and don't like it then you can try something else

#

But yeah please ask someone who actually use rider lol

last plume
#

ok cuz i am so used to VS ecosystem so i wonder if VS code is better for transitional away from VS2022

lucid iron
#

Vscode and vs are very different

#

Don't let the branding fool you

last plume
#

oh ok. is rider more similar to VS?

vernal crest
#

Why not just try it out since you already have it installed?

#

Like chu said, they are easily reversible decisions

last plume
#

yea true

#

ima try it out.

and for json files, should i use VS code or Rider?

vernal crest
#

You have already been given opinions on that too

#

And should also try testing for yourself

last plume
#

ok. thanks. i gotta get ready to head out, so have a good rest of your morning.

nova gale
#

fyi, I'm making the animals in coop or barn be a config setting in the next patch, letting them be in either didn't work the way i had planned

#

(although the buildings will still allow coop/barn animals to live in them if you choose to put them there)

steady peak
#

not sure if this the correct chat so if im wrong opps but can i message about editing mods here?

lucid iron
#

Yeah ask away

steady peak
#

if i have a mod that adds unwanted building is there a way to remove them ?

gentle rose
steady peak
#

yes

#

i want to keep the cheese builDING BUT REMOVE the winery

#

woah went wild with the caps there opps

lucid iron
#

Remove the building from like the robin build menu?

steady peak
#

yeah

lucid iron
#

Just gotta find the Data/Buildings edit and delete it basically

steady peak
#

how doese one do that

lucid iron
#

Or set BuildCondition to FALSE

#

!json

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.

lucid iron
#

View the mod's files with any text editor that supports json

steady peak
#

im looking at the file in notepad and dont see where the buildings are

brisk wedge
#

Anyone know if spacechase0 is still maintaining or accepting contributions for better shop menu?

steady peak
#

wait so are you saying all i need to do is delete the wineary file from the mod?

torn beacon
#

go into the stardew realty mod directory data/assets/buildings and remove the directory "winery". Or you put a period at the start of winery and it will not load

gentle rose
brisk wedge
gentle rose
lucid iron
#

Yeah just make unofficial^2

#

I will eventually make livestock bazaar for shops i promise kyuuchan_run

#

Don't let this mod that doesn't exist stop you though, that's not my intention

gentle rose
#

obviously it should be named Livestock Bazaar REDUX It's Shops Time

#

you're saying I should make a mod called that? SDVpufferthinkblob

lucid iron
#

I was gonna name it "save SeedShop from cornucopia'

brisk wedge
#

Wait I just took a look at livestock bazaar how have I never seen this before this is beautiful are you the dev?

lucid iron
#

Yeah i made it ty for ur kind words

brittle pasture
#

chu on a quest to yeet every game menu that involves exchanging money and other resources for produce and services

lucid iron
#

I will control the sdv economy

blissful panther
#

(Until I create a mod that replaces all currency with Junimo Kart wins.)

tawny ore
blissful panther
gentle rose
#

what if we create a mod that replaces both of you instead Squint /j

brisk wedge
#

Are you going to work on something like this for normal shops? If you're already planning something, I'd love to help (although idk how helpful I'd be given that I haven't touched any UI related stuff before, mere mention of the draw function scares me), if you don't want help uh can I make feature requests lol

#

As a side note, is StardewUI really the definitiveTM UI framework? I only see eight mods that list it as a requirement on nexus which doesn't seem like very much? but of the mods on the list that I recognize, their UIs look really nice. I guess I also don't really know what counts as a lot of mods so maybe I'm completely off

tawny ore
#

It hasn't quite gotten to that status yet, it's still picking up steam

#

It's not ubiquitous like GMCM is for config options

brittle pasture
#

UI work is hard in general so not many mods use UI in the first place
the fact that it has 8 dependent mods that aren't all made by the author is a pretty good sign

tawny ore
#

That said, anytime someone comes in here working on a UI-heavy project, I always advise them to look into Stardew UI

wooden hornet
#

hi could someone tell me why my simple CP chest doesnt work?
{ "Format": "1.26.0", "Changes": [ { "Action": "EditData", "Target": "Data/Furniture", "Entries": { "JojaVault": { "Name": "Joja Vault", "Type": "storage", "Categories": ["Decor", "Storage"], "Description": "A secured Joja-branded vault that can store your valuables.", "StorageCapacity": 72 } } } ] }

brittle pasture
#

You cant add new storage with (just) CP

#

also Data/Furniture is not a JSON model (it still uses delimited strings)

#

is this AI?

wooden hornet
#

so thats where expanded storage comes into play? i couldnt figuer out how to implement it to replace existing item

wooden hornet
# brittle pasture is this AI?

yeah ive been looking at various mods but none edit how i want to do it so i asked chatgpt, it gives me similar stuff, which i edited, but i still dont know haha

tawny ore
#

Expanded Storage doesn't deal with storage furniture (yet), it only does chests

brittle pasture
#

yeah dont use AI, your entire code is wrong

#

that's not how you add any furniture in the first place, let alone furniture with storage

wooden hornet
#

for instance i found that:
`{
chestTypes:[

    {
        "name": "Chest Freezer",
        "capacity": 72,
        "price": 50000,
    "texturePath":"assets/custom_freezer_trans.png",
        "openSound":"doorCreak",
        "boundingBox":{
            "X":0,
            "Y":32,
            "Width":64,
            "Height":16
        },
        "description":"An industrial freezer."
    }
]

}`

tawny ore
#

Also, posting AI generated code is against the rules here

#

Don't post substantial AI-generated content directly in the modding channels. Any content you post should either be your own work, or clearly attributed to the original author.

wooden hornet
#

i mean it looks like what i wanted to write myself anyway

#

im not familiar editing game assets

#

would appreciate a quick how to

#

i did read pathoschild doc

#

it doesnt mention extra frameworks

#

i saw a mod that edits manifest.json to include it but no doc on how to implement its features after that

brisk wedge
#

Oh does github copilot count as AI

tawny ore
wooden hornet
#

but you said it doesnt work with furniture?

#

can i create a new item that just references same id?

tawny ore
#

You can create a Chest Freezer in Expanded Storage, but it wouldn't be furniture, it would be a BigCraftable object.

#

Read the modding wiki for more info about what those two things are.

wooden hornet
#

thats just code from a working mod but i need to replace joja vault

#

will do

tawny ore
#

BigCraftables are what regular chests are, as well as the mini-shipping bin, mini-fridge, etc.

#

Oh, the problem you'll have is that big craftables are 16x32 so it wouldn't work for the dimensions you have

wooden hornet
#

i saw a mod that had this issue where the trigger only worked on one tile, thats not ideal

#

but that would be a start anyway

reef kiln
#

Is there a good android program for sprite editing. My daughter wants to try and make sprites for stardew mods. She wants to use her tablet though.

last plume
#

im back, sorry for suddenly dropping from convo.

i am making a small mod of an old mod i liked before 1.6. it's a mini mod with no other purpose but to get my foot back in the door after an extended break

wooden hornet
#

is there such a thing as json builder? to use ui instead of raw text

tawny ore
#

I don't remember exactly, but it's the one that looks most familiar to me

#

Probably but you're better off just using VSCode since unless the editor knows the json schema, it won't really help you write correct json

wooden hornet
#

yeah i meant for cp in particular, would be cool to have such tool for sdv community.

tawny ore
#

Properly structured json is one thing, but json that the mod can actually read is another. It needs specific properties and such.

#

For what you're doing in particular, I'm not aware of any editor that helps write in the data format for objects.

nova gale
#

I don't think it's any easier then just writing JSON, but things like this exist: https://json-gui.esstudio.site/

#

but I agree, the format of the json isn't the hard part, it's knowing the data contracts, and no gui will help with that part

wooden hornet
#

yeah a bit too advanced for me x) ill stick to text then, but its hard knowing what to write where really, i understand the logic of it all, but knowing which stuff to write all the time is super tedious

marble verge
#

Paging Dr. Spiderbuttons... I get the following warning: [Content Patcher] The mod 'Cross-Mod Compatibility Tokens' added custom token 'Spiderbuttons.CMCT/Config', which failed and may not work correctly. See the log for details. (https://smapi.io/log/4c1a338ff08c49419e3aea2a4fd5d47e)

ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 11 Home, with 195 C# mods and 287 content packs.

wooden hornet
#

a program that loads framework mods as well as game assets and gives you options would be godsent

#

😉 😉 😉

nova gale
#

ultimately that would rely on the mod author producing a schema file or documentation to tell the gui what it needs, and if the mod author has that, you can just read it yourself honestly, I think you'd be disappointed by such a program since it relies on the same thing a human would to be truely useful

wooden hornet
#

well maybe a dev could take care of compiling all framework mods and streamline the process

#

would certainly gain some clout

last plume
#

So i am trying to use MFM for this specific mod however when i tested it, it didn't work.

here's the full page.

    {
        "Id": "milosnikwiewiorek.SupportGrants",
        "Text": "@,^^ I have registerred you to receive grants of 1500g on the 5th and 19th of each season from the Ferngill Office of Agriculture. ^^Again, welcome to Stardew Valley. ^^-Mayor Lewis",
        "Title": "Ferngill Subsidy Letter",
        "Days": [ 1 ],
        "Repeatable": false
    },
    {
        "Id": "milosnikwiewiorek.SupportGrants",
        "Text": "To @,^^ Thank you for your dedicated work in helping grow Stardew Valley's Agricultural Economy. Enclosed is your bi weekly payment from the Government Grants service we provide. ^^Sincerely, The Ferngille Office of Agriculture %item money 1500 %%",
        "Title": "Ferngill Subsidy Letter",
        "Days": [ 5,19 ],
        "Repeatable": true
    }
]```
#

manifest page

  "Name": "[MFM] Government Support Grants",
  "Author": "milosnikwiewiorek",
  "Version": "1.0",
  "Description": "Government sends support funds bi weekly on Fridays of 1500g.",
  "UniqueID": "milosnikwiewiorek.SupportGrants",
  "MinimumApiVersion": "3.15.1",
  "ContentPackFor": {
    "UniqueID": "DIGUS.MailFrameworkMod"
  },
  "UpdateKeys": [ "" ]
}```
reef kiln
#

It would be nice to have but it just does not exist. As you found AI just makes stuff up at this time.

wooden hornet
#

i know its controversial but i can make good pixel art with ai

#

now just need same options for code

last plume
#

im opposed to AI as a former photographer and videographer

#

i got some strong opposition to AI

wooden hornet
#

many do but progress is unstoppable, you adapt or you get outdated

#

when people release triple a at the push of a prompt in a few decades its gonna do you good to be able to make cp mods from text

nova gale
#

CP is basically what you're asking for already, it takes simple configs with well defined data structures and converts them into code. Honestly it's hard to get much simpler in the coding space then a JSON config

last plume
#

hmmm

tawny ore
#

Making a chest mod (using Expanded Storage) is a relatively small effort, so if you're put off by that, I think you'd struggle with the effort required to make any mod tbh

wooden hornet
#

i would rather create a map replacer that takes me weeks of clicking tile by tile than write a cp mod so far

gaunt orbit
last plume
rancid musk
#

Coming in here, refusing to learn things because you don't have time, and saying someone else should make a tool to remove any burden of learning on your part feels pretty disrespectful

vernal crest
tawny ore
#

This is a complete chest mod, FYI:

{
  "LogName": "Load Cigar Box Object",
  "Action": "EditData",
  "Target": "Data/BigCraftables",
  "Entries": {
    "6480.StorageVariety_CigarBox": {
      "Name": "Cigar Box",
      "DisplayName": "{{i18n: CigarBox.name}}",
      "Description": "{{i18n: CigarBox.description}}",
      "Texture": "{{InternalAssetKey: assets/CigarBox.png}}",
      "CustomFields": {
        // Expanded Storage Data
        "furyx639.ExpandedStorage/Enabled": "true",
      }
    }
  }
}
wooden hornet
#

i dont refuse i just have odd cognitive process that makes it impossible for me to code, ive tried learning a dozen languages over the last 15 yearzs

gaunt orbit
#

AI may be a useful tool for some tasks but the way that it works means that no matter how good it gets it is fundamentally incapable of performing a lot of tasks

wooden hornet
#

i get to thep oint i understand all the structure but putting things together is foreign

gentle rose
drowsy pewter
fading walrus
#

OsmanthusCake_Peek
Popping in to say that mods made with AI cannot be promoted in the server at all, as a matter of server policy

nova gale
#

JSON isn't code, to be clear, there are no logical structures, it's just data definitions

wooden hornet
tawny ore
gentle rose
#

other mods are made because the mod author wants to make them haha

#

if you want to commission a mod, you need to offer more than clout

gaunt orbit
# last plume AI 👎

I am anti-AI as well, I'm trying to explain why "push button to make game" isn't viable

wooden hornet
gentle rose
#

a lot

wooden hornet
#

after all there are people buiding smapi for free

last plume
#

yea i agree. sorry i think its my ties to my photography and videography past makes me so vocal especially after the SAG-AFTRA strike

marble verge
#

I'd say AI has its uses in non-creative fields.

drowsy pewter
#

with how unused the npc creator tool is, i doubt a tool such as the one being talked about would even be used by anyone. Anyone using it would need to know a lot as well to debug anything that comes out

gentle rose
wooden hornet
#

i mean im a photographer and graphic designer i still love ai, hating it is kinda unproductive as its there to stay. just shape the industry how you want it to become. yes theres a problem with copyright for people who use shady checkpoints with very liberal cfg scale that just copies training data, but ai has more to it than poorly trained image diffusion

lucid iron
#

I think there is demand for a wysiwyg modding UI, but it's extremely complicated and a big undertaking to develop

rancid musk
#

By that logic hating cancer is stupid because it's there to stay

nova gale
#

plus if the UI has to be "simple" it will be severely limited

gaunt orbit
#

I have been working on no-code tools for content mods but it's a big project that will take a while

wooden hornet
gentle rose
#

...what

rancid musk
#

Okay AI lover, anything you say

lucid iron
#

Anyhow mod making amirite

vernal crest
#

Save us Quill!

fading walrus
#

I think you guys have had enough of a sojourn down this topic

#

Let's seeee

tidal stone
#

IM so confused by the logic im going back to crying over content patcher beuing mad at me

lucid iron
#

You would have to pay me higher than my current salary

fading walrus
wooden hornet
gaunt orbit
#

Oh yeah I need to add myself to the commissions page

tawny ore
#

I feel like this meta-modding discussion about someone making a tool to help you create AI-generated mods has run its course. If you're willing to learn how to mod we're here to help.

wooden hornet
fading walrus
#

Everyone, let's talk mods

gaunt orbit
#

I keep forgetting to do that

wooden hornet
#

where else am i supposed to ask?

marble verge
#

Does anyone know if Spiderbuttons is okay with being pinged?

nova gale
#

does anyone know a good way to debug a C# mod where it only crashes on the 2nd players computer?

gaunt orbit
lucid iron
#

You can go ask buttons in her thread

nova gale
#

I'm guessing I'll have to get the other user to install the developer SMAPI?

marble verge
tawny ore
lucid iron
#

Then she can see it without ping

nova gale
#

oh, didn't consider trying to run 2 copies locally

gaunt orbit
gentle rose
#

god dammit I wish I had popcorn for this. anyway bye again KEK my brain melted today

gaunt orbit
#

You can just change that in the config for smapi

fading walrus
marble verge
#

Ah, I didn't know that. Cheers!

cloud garden
#

Hey guys! Would it be possible to mod steam rich presence? (not discord rich presence)

I want something to say "day x on y farm" or similar when someone sees me online on steam

vernal crest
#

It always feels so formal when someone calls Button Spiderbuttons xD

rigid oriole
#

I just woke up to this 😭

fading walrus
lucid iron
tidal stone
#

i hope yoiur thesis goes well

lucid iron
#

It would work same as the discord rich presence mod that exists

drowsy pewter
#

hi barley

rigid oriole
#

Hi 6480

cloud garden
brittle pasture
fading walrus
lucid iron
#

You make a c# mod that calls the steam api to do stuff

cloud garden
#

Ooooh alright. I'll look into it. Thank you guys!

lucid iron
#

I think it's a good first mod (assuming steam api isn't godawful)

last plume
#

anyone know how to add money as an attachment to an MFM mod?

rancid temple
#

As it so happens, Steam API is awful SMCKekLmaoDog

cloud garden
#

It is! It would be so cute to see and show others how many days

nova gale
lucid iron
#

Well good luck i guess

#

But it should be possible

cloud garden
#

I was even thinking of "Playing with friends" or stuff to make it cuter too

lucid iron
#

I wonder if u can steal the steam api game already inits actually

nova gale
rancid temple
#

It's highly used, so there's a lot of documentation and help to be found, but it's still annoying lmao

brittle pasture
last plume
#

ok. is there the ability to make a letter repeatable in CP?

dusty jackal
rancid temple
brittle pasture
#

sure, you can make a mail sending trigger action repeat by setting MarkActionApplied false

nova gale
#

nm, Selph's got it

cloud garden
lucid iron
#

No you should just ask here

#

I don't actually mind dm but i think it's more helpful to discuss here

last plume
lucid iron
#

Since it's not like i ever used steam api

#

Whereas rokugin probably had lol

brittle pasture
#

You define mail in the former and define triggers to send them in the latter

#

I think they have an example for sending mail as well?

nova gale
#

oops, wrong syntax

tidal stone
#

im gonna see if it likes when i put (O) in front of things

dusty jackal
rancid musk
#

I'm asking you to post your file because you've probably got an error in it

#

But we can't tell you without seeing it

last plume
dusty jackal
# rancid musk But we can't tell you without seeing it

  <PropertyGroup>
    <TargetFramework>net9.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <EnableHarmony>true</EnableHarmony>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.3.2" />
  </ItemGroup>

</Project>
rancid musk
#

Incorrect target framework

rigid musk
nova gale
#

the trigger action adds the letter, and can be repeated, which part of that isn't working? (the mail part is on the mail page)

rancid musk
#

You need to target net6.0

last plume
#

can i share the code i got currently ? maybe i am doing something wrong.

dusty jackal
last plume
rigid oriole
#

It's 6.0 per the wiki

rancid musk
#

Seriously. The game runs on 6, using a bundled runtime. Targeting other versions can work but it can just as easily break

dusty jackal
#

Ok thanks a lot. Now I need to update my other mod. Thank you again

lucid iron
#

Whatever net 9 thing you are hoping to use will just explode in game anyways

nova gale
#

have you already tried adding the %item money <amount> %% syntax into your letter text?

lucid iron
#

You can use higher language version if you want

nova gale
#

hm, I see it, but you only have one %, I think you need 2, right?

#

nm, disregard hrmm

rancid musk
#

The explosion is, as it is here, often when it fails to load a version of a built-in not available in 6.

last plume
tidal stone
#

I might just start my content json over man

last plume
vernal crest
#

You can ask for help Kandi

nova gale
#

doesn't open or doesn't arive? like do you see it in the mailbox?

last plume
#

doesnt arrive

rigid musk
#

you neee trigger actions to have the mail send, Milo

#

need*

nova gale
#

I've never used MFM personally, so I don't know if you have an issue there, I'd do what you're trying with a trigger action

vernal crest
reef kiln
tidal stone
#

i have move entry errors up the wazoo

rigid musk
last plume
#

should i switch over my mail stuff to CP?

rigid musk
#

I find mail to be pretty easy with CP and you can definitely do what you're trying to do there with it

last plume
#

cuz i think MFM is over my head.

tidal stone
vernal crest
#

MFM has things that CP can't do but if you're just trying to send repeatable mail that gives money, that's easily within CP territory.

tidal stone
last plume
vernal crest
nova gale
#

repeatable is just what Selph said above, setting the trigger action with MarkActionApplied as false, sending it on specific dates is part of the trigger action condition

reef kiln
tidal stone
#

😔 diod that cause it kept yellin at me and forgor to change it back

#

maybe ill take out the (O) in front of the vanilla items 2?

#

maybe thatll do something

reef kiln
#

I think it needs it for the BeforeID

tidal stone
#

aah ok then ill leave it

reef kiln
#

Did you try to capitalize the ID and BeforeID to see if it needed to be capitalized? Because it says you don't have them but you do. So my guess is for some reason it is not reading it.

tidal stone
#

yeas i capped them

#

its very odd

reef kiln
#

You have Id and BeforeId. Not ID and BeforeID

#

Not sure if that matters or not. It is a shot in the dark actually.

brisk wedge
#

What do I need to do to get my build to stop saying error CS8936: Feature 'collection expressions' is not available in C# 10.0. on this bit of code https://github.com/focustense/StardewUI/blob/f3650f6a001d17e36e71d1deb201fb41a252dd28/TestMod/Examples/EdiblesViewModel.cs#L11 when I copy it into my project? Its fine when I clone the entire repo and build that

GitHub

UI/widget library for Stardew modding. Contribute to focustense/StardewUI development by creating an account on GitHub.

tidal stone
#

updated log

#

i tried moving the last mov eenrtry again to see if i could get it to stop wanting an action but it still wantsd an action

vernal crest
#

That isn't a log, Kandi.

#

Did you mean to share a log?

tidal stone
#

ye i meant json i keep mixing them up

#

my log doesnt show anything tbh except that its skipping herbs and flowers somehow but its not because everytjhing works

reef kiln
#

The error changed lines, is that because you moved the block?

tidal stone
#

yea

#

im going to move the whole shop block cause i think that migbht be throwing it

brittle pasture
vernal crest
#

You can't just have a MoveEntries code block sitting by itself. It needs to be in the same block as an "Action: EditData"

reef kiln
#

👆 your change, changed the error. It is not the same issue. Move it back I think.

gaunt orbit
#

Set it to Latest

tidal stone
#

i think moving the shop block fixed it

#

but idk what was causing it initially

#

because it was doing that before i moved it the first time which was why i moved it the first time

#

i am so lost but at least it seems to be working now?

brisk wedge
lucid iron
#

I use latestMajor personally

tidal stone
#

im gonna run the game to check