#making-mods-general

1 messages · Page 240 of 1

rancid musk
#

In my experience people still notify me over error level log messages so I want as little to break as possible in the meanwhile.

twin oracle
#

.... Can I buy you a coffee?

#

ffs, that was such a simple solution. Sorry for wasting your time.

rancid musk
#

But yeah, GetApi<T>(...) will throw an exception. Take this code: csharp Log("Hi there!", LogLevel.Warn); var api = Helper.ModRegistry.GetApi<IBetterGameMenuApi>("leclair.cloudyskies"); Log($"API: {api}", LogLevel.Warn);
obviously, that's going to fail because it's trying to get the API from one mod using the interface of an API from a different mod. Running that code logs: [Better Game Menu] Hi there! [Better Game Menu] This mod failed in the GameLoop.GameLaunched event. Technical details: ArgumentException: Unhandled proxy/conversion method for info: ProxyInfo{target: TypeInfo{context: leclair.cloudyskies, type: Leclair.Stardew.CloudySkies.ModApi, CloudySkies, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null}, proxy: TypeInfo{context: leclair.bettergamemenu, type: Leclair.Stardew.BetterGameMenu.IBetterGameMenuApi, BetterGameMenu, Version=0.5.1.0, Culture=neutral, PublicKeyToken=null}} ---> ArgumentException: The IBetterGameMenuApi interface defines method CreateDraw which doesn't exist in the API or depends on an interface that cannot be mapped!

calm nebula
#

I think I'm in the camp where I assume users are malicious and authors are incompetent

reef kiln
#

how would I add SVE trees to a farm map so the map has some sve trees on it to start? I feel like it should be easy but I cant figure it out.

calm nebula
#

Not in a mean way, but in a code paranoia way

#

So yeah, try catch all api calls, can't be sure anyone knows anything about apis

rancid musk
#

Pretty much.

#

At the very least make sure something breaking in your initialization code won't cause other important code to not run.

#

Fail as safely as possible. Your users deserve it.

rigid oriole
#

I also expected this to return null ngl

calm nebula
#

I also assume I am incompetent

#

Or at least, I am sometimes

rancid musk
#

Honestly this might be a SMAPI bug

lucid iron
#

Paths only has vanilla trees on em

rancid musk
#

If you consider the docstring...

lucid iron
reef kiln
lucid iron
#

I mean ftm is also just a framework

calm nebula
#

Can't you use the wild tree spawn paths tile

#

I suspect sve bus stop has an example

twin oracle
#

Oh hell, now I'm getting a different error: https://smapi.io/log/a0bcd5e185854a9a97778f121b83818e

Can't apply patch Ultimate Farm CP > Load Maps/UltimateFarm to Maps/UltimateFarm:
StardewModdingAPI.Framework.Exceptions.SContentLoadException: Ultimate Farm CP loaded map 'assets/UltimateFarm.tmx' with invalid tilesheet path '../../../../Content (unpacked)/Maps/paths.png'. Tilesheet paths must be a relative path without directory climbing (../).
ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on macOS Unix 15.3.1, with 25 C# mods and 6 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

ornate locust
#

I believe SVE's paths layer has the new tree type on it

ornate locust
#

because I know I saw one of those trees when I was patching for SVE and it was on the path layer

urban patrol
proud wyvern
#

no point try-catching yourself, since SMAPI already does and logs the error anyway.

rancid musk
#

That is the source of the exception, not what you were talking about.

proud wyvern
#

hm

rancid musk
#

If someone is getting an API instance as an object? for some reason, then they're fine, but that's gotta be like 1% of people at best.

#

And quite possibly no one

proud wyvern
#

yeah that sounds like a bug then

lucid iron
#

What would u do with an object? API

gentle rose
proud wyvern
#

cast it yourself to a hard-referenced type

rancid musk
#

cast it yourself if you have a hard dependency I guess?

proud wyvern
#

or reflect into it

rancid musk
#

Or that, yeah.

calm nebula
#

Otoh I would like to have the exception

#

Just to help debug

lucid iron
#

Well it should probably log but not throw

rancid musk
#

Based on the docstring it shouldn't throw.

lucid iron
#

Would help in case where mod author change their api incompatiblely for some reason

ornate locust
#

I was patching in this area and if I'm not mistaken, the tree marked with the C there was one of the new trees

calm nebula
#

That automatically logs, etc

reef kiln
calm nebula
#

Tbh

#

I don't like living that way

ornate locust
lucid iron
#

I assume other mod authors r very smart and then become sad

ornate locust
#

so maybe SVE does something that puts the new tree where a generic spawntile tree property marker is?

rancid musk
#

I assume I am very smart and then I read my own code from more than 1 hour ago and then become sad

twin oracle
gentle rose
#

nothing like reading your own code after you briefly look away to keep you humble

ornate locust
#

I know I noticed it though, I thought I'd caused a Ridgeside map incompatibility but actually Ridgeside painted down the top of the tree that USED to be there in place, before they used a spawn tree tile instead and when it was a different tree type. So there's a bit of a different tree that was floating on top of the new tree

#

It's something to experiment with anyway

gentle rose
#

I'm finally back to sitting at my computer after like a month of not doing it, maybe I'll finally even have the energy to mod again

reef kiln
#

I think I will play around with it and see. I really don't want to have to use FTM to place each tree with code. I am doing it in tiled or I will just forgo it.

ornate locust
#

here's where I reported it to Ridgeside, that's definitely the new type of tree, right?

#

So yeah it's the path tile with the C on it

reef kiln
#

OK, I will try that.

gentle rose
#

gonna make a mod where your farmer is asthmatic and randomly gets dizzy at random points because they can't breathe. write what you know and all that SDVpuffersquee

#

(seeing as there are some cleverer C# authors in chat, just how cursed would rotating the farmer sprite be)

lucid iron
#

Have fun with FS

proud wyvern
#

anything that touches farmer rendering is instant hell difficulty

gentle rose
#

fs isn't my biggest concern rn, since I assume if I manage to rotate the farmer I can manage to rotate that eventually too pffft though I'm sure I assume that purely because I have no idea what I'm talking about

lucid iron
#

I actually think it's not so bad without fs in the mix cus u just gotta transpile replace all the rotate args

proud wyvern
#

if the game didn't use SpriteBatch layer depth, it could have been doable with some matrix transformations instead

rancid musk
#

Clearly you should just draw the farmer to a render texture and then rotate that

gentle rose
lucid iron
#

And if u just want farmer to face different directions then u can force that i think, without touching renderer

proud wyvern
#

would still need to stop the original from rendering, and working with render targets is a pain if by default switching to a render target clears it (but i genuinely don't remember if the game uses one before rendering it to the screen, or does it do so directly)

rancid musk
#

The game sometimes uses a render texture

gentle rose
#

the game renders things based on vibes as far as I can tell

rancid musk
#

Depends if you're in split screen or taking a screenshot, normally.

#

Some mods patch it to always use a render texture.

gentle rose
#

oh this is going to be hell for a completely unnecessary mod idea. Genuinely might do it

#

well, attempt it

rancid musk
#

The game decides if it's using a render texture or not based on Game1.ShouldDrawOnBuffer()

ornate locust
#

just remember, no matter how silly your mod is, somewhere out there is someone who will go "hell yes, I needed this"

rancid musk
#

Oh, right. It also uses a render texture if your zoom level isn't 100%.

proud wyvern
#

i'm on constant 75% iirc

#

i need to see everything

gentle rose
#

does fs use the same render texture? or does it draw on top of where the farmer is

reef kiln
#

I even have an extra zoom out mod.

rancid musk
#

I have a 4k monitor just by existing I am zoomed all the way out

gentle rose
#

care to spare some pixels? I'm on a 1366x768px pffft

rancid musk
#

Ah yes, 1366 x 768 the objectively worst screen resolution.

lucid iron
#

Have u tried downloading more pixels

rancid musk
#

downloadmorescreen

gentle rose
#

it was bundled with the ram I downloaded but ever since then I've been getting weird popups about things doctors hate?

lucid iron
#

My game used to mysteriously zoom out to 75% because my primary screen is at 150% scale

#

Even tho game's on secondary screen

gentle rose
#

...what if I just say that on the map this happens on, the farmer's appearance magically changes, then use a premade npc sprite and hide the farmer pffft

tawny ore
#

I have an ultrawide monitor, but I think have something like a 25%/50%/25% zones so my game takes up the mid-50% of the screen

#

And then I have like Discord and Youtube on the sides

rancid musk
#

That sounds like 3 monitors with extra steps

tawny ore
#

3 monitors with no bezels

hot gale
#

You guys zoom in?

gentle rose
#

out, we zoom out

rancid musk
#

How are all these people zooming in when modders don't play the game

#

That's the real question you should be asking

hot gale
#

I finally found a mod list im happy with so im playing finally rofl

lucid iron
#

Well we test things sometimes

#

Ideally

hot gale
#

Market Town is so cool

ornate locust
#

I totally have screenshot proof that I have been ingame recently (on a generic test guy)

reef kiln
tawny ore
#

Here's and older screenshot of what my maximized game looks like

hallow igloo
#

getting this error:
Required location 'Polydot.PolyCarts_Expa' not found.
last time I modded was 1.6.3, was there an update somwhere that removed periods from IDs?
based on this line in content patchers summary: hint: asset name may be incorrect (shouldn't include '.PolyCarts_Expa' extension).

lucid iron
#

Is that a custom location or a Data/Location

hallow igloo
#

I don't think I know what that means

#

it's a custom location, not an edited location from vanilla

#
        {
            "Action": "Load",
            "LogName": "Location Load Expa",
            "Target": "Maps/Polydot.PolyCarts_Expa",
            "FromFile": "assets/Expa/Expa.tmx"
        },
        {
            "Action": "EditData",
            "LogName": "Location EditData Expa",
            "Target": "Data/Locations",
            "Entries": {
                "Polydot.PolyCarts_Expa": {
                    "DisplayName": "Expa",
                    "DefaultArrivalTile": {
                        "X": 19,
                        "Y": 19
                    },
                    "CreateOnLoad": {
                        "MapPath": "Maps\\Polydot.PolyCarts_Expa"
                    }
                }
            }
        },```
lucid iron
#

There's no update that removed dot from id afaik

#

Yeah this is Data/Locations

#

!log

ocean sailBOT
#

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

Please share your SMAPI log file. To do so:

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

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

hallow igloo
#

oh wait you mean the depricated custom location thing instead of changes

lucid iron
#

Yeah

hallow igloo
ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 10 Pro, with 19 C# mods and 20 content packs.

rancid musk
ornate locust
# reef kiln OK, I will try that.

I have done some... let's call it exploratory forensics, since I have it downloaded. The frontier map appears to have many placements of that C tile. I think it calls up any wild tree, and SVE adds those new trees to "Wild trees", so it should at least sometimes place one of those

rancid musk
#

Oh lol it's not even embedding cause of my screwy resolution lol

ornate locust
#

So I think SVE itself adds them to farm maps that way

rancid musk
#

But yeah, exactly.

tawny ore
#

Do you not test/play with Skip Intro and Fast Animations?

hallow igloo
rancid musk
#

I usually test with them, they just aren't in my mod set right now cause I've been messing with things.

brittle pasture
rancid musk
tawny ore
#

It's funny (and mildly annoying). I have an ultrawide, but most games I play in fullscreen on it give me motion sickness.

ornate locust
gentle rose
#

does it count as 100% zoom if your monitor is an imax theatre

hallow igloo
#

never trust flash to do things that make sense

dusk mulch
ornate locust
gentle rose
#

(the joke was how big Khloe's monitor is)

hallow igloo
#

I'm unsure is Chuve is checking out my logs and I'm waiting very patiently or if they wanted me to post my logs jsut in general and I'm waiting on nothing

hallow igloo
tawny ore
#

My monitor at least is 49" so tiny

hot gale
#

Can I add a mod while my game is running? lol

tawny ore
#

It won't load until you restart

rancid musk
#

My 4k monitor is only 28", and I've got a 27" 1440p monitor to each side of it

gentle rose
hallow igloo
#

do you need the weirdest backgrounds to have windowsnot fuck that up or do you jsut duplicate them

tawny ore
#

This is what I use

gentle rose
#

'only 27" '

mine is 18.5"

hallow igloo
#

@lucid iron in case you were still looking, the problem has disappeared and I can't recreate it... so hurray

ornate locust
#

and it looks like I haven't missed anything on my own patches by not realizing a layer was hidden SDVpufferparty

hot gale
#

If someone makes a translation of my mod and uploads it independently is it in bad taste to include it in my mod?

uncut viper
#

yes. not only is it bad taste, but you dont have permission

tawny ore
#

I don't think you automatically have rights to their translation without their permission

#

They can reasonably request to have your mod taken down if you steal their work

uncut viper
#

their translation is their own work and you dont own it

hot gale
#

Gotcha, wasnt sure the protocl ty :)

#

protocol* ?

tawny ore
#

You can message them though and ask if they're alright with you embedding

hot gale
#

🤣

tawny ore
#

If you have proof of their permission being granted, that'll protect you from any unwanted moderation actions being taken against you

lucid iron
uncut viper
#

you technically also have the right to say they dont have permission to distribute a translation, too, butu sually mod authors want people to translate their stuff

lucid iron
#

your case is not that which makes me think this check should be less broad kyuuchan_run

acoustic summit
#

Somewhat related random question, If you weren't okay for some reason with a translation being uploaded separately are you allowed to request it to be taken down? (Button answers this, AwA should've waited 1 more second before pressing send)

hot gale
#

They asked if they could translate

uncut viper
lucid iron
#

there was a case recently actually

uncut viper
#

as a copyright owner you have the right to decide how derivative works are distributed, and that includes translations

lucid iron
#

someone did a llm translation of bear family and the mod author of bear family didn't like that

#

even though originally they did give permission to do the translation

#

the resolution is tl is taken down

#

common law SDVpufferthumbsup

tawny ore
#

Unethical advice - if you don't want translations on their own pages, just randomize your keys every release (don't actually do this)

hot gale
#

I thought about including AI translation with my mod but someone here advised against it

lucid iron
#

i mean theres no point is there

#

lets say i cant read english but i like ur mod

#

why dont i just mtl for personal use

hot gale
#

🤷🏽‍♂️

uncut viper
#

also machine translation is worse than an actual translator

lucid iron
#

if you include a mtl then actual translator would go

#

oh its got a fr.json or whatever

#

and skip

gentle rose
lucid iron
#

there r definitely ppl just grabbing whatever mod and tossing it into mtl tho

gentle rose
#

(said with love)

hot gale
#

whats mtl

lucid iron
#

machine translation

dusk mulch
rigid musk
#

I also would ask for any AI translated versions of my mods to be taken down, I don't like that sort of thing

ocean sailBOT
#

@rigid musk You leveled up to Shepherd. Wow, you've been talking a lot! Have a prettier, slightly more brag worthy, shade of blue.

rigid musk
#

I don't- oh well then

tawny ore
#

I want robots to do absolutely everything for me

lucid iron
#

matt did u plan this

#

what the heck

ornate locust
#

wh

rigid musk
#

I don't want anyone putting my work into AI at all, and if you're gonna translate it, translate it yourself (respectfully)

tawny ore
ornate locust
#

how did you do that so fast

lucid iron
#

shade of blue MedStare

rigid musk
#

I think it was coincidence but it was aa very good one

#

like unholy timing

lucid iron
#

power.

ornate locust
#

I thought it was part of the bot command for a second

rigid musk
#

One day I will be even higher of a level... maybe one day if I spiral into more mental illness

#

/pos of course

#

I like this server and the people here you guys are great

lucid iron
#

yea but ur orang forever

gentle rose
#

but then you won't be qi blue any more

rigid musk
#

I would never get rid of the cheeto dust anyways vibincat

#

I'm Qi blue in my heart its okay

gentle rose
#

you're already less qi blue than your last server role. you're becoming less and less qi-like SDVpufferwaaah

rigid musk
#

My profile will fix it for me it's okay Iro

dusk mulch
#

i forgot the rule

#

let me check

rigid musk
#

Nuh uh never

#

I like my cheeto dust :(

#

One day I will collect all of the cheeto roles... like pokemon

#

blacksmith is just out of reach... just out of reach...

dusk mulch
#

You can ask for your special roles to be removed as a one-time courtesy. If you want that role back within two months of asking (or within two months of leaving the server and rejoining), you will get the role back. After two months have passed, though, you will have to re-earn that role. Mod Authors: If, during the two month grace period, the community list on the wiki is scrubbed, you will have to re-add your info to get the role back.

dusk mulch
gentle rose
tawny ore
#

I wonder if you need to re-earn the level for access to the decompile repo

ivory plume
#

If the repo permissions are synced while your role is removed, your repo access will get removed too. But you can just reapply for it when you get the role back.

rigid musk
dusk mulch
rigid musk
#

(I also think it looks super pretty in general)

ornate trellis
#

imagine having asked for the decompile repoSDVpufferchicksweatsip

rigid musk
#

Pathos is a god in the modding sphere in general tbh

ivory plume
rigid musk
#

Humble too apparently /silly

lucid iron
#

i hope pathos doesnt rm -rf / us

patent lanceBOT
dusk mulch
ornate trellis
#

infinite cake

#

moebius strip cake?

tidal stone
#

do we have a sleeping bag tile sprite

tawny ore
#

The 2 cakes rule is recursive

calm nebula
dusk mulch
tidal stone
#

i feel like linus has one but idr

gentle rose
tidal stone
#

ah ty

tawny ore
#

You know what's better than one cake? Two cakes. And what's better than 2 cakes is 3... and so on...

ornate locust
#

Recursive Cake Rule

#

Wait I know something for this hang on

rancid musk
#

n+1 cakes

lucid iron
#

pies

calm nebula
#

Cake

ornate locust
calm nebula
#

Morning, everyone

lucid iron
#

i wonder what feature has the most cakes

uncut viper
#

portraits

ornate trellis
#

i just found out people actually made mobius strip cakes, huh

lucid iron
#

polyamory peaked at 3 at one point

#

or maybe only 2.5

gentle rose
#

mathematically speaking, if two cakes are better than one cake, then then replacing one of the cakes with two cakes makes that part better, and therefore the whole thing is better, and therefore three cakes are better than two

lucid iron
#

i guess "automatically plant thing" is also very common

#

hence selph's woes

calm nebula
#

There are like endless mods to play the game for you

gentle rose
#

I reckon it's one of the really simple features that people use as their first mod

lucid iron
calm nebula
#

Introducing my new mod, tedium increaser!

gentle rose
#

I've definitely seen there be like five+ mods for one feature before

rigid musk
#

catpeek I have no clue what any of you are talking about right now... but okay

rigid musk
#

Make everything tedious >:]

calm nebula
#

It increases the tedium of the game

rigid musk
#

in 1.5 I put together a modpack that made everything awful ... I enjoyed it

lucid iron
#

makes u have to click multiple times to hoe up a patch to plant things

calm nebula
#

No

lucid iron
#

must till the dirt

gentle rose
#

makes animations slower

tawny ore
#

I think harvest with scythe has been done 3 times before it was vanilla

ornate trellis
calm nebula
#

Chue. You must till in real life

rigid musk
#

click multiple times AND slower animations...

gentle rose
#

removes the area effect tool upgrade

uncut viper
tawny ore
#

And I'm pretty sure there have been a few cooking skills

hot gale
#

haptic feedback vr mod when

lucid iron
#

cooking is at 3 rn right bolbthinking

tidal stone
#

im crying the sleepingbag is not transparent it is in fact part of linus' tent 😭

lucid iron
#

maybe 4 even (the 3 i was thinking of is loc yacs and cooking overhaul)

tawny ore
#

A few tooltip mods, a few chest label mods

gentle rose
#

several horse thinning mods

calm nebula
#

Realistic farming mod

gentle rose
#

auto-gate openers are at like at least three

calm nebula
#

Beatles eat your crops

lucid iron
#

tax mods

tawny ore
#

So many cakes

calm nebula
#

Your cows break into your silo

#

Your chickens die of bird flu

gentle rose
tawny ore
#

Because it's been a hard day's night

ornate trellis
gentle rose
tidal stone
#

i also with the footprints were just a png and not part of a floor item, then i could make different paths dirty :3

ornate trellis
#

shh dont tell everyone bout my englisch spelling weakness SBVLmaoDog

final arch
tawny ore
#

And I'm pretty sure there are a ton of mods that make fishing easier in different ways

tidal stone
#

hmm i wonder if i could do that but idk if i wanna do a tilesheet

calm nebula
ornate locust
#

I find things like that a little annoying? Maybe it'd be easier with footprints, but trying to do it with windows as an overlay was not working out when I tried it

rigid musk
# ornate trellis now i wonder what you consider awful

I had:

Challenging Community Center Bundles (the hardest one at the time there were levels
Balanced Valley (I think the hardest version)
Love Of Cooking with the slow regen setting on
Survivalistic but I amped it up a bit so that things took a lot of food/water
Easier Monster Eradication but I set it to the highest setting because you can actually make it so that you have to kill more monsters
Spice of Life

final arch
#

well under these circumstances.. appropriately okay? 😄

ornate locust
#

too many shades and stuff in light that were definitely based on the surface itself

tidal stone
#

mmm true

rigid musk
#

I think I also had some dnd stat like thing where you have to select your stats and stuff

tidal stone
#

alternatively i could make alternative floors with footprints

ornate trellis
#

rly cant unthink ringo just being on your farm stuffing some wheat into his face, hm

lucid iron
#

did mr qi whisper in your ears and tell u to challange yourself

ornate locust
#

I was gonna do alternate window lights on floors so I could do it from the side, but I super lost patience with it and didn't like my results

rigid musk
tidal stone
#

i think its so funny morris is an item you can put in your house

ornate trellis
calm nebula
old edge
#

so what does !SawEvent do? when modding events it's one of the preconditions? It used to be just k

rigid musk
ornate trellis
#

which reminds me i am still tempted to make the every npc is a sock mod

rigid musk
#

We got every npc is a straw, now get ready for ...

ornate trellis
#

i drew abby back when we talked about that straw mod tbh

#

but thats about it lol

lucid iron
#

every npc is parsnip

#

but they get one (1) identifying accessory

ornate locust
#

tell ya what, I'll give the footprints thing a shot when I retry doing the window lights. Which is right now, I guess

ornate trellis
#

i literally jsut drew a purple sock, might actually do sockpuppet style if i am ever crazy enough to do it

calm nebula
rigid musk
#

My friend recently got me stuff to learn to crochet... it was so nice of her 🥹

ornate trellis
tawny ore
#

SDV needs a knitting skill mod

dusk mulch
ornate locust
#

wait I think I got the window lighting cracked

#

Just needed to rest the ol brain, hell yeah

#

It's gonna have to be floor specific but this is working

tidal stone
#

If I put in 2 tile coords will it work in the warp command for both tiles in tiled

#

like if i wrote

#

14 9 KandiKraze.TheNeighborhood_TheNeighborhood 47 54
15 9 KandiKraze.TheNeighborhood_TheNeighborhood 47 54

#

would it apply to both tiles or just break the code

dusk mulch
lucid iron
#

yea it makes it so that 14 9 and 15 9 both goes to KandiKraze.TheNeighborhood_TheNeighborhood 47 54

#

use AddWarps AquaThumbsup

tidal stone
#

AddWarps as a second warp? or as the only warp rn its just
Warp 15 9 KandiKraze.TheNeighborhood_TheNeighborhood 47 54 15 9 KandiKraze.TheNeighborhood_TheNeighborhood 47 54

dusk mulch
#

I recommend addwarps as you can use tokens

calm nebula
dusk mulch
brave fable
dusk mulch
#

ok ok i will stop with the memes

brave fable
#

like there's f(x) different sebastian dialogue mods out there. an intangible number

rancid musk
#

Out of all the NPCs in the game, I always forget about Sebastian existing.

calm nebula
#

Khloe Sebastian expansion mod when

candid stratus
#

If a tile in the tilesheet is completely transparent and you put it on the buildings layer, will you be able to walk through it or not?

lucid iron
#

you will not be able to walk through it

#

invisible wall upon thee

candid stratus
#

fair

#

but only tiles on the buildings layer will be walls right?

lucid iron
#

you can make Back layer not passable if you want

#

[[modding:maps]]

lucid iron
#

see tile data passable

#

a mod i recommend is data layers

#

it's got a mod that let you see whether layer is accessible

candid stratus
#

okay thanks

potent folio
#

how hard would it be to make a mod turning grandpa into grandma

#

ping pls

lucid iron
#

replace all dialogue mentioning grandpa with grandma

#

thats about it, since grandpa not a real npc

potent folio
#

so not very hard?

lucid iron
#

its a fair amount of work but all doable via content patcher

hard fern
#

You might run into compatibility (dialogue) where other mods will mention your gramps but that's about it

lucid iron
#

for grandpa ig u have the intro to redraw

#

and then that ghost grandpa sprite

potent folio
#

well the mod is mainly for me, i’d publish it but i wouldn’t work too hard on compat since i play mostly vanilla

tidal stone
#

im showing a friend of mine how much of my mod ive made so far :3c

ornate locust
#

Now to footprints

reef kiln
#

in tiled is there a way to copy the titled data and the layer below it so I dont have to type out the info everytime? I just want to copy and past the exact same properties

whole raptor
devout otter
#

To be honest, I'd just do a Replace on "Grandpa" on the script, see if there's any pronoun on the surrounding lines, patch those in and then let users detect the rest. >_>

tidal stone
#

woohoo found a buncha bug while showing my friend the maps ive done so far, time to fix 😎

tawny ore
tidal stone
#

knitting mini game where you have to put the needle through the right hole as your hand goes back and forth when?

calm nebula
#

I've mentioned before that knitting and gaming both hit the pseudoproductivity pathway

cyan venture
#

That nice

tawny ore
#

More clothes would be neat, but how about rectangular blankets

#

Because that sounds easier

tidal stone
#

best desirable version of a knitting skill mod - mini game
you miss four or maybe five times and yuou fail to knit something but if you knit it perfectly its an iridium level item and you can give it to whoever but the more you miss the lower the grading goes until its considered a garbage item by citizens

this would be my dream version of that mod but alas ik it would be way difficult

#

and you gather xp that way like fishing uwu_nod
you need the materials to do it before hand omg that could be a game by itself

collector game where you must forage for better and better matts to make the ultimate knitting project XD

uncut viper
#

you should be able to knit any custom clothing you want by deciding the color of each individual pixel in the resulting clothing item

tidal stone
#

steady folio
dusk mulch
#

i wonder if its possible to make SDV in SDV

tiny zealot
#

first, implement a general-purpose computer. then write a C# runtime for it

calm nebula
#

Why

dusk mulch
#

LOL i accidentally made the animation for my NPCs weight lifting too fast so he was just picking them up and slamming them on their toes over and over again

tidal stone
#

you know

#

if making the actual maps dont make ya kick the bucket then the fact you have to always go in every individual one and remove the pathing might because omg is it so annoying

tawny ore
# tiny zealot first, implement a general-purpose computer. then write a C# runtime for it

general-purpose computer
best I can do is a Loom https://youtu.be/ERqi9EfswKQ?si=oVMEhElVOVNJUU5Z

Check out the Blood Moon “tracklist” here: complexly.info/BloodMoonTracklist

In the early 19th century, a French weaver named Joseph-Marie Jacquard was searching for a better way to make fabric. And in so doing, he managed to invent a loom that inspired the first proper computer.

Hosted by: Savannah Geary (they/them)

Support us for ...

▶ Play video
dusk mulch
tidal stone
#

when i open the map up agai in tiled i have to redirect back to those files and then that resets the path so i have to go in and fix it again

dusk mulch
tidal stone
#

im not exporting at all im just saving it

dusk mulch
#

You need to export it I think. (Someone correct me if I am wrong)

uncut viper
#

you dont need to remove the paths every time if they are always in your tmx folder alongside it to begin with

tidal stone
#

im worried ill forget to take them out when im done lmao

uncut viper
#

well, thats a different issue. you definitely do not need to fix the paths every time when making maps

tidal stone
#

i see i see

dusk mulch
#

How can I stop it from commenting out?

uncut viper
#

you can escape the quotes like this \" but you also dont need the quotes in the first place

dusk mulch
#

That is what the wiki says

uncut viper
#

you shouldnt need quotes if there are no spaces in the translation key

#

tbh im not sure thats required. but i cant say ive tested it, so w/e. escape the quotes then

dusk mulch
#

Alright

calm nebula
#

No the quotes are needed

#

You need to escape the quotes

#

The parser literally looks for quotes

#

Tis hilarious

uncut viper
#

i love when a game is consistent across the entire codebase

#

wish i could see it happen someday

tiny zealot
#

something something variable number of arguments to a schedule entry

calm nebula
#

That will never happen

#

It is impossible for codebase to be consistent

uncut viper
#

a variable number of arguments sure but the schedule key in question there is all one piece

tiny zealot
#

thinking about whatever kind of item it is where some fields are at different indexes depending on language because the translation key offsets it by 1

#

or was that fixed in 1.6, i forget

calm nebula
#

Anyways

#

Tired. Exhausted. How are you guys

uncut viper
#

full of caramel hot chocolate

calm nebula
#

I worked pull-ups on Monday and my back still hurts lol

#

Caramel hot chocolate sounds good

tiny zealot
#

taking a breather from stardew and working on a totally unrelated pet project, but hanging out on here anyway

calm nebula
#

Enjoyyyyyyy

tidal stone
#

i have like a bnajillion saves and all of them are me just testing mods

dusk mulch
#

I want 2 trigger actions to occur 1 after the other when you break a certain stone on a map, but I only want it to happen 1 time. Is there any way I can do that with a framework or vanilla modding?

rancid musk
#

@uncut viper Ahoy! Searchable Collections Page is not currently compatible with Better Game Menu, and it doesn't appear to have its source code available. Digging into the DLL, I can only find one reference to GameMenu and that's a Harmony patch, so it probably won't be difficult to add BGM support. Wanted to make sure you're aware.

uncut viper
#

tbh i didnt remember that even patched GameMenu. it might not even need to. ill look into it a bit later

rancid musk
#

I admit I'm not sure why you're targeting GameMenu and not CollectionsPage for that specific patch.

uncut viper
#

your guess is honestly as good as mine

rancid musk
#

If it was a postfix I might think it had to do with if a click caused the current tab to change, but... it's a prefix

uncut viper
#

that mod started as a "can this be done/can i do this?" experiment before i actually decided it was going to be a mod proper, so theres a non zero chance i just patched whatever at first to see if it worked, and never made it better later

dusk mulch
#

I have put a post on the Maps Discussion page noting that the Sand Dragon tile property is listed but the other parts of the Mr Qi quest are not.

If enough people want to remove/add the rest then that post is there for reference.

tidal stone
#

I forget is an i18n used in place of a content json or in addition to

dusk mulch
#

So

{
"Key": "String"
}
{
  "Action": "EditMap",
  "Target": "Maps/Town",                            "MapTiles": [
               {
"Position": { "X": 72, "Y": 15 },
                    "Layer": "Back",                                             "SetProperties": {
                    "Action": "MineSign {{i18n:Key}}"
}
}
]
}
tidal stone
#

uwu_nod so its in addition to. If i understand correctly?

dusk mulch
lucid iron
#

say is there any framework with trigger on machine complete

brittle pasture
#

looks like a BETAS add request

uncut viper
#

i avoided it because of the potential for 500 machines finishing at once with automate resulting in 500 simultaneous triggers

lucid iron
#

yea hm cant debounce triggers

#

ok it's officially EMC request now

#

open a custom field that takes actions plox

#

i need this machine to spit out a baby

brittle pasture
#

sounds concerning, I'm in

lucid iron
#

well its not just this anyways

#

all i am doing is add a trigger action that forces baby event

#

instead of going through the nightly questions

#

but it would be fun to just have alt ways to get a baby

uncut viper
#

i believe they call that adoption

lucid iron
#

found baby in keg AquaThumbsup

#

the only kind of adoption in vanilla is legal and boring

hard fern
#

If only bamboo existed in stardew

#

Well, we always have peaches

lucid iron
#

it doesnt but

#

u need hueg bamboo anyways

#

and hueg peach

uncut viper
#

there is no trigger in any framework that i know of for breaking a specific stone on a map

lucid iron
#

i think the closest u can get is item extensions special clump?

#

or dynamic map tiles (does that work atm?)

dusk mulch
uncut viper
#

you cant because there is no trigger in any framework that will do that for you upon the stone breaking

dusk mulch
#

I will see if I can figure out something else to do with the area then

versed wyvern
#

Was there a framework that enabled wall furniture to trigger effects when interacted with or did I pull that out of my brain fog? cathuh

hot gale
#

Is there documentation somewhere for the config sections of CP? Like how exactly tro structure a dropdown, float, etc

brittle pasture
#

SpaceCore allows tile actions on furniture interactions

uncut viper
#

note that with CP you dont get to choose specific things like dropdowns or types

hot gale
#

Thanks!

versed wyvern
#

That was probably where I saw it, thanks

hot gale
#

Ah so I cant have the player put a specific value without C#

vernal crest
#

You can have them choose from a dropdown of allowed values

lucid iron
#

hm how come Data/Characters is incomplete at title screen

vernal crest
#

But not validate values typed into a free entry box, I don't think?

lucid iron
#

im trying to do TextOperations on a modded npc (Sen from LitD) and this warns at title screen

#

works fine once i actually load into save tho yggy

uncut viper
#

wdym incomplete/warns

lucid iron
#
// Append this senlet to SenS
{
  "Action": "EditData",
  "Target": "Data/Characters",
  "TargetField": [
    "SenS",
    "CustomFields"
  ],
  "TextOperations": [
    {
      "Operation": "Append",
      "Target": [
        "Entries",
        "mushymato.HaveMoreKids/KidIds"
      ],
      "Value": "{{ModId}}_{{L@Kid}}",
      "Delimiter": ","
    }
  ],
},
#

my mod has dep on 7thAxis.LitD.CP im psure

royal stump
#

that mod's data is conditionally loaded based on this, so maybe that slows it down somehow? SDVpufferthinkblob

{
    "Name": "IsDitRInstalled", 
    "Value": "{{HasMod: |contains=7thAxis.DitR.CP, 7thAxis.DitR}}"
},```
lucid iron
#

oh dt would make a lot of sense

brave fable
#

SenS from LitD for DitR

#

understandable

royal stump
#

or rather, the one I found only loads when that isn't true, so I'm not sure about the full conditions

#

but yeah, its edits might not exist at startup

lucid iron
#

dynamic tokens r sinful

dusk mulch
#

I am trying to find a sprite that screams "Step on me and something cool might happen", I have tried the teleporters from railroad, wizards basement and witches hut but none of those work for the area

#

It is outside in a grassy area

hard fern
#

Ypu could always make your own?

dusk mulch
#

Wait.

hard fern
#

You could make a fairy circle(?)

#

With the pre existing tiles

dusk mulch
#

I found something I can use

#

The decorative hatch (there is one in the wizards tower so it is on a tilesheet)

urban patrol
#

so i've made an animation with double-wide sprites before using spacecore, but now i want to use that animation during an event. my problem is that event scripts don't take animation names, they just take frames and durations. is there a way to have it recognize that i want to point to the index of the double wide frames?

#

or if there's a spacecore function that lets me modify event animations, that would work too. i couldn't find anything like that looking through the documentation

unique sigil
lucid iron
#

i feel confused by dynamic tokens mainly cus i dont understand their update rate

uncut viper
#

they update when content patcher tells them to. hope this helps SDVpufferthumbsup

calm nebula
#

About time to think about April fools mods

uncut viper
#

ive thought about it a lot already and have some good ideas and decided that i do not have the time to do them

devout otter
hard fern
#

I had this random idea to turn every npc into animals, but like. For real animals. Shane is just a blue chicken. Sebastian ia a feog

#

For a joke mod

tidal stone
#

Would it be difficult to start an i18n in the middle of a project and edit the content json accordingly

uncut viper
#

less difficult than it would be to do it later

drowsy pewter
#

better do it now than later

uncut viper
#

theres a converter though

#

dont know what command its in. someone else probably knows where to find it

drowsy pewter
#

!i18n

ocean sailBOT
#
Creating Translation Capability

So you'd like to stop writing all of \"your strings straight in your content.json?\" and/or you'd like the capability to see all of your strings across all of your .jsons?
Introducing i18n!

  • How to make your mod compatible with other languages: stardewmodding.wiki.gg

  • The file where you can put all of your strings is called default.json, and it sits in a folder at the same level of your assets, named "i18n".

  • If you're converting from an older version of the game, there's a converter for ease-of-access.

Not to be confused with {{DynamicTokens}} since these require the specific {{i18n:<KEY>}} modifier

drowsy pewter
#

I'n so smart

uncut viper
#

6480 is so smart

tidal stone
#

Ooh ty ty

#

Ye i want my project to be easily translateable for ppl in case anyone ever wanted to

#

If in the future after i publish my mod if i ever want to update like say add dialogue would that force a need to restart on s new save btw

hard fern
#

Not necessarily

unique sigil
hard fern
#

If the dialogue is missable, then a new save would be needed to go back and see it, but it won't require a new save to work

#

(i think this is what you were asking? Im not sure)

hard fern
tidal stone
#

Ooh ok

#

Yes that does ty

vernal crest
#

There are very few mods where a player would need to use a new save. I don't actually know of any off the top of my head.

uncut viper
#

bundle mods

#

CC bundles

tidal stone
#

Ohhh ok i was worried that if i ever wanted to add more lines of dialogue in the future it might break everything

vernal crest
#

As someone who is always adding new mods into existing saves, I just use tools to get around the inconveniences they cause.

uncut viper
#

you can reset them ig with a console command but i feel like using console commands to bypass that is kinda cheating

#

(cheating in the sense of "i wouldnt say that means it DOESNT require a new save")

vernal crest
#

Oh yeah, CC bundles. I've never use a CC bundle mod before so I forgot about them.

vernal crest
#

Could you just use a temporaryAnimatedSprite instead?

urban patrol
#

it says that that takes data from TileSheets/animations--would i run into problems trying to modify that with spacecore? my understanding was that spacecore pulled from Data/animationDescriptions

vernal crest
#

You wouldn't need spacecore at all to use the TAS and it does not use data from tilesheets/animations. It uses the data you provide in the event.

urban patrol
#

oh that's my bad i was looking at temporarySprite

#

for rectangle, it says it takes x y width height. width and height would be 32 by 32 i believe, but what are x and y?

vernal crest
#

Where on the sheet to start the rectangle from.

urban patrol
#

got it. in pixels or according to index?

#

also, how does it know what sheet i'm referring to? texture?

vernal crest
#

Yes, texture is the field you put your image asset name into. And it's in pixels because it doesn't use index because it doesn't have a preset frame size.

#

Here's an example of one of mine: temporaryAnimatedSprite Characters\\Aba.Hiria_Weekend 0 192 16 32 1500 1 9999 2 3 false false 9 0.0 1 0 0 0/

urban patrol
#

ooh that's super helpful thank you

vernal crest
#

This is one where I used a TAS when I should've just used animate lol

urban patrol
#

i've encountered a lot of situations like that while learning how to do events 😂

vernal crest
#

In fact, I don't even animate her so I could maybe just do showFrame.

hot gale
vernal crest
#

Maybe I used TAS because that's the only one I'd used before, maybe I used TAS because it's to have her sitting at a Buildings tile and I didn't know how collision works in events SDVpufferthinkblob

vernal crest
brave fable
#

how does my cooking menu look with the larger number of slots SDVpufferfush

lucid iron
#

i think the framework patches the InventoryMenu

#

so all the menu with inventory ui should work fine

#

it's bundle menu that explodes

tidal stone
#

OK TIME TO START CONVERTING STUFF OVER TO I18N

#

oops caps sorry

dusk mulch
tidal stone
#

thankfully im not that far in

hot gale
#

This helped me a ton, idk how helpful it will be for you

tidal stone
#

only issue is idk how i18n's work at all

#

oh ok thank you

#

it doesnt have a section for locations or anything ive done yet it all has to do with maps, or do maps not be needed on an i18n?

hot gale
#

I dont think maps need it? Unless you put signs and stuff?

dusk mulch
#

I hate the i18nifier. I like doing it by hand, idk maybe its just me

tidal stone
#

aah ok ok

hot gale
#

Is there no way to add custom chests with CP?

#

Just reskin them?

dusk mulch
hot gale
#

Shame

rancid musk
#

@ivory plume Hey there! Is this considered an SMAPI bug?

The docstring for IModRegistry.GetApi<TInterface>(string uniqueID) says specifically "If the mod has no API or it's not compatible with the given interface, get null.".

The implementation in ModRegistryHelper.cs however doesn't have a try/catch around the call to CreateProxy() which can lead to calling GetApi() throwing an exception when the provided interface isn't compatible, rather than returning null.

It seems like it should probably catch the exception, log it, and return null to me. Based on the docstring. I noticed that most mods I look at (including yours) are written under the assumption that GetApi() won't throw.

--

Also, while I have your attention, if I want to do a PR against your mods to add support for my new mod Better Game Menu would you prefer a PR per mod or all at once? (Specifically, Lookup Anything, Chests Anywhere, and Debug Mode are affected in your repo.)

hot gale
#

My mods broke 1000 downloads :D

tidal stone
#

NICE!

hot gale
#

ty, ty :D

tidal stone
#

ok so if i understand i18n is primarily used for the text based things like dialogue and events so i dont need to make one just yet i dont think

hot gale
#

right

#

any text not coming from the native game pretty much

tidal stone
#

ok phew,

#

i was worried i had a lot of convertin to do

#

does i18n also change messages done in tiled using the message custom property or would that be a no

vernal crest
#

It's for any text that the player will see while playing.

tidal stone
#

ok cool beans 😄

lucid iron
#

theres fun things u can do with i18n

#

randomized text mainly

brave fable
#

i'd argue there's only one thing you can do with i18n and that's translate text

#

the rest is all content patcher

hot gale
#

Would that work on descriptions of items?

#

So each one could have potentially different descriptions

lucid iron
#

it'd have a different desc per day if thats what you want

#

although for items it might be cached too hard unclear

#

the main thing ppl use it for is extending the dialogue asset

lucid iron
uncut viper
#

im accomplishing things

rigid musk
#

oh... oh my god

uncut viper
#

dont worry about it

hot gale
#

l m f a o

brave fable
#

did you just patch Draw itself

#

impressive

uncut viper
#

of course not

#

i patched SpriteBatcher.DrawBatch

rancid musk
#

I haven't seen something so cursed since I was playing with shaders, or perhaps even then

uncut viper
#

whats scary is that this is approximately what i was intending to do

drowsy pewter
#

Hm

brave fable
#

so... how well does it play

uncut viper
#

it plays?

#

the controls are reversed to as a result

lucid iron
#

what happens to the clickable bounds

uncut viper
#

for both mouse and keyboard

#

theyre fucked

lucid iron
#

1oo

uncut viper
#

this is me hovering over the Bee House

lucid iron
#

how come the tiny digits r safe

rancid musk
#

What exactly is your goal here?

brave fable
#

eeb

rigid musk
#

I think the only other thing on par with this was when someone here posted images of Nicolas Cage's floating head on the void with like trees and stuff floating around

uncut viper
#

i have the vague idea of a goal

rancid musk
#

What exactly is your vague idea here? 😛

uncut viper
#

i was kinda hoping to just mirror things

rancid musk
#

The whole screen?

uncut viper
#

yes. though, vertically wasnt the intention

lucid comet
#

tiny digits are from cursors, and nothing of that is upside down

uncut viper
#

however, if i only mirror it horizontally, the entire screen goes black instead. so...

rancid musk
#

Seems like you'd be better off forcing the game to use its render texture then messing with the bit where it draws the render texture to the screen.

uncut viper
#

thats less fun, though, in case i wanna do other weird things later

lucid iron
#

can u make everything spin

#

i think that'd really enhance my gameplay

uncut viper
#

just thinking about that makes me nauseous

drowsy pewter
#

sounds like someone doesnt like fun

uncut viper
#

i dont know the maths for it

rancid musk
#

"other weird things" made me remember my Gameboy Valley shader test

uncut viper
#

i like that a lot more than what i did

lucid iron
#

increment that a little every frame

uncut viper
#

chu what makes you think i have access to something like that here

rancid musk
#

lol I forgot about this completely, CGA Valley

uncut viper
#

right now im literally taking the corner VertexPositionColorTexture things from SpriteBatchItem things and shifting them around

drowsy pewter
#

Beautiful

rancid musk
#

Honestly it looks surprisingly good

uncut viper
#

i do actually like the look of that a lot

rancid musk
#

And dithering makes it overpowered. Maybe I should release a paletize mod just as a separate thing.

uncut viper
#

you misunderstand i said im not patching SpriteBatch.Draw

#

i am patching SpriteBatcher.DrawBatch

lucid iron
#

blobcatgooglyblep where even is this method

uncut viper
#

its private

#

or internal

rancid musk
#

Monogame internals: exist
Button: you're in danger

uncut viper
#

or smth

#

there are no doors when i have Publicizer PublicizeAll

rancid musk
#

You don't need a publicizer to patch private stuff

#

You just need to be angry enough

uncut viper
#

no, but i am calling i think what were private properties on things from other things

#

inside my patch

#

its a lot easier to do that with a publicizer instead of the reflection helper every single line

rancid musk
#

Technically you don't need a publicizer for that, but it is a lot easier to do it fast with one.

lucid iron
#

ok i found the maff

uncut viper
#

right now these experiments are the epitome of "i want to break shit and i wanna do it fast"

uncut viper
#

that was actually gonna be my third try if DrawBatch didnt pan out

#

my first try was postfixing CreateBatchItem

#

but it gets Set after that SDVpufferpensive

lucid iron
#

yea u did crimes too early

uncut viper
#

also theres two overloads for Set

#

so it was an extra annoyance

#

or well one overload ig

#

the one without Rotation is also used a lot too so

#

thats also why i went to DrawBatch bc i knew it'd encompass Everything

lucid iron
#

i guess u can just call Set again there right

uncut viper
#

hm

#

i like where your head's at

lucid iron
#

still i dont

uncut viper
#

i just need to stop crashing my game first. whatever i did now made it not crash outright but 0.001 fps isnt stellar either

lucid iron
#

think this actually do anything reasonable

uncut viper
#

who said anything about reasonable

lucid comet
#

if you want to mirror/flip everything horizontal you might also have to look into flipping the individual sprites i think ... though that would probably remove a lot of the cursed-ness so not sure that's the plan here SDVpuffersquee

uncut viper
#

yeah thats what slowed my game to a crawl

lucid comet
#

understandable, that's a lot of flips

uncut viper
#

i think the problem was maybe the texture was cached and i only need to flip it once per texture bc it kept alternating back n forth

hot gale
#

Why are you flipping it

uncut viper
#

i want to flip it

lucid comet
#

very good reasons

lucid iron
#

looking forward to ʎǝʅʅɐꓥ ʍǝpɹɐʇS

uncut viper
#

good start

#

things are terrible

#

but the saloon is almost right

dusk mulch
dusk mulch
lucid comet
#

and a lot of the sprites are flipped like they are supposed to be

#

though wierdly not all

woeful lintel
uncut viper
#

the problem is that im flipping the entire textures but obv that wont change the source rect

woeful lintel
#

what's the context for this?

lucid comet
#

ah

uncut viper
#

im just experimenting SDVpuffersmile

#

wanted to see if i could flip the screen. decided to see what else i can do

woeful lintel
#

neat

wooden forge
#

I dont know if this is the right channel but I didnt find any other ^^ if I am wrong here please let me know!

so i wanna make a mod myself and as far as I read C# is required so I gotta learn that (and pray its similar to python which I know the basics of)

what else is necessary to learn before trying some of my ideas? SDVpufferheart

also is translating mods a good idea to get started as well? I can speak german and english and thought its a nice way to practice language and get used to code again

hot gale
#

Depends what you want to do

#

vast majority of things can be done using content patcher

#

Which is just JSON

#

as far as translating, you can code with native translation support and leave it up to others to translate for you

wooden forge
# hot gale as far as translating, you can code with native translation support and leave it...

with that I meant offering to translate already existing mods or just doing it myself to practice haha

also my idea (one of many) is something like being a therapist at harveys clinic where the npcs have cutscenes and you as the farmer can choose what to say and it affects the friendship or smth

the stardew valley wiki says this to content patcher "NPCs, including dialogue, sprites, schedule and events" so theoretically my idea should be possible to realize with that right?

hot gale
#

Yeah I believe that can be done with just content patcher. As far as translations, you can I'm not gonna say it's a bad idea but a lot of mods nowadays are coded with translation in mind to where what needs translated is just an array of strings

#

Im not sure it will help a lot with learning how to code, although it is super helpful for others

#

or rather brushing the dust off

wooden forge
#

yeah helping others and making it more accesible for people who arent fluent in english was also my main thought tbh

anyway thank you I will dive into content patcher rather than smapi for now and see what I can do SDVpufferheart

dusk mulch
#

YAYYYY I GOT 1 SECRET DONE IN MY MOD

#

time to do the shops i think

tidal stone
#

where doth one get an update key anyway

dusk mulch
tidal stone
#

Ooohhh

#

gotcha ty

#

ok so

#

i used one of those flat fake doors

#

and i put a action warp on it but its not working 😦

#

i dont get any errors so im wonderign if its just the case of it no work

#

actually

#

let me chck something i might be a fool

#

nvm it was on the right layer so i still dunno why this wont work hmm

#

OOp

#

found the error nevermind

#

somehow i deleted the phrase "warp" from my tiledata

wooden forge
dusk mulch
#

Or DM them on nexus

hot gale
#

Is there a limit to how big furniture can be

crude plank
#

As big as your dreams (this is not actual information, i don't actually know)

deep cypress
#

Accidentally deleted a solution file. In the words of Bandit, "Well THAT was a fun three hours!"

patent lanceBOT
gentle rose
uncut viper
gentle rose
hard fern
#

Spindew valley

brave fable
#

there's nothing stopping you from transpiling spritebatch draw and adding some %360 rotation to the end. not a damn thing

gray bear
final arch
blissful panther
#

I think that's a debug thing built into Khloe's UI stuff?

crude plank
#

Can't wait for Better Game Menu, trying it has made having to go back to vanilla menu even worse

#

And it's so nice that Khloe is reaching out to authors about compat even before release

formal crown
#

SDVpufferlurk Hi all, does anyone know what's the more mod compatible way of adding context tags to vanilla objects?

uncut viper
#

you can add entries to the ContextTags list like you'd add entries to somethin else

formal crown
#

Huh

#

I didnt know it was so easy SDVpufferwow

crude plank
#

(I might be at fault for finding out the way you added tags wasn't compatible with other mods, sorry about that SDVpuffercry )

formal crown
#

Fault? What fault? hugUwU

hot gale
#

Anyone know where I can find the sapling sprites?

#

I might have overlooked them

#

I looked in springoutdoors, springobjects

vernal crest
#

Wild trees are in TerrainFeatures

hot gale
#

Ty!

vernal crest
#

Fruit trees are TileSheets

uncut viper
#

mirrored pelican town isnt real it cant hurt you
mirrored pelican town:

hot gale
#

wow lol

blissful panther
#

...now make a mirror world mod.

uncut viper
#

thats actually what i was trying to do

#

as one can see though all the terrain features are not mirrored. and the warps are not where you'd expect them to be

#

and theres a lot of map modifcations that just hardcode coordinates...

blissful panther
#

I've been desiring a Past Pelican Town mod for ages, and this might scratch that itch if it works out!

Just some kind of uncanny alternate version.

uncut viper
#

door warps still work actually. ...somehow

#

(... from the outside, anyway)

#

i completely forgot schedules are all fucked up too

#

why does Pierre have a hardcoded window by his counter

unique sigil
# hot gale Is there a limit to how big furniture can be

i guess it depends on the furniture category? decor and other essentially dont really have a limit, but i feel like if you dont follow the standard bounding box/sprite sizes for say, chair, armchair, and sofa, things would be a bit screwy

(you can use custom bounding boxes with Furniture Framework, and Calcifer has custom offset features for slotted items, e.g. table furniture)

uncut viper
#

(theres so many things that are broken from this little experiment so i dont think this mirror world mod will scratch any itch as it will definitely not work out. maybe if i can ever figure out how to mirror the screen itself, since this is actually just placing tiles backwards and mirroring each individual one)

crude plank
#

oh god this mirror world is really upsetting my brain

crude plank
uncut viper
#

that would be the easiest part of the entire thing

crude plank
#

or just don't do it and make it more cursed

gray bear
crude plank
#

all of them it seems

uncut viper
#

apparently, rock crimes. sorry robin

crude plank
#

joja did a really bad job at removing the rocks to open up the train station

gray bear
#

someone give her some bombs

crude plank
#

where's kent to mail some bombs when you need him

gentle rose
#

also button I hate this with a passion, keep up the good work

#

I just realised that’s the quarry KEK

#

button, try marrying someone and see what happens to the spouse room pffft

crude plank
#

Wait so where do you end up from the backwoods

uncut viper
#

correction it WAS the quarry

gentle rose
#

in a sense, it still is, robin’s house is just a quarry now

gentle rose
crude plank
#

They're a mining family now

gentle rose
#

everything is mirrored

crude plank
#

Yeah but how do the warps still work

gentle rose
#

oh, interesting question

#

button did thoust flip the warps

uncut viper
#

thats what i was trying to fix right now

#

i did say they were placed wrong!

#

if i go left of Joja mart with noclip i can reach the bus stop

gentle rose
uncut viper
#

probably!

gray bear
#

this is so cursed

#

what is the purpose of this

gentle rose
#

I think that one may have been dehardcoded though because I remember complaints, idk though

crude plank
uncut viper
#

purpose?

gray bear
formal crown
#

Why are there hardcoded windows

crude plank
#

Button tell me, is this how Sauron felt when he created the one ring?

gentle rose
#

pretty sure it’s so that they could have lighting at specific times pffft

#

or at least that was the original reason and they were never dehardcoded once there were better ways

gray bear
#

why is anything hardcoded

crude plank
#

Because sometimes you can't be arsed and then you forget about it forever SBVPufferThumbsUp

gentle rose
#

at this point it may be easier to reverse the entire x axis of the game rather than doing things one by one KEK

crude plank
#

I was actually wondering if that was possible

gentle rose
#

it would require some serious crime and you would still have to manually flip all the textures, but I have to assume it is? harmony patching monogame is probably a bit too cursed though pffft

blissful panther
gentle rose
#

(the easiest option, that Khloe already mentioned, is probably forcing it to draw to a buffer and flipping that)

uncut viper
#

yeah i have no idea how to do that

gentle rose
#

…are the animals inside the house related or the result of a different mod pffft

blissful panther
#

Oh, they just live there because of the MEEP test pack!

formal crown
#

For some reason, some VPP talent causes sleeping to error out throwing errors about... ItemDeliveryQuests

#

What I know so far is it's not any of fishing, combat or misc talents

gentle rose
#

are you sure it’s vpp?

formal crown
#

Yeah, the user reproduced it only with VPP and reqs

gentle rose
#

huh. were you able to reproduce with the same talents?

formal crown
#

The weird thing is VPP doesn't ever meddle with quests so who knows what's going on there

gray bear
#

yeah was gonna ask. VPP doesn't do anything with quests? thonk

#

weird

formal crown
#

They linked their save file, I'm testing on that rn

gentle rose
#

and could you send their log for the minimal reproduction?

formal crown
ocean sailBOT
#

Log Info: SMAPI 4.1.10 with SDV 1.6.15 build 24356 on Microsoft Windows 11 Pro, with 6 C# mods and 1 content packs.

gentle rose
#

that’s not the only method throwing errors, either

formal crown
#

For it to not "crash", I disabled all talents and enabling them by tree and attempting to sleep

gentle rose
#

there’s also GameLocation.IsOutOfBounds errors

formal crown
#

Well I think they're because of they removed mods midsave to test

#

Because original log doesn't have them

gentle rose
#

they’re pretty much all null references or undefined objects though, so I’m guessing you accidentally skipped something that sets some variable maybe?

willow shale
blissful panther
#

Ah damn, the logs are gone. SDVpufferwaaah

hard fern
#

😔 bye bye logs

willow shale
#

it was so long ago the log has expired, but the error was related to an item delivery quest

#

we never found the source

gentle rose
#

interesting.

#

time to dig through loadQuestInfo ig

#

why is it never a small, simple method SDVpufferflat

willow shale
#

i still have the second version of the diagnostic mod button made for me that accidentally fixed it to ward away the spirits crash

gentle rose
formal crown
#

Yeah, logs are gone 😅

formal crown
willow shale
#

still, exact same circumstances that caused the crash

#

something to do with item delivery quests and possibly checking the mail, so if you find a solution do let me know

gentle rose
#

I wonder if we can check the save to see what the current item delivery quest is

willow shale
#

hold up, i still have that save

gentle rose
#

it has to be serialised

formal crown
willow shale
#

i kept it in quarantine just in case hold on let me see if i can replicate the crash

gentle rose
#

…this method has IL gotos in the decompile. why

formal crown
#

Drunk decompiler?

gentle rose
#

or CA weirdness, or (shudder) ca actually built it using gotos

storm minnow
#

so, very beginner question - the wiki guide says the unique id of my mod(s) should include my name - does this need to be exactly the same as what i put further up in the manifest, or can i use my full online name for the author field, and then use part of that for the beginning of the unique id?

blissful panther
#

It's arbitrary, really. The suggestion to include your name is just to help make it unique to you.

hard fern
#

Im.so tired i read IL gatos and was about to ask why there were cats in the code

timid hazel
ocean sailBOT
#

Log Info: SMAPI v4.1.10.3 - 1735840167 with SDV 1.6.15 build 24354 on Android Unix 34.0.0.0, with 14 C# mods and 5 content packs.

hard fern
#

Uh, wrong channel?

storm minnow
#

ah, can just use Cielo for the unique id then, good^^

hard fern
#

Oh dear and it's android too

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

vernal crest
#

It's android, iro. If they open a post there we're just going to send them to the android server anyway.

gentle rose
vernal crest
#

I can't ever remember the command for that. Is it androidsmapi?

hard fern
#

Ye

crude plank
#

!androidsmapi

ocean sailBOT
#
Android SMAPI

There is an unofficial port of SMAPI for Stardew 1.6 to Android. Please see the wiki instructions for more information.

IMPORTANT: This is a highly experimental build and may be prone to glitches, bugs, or incompatibilities. We are not able to provide support if you run into trouble or compatibility issues; please use the discord linked on the Android SMAPI github.

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

ocean sailBOT
#
Android SMAPI

There is an unofficial port of SMAPI for Stardew 1.6 to Android. Please see the wiki instructions for more information.

IMPORTANT: This is a highly experimental build and may be prone to glitches, bugs, or incompatibilities. We are not able to provide support if you run into trouble or compatibility issues; please use the discord linked on the Android SMAPI github.

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

storm minnow
#

oh, and can i use underscores just like i do in most other places?

ocean sailBOT
#

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

willow shale
#

its the same error

#

i loaded the old save, removed the lifesaving debug, caused the crash again, compared the error to the log you posted, and its the same error

vernal crest
willow shale
#

hopefully this will provide some useful data. in the meantime, you can link the person having this bug specifically to the second version of the debug mod button made for me and it should temporarily fix the issue
#1335904511876927530 message

vernal crest
#

It is recommended for it to match the username you'd publish under (like Nexus username etc).

hallow igloo
#

Error:
TextOperations > 1 is invalid: the Search value must be set for a RemoveDelimited text operation.
relevant code:

{
    "Operation": "RemoveDelimited",
    "Target": ["MapProperties", "NightTiles"],
    "Value": "Front 26 16 507",
    "Delimiter": " "
}```
#

how is this not a valid value? ;-;

willow shale
uncut viper
willow shale
#

oh button! we were just talking about you!

hallow igloo
uncut viper
#

(and yeah. the Debug Mod just logs stuff to console but it somehow stopped the error. not a single clue)

uncut viper
willow shale
#

we may have found a cause. apparently someone else had the error and traced it to vpp

uncut viper
#

and yeah ive been here lurking and watching the quest stuff, i just also dont have any more input on it bc i dont have any more info than i did before

willow shale
#

only the second version stopped the error tho. the first and third didnt. i keep it as a totem

hallow igloo
#

oh lmao no nvm I've used Searcheverywhere else and the one after this one doesn't give an error because it doesn't get loaded because of this one

#

okay thanks!

willow shale
#

honestly im just glad i happened to accidentally click on this channel right when the error that has haunted me for weeks is being discussed

crude plank
#

it was divine intervention

storm minnow
#

ok, managed to replace the sprite of the dust sprites - if i want to also make them less hyper, can i still do that with just CP, or do i already need something more for that?

hallow igloo
#

this server has surprisingly gotten nicer since a year ago, very welcome surprise

#

(not that it was bad, just happy to see it got nicer ^^)

#

does anyone know if there's a way to use editmap/editdata to add unlockrequirements or check for them?

uncut viper
vernal crest
crude plank
#

sanity check: for machine rules if i have multiple RequiredTags the input item has to have all of them right?

storm minnow
#

ok, guess i can, now to figure out what field i need to edit ...

drowsy pewter
#

well

#

Depends what you mean by multiple. In this example there are multiple requiredtags entries, but each entry is for a specific instance. In the third entry, it requires an item with BOTH the category_greens tag and WITHOUT the edible_mushroom tag

#

If you have multiple tags listed under the same requiredtags entry, then yes all are required

hallow igloo
winter dust
#

@ivory plume Did they change the function for dismounting at all in the SDV code? Scarlett is getting strange behaviour with WTDR's DLL mod, I guess with the Tractor mod they can do down mine ladders and such, but when they have my mod installed their tractor vanishes when they try to go down ladders and such. Any idea on what's going on? DLL Project files: https://github.com/Aeywoo/WTDR/tree/main/WalkToTheDesert

crude plank
hot gale
#

Working on a mod that converts all the in-game trees and bushes to deco in a catalogue

#

this is tedious lol

#

Got all the sprites cut out and made, coded out and imported spring. I need to work on the bounding boxes and sprite drawing strings for the furniture

#

I dont quite understand how it works

vernal crest
# hallow igloo RSV's minecart replacements

You can add conditions to your patches if it's just your own edit to the minecarts that you want to restrict, but I'm not sure if maybe you want to restrict the RSV minecarts themselves behind an unlock condition too?

hard fern
#

If i wanted to create a 2 tile wide crafting station, how would i be able to do it?

vernal crest
hot gale
#

index 2 and 3

#

I think I just got it actually, it says tiles not pixels

vernal crest
#

Haha yeah

hot gale
#

Which is confusing, considering idk how many tiles the sprites are lol

#

I guess I could load them in tiled

vernal crest
#

What program are you using to edit them?

hot gale
#

photoshop

vernal crest
#

Turn your grid on at 16x16px

#

If you're lucky, photoshop will give you indexes like Aseprite does.

hot gale
#

err gimp

#

lol sorry forgot I stopped using PS

#

reflex

vernal crest
#

All good lol

brave fable
#

photoshop doesn't give indexes exactly, but if you set up a slice grid it'll number them for you

#

i'm not sure if gimp does similar

lucid comet
#

gimp also allows you to lay over a grid

vernal crest
#

If gimp doesn't, counting them is tedious but possible

lucid comet
#

you have to change the default from 10 (or 15) to 16 though

brave fable
#

i wouldn't bother counting, just hover your cursor over the point, take the coordinates, and divide by 16

hot gale
#

Sick

#

Thanks guys

vernal crest
#

The index you will want to give for field 8 is the top left of the sprite

hot gale
#

Each sheet is only 1 image

vernal crest
#

Oh, interesting

hot gale
#

Why is it drawing random lines

vernal crest
#

Then your size values would just be the entire image x/16 and y/16.

brave fable
#

presumably your sheet isn't a multiple of 16px high and wide