#making-mods-general

1 messages · Page 310 of 1

ivory plume
sour sleet
#

I need to run debugWorldMapPosition?

ivory plume
#

I'm not sure what you mean? I want to see the JSON of your "Action": "EditData" patch, not something in-game.

sour sleet
#

Oh! Ok I understand, sorry.

#

May I DM it to you? I'm making an expansion and there are location spoilers in the json! Totally understand if not though.

ivory plume
#

Sure, that's fine.

boreal pulsar
#

In my mod i have a JSON file that contains all sort of type of Trial Definitions, used to generate trials etc. Do I have to load this JSON on startup? (never used JSONs before)

calm nebula
#

Not necessarily - you can load it whenever as long as you do so before you need it

#

But reading from disk and deserialization is relatively slow

#

So people like to hide things like that at startup/initial load

boreal pulsar
#

they are static its just I dont know how to access them otherwise.from what I found till now im using this (called in modentry)

public static void LoadTrialDefinitions(IModHelper helper)
{
    _trialsByCondition = helper.ModContent
.Load<Dictionary<TrialConditionType, List<Trial>>>("data/trialdefinitions.json")
?? new();
}

but im not sure what path to give it, this crashes on startup saying the path isnt correct lol

calm nebula
#

Ah!

#

You have to explicitly package it

boreal pulsar
#

hmm what does that mean

rough lintel
#

so, i'm not sure how to seperate parts of a query i want to check for content patcher. is it ()?

rough lintel
#

like, is this right? "query: ('{{season}}' = 'winter') OR ({{Weather}} IN ('Rain', 'Storm', 'GreenRain', 'Snow')) OR ({{HasValue: {{DayEvent}} }})"

#

because it currently doesnt work so the answer has to be no

calm nebula
#

You might have noticed that people usually use an assets directory and not a data directory

#

It's because SMAPI will automatically package the assets directory

boreal pulsar
#

ohh, so I can just do that

calm nebula
#

Yup. It's probably easier

boreal pulsar
#

and than how could I access it?

#

cause i'd need to convert the JSON into
private static Dictionary<TrialConditionType, List<Trial>>? _trialsByCondition;

calm nebula
#

One of the fun Linuxisms

boreal pulsar
#

oh bruh i completly forgot, when making my game I had to change every folder to lower_case_like_this

#

cause of linux

#

so like this? or scripts too

calm nebula
calm nebula
rough lintel
#

realized i probably needed to ‘{{Weather}}’ right

amber sand
#

Hey, I'm new and I need help with a problem. I installed my first mod in Stardew Valley (Satoru Gojo NPC mod), but when I enter the game through smapi, I get an error or a red screen.

ocean sailBOT
#

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

calm nebula
#

Then you can use the ModContent.Load<Dictionary<blah...>>("assets/TrialDefinitions.json") to load it

rough lintel
#

ok, doing '' actually worked. yippee

ivory plume
# sour sleet May I DM it to you? I'm making an expansion and there are location spoilers in t...

You have two different world position entries for 8BitAlien.Lilybrook_Lilybrook; usually you'd only have one entry per location.

You also have a lot of world map data, which makes it tricker to troubleshoot. I suggest...

  1. Temporarily comment out everything except the entries for the location you're trying to fix.
  2. In-game, run debug worldMapLines to highlight the areas on the world map to see if it matches what you expect.
  3. If so, run debug worldMapPosition at different spots around the location to see if it matches the expected values (e.g. X ratio 0 at the far left and 1 at the far right).
rough lintel
#

but idk if the HasValue thing would work

amber sand
#

I saw that smapi has a page where you can report the error, but as far as I got, I don't know how to solve it. I thought it could be something with the versions, but the red letters keep appearing.

sour sleet
calm nebula
#

Maybe?

ivory plume
rough lintel
#

i actually fixed it atra but tanku

calm nebula
#

I tend to prefer the |contains form anyways

#

CP has better validation for that

#

I basically use the IN statement only when I have to

rough lintel
#

is category_fish a valid thing to put in gift tastes

tiny zealot
calm nebula
#

Yes, but you can also use the category number (which will be some negative number)

tiny zealot
#

please use the tag it's much easier to read and understand

inland cedar
#

I have a PhoneMenu: IClickableMenu. There I have a textbox. this code is being use to capture the player text to draw, however action button like T for example still open the chatbox. how can I hijack all keys like the real chatbox?

{
    if (key == Keys.Escape || key == Keys.OemQuestion)
    {
        exitThisMenu();
        return;
    }

    else if (selectedNpc != null)
    {
        if (key == Keys.Back && currentMessage.Length > 0)
            currentMessage = currentMessage[..^1];
        else if (key == Keys.Enter)
        {
            if (!string.IsNullOrWhiteSpace(currentMessage))
            {
                MessageManager.AddMessage(selectedNpc, $"You: {currentMessage}");
                string reply = sendTextMessage(selectedNpc, currentMessage);
                MessageManager.AddMessage(selectedNpc, reply);
                currentMessage = "";
                CalculateScrollToBottomOffset();
            }
        }
        else
        {
            char c = GetCharFromKey(key);
            if (c != '\0') currentMessage += c;
        }
    }
}```
boreal pulsar
#

hell yeah it works, picks a random quest from the JSON list

sour sleet
rough lintel
ivory plume
sour sleet
#

It's showing the entire map in the red box, progress right?

lucid mulch
# calm nebula `"query: (({{season|contains=winter}} ) OR ({{Weather|contains=Rain, Storm,Green...
"When": {
    "query: (({{season|contains=winter}} ) OR ({{Weather|contains=Rain, Storm,GreenRain}}) OR ({{HasValue: {{DayEvent}} }})": true,
    "Merge: {{season|contains=winter}}, {{Weather|contains=Rain, Storm,GreenRain}}, {{HasValue: {{DayEvent}} }} |contains=false": false // Nevermind this is an AND not OR
    "Merge: {{season|contains=winter}}, {{Weather|contains=Rain, Storm,GreenRain}}, {{HasValue: {{DayEvent}} }} ": true // Is anything true
}

I think these are equivilent, but my second doesn't need query

rough lintel
#

WOO it works. time to publish el fixy wixy

lucid mulch
#

didn't bother running them ingame

sour sleet
lucid mulch
#

I think the first thing I need to do once my lsp starts working, is get rainbow brackets to run inside CP tokenizable strings

ivory plume
# sour sleet So basically, it seems to be ignoring the `PixelArea`?

A few suggestions:

  • The red box is the world map position, so try messing with the PixelArea (map area) and MapPixelArea (world position) fields.
  • The position is relative to the top-left corner of the world map, so you can open the world map image to double-check the positions.
  • You can try patch export Data/WorldMap in the SMAPI console to make sure the data for your location was set correctly (e.g. you don't have missing data due to a field name typo).
sour sleet
#

Wait. I think I've found the problem? I think there are 2 MapArea entries for Lilybrook in the json?

sour sleet
ivory plume
#

Welcome!

trim sand
#

Ah yes. The glorious day when the crabs stroll on by

woeful lintel
#

Can anyone help with this? It feels like a CP limitation I don't understand, so advice would be welcome

rigid oriole
#

Does FF expose an asset named FF/{{DefModID}}/content.json?

#

with the .json and all?

woeful lintel
#

yes, it loads properly but the patch isn't working

#

I thought maybe it has something to do with loading it with GameContent.Load<JObject>, do I need to use something else tha JObject?

rigid oriole
#

when I load my custom assets, I define my own data model. I'm not sure what JObject is

#

when I request it later I probalby should be using the mod content loader but sh

woeful lintel
#

it's from NewtonSoft.Json, it holds all the Json data. I didn't make a data model class because it's very modular (some fields can be object or list, or object or value)

rigid oriole
#

Honestly I just wonder if somehow an empty dict becomes null when all the newtonsoft json weirdness is done

#

surely not

#

is the purpose of this for FF content packs to tell FF what texture to use? If so, why not just have them load it via the asset pipeline themselves?

woeful lintel
#

From some of the warning I got, I think it expects me to patch the properties of a JObject, like "Items" and other things I don't remember

woeful lintel
lucid iron
#

I feel like we have been over this...

rigid oriole
#

I have never used FF so you'll have to excuse my ignorance but I think a brief overview of how FF is currently behaving would be helpful

#

who loads what

woeful lintel
lucid iron
#

Load using your model directly and let content pipeline handle it

#

Don't go to JObject yggy

rigid oriole
#

an unstructured JSON object feels like code smell

woeful lintel
#

how do I make a model with somewhat dynamically typed fields?

lucid iron
#

Literally just give Load the type

woeful lintel
# rigid oriole an unstructured JSON object feels like code smell

It's for user QoL, I had multiple instances of people reporting errors when they put an object alone instead of putting it in a list. Also I need this for directional fields: they are often not required, so it would be a hassle to define the same property for each direction

lucid iron
#

Game1.content.Load<Dictionary<string, BazaarData>>(BazaarAsset);

woeful lintel
lucid iron
#

BazaarData is my custom type

rigid oriole
#

Are you asking for typescript-style union types in C#

lucid iron
#

Isn't it your mod so you have the typeyggy

woeful lintel
lucid iron
#

Dont?

rigid oriole
#

if the user gets an error when ethey do an object instead of a list with one object, that just sounds like user error

#

and they should read your docs

lucid iron
#

Idk what else to tell you besides stop making things hard for yourself

woeful lintel
lucid iron
#

Newtonsoft.json is literally the library which will take random ass json and parse it to data model type for you

#

Taking the JObject means you are stealing it's job

rigid oriole
#

is that the issue you're trying to solve

woeful lintel
rigid oriole
#

because the fact that you let it be either is why you have the issue

#

a victim of tech debt SDVpufferpensive

lucid iron
#

For funky types you can actually handle it with implicit operators

woeful lintel
rigid oriole
#

i've found a third format that this Layers field can be in and genuinely I think the answer is rework your data structure

lucid iron
#

Like if you want the final type to be list but accept dictionary you can make a list type that has implict convert from dictionary

#

I haven't tried this with complex types much though, usually it's just for strings

woeful lintel
calm nebula
#

You can also use custom jconvertors

#

Which is what I generally prefer

#

But yeah

#

The JObject is likely an issue

#

Quite sure CP doesn't support that

lucid iron
#

I feel like the major version upgrade would have been a good time to fix this but alas kyuuchan_run

woeful lintel
woeful lintel
#

Again, this is designed for user freedom, to avoid having to write 4 times the same json object. I do not want to make the structure fixed, it goes against the design of the framework.
Thanks for the doc Atra, I'll look into that. Chu's implicit operators would also be an option from what I understand.

lucid mulch
lucid iron
#

I suspect the actual issue here is the whole model can/cannot accept new members actually

woeful lintel
lucid iron
#

CP thinks JObject cannot accept new members and go NotteThink if u try to use it as a dict/list

lucid mulch
#
            try
            {
                fromObj = fromValue.ToObject(targetType, EditDataPatch.JsonSerializer.Value)!;
            }
            catch (Exception ex)
            {
                this.WarnForRecord(i, $"failed converting {(fromType == JTokenType.Object ? "entry" : $"{fromType} value")} to the expected type '{targetType.FullName}': {ex.Message}.", onWarning);
                continue;
            }

where fromValue is already a newtonsoftJson JToken

lucid iron
#

You can show us the error perhaps

calm nebula
#

I suspect CP could support that but also I should have been asleep 2 hr ago

rigid oriole
lucid mulch
#

I'm fairly sure Newtonsoft can deserialize into a model like this if the model has JToken or a subclass will preserve it

rigid oriole
#

Since it's likely the most common flow

calm nebula
#

I think CP will check to see if it's a dictionary and look for a string class, or use reflection

woeful lintel
calm nebula
#

The idea that it might be dealing with a data model that itself is a jtoken I don't think is part of the code

#

I'm also pretty sure it could be (relatively sanely) but you would have to discuss that with Pathos

woeful lintel
calm nebula
#

It's not...impossible by any means I think

lucid iron
#

I guess it's like, y tho

uncut viper
#

i did actually change that to make it work for fun so it's definitely not impossible

#

but agreed with the "y tho"

#

which is why I left it at a neat experiment and not a proposed Pr

calm nebula
#

Anyways. Up to you

#

You can probably ask Pathos directly

woeful lintel
calm nebula
#

You can probably refactor to use jsonconvertors

woeful lintel
#

that's what I'm saying

#

I think

lucid mulch
#

JsonConverters or JTokens should both work fine, dynamic would cause newtonsoft to go into the ExpandoObject hell thing

#

and targetfields would probably just not work at all

calm nebula
#

Yeah, he's trying to use targetfields

woeful lintel
#

yeah, I want to make it user friendly

calm nebula
#

And the intended use case probably involves targetfields

lucid iron
#

Oh that seems pretty doomed then LilyDerp

#

I guess what u can do is, on your model make one of the possible forms the truth

#

Only allow real FF content packs to use the other forms

#

Make cp packs use list (or dict if u choose that)

#

Do stuff to convert the possible forms to real form before interacting with data

woeful lintel
#

What I'm planning is having the actual final data be Dictionary<string, List<MyData>> but the dataclass would be able to parse stuff like List<MyData> or just MyData (and other, even more cursed stuff)

#

The idea I had of CP is that it was loading jsons and just changing fields/entries in it based on the path given, I didn't know it was based on the internal data classes of the game.

rigid oriole
#

Yeah the internal game data has fixed types

woeful lintel
#

I think the only drawback I would have is that users would have to add "TargetFields": [ "dict_key", '#0' ] even if the FF content file uses MyData directly

#

by the way, do I have to add an ID to every data in list for TargetFields to work?

lucid mulch
#

ok yeah TargetFields wont like dynamic, JsonConverters or JToken/JObject.

The TargetField mechanism has 3 views of the world, Dictionary<T, U>, List<T> or Model

while JObject implements IDictionary<T,U> content patcher wont care

rigid oriole
#

I believe for CP to edit a list, items in the list need an id

lucid mulch
#

the List model can do #0, #5

woeful lintel
lucid iron
#

But #0 #5 is a backup really

#

Normally better to provide an Id field so that it's consistent

lucid mulch
#

if you wanted to do insertions when the value key isn't present you are only viably doing that if it has an Id (or ID) field/property

woeful lintel
#

I don't get that, the index is a perfectly fine id in a list afaIk

calm nebula
#

For a while I've been wondering if CP could have used IDictionary over Dictionary

lucid iron
#

When you have a list and 2 different mods are editing it

calm nebula
#

But never enough to test it

lucid iron
#

The index will change

calm nebula
#

(As to why I cared, I wanted SortedDictionary for my never to be made schedule overhaul)

#

Don't laugh at me I'm old and jaded and bitter and exhausted

woeful lintel
#

yeah, ok, fair enough

lucid iron
#

I wanted defaultdicts atra

#

Not meant to be

rigid oriole
#

does C# have defaultdicts?

woeful lintel
#

more data structure freedom is always good imo

calm nebula
#

Maybe we PR pathos

lucid iron
#

No but i could make one right

woeful lintel
calm nebula
#

Or maybe there was a reason he picked the hard type

#

I made defaultdict

lucid iron
#

C# lets u define what [key] does pretty sure

rigid oriole
#

the overhead of me writing defaultdict is superseding the few occasions when i wish i had one for now

calm nebula
#

Congratulations! You can copy paste that

rigid oriole
#

But then I really have to learn how shared libraries work /lh

lucid iron
#

Well my final solution for that particular want of default dict is some dum data model record merge logic

rigid oriole
#

(but maybe someday when I do i'll borrow the atra defauldict)

lucid iron
#

But there actually is sort of a default dict built in

#

Managed a prefixed set of assets instead of just one

#

Then u can give the default in asset requested lol

#

I didn't do that cus i felt my model is never getting that big and it'll get confusing but this is literally what game does for many npc related assets

woeful lintel
#

Just to make sure I understand : when FF loads a data asset through the content pipeline, first it's parsed for the Type given in the Load<Type> call, and only then CP EditData patches are applied, correct?

lucid iron
#

I think casted might be better term but yes it does loads edits as that type

#

Not really cp exclusive, this is generally how content pipeline work

woeful lintel
#

thanks, I thought it was the other way around before this discussion. I had the idea that CP was directly patching the json structure before it's cast (ed?) to Type

lucid mulch
#

the content pipeline for both loading and edits rely on the caller to pass in the correct type, and ContentPatcher will try to serialize with that type in mind

lucid iron
lucid mulch
#

if the content pipeline doesn't have it in the cache, CP is running during the load function, not after

#

the orange boxess would be where CP or other assetrequested event handlers run

boreal pulsar
#

Does "substantially AI generated content" mean that if even 1 line of my mod was generated through AI it becomes ineligible?
What if I use air to generate code to see how something is done and than use that knowledge to write it myself (I don't mean copying but writing something different with that teqnique)?

woeful lintel
#

that's amazing! is it planned to put this on the wiki? Because it would save so much time explaining stuff here.

woeful lintel
vernal crest
boreal pulsar
#

Ye Ive just read this

lucid iron
#

AI is just kind of bad at many nuances in mod making anyhow

boreal pulsar
#

I WAS doing it in my previous project which I scrapped to restart from zero, here I'm doing everything on my own
Which actually helps a lot more to learn everything lmao

wind ocean
boreal pulsar
# lucid iron AI is just kind of bad at many nuances in mod making anyhow

Well sort of any content that isn't very popular
Im making a game with Godot Engine, and if you ask chstgpt help it will give very outdated code which won't work or cause issues
I mean with game development it's not really disable to use AI at all, cause it can't comprehend the whole project, it's too big

modest dagger
#

moon my friend ||how can i change the scaring skill so i can spam it again||

woeful lintel
#

I'm so glad I decided on a zero genAI policy for myself a while ago

boreal pulsar
#

Sorry forgot to remove ping

vernal crest
#

If I make my kea too fat in my original mod release and have to put it on a diet in a later update so it doesn't look like a kākāpō, that's okay, right? Right.

indigo yoke
boreal pulsar
# woeful lintel I'm so glad I decided on a zero genAI policy for myself a while ago

I mean it can be helpful especially if someone is new to a language/engine etc to learn how stuff works

When I first learnt how to code in GDscript AI helped me a thon

It's bad at writing usable large scale code toh
Actually it's almost impossible to generate ai code that works like that. Maybe small standalone scripts but that's it

woeful lintel
haughty charm
#

Be nice

modest dagger
#

Logos ❤️

indigo yoke
haughty charm
#

heya wiz

rigid oriole
#

also i'm pretty sure stuff like tab autocomplete is fine if that's what you're worried about

modest dagger
#

wait you actually made it a config? I think i checked once and i didn't see it

woeful lintel
modest dagger
#

I'll check again when I can get back to my pc and lyk

rigid oriole
#

rider actually ships with what appears to be a local LLM but i disabled it because i kept just wanting normal tab autocomplete

#

and i found the hallucination rate was bad bc the model was very small

#

i suppose this is no longer on topic

haughty charm
#

(it's not...)

calm nebula
haughty charm
#

But what atra said

calm nebula
#

Have fun making mods, enjoy blueberries or smth

boreal pulsar
#

Ye i Just wanted to make sure what I must avoid doing

indigo yoke
boreal pulsar
#

Don't want to spend weeks on a mod that isn't eligible BCS I didn't check rules lmao

indigo yoke
#

Can't tractor your way out of this one

modest dagger
#

is this bc i always use tractor to lvl arch

indigo yoke
#

You can tractor arch, luck, and cooking.

light garden
#

I understand the rules, especially for artworks, which have been created by models trained on copyrighted materials. but ai in coding has been an industry standard for years now. i don't know of any company which doesnt use it

boreal pulsar
modest dagger
#

hey yea how do i tractor cooking

#

do i use the tractor to threaten people until they make me a master?

light garden
#

which have been intended for copypaste integration

boreal pulsar
haughty charm
#

Not the right channel for general AI discussion

indigo yoke
light garden
#

ah, that makes sense

boreal pulsar
rigid oriole
#

I think it is probably an honor system

urban patrol
indigo yoke
boreal pulsar
#

Yeah makes sense

#

Alr I'll just be asking more question here then lmao

urban patrol
#

that's what it's here for! <3

boreal pulsar
#

Im just afraid of asking too dumb questions abaha

urban patrol
#

trust me i’ve asked some absolutely dogshit dumb things

median forum
#

same

#

just ask

#

that's the only way you learn

urban patrol
#

ask me about how i once fucked up my code so bad that people thought it was AI generated 😂

indigo yoke
boreal pulsar
median forum
#

legit thought i was gonna get bullied for my mod being about pierre lmao

vernal crest
#

I once wrote a whole section on one of the wiki pages because "the info wasn't on the wiki" and then some days after publishing it I scrolled down and found where it had been on the wiki for 4 years...

boreal pulsar
median forum
#

YES

rough lintel
median forum
#

hence my concern

vernal crest
#

Yeah but skipdozer is making a mod about smooching Pierre lol

median forum
rough lintel
#

FINALLY

#

LETS FREAKING GO

#

PIERRE LOVERS SUCH AS MYSELF RISE UP

#

WE WILL NEVER BE SILENCED

boreal pulsar
#

Alr, in my mod, one of the punishments will be U have to marry pierre

median forum
#

it's not that weird yandere one, it's just normal

rough lintel
#

WOOOOOO

#

yeah be normal begging u

median forum
#

i tried very hard to make it, like, normal

rough lintel
#

i had a plotline for a pierre marriage thing planned out but like i just never get around to making anything 💀

median forum
rough lintel
#

also i feel bad sometimes about the infidelity aspect but like yknow i can pretend i do not see it ……. i need the trashman

#

omg amazing. proud of u skipdozer

vernal crest
#

If you'd gone to modded-farmers you probably would've had some amount of side-eye due to the copious numbers of people who post in there about marrying Caroline/Jodi

lucid mulch
vernal crest
#

There's even a meme about it

rough lintel
median forum
vernal crest
#

I want to make farmer's-home-wrecked mods. Nobody available to marry the farmer because they are all too busy marrying other NPCs.

median forum
vernal crest
#

I mean, sure. Just make everyone non-romanceable and make the game explode if something like polysweet is installed.

#

It's soooooo much work writing rival hearts mods though. They're rife with incompatibility problems.

calm nebula
#

I still want a maru/penny rival hearts

#

I also could buy Penny/Haley

#

Also Seb/Sam

#

Harvey/Leah

vernal crest
#

✝️ No nerdsniping me, Atra!

median forum
#

sounds great. i always kinda wanted the npcs to marry each other, and i especially want that now since i'm about to bag abigail's dad

median forum
vernal crest
#

I already have my hands full planning Harvey/Clint after I finish Hiria.

median forum
vernal crest
#

Clint can become a beautiful bear, just believe in him!

boreal pulsar
urban patrol
#

you’ve heard of the greater seattle polycule, well it’s got nothin on the pelican town polycule

calm nebula
vernal crest
#

And who better to help someone through social anxiety than someone who has generalised anxiety (and so knows how to be gentle with it) and a hankering for a strong protector

calm nebula
#

I love that, Aba

#

I'm looking forward to new rival hearts

vernal crest
#

The mod will be ready for release at about the same time as you have some free time for playing, Atra xD

median forum
calm nebula
#

Mods can coexist. I really like lyoko's Clint mod

median forum
#

admittedly i haven't looked at any clint mods before

vernal crest
#

Yup, two cakes! Koda also has a great idea that Clint is weirdly obsessed with Emily because he's a transfemme egg and has plans for a mod where she helps him realise that he wants to be like her, not with her.

median forum
#

yooooooo

hard fern
#

SDVpuffersweats i scrolled up and i have made like 0 progress on my mod bc im too busy gaming (send help) and i worry about how many rival (is it rival if the farmer isn't even "competing") heart events i have to write

violet grotto
#

Is it wise to use game state queries when checking for what gift a pet can gift or is Content Patcher's "When" better in terms of performance?

#

In theory, this only triggers once you interact with the pet.

calm nebula
#

It's fine either way

#

It's so infrequent

#

I would use GSQ so mods inspecting the data can see it personally

violet grotto
#

And does this condition here seem fine?
I want them to gift a Common Mushroom when the farmer has either the Forest Farm or it's currently fall.

vernal crest
#

You will need to add more quote marks, I think. "Condition": "ANY \"SEASON fall\" \"FARM_TYPE Forest\""

drowsy pewter
#

yes

violet grotto
#

Ah, I must've read the wiki wrong then.

#

I'll apply it right away!

calm nebula
#

(No worries, Any is fun)

vernal crest
#

The example that's actually in the table for ANY is showing only what it looks like when already inside quote marks and is presumably pretending the outside ones either don't exist or are single quote marks because it's not escaping the double quotes it is using lol

calm nebula
lucid mulch
#

oh balls my LSP will need to fall down that rabbit hole

#

I at least mostly see it post json paring at least, but the inner layers will be fun

boreal pulsar
#

It feels so weird to talk to such big mod authors that made some of the most popular and used mods

ocean sailBOT
#

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

vernal crest
#

Yeah it does

opaque field
#

Absolutely. Yes.

violet grotto
#

I am among my people

#

I'm sure that it can be weird, but I've been hanging around other modders for so long that it seems normal at this point.

opaque field
#

Your head starts to wrap around it eventually everyone is pretty cool 🙂

#

I keep accidentally expanding my mod. Oops 2 new events just got added. Also setting up a “Sweet and Sour” mod which explores the criminally underrated dynamic between Shane and Sam as coworkers

violet grotto
#

Heard that folks? We're cool. SDVpufferchickcool

gray bear
#

we're very cool

timid night
#

Hello ppl! I have made a mod but I don’t really know how this server works, is there any special place where I can share it?

round timber
gray bear
#

can also ask an orange to showcase it if u want

violet grotto
#

If you want to showcase it yourself in #mod-showcase , then you'll need a higher rank

#

Or you can ask someone else, yeah.

timid night
#

Ah thank you!

gray bear
#

I love ur icon tea btw

timid night
violet grotto
timid night
#

Ohhhh oki got it!

violet grotto
gray bear
#

it's very pretty and looks very drinkable

violet grotto
#

Or well, texting.

gray bear
#

you can become a Cheeto yourself to showcase by yeah you'll need a higher level for it

timid night
violet grotto
#

Nothing much to it. You ask around if someone would be willing to share a message of yours.

#

For that you will need a message and a link to the mod's page preferably.

#

I can make the showcase for you.

#

What mod did you make anyway?

#

You can just ask here by the way.

timid night
#

This is part of a school project about representation in games :3

violet grotto
#

Well then! All I'd need now is a short summary of the mod. You can look at other posts in #mod-showcase as examples.

timid night
#

Thank you ^^ in will take a look of it now!

#

This mod is another area of zuzu city that includes a cafe, a university, a plant shop and a punk shop. Here you can also find 7 new romancable characters and 4 others interactable npcs.

This is made by 4 people as part of a school project about representation in games. The characters are made with players opinions in mind from a survey that was made :)

#

I hope that’s an okay text! 🌷

violet grotto
#

Give me a moment, and I'll have it up!

#

Posting this on behalf of Danni<3!

This mod is another area of zuzu city that includes a cafe, a university, a plant shop and a punk shop. Here you can also find 7 new romancable characters and 4 others interactable npcs.

This is made by 4 people as part of a school project about representation in games. The characters are made with players opinions in mind from a survey that was made :)
https://www.nexusmods.com/stardewvalley/mods/33826

Nexus Mods :: Stardew Valley

This mod adds the new area 'ZuZu City' and new characters to befriend and marry.

#

The previous message is what they will see. Is that okay?

timid night
#

Yes it’s perfect! :)) thank you very much for the help!!

violet grotto
#

Done!

#

No problem.

inner harbor
timid night
inner harbor
#

I'm glad! I myself add a street in Zuzu. Also, I believe that there's a reason it's alled "DOWNTOWN" Zuzu and not "Zuzu City".

hallow prism
#

i'm glad the comment you received didn't discourage you

#

us modders wouldn't eat you alive, we aren't barbaric, we would roast you first...

timid night
whole raptor
#

If a comment makes no sense just use it as a source of cheap laugh SDVkrobusgiggle

inner harbor
#

he seems like a jerk "I'm sick and tired of communities making the same mods over and over again", what is he expecting? Sounds like he's over expansion mods and should probably refrain from commenting.

whole raptor
#

That comment unironically made me laugh so hard

#

"Everyone is making the same boring stuff, I'll just be here and do the same thing too... complaining over and over" SDVpuffersquee

inner harbor
#

Ugh, I'm at the time of my life where I seem to be looking for arguments on the internet.

#

This person bugs me.

blissful panther
#

I am twitching internally. That is all.

whole raptor
#

I just found out grandpa's sprite in the files is just a single white pixel... this game will never cease to surprise me SDVpuffereyes

blissful panther
#

The sprite for the... evaluation event/screen?

whole raptor
#

No idea what it's for... the one in Characters

blissful panther
#

...well I haven't seen that one before.

inner harbor
#

That'll be so they can have him show with portraits and a temporary sprite in the event

whole raptor
#

That was my thought too, but still surprised me, since he does seem to have a normal sprite for that event

inner harbor
#

I reckon it was for the 1.6 update

whole raptor
#

I'm gonna have to figure out what kind of celebrations I want for the wedding after I finish with placing everyone SDVpufferthinkblob

lucid mulch
#

I wonder if that portrait was added just so it existed and so didn't error out when it became an entry in Data/Characters

inner harbor
#

yeh that was my guess SinZ

slim forge
#

shush

drowsy pewter
#

hi bagi

sterile zinc
sterile zinc
lucid mulch
#

!twocakes is important

ocean sailBOT
#

If you discover that someone has made or is making a mod with a similar concept to yours, don't stress! Our community promotes the idea of "two cakes", where two versions of the same idea can peacefully co-exist. Your mod will have your own unique stamp on it that makes it special.

hoary lake
#

Did somebody say cake?

void tinsel
#

Hey there, figure this is probably the channel to ask this. Buff Crops mod gives bonuses such as "AttackMultiplier" and "WeaponSpeedMultiplier". The values used seem quite high like 0.5 which made me wonder, does this function as a 1.5x multiplier?

#

Wasn't sure if these bonuses are vanilla or not

hallow prism
#

they are vanilla

void tinsel
#

Also where might I find wiki pages on this kind of stuff?

hallow prism
#

i believe they have special rules/behaviour

blissful panther
#

Convenient timing! SDVkrobusgiggle

hallow prism
void tinsel
#

Thanks Lumina

blissful panther
#

If they seem quite high, it's because... they're not even slightly tested for balance currently. The intention is for that included pack to be more of a sample that people can go in and tweak, or make their own packs.

void tinsel
#

Oh, indeed - and that's what I'm doing

#

I just wasn't sure how the values worked!

#

Love the idea behind it by the way! Thank you for the mod

blissful panther
#

If you're making a pack for it to release, let me know when you've finished it! I'll pull mine out of the default version of the mod and keep it separate in the optional files section, maybe.

void tinsel
#

I'm not sure that you really want that to be honest lol. I haven't played since 2016 and honestly I'm mostly keeping what you've done but just turning some values down based on their profitability / pain to grow

#

In the future I might take a more careful hand to it though. I've just been itching to get started after days of tweaking my modlist

inner harbor
blissful panther
#

The funniest part is how Harv himself commented on the mod before that guy saying (paraphrased) "oh, cool!"

blissful panther
void tinsel
#

@blissful panther I'm mostly using Buff Crops to make giant crops more interesting, paired with 6480's as well as Selph's More Tappers Additional Tree Equipment which let's you tap giant fruit. So if I do come up with a pack eventually it'll probably be focused on that.

Another idea I had for how to make it easier to balance/use would be another mod which adds ripeness to the game. Say the normal grow time is the earliest you can harvest, and if you let the crops sit for another 50% of their grow time they'll be at max ripeness and worth more? Just an idea

inner harbor
#

I wonder what Harvz is up to now.

#

Like the person who left a very negative review on ES (now deleted, by me) had some valid points. But the entitled "i am superior and your mod does not meet my standards" attitude was an immediate turnoff.

#

I think they were also a troll based on sonething else they posted in our discord. Got them deleted and banned, lol.

blissful panther
inner harbor
#

Ive contemplated adding joja seeds for everything. They grow vanilla crops but their quality caps at silver.

void tinsel
#

Oh no worries, I wasn't expecting you to make it haha. Just thought you might appreciate the idea

inner harbor
#

I'd pair it with code that made the joja crops cheaper by a small fraction.

calm nebula
whole raptor
#

Crap... vanilla Marlon has no back facing sprite SDVpuffersquint I guess temp actor it is then...

inner harbor
#

Yeh i have them too Marlon_Walking

void tinsel
#

@blissful panther sorry to bother, but does the buff apply for all crops planted or only for crops which are harvestable? I thought it was the latter but now that I've read the page again it seems like the former

inner harbor
#

Doesnt pair well with DSV

blissful panther
#

Right now, even not fully grown will count, yeah.

void tinsel
#

No worries! I was just a bit confused. You think it'll stay how it currently is?

#

Seems like you're already aware but the modpage does seem to flip flop between the two styles in it's description

whole raptor
#

Huh... I just found out it's Welwick with 1 L, not Wellwick SDVpufferblob

blissful panther
whole raptor
#

Wait, she appears in the movies and Casino too? Or is it just reddit misinformation SDVpuffereyes

#

Yep SDVkrobusgiggle
"Club.1": "Welwick: It's not my lucky day. Ugh... I drank too much.",

valid folio
void tinsel
blissful panther
#

I'd suspect that's exclusively from the giant crop! Apparently crop.fullyGrown.Value... isn't accurate to check to see if a crop is fully grown, so that version's just ignoring all normal crops.

void tinsel
#

Indeed, it does seem that way. However it's not showing the 0.3 immunity that a giant cauliflower should yield either

blissful panther
#

Could be a strange buff display issue where certain buffs just don't show in the tooltip?

void tinsel
#

Unsure, I'm relatively new to this stuff

lucid iron
#

Ye immunities dont have auto icons rn

opaque field
#

Any advice on nulling events? I can get every single one of Shane's to set to null except for this stinkin 2 Heart on the docks.

#

I also tried changing my event id for the rewrite of that event to that event id because I saw that used in a different mod as a way to rewrite vanilla events and no dice

calm nebula
fathom hound
#

anyone know where the costume portraits for villagers are?

whole raptor
vernal crest
vernal crest
drowsy pewter
opaque field
vernal crest
fathom hound
#

ex. sebastian & sam from what i remember

#

i think emily too

opaque field
drowsy pewter
#

Um... f there were, they would be in the portraits folder

whole raptor
#

Where are the junimo sprites in the files? SDVpufferthinkblob I did check Cursors already 😅

vernal crest
fathom hound
#

its crazy cuz i see sam's spirit eve portrait but not anyone else's SDVsobastian like emily's clown costume

opaque field
#

Searching the log now

drowsy pewter
#

I mean, emily's clown costume is there... in seasonal cute characters, yes

#

Sam doesnt have a costume portrait in my content folder either.

#

I think you may have mixed your files around 😅

opaque field
#

SMAPI log shows nothing. I’ll recheck my stuff in vsc

fathom hound
#

was i dreaming or

#

SHE DIDNT EVEN LOOK LIKE THAT LMAO SDVpufferchickskeleton
-# im remembering a more rainbow-y outfit

i dont even have this mod SDVpufferwaaah

#

idk whats real anymore

#

(anyway ty)

drowsy pewter
#

theres plenty of spirits eve portrait mods

fathom hound
#

what im remembering was from vanilla tho so im just confused and maybe dreamt it idk

opaque field
#
    "LogName": "Remove Shane's vanilla 2 heart event",
    "Action": "EditData",
    "Target": "Data/Events/Forest",
    "Entries": {
      "611944/f Shane 500/t 2000 2400": null
    }```
whole raptor
#

Can temporary actors have animations during events? SDVpufferthink

opaque field
#

This is exactly as I have it and it's still populating in the Data/Events/Forest patch export and my patch summary still says it's not applying

whole raptor
#

Or maybe different question.. what would be the easiest way to add a dancing junimo to an event?

tacit swallow
#

just a heads up, am i allowed to put mods behind a paywall? or is it against the rules or something

brittle pasture
#

Nexus doesn't allow it

#

I don't recall any other rules against it otherwise

tacit swallow
#

but i'd be able to upload it to, say, patreon or kofi without any problems?

brittle pasture
#

sure if you want to

tacit swallow
#

ahhh okay, thx for answering

brittle pasture
#

the community usually doesn't like paywalled mods very much but you can do whatevs

drowsy pewter
#

If you also want to host other mods on nexus, you would not be able to link to your kofi/patreon with paywalled mods btw

#

but that's nexus's rules, not like some overall legal rule

tacit swallow
#

tbh i don't upload my mods but i've been seeing this happening a lot recently and it kind of surprised me because i thought it wasn't allowed

#

i guess it was my mistake not considering other options then

brittle pasture
#

it depends on the game community
some publishers will bap paywalled mods since it's making money off their IP

uncut viper
#

it's kind of a weird legal gray area sometimes I believe

#

but it depends on the mod and the community and the publisher

whole raptor
#

It's allowed... just not a good practice in my opinion

brittle pasture
#

SDV/Mr Ape doesn't seemingly care

tacit swallow
#

maybe because that's just not common enough for him to see it

#

but alrighty i guess

calm nebula
#

Fwiw, it's not against the rules but I personally find it distasteful

drowsy pewter
#

this might turn into a long convo if everyone chimes in on the opinion front

lucid iron
#

So the status from what i gather is

  • mr ape doesn't care
  • nexus forbids soliciting/paywalling including linking to offsite paywalled content that's not officially associated with the game's publisher, they are iffy on actually enforcing this but in theory if u do any of this u should not be on nexus
  • some people do post sdv mods on kofi but usually it's for free with option to pay what you want (e.g. lune's kofi)
  • some people also have patreon where you can give them money because they are cool SDVpufferchickcool
#

I give pathos 2 bux a month to read the monthly newsletter kyuuchan_run

blissful panther
#

@void tinsel Alright, 1.0.2 of Buff Crops is up. It'll ignore crops that aren't fully grown, and there's a new config file (that will be generated once you've launched the game once) that has a setting to enable debug logging like so with a single fully grown parsnip:

[Buff Crops] Crop in Farm contributing FarmingLevel: 0.01 ForagingLevel: 0.01 to buffs.

vernal crest
void tinsel
blissful panther
opaque field
whole raptor
#

Just needs a Junimo or two and I can get to optional modded NPCs SDVkrobusgiggle

lucid iron
#

Oh is morgan coming

uncut viper
lucid iron
#

I see camila

whole raptor
rich igloo
vernal crest
opaque field
vernal crest
lucid iron
vernal crest
lucid iron
#

You can ask things in this thread too

whole raptor
#

Does debug ebi mark events as seen when played? SDVpufferthink

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Unix 6.8.0.59, with 105 C# mods and 99 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

rich igloo
#

thx, i'm thinking of a mod that may use some UI, so i was looking into some framework that would allow me to have responsivity and support for controllers too.

vernal crest
whole raptor
#

Perfect

#

Oh nvm, there's a command for marking events as seen, even better

vernal crest
# opaque field https://smapi.io/log/36bba56709d045ad8ab1d395441c6a1c

Hmm none of the patches for the forest events have applied at all. I think events are lazy loaded, which might explain why. Can you try debug ebi 611944 ebi again and then patch summary full asset "Data/Events/Forest" again, please? I want to see if it's at least trying to apply patches once it's actually calling the data/events/forest asset.

opaque field
#

Sure! What does “lazy loaded” mean?

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Unix 6.8.0.59, with 105 C# mods and 99 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

uncut viper
#

(the patch export (from earlier) should be loading it anyway though, right?)

vernal crest
# opaque field Sure! What does “lazy loaded” mean?

It means the asset doesn't get loaded until it's called (as in, something in the game asks for it) which means that edits to it don't apply until then either. It happens with dialogue too - in fact, that was what we ran up against with your dialogue before.

#

But yes Button, I forgot that if it wasn't loading the patch export would error out.

#

I will blame my sore neck 😭 /lh

#

However, I do feel slightly vindicated because the patch summary is showing a whole bunch of applied patches now that weren't applied before.

opaque field
vernal crest
#

Ok I think the gender neutrality mod might be your nemesis here

mild dagger
#

wow I was just searching what I did wrong in my mod because it absolutely didn't do what I wanted...turns out I hadn't enabled it in Stardrop SDVpuffersweats

vernal crest
#

Your mod is editing the forest events and then so is the gender neutrality mod. Unless it's the Sam after dark or your own cost of freedom mod, but I'm guessing they don't affect Shane's event.

opaque field
#

Oh oops I can remove The Cost of Freedom that was an Abigail test mod

vernal crest
#

So we have the exact same issue with the event that you had with your dialogue lol

#

My guess is that you're removing the event and then the gender neutrality mod is adding it back

opaque field
#

Lmao okay fun.

#

learning new stuff 😄

#

so do I add it as a fake dependency ?

vernal crest
#

By the way if you're making replacement heart events for Shane it's worth considering using the same event ID for yours as the vanilla ones. Normally I would never, ever advocate for using numeric event IDs but a lot of mods use vanilla event IDs as flags for stuff happening and if your mod removes those events entirely, you'll break any mods that depend on them.

#

(I don't mean event key, by the way. You can have all sorts of different preconditions if you want. Just the ID.)

#

Try adding it as a false dependency, yeah. Or you could try priority, but I'm iffy on how priority works so could not provide much guidance if it didn't do what you wanted.

opaque field
#

Hmmm, I did notice that's how the Sam After Dark mod goes about it, so that's a good idea.

#

So add it as a fake dependency and then change my event ids to the corresponding vanilla event ids

vernal crest
#

If you add more heart events than there are in vanilla you can definitely use string IDs for the extras.

opaque field
#

I have two separate jsons already for the vanilla and the bonus events too

#

Ok I'm gonna try that and see how it goes. Just have to reformat the i18n keys

#

and some mail triggers

serene moat
#

Does anyone know how to use the path layers on custom maps? I'm having trouble with the light not showing up.

vernal crest
serene moat
#

Night

vernal crest
#

Hmm are you testing with a new save? Lighting might adhere to the same rule as the rest of Paths does and only gets generated on a new save.

timid night
timid night
sterile zinc
rare orbit
#

when making a spiritual successor to a mod? if i remake the asset and code do i need to ask permission? i wanna make a spiritual successor to a ja mod to work for content patcher since i love their recipe pack but when i went to look in the code it likely will need to be rebuilt from the ground up

brittle pasture
#

I'd say if your code and art is 100% original then no

rare orbit
#

so just link back to the original mod and i should be cool?

drowsy pewter
#

Well my take is that you dont need to ask permission but depending on the mod it may be rude to follow exactly what their content is

rare orbit
#

yee i just wanna add cherry blossom and cherry blossom recipes to the game

#

and while i love kayas mod it's in ja and not compatible with the current version of soda makers

#

and idk how hard it is to convert ja to cp so rather than tear my hair out i might as well make my own version

drowsy pewter
#

depends how original the ideas are imo. I mean there are some recipes which are like, real life recipes that anyone can think of, but then theres like, inventing the exact same unique idea out of thin air. ideas are part of the content of a mod and it can cross a line if it's the wrong mod or the wrong person

#

ja to cp is a full rewrite regardless

calm nebula
#

Yeah. Cherry blossoms are a thing in nature

rare orbit
#

true i think i should be ok so long as i make everything myself

#

even if i struggle lol

calm nebula
#

My OC is my OC, plz do not steal ||god I hope y'all recognize the ff.net reference||

rare orbit
#

makin me feel old 💀

#

ahhh good old deviantart... the things i've seen on there ;w;

#

welp this project will certainly take a while ;w;

#

but i got time!

mild dagger
#

I need some help :( I'm trying to remove all seeds from Ari's market and Jumana's shop in Sunberry Village and SMAPI is telling me "EditData Data/Shops #1" to Data/Shops: the field 'skellady.SBVCP_AriMarket' doesn't match an existing target". I did a patch export of Data/Shops and took the name straight from there, as I have done multiple times for various other shops from other mods before but it's not working SDVpufferwaaah

#

that's what I wrote

brittle pasture
#

does your mod have a false dependency on SBV

mild dagger
#

nope, should it?

#

I haven't done any modding in a year and it shows...

#

yeah thanks, that was it!

tiny zealot
#

in case anybody else tries this, the answer is "yes, you must have a map". it doesn't take that long to make one, but MapPath within CreateOnLoad is compulsory and null breaks stuff.
i guess you could just use an existing vanilla map like ElliottHouse or whatever, since the player shouldn't ever go there, but probably best not to

vernal crest
sour sleet
#

Is there a way of hiding CustomCompanions from a custom world map?

hallow igloo
#

this is strange, I'm disappointed nobody is running into bugs with my mod lmao

#

I want something tangible to do Cx

fresh tree
#

Hey guys... My name is Charlotte. Actually o made mod using json and content Patcher but I want to try C# can someone help me?

rigid oriole
#

Do you know any c#? Do you have any prior programming experience? If not, I'd personally recommend learning the basics of c# first

fresh tree
#

Yes.... I learn c# by my self for making games using unity

rigid oriole
#

!startmodding I believe this links to the wiki tutorial for getting started with c# modding

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.

rigid oriole
#

Yeah the bottom link there

#

What kind of mod are you planning on making?

fresh tree
#

I was only confused in the part of referencing the Content patcher

lucid iron
#

Normally you don't need to reference content patcher from a c# mod

#

Simply do the edits yourself

#

For mods that have a lot of content though it is nice to use content patcher for that instead of loading it all yourself

#

But in that case you basically have 2 mods, content patcher for standard data changes, c# for special sauce

sour sleet
#

Is the author of CustomCompanions in this server?

fresh tree
#

Pathoschild.Stardew.ModBuildConfig NuGet package This is the one I meant I made a mistake

lucid iron
#

PeacefulEnd is here but inactive

sour sleet
#

Ah that's a shame, was hoping they could help me

inner harbor
rigid oriole
#

The tutorial should have a section about referencing the pkg

fresh tree
#

I'll take a closer look

tribal ore
tiny zealot
tribal ore
#

Fair 🙂 Was just wondering what the use case was

sour sleet
#

Nvm, figured it out!

void tinsel
#

Any mods out there that make it easier to get Junimo chests?

#

I found one that does that for hoppers but Junimo chest mods are more elusive

tawny ore
#

Are you trying to make one?

void tinsel
#

Not presently, but I'm considering getting into modding at some point or another

#

Asking because it would make an aspect of the run I'm planning work a little better

opaque field
tawny ore
uncut viper
#

if you're really not looking to make one though then this is the incorrect channel

void tinsel
#

OH

#

My bad, #modded-stardew was the only channel I've been in for the last several days and I need to pay attention to which channel I'm in now

opaque field
#

Button I just noticed your pfp it's so cuteeeee. I just finished watching Frieren.

static otter
#

Is there an easy way to patch this tilesheet to make it so in the fall the center gem of the mountain warp isnt off by a pixel

#

I just noticed this recently and now I can't unsee it and I want to change it kek

brittle pasture
#

image patches are what I'd say the most straightforward of mods to make

#

though the problem here is compatibility with recolors/retextures

lucid iron
#

Ngl i thought that was intentional

#

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

Take look at the content patcher guide especially EditImage

rough lintel
#

its been so long since i looked at the mod-ideas github, but i did ... and i also added my own request. does anyone even make mods from there anymore

lucid iron
#

Occasionally yes

brittle pasture
#

sometimes, mayhaps

lucid iron
#

I admit i never did any tho SDVpufferpensive

brittle pasture
#

I closed out 3 ideas
(2.5 of them were things I did before knowing someone else posted ideas for them)

blissful lichen
brittle pasture
#

!modideas

ocean sailBOT
#

If you have a mod idea that you aren't planning to make yourself, you can put it in the mod ideas github: https://github.com/StardewModders/mod-ideas

However, this does not mean anyone is guaranteed to work on your idea—modders who are looking for ideas sometimes go through and work on what they find interesting off this list. If you want to pay someone to make your mod idea, there are a few people who do commissions (mostly art, sometimes code); you can ask around, search usernames for the word comms, or see !commissions.

gentle rose
rough lintel
#

^ this

#

i also have admin perms so i can do that too 🫡

brittle pasture
#

oh they're already closed, courtesy of the diligent moderators SDVpufferheart

#

for bragging purposes these are the ones

whole raptor
#

I'm still dreaming of the Hide UI toggle mod SDVpufferpain

rough lintel
#

accidentally went to the third issue ever made on this github

#

literally kind of a good idea

#

kind of what i wanted to do with overhauling the animal system

#

but not quite

brittle pasture
#

Hmm, outside of the unique produce thing AH's contest does most of it already

rough lintel
#

the unique produce thing is the main pull of this kekw

brittle pasture
#

true

rough lintel
#

like we have the first bullet point. that is it HAHAHA

brittle pasture
#

just need a GSQ for "has won AH contest" probably

lucid iron
#

Doing it for vanilla ones is just 1 skip prefix on companion draw tho

rough lintel
#

you should do it, so i can close it 😏

rough lintel
rigid oriole
rough lintel
#

not during events though, idt

rigid oriole
#

Ohhh

#

I am technically making a mod from the mod ideas page but I didnt find it there originally lol

rough lintel
#

please tell which one so the issues can go from 583 -> 582 and soothe me

rigid oriole
#

The one about negative hearts

#

Its on hold rn bc I got burned out of event making

#

The c# code is basically done tho

#

(I realized my programming skills far exceed my storytelling skills and i didn't want the negative heart stories to feel super duper tropey and flat)

whole raptor
#

Let me see all the amazing maps/settings made by people in it's full glory SDVpufferwaaah

#

Also for the wedding I'm making I always have to screenshot that one 2 second gap when there's no dialogue or add an extra pause to the code, toggle would be so nice SDVpuffersquee

whole raptor
#

It's filling up quite nicely (also assigning seats to ppl is surprisingly fun) SDVkrobusgiggle

opaque field
azure hound
# lucid iron So the status from what i gather is - mr ape doesn't care - nexus forbids solic...

(i hope it's okay i'm pinging you to reply to this)

i was recently told to take down my link to my twitter on my nexus profile, because my twitter links to my ko-fi. it seems like they're really cracking down on it? which is valid! i honestly had no idea i couldn't link my linktr.ee or social media platforms and i never advertised my ko-fi on their platform or even hinted at it.

just as a warning for anyone, even if your social media, they'll likely ask you to take it down if you have anywhere linking (even through multiple links like linktr.ee > twitter > ko-fi) to any kind of monetary platform. that includes commissions, of course, but obviously things like memberships or other paywalled content!

lucid iron
#

Wow that sucks lune

#

Y r they like this yggy

azure hound
#

it's okay! i was kind of pissed off in the moment, but i get it. i never intentionally used their platform like that, i just wanted people to be able to find me if they stumbled across my old mods i had uploaded to nexus! but i had a bit of a back and forth with them and they wouldn't even let a linktr.ee link without anything involving my mods, because my other social media platforms talk about it

lucid iron
#

A specific "iffy moderation" case i recall is seven deadly sins having literal paywalled mod content

whole raptor
#

I get not allowing to link paywalled mods, but kinda surprised they don't allow anything else that might contain a link down the line (even if the mods are free on there)

lucid iron
#

Do they just not care cus it's a chinese site medlook

azure hound
#

i was kind of surprised too! i literally asked if i could have my linktr.ee if i remove all the talk about commissions regardings mods or anything at all. they said even if it's a long string of social media platforms, i cannot post my links. so i have to remove everything off my social media platforms or i can't have a link on my profile

#

which.. is silly, for me. because i don't even post on nexus LOL i don't even comment on peopels mods these days. so i'm not sure why i was even reported? or how anyone saw it on my profile LOL

#

rules are rules though, it's all good. it was never about stealing "customers" or something

lucid iron
azure hound
#

LOL i appreciate it! SBVFrogHug

uncut viper
#

just have a big enough mod that they turn a blind eye to it SDVpufferthumbsup

ornate trellis
#

we arent allowed to link our ko-fi anymore? ruh roh, well i still have mine linked

azure hound
#

in my frustration, i may have linked a big mod author and said "how is this any different?" raeSip

#

theirs is still up so idk what to say about that

azure hound
whole raptor
uncut viper
ornate trellis
#

ah, i see

azure hound
#

yeah, as long as you're not openly offering mod-related commissions or memberships

uncut viper
#

or paywalling anything, even temporarily

ornate trellis
#

i guess my link sounds vague enough then

lime seal
#

I have some old JA mods I'm using. I've found an issue with some of the crops that I'm trying to troubleshoot, and since I'm not ready to abandon this save, I'm not converting all the JA mods over to CP (plus the process takes a while).

I noticed that a JA crop mod that gives a custom JA crop works just fine (Pokecrops). My issue right now is with Monster Crops, which gives a vanilla item (bat vines, solar essence, etc.). The seeds show up just fine, as does the crop, but when using Lookup Anything I see the harvest would be "error item", and speeding up the crop stage with CJB Cheats Menu results in no item. Could this be caused by a problem with the formatting, or is it just no longer possible to use a JA crop mod to yield a vanilla item?

Log: https://smapi.io/log/9ee0a9d2a2114a9da367ad7639f44a1e
One of the crop.json from Monster Crops: https://smapi.io/json/none/251cab91d9e94a2dba33cc31afb53a38
One of the crop.json from Pokecrops, for comparison: https://smapi.io/json/none/f285b3c8266d4a0e826fa900bba04301

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Pro, with 176 C# mods and 440 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

azure hound
#

mine linked to my twitter! which then linked to my ko-fi

ornate trellis
#

still finding it a bit weird in that case

azure hound
tender bloom
azure hound
#

oops this looks more sassy than i was hoping LMAO

#

tbh i had to file a report for a mod where someone was tracing my work and i don't think they liked how much traction my ko-fi was receiving? they had to double check my ko-fi to see the stolen work, so i suspect that had something to do with it

uncut viper
#

linking to a kofi, no way, nuh uh. offering a patreon exclusive beta for ur next release for a month or two? feel free. whats so weird to understand about this /j

tender bloom
#

JA under the hood is just CP-style edits for a lot of things

azure hound
#

again, i understand it, but i wasn't utilizing the platform like that and it felt really strange to feel like i was doing something wrong (when imo i wasn't lillulGiggle )

tender bloom
#

So I would expect the issue might be either I did a whoopsie or there’s something off in the data json stuff

whole raptor
lime seal
#

unrelated to anything: lune your clothes are super cute SBVPufferHeart

tender bloom
#

“I did a whoopsie” might be that I didn’t do the lookup for name to ID on vanilla objects correctly or something like that

azure hound
#

thank you so much! i'm so glad you like them hugs

ornate trellis
#

this feels very double-standard ish tbh

uncut viper
azure hound
#

i'm pretty sure we're talking about the same mod, that's the one i linked and asked how it's any different

uncut viper
#

almost certainly happens in other modding communities for other games, too

azure hound
#

which they seemingly haven't done anything about

#

i kinda feel bad, looking back i was a little blunt with my responses to the team LMAO they're just doing their jobs sdjhfjhs

uncut viper
#

(it was SVE. but to be clear, im not slighting Flash here, just the nexus double standards lmao)

azure hound
lime seal
azure hound
#

but also i think the difference is those mods are hosted on nexus, so they make money from them
having mine on another platform makes it so that they don't make anything from my mods existing

whole raptor
#

I didn't even know SVE had betas on patreon SDVpufferthinkblob

uncut viper
#

it did for its 1.15 update

lucid iron
#

It was sort of a private beta yea

#

You either be patreon or just ask flash

tender bloom
#

Probably my bad, sorry

#

My guess is that the original mod used the names of stuff

lime seal
#

No worries! Would you still like a patch export of the Data/Crops?

tender bloom
#

Instead of the IDs

#

Yeah that’d still be useful!

lime seal
#

Nah, it's the ID #

tender bloom
#

Hmmmm ok then I did something else wrong

#

I bet I can fix it though

lime seal
#

But this was before the (O) became standard

lime seal
tender bloom
#

Thank you!! Gotta go back to my office but I’ll take a look then

lime seal
#

thanks for looking into it, Elizabeth! I appreciate it SBVPufferHeart

calm nebula
uncut viper
#

i mean iw ould think commissions would be the like... quintessential first thought/example of "pay me to do modding stuff" SDVpuffersquee

calm nebula
#

Tbh and I would say it about everyone

#

At this point in my life I won't be anyone's free beta tester lol

#

To be fair, you can even strike "free" from that

#

I won't be anyone's beta tester. I'm barely my own beta tester ||except for unfortunate cooking experiments||

#

(I greatly appreciate everyone who has helped me test in the past)

#

I ☆☆really☆☆ do not understand paying someone to beta test for them.

brittle ledge
ornate trellis
#

anyone good with events in here rn?

spice inlet
#

depends on the question SDVpufferthinkblob

timid night
lime seal
ocean sailBOT
#

Ask your question or describe your issue here, and someone will help if they can!

ornate trellis
#

well, my question is can anyone help me figure out why my event gets stuck because im lost

urban patrol
#

is there anything in your log?

ornate trellis
#

I am making an event where an npc shows another around in a cutscene kinda deal with fade. for some reason the last one currently gets stuck in the fadeout and doesnt go to the next location and idk anymore(its around line 83) https://smapi.io/json/content-patcher/89f8d2334a884ce9800f8a5866014be7
I got nothing error wise in the log, actually no text at all after i do the debig ebi command to run it

#

i took out all other stuff i did after(thats why theres a blank around the end) because i feel like its because i added another npc but idk what i couldve missed in that regard(hes popping up in the location part i took out)

urban patrol
#

have you double checked that the location name is correct? i assume for lost island northern cliffs?

ornate trellis
#

ya i directly copied it from my locations.json and it worked before i added the npc ({{ModID}}_SeaDudeBarnabas)

urban patrol
#

line 90, is that meant to be two move commands? i only see one

brittle ledge
azure hound
#

i think this one only looks similar LOL
they remade the hat from scratch instead of tracing mine SDVpuffersweats

ornate trellis
gaunt orbit
#

@sleek igloo this was a feature of mumps, which isn't working on 1.6, but I've been working on a successor mod for 1.6 that also has that feature.

ornate trellis
#

man, im just so lost

whole raptor
#

What does true parameter do in viewport event command? SDVpufferthinkblob

urban patrol
#

oh i see the wiki does say that, cool

rough lintel
azure hound
urban patrol
# ornate trellis yea

just to test, what if you increase the pause 800 to longer? sometimes i encounter issues where the pause doesn't give them enough time to reach their destinations

azure hound
#

i feel like it's safe to assume it's mostly all stolen work, or at least taken work that has been edited

ornate trellis
#

im gonna eat a broom if the pause is the issue

urban patrol
#

yeah i mean i can't see any issue with your code, and 8/10 times i've had an inexplicable issue with my events, it's been related to move and pause lmao

#

you might ask aba when they wake up--they're the ultimate event expert

ornate trellis
#

aba already helped me earlier with the event i feel like a bother omg

#

but yeah increasing the pause didnt help

urban patrol
#

my only (and incredibly annoying) advice is to add commands in one at a time to see which one fails... although that'll take some time

ornate trellis
#

i did

#

i set it back to where i was earlier when it worked

#

the only difference is i added another npc

#

but i set them up off screen, warped them eqach time like everyone else

#

idk what i did wrong there

past knot
#

Hey sorry yall but is there a guide on making custom trinkets?

#

and enemies/monsters?

uncut viper
#

for custom trinkets you'll want to look at Trinket Tinker

Nexus Mods :: Stardew Valley

Framework for custom trinkets and companions.

#

otherwise without it their behaviour is all very hardcoded and you can do next to nothing with CP alone

brittle pasture
#

for custom monsters, if you want to spawn reskinned versions of vanilla monsters with fully custom sprites, stats, spawn location and drops look into Farm Type Manager

#

actually custom behaviors, similarly, need C#

past knot
#

Got it, Thanks you two!

dire nest
#

Hello 👋 I have a problem with setting the time it takes for a machine (Data\Machines) to finish its work!
My mod Uppergrade uses exactly the same time settings as the normal machines in Data\Machines... but somehow, it takes longer.
The time difference between, for example, the normal keg and my double keg depends on the ingredients. It's strange!

This issue seems to affect only my double keg! My cask is actually a bit faster than usual, and the furnace and preserves jar seem to be working normally. What can I do to fix this??

Hint: The keg is machine "(BC)12" in Data\Machines.

brittle pasture
#

if you copied code from the vanilla keg exactly, my only other guess is mod interference

#

Post your code and optionally log?

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Pro, with 30 C# mods and 38 content packs.

hallow prism
#

what can cause my recipes to be "greyed out" in cooking menu despite having a cooking recipe (and be of cooking category) and appearing in the actual cooking menu? is it a known mod interaction?

#

once the recipe is known they should appear "transparent" rather than just a silhouette

#

but i don't know why they don't and if it'll cause issue

blissful panther
#

*appears*

I have done a monstrous thing.

#

*disappears again*

rigid oriole
gaunt orbit
#

I'm on mobile too but I opened the image in firefox

blissful panther
#

Yeah, I'm not sure why the embed is such potato quality.

gaunt orbit
#

The text is standard smapi log. The monstrous thing appears to be a smapi launcher, with a button to upload the log file to the website

blissful panther
#

That, yes!

rigid oriole
#

Thank you!

uncut viper
#

(thank you bc I'm on mobile and opened in Firefox but was still missing it lmao)

rancid musk
#

Taking inspiration from the Android fork?

blissful panther
#

Actually inspired from something in the security discussion, weirdly.

#

Something in my brain went "ooh, SMAPI doing UI!"

And I had to do something about the itch. Turns out it's not too difficult at all!

brittle pasture
hallow prism
#

maybe a patch export?

#

!patchexport

ocean sailBOT
#

A patch export makes a copy of specific stuff in your content folder so you can see what changes have been applied.

  1. Load up a save (with Content Patcher installed)
  2. Type patch export <FILEPATHOFTHING> in the SMAPI console and hit return
  3. Look in your patch export folder in the game folder for the relevant json file or image
  4. If it's a json file, you can share it via smapi.io/json. If it's an image you should just be able to look at it.
hallow prism
#

(something like patch export data/machines then posting the result)

#

(i will go to sleep, good luck)

dire nest
rough lintel
iron ridge
rough lintel
#

im on mobile its all a blur lowkey

#

OH

#

UPLOAD A SHMOG…!

iron ridge
#

That's a new spelling of smapi

rough lintel
#

its a new spelling of log clearly 😎

hard fern
#

Discord mobile compression is amazing

#

I wonder if it would be possible to create a "profile" mod where if you click on a character in the menu it shows you things like their hobbies and occupation and stuff ...

#

Or maybe i can do my own version via... Idk

#

🤔 maybe secret notes could accomplsh the same goal ..

hard fern
#

🤔 it's nothing too complicated (in terms of what i want to do), i had just thought of like... As you progressed heart levels u lewrn more things ...

#

And it would fill out lines in a profile menu

#

I'd thought of like.. one thing for every 2 hearts + one for 14 hearts

#

Like whatever heart event u see seb workin on his bike it adds "likes motorcycle rides" onto his profile

#

Just small things

#

i really wish there were more non food items in the game... i wanna give NPCs trinkets and stuff....

whole raptor
#

That'd be fun! And probably the only reason for me to ever open the social menu SDVkrobusgiggle

worn spear
#

that would be cute

brave fable
#

funko pop flavoured item...

worn spear
#

does anyone else use flow charts for dialog

#

I am so deeply upset I didnt find it earlier

hard fern
#

Ive never used a flow chart in my whole life

worn spear
#

I like it for dialog bc it helps me map out the progression of stuff never liked them before

hard fern
#

That might be useful, especially for events

worn spear
#

it is

#

omg its awesome

gaunt orbit
#

I've seen a number of dialogue libraries that do that but personally I kind of hate it

worn spear
#

it just makes my planning sm better

gaunt orbit
#

I much prefer pure-text formatting for text information

worn spear
#

I like to add in too many choices something always gets lost

gaunt orbit
#

If I'm organizing something that's not going directly into a game I'll usually just use markdown

worn spear
#

I just dont have the enegry to code during finals week

#

and this is something thats keeping me sane rn

tender bloom
#

If I want shapes I write by hand

#

Then I can shape the text how I want

worn spear
#

I just need a way to format stuff so I can think clearly otherwise I lose my marbles getting lost in the code

#

I do mostly mc coding so this is a lot less linear ig to me

tender bloom
#

I like to change colors, too

gaunt orbit
#

Forgegradle my beloathed

worn spear
#

Fabric all the way

#

I dont use forge its lit dead at this point

gaunt orbit
#

There's still a lot of stuff on (neo)forge, it's not dying any time soon

#

Especially with sinytra

worn spear
#

neoforge is a diff thing

hard fern
#

I lost the topic we were on and thought u liked to write on fabric 😭

worn spear
#

MC mod loaders

gaunt orbit
#

Oh yes forge original flavor is turbo dead

worn spear
#

yeah thats what im sayin

hard fern
#

Im embarrassed it took me like 3 rereads to realize

gaunt orbit
worn spear
#

I am really getting into the datapack world palladium x origins is

#

awesome

gaunt orbit
#

It's beef a while since I tried modding. Maybe the neoforge gradle setup is less bad than og forge

#

Of course architectury is always an option too

worn spear
#

not sure I dont use neoforge

gaunt orbit
#

I use it because there's a number of big mods that I don't want to give up that are on there

worn spear
#

im prob swapping to SDV modding for a bit before I return even if my server is upsetti spagetti ab it

gaunt orbit
#

Sdv modding is way more fun

worn spear
#

ive had this seb rework as a WIP for ages

#

I have spent the last few days composing music for it

#

its all nine inch nails type shit

#

idk how to do anything else

gaunt orbit
#

Lol

worn spear
#

idk what it is

#

I just cant do anything else

brave fable
#

i mean that sounds sick but also wild tonal whiplash going from banjo to grunge

worn spear
#

yeah I know thats part of the issue

#

and its like really industrial

lucid iron
#

can u have grunge banjo

worn spear
#

I fear most of this mod will be giving whiplash

brave fable
#

new joja theme

worn spear
#

I can try

lucid iron
#

idk shit about music please explain

brave fable
#

grunjo

worn spear
#

like the music ive made is all weird and sad

calm nebula
#

What's Sam's rock music like again anyways

lucid iron
rough lintel
worn spear
#

am I allowed to share audio files idek the rules anymore bc I will drop this weird stuff

rough lintel
#

the bluegrass one is the best because its so funny and i laugh whenever i hear it

lucid iron
rough lintel
worn spear
#

also loud

#

shockingly I only listened to bad witch while making this LMFAO

brave flicker
#

I have a question, how do you check for an animation? Like how would I execute something only if the player is currently in the sword swing animation?

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Microsoft Windows 11 Home, with 16 C# mods and 5 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

gaunt orbit
#

jokes aside you would have to find all the farmer animation frames for that animation and check if it's any of them

#

possibly you could use UsingTool and then check if the current tool is MeleeWeapon and if the weapon type is the sword type? but that will also trigger while blocking

#

generally the answer to "how do I know if this farmer animation is playing" is "you don't"

#

you can check the current specific frame, but all animation sequences are hardcoded and handled outside the farmer sprite

brave fable
#

otherwise there's really no unique identifier for whether the FarmerRenderer is currently animating for a sword, a tool, a squat, a horse, whatever; you just have a series of arbitrary number IDs for switch cases in the renderer that play an animation sequence by setting arbitrary frames and callbacks

#

each number ID also varies depending on the FacingDirection of the player as well, so you'd need to check for each of them if you're looking to run your code at all times by watching the farmer sprite

#

again, probably easier to just insert your method call on the swordswing method directly rather than watching for id changes

sour sleet
#

Applying an EditImage to my custom world map is causing it to not show up at all. How do I fix this?

#

I want to apply a recolour to it

brave fable
#

share your log (with patch summary) and content file ✨

sour sleet
#

Oh hang on

#

I commented stuff out earlier to test stuff, my bad! I think it will be fine now c:

#

It's refusing to even bring the map up now 😦

ocean sailBOT
#

Log Info: SMAPI 4.2.1 with SDV 1.6.15 build 24356 on Microsoft Windows 11 Home, with 16 C# mods and 5 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

brave fable
#

The content file was not found.
---> FileNotFoundException: Content\Mods/8BitAlien.Lilybrook/LilybrookMap.xnb
seems pretty cut and dry!

#

doublecheck you're loading the asset before editing it, and that the target matches the expected path (minus .xnb extension and content\ prefix)

sour sleet
#

Sure!

#

Can I DM it to you though? I wanna keep my expansion private as I can. No worries if not!

brave fable
#

sure!

vernal crest
vernal crest
lucid iron
#

the event seen thing is a hashset

#

it doesnt actually check if the event is a real one

opaque field
vernal crest
lucid mulch
#

ebi ignores preconditions and will just use the first it finds afaik

opaque field
#

Yes, but let me test it again.

rigid musk
#

For the "DayOfMonth" precondition, if im listing multiple days do I separate each day with a comma or just a space

vernal crest
# opaque field Yes, but let me test it again.

Also I don't know why I didn't mention this last night, but I'd recommend removing all your other content mods when you're testing your own, at least until you're ready to specifically address compatibility.

vernal crest
opaque field
lucid mulch
ivory plume
rigid musk
#

SDVpufferheart thank you!

ivory plume
opaque field
#

Ok I went through and removed pretty much all the content mods 🙂

#

let's see how this goes

opaque field
#

I'm so happy I could cry rn

opaque field
opaque field
#

Now to test the 5 new events I scripted today

sour sleet
#

I've set up an NPCWarp. Will my npc automatically use that to get somewhere in their schedule?