#making-mods-general

1 messages ยท Page 77 of 1

naive depot
#

yeah, just to not make it where you don't get a bunch of random people appearing

sweet sphinx
#

like? Load: folder assets?

rain basalt
#

just use a warp on touch tile action on the map itself it should give you the warp animation and black screen on transition

naive depot
#

haha, okay, thanks.

velvet narwhal
#

well if you're separating farms it's a lot more than that, you need to use the shadow realm and... basically re-implement the bespoke multiplayer, wouldn't you

sweet sphinx
#

oh, I think I got it

rain basalt
#

na you can port map to map

sweet sphinx
#

like this?

rain basalt
uncut viper
#

porting map to map is obviously fine, having multiple things that act like farms takes a bit more than just a tile warp

velvet narwhal
#

you can obviously create "farms" wherein players will all still spawn at the original farm and they can just build cabins on those other "farms", yes, but if you really wanted the actual "separate farms" you'd have to reimply the multiplayer

rain basalt
sweet sphinx
#

ok

lucid iron
# sweet sphinx like this?
{
"LogName": "RedChicken: Sprites",
"Action": "Load",
"Target": "Mods/{{ModId}}/RedChicken",
"FromFile": "assets/{{TargetWithoutPath}}.png"
},
#

thereafter you refer to the chicken sprite with Mods/{{ModId}}/RedChicken

rain basalt
#

cant you use an absolute path as well?

lucid iron
#

this is assuming your chicken png is assets/RedChicken.png in the mod folder

tiny zealot
lucid iron
rain basalt
sweet sphinx
#

my path is assets/Red Chicken.png , bc the vanilla pngs have spaces too

uncut viper
#

there are no guides on that bc its not something thats done

lucid iron
#

spaces are fine, i just dont like how they look

sweet sphinx
#

fair

velvet narwhal
#

i got handed a chore i can make a tldr of how i'd implement it in a few mins

rain basalt
tiny zealot
#

spaces in names for things (when allowed) occasionally cause headaches so i avoid them when practical

rain basalt
lucid iron
#

well u can make any map buildable thesedays

rain basalt
#

should i add custom pathing to my maps for npcs

lucid iron
#

so u could have a lot of locations that behave like farm

#

changing player spawn is different though, no idea how that works

uncut viper
#

aside from the tons of logic that involves the Main Farm being The Farm of course

lucid iron
#

i would hope so, i got no intention to lie to you blobcatgooglyblep

rain basalt
#

do what we all do test and pray

sweet sphinx
#

it's kinda confusing what it's loading tbh, I'm trying to load the whole assets folder(there are no subfolders)

#

and currently, there's just two sprites in it

lucid iron
#

you cannot load a whole folder

sweet sphinx
#

dang

lucid iron
#

need to load files one by one

rain basalt
#

yah have to target individual files within the folder

lucid iron
#
{
"LogName": "Spider: Sprites",
"Action": "Load",
"Target": "Mods/{{ModId}}/spider_1, Mods/{{ModId}}/spider_t, Mods/{{ModId}}/spider_p",
"FromFile": "assets/{{TargetWithoutPath}}.png"
},
#

can do this so that its 1 load

uncut viper
#

the {{TargetWithoutPath}} thing is the closest you can get

lucid iron
#

but still gotta type out each name

uncut viper
#

it means it will take whatever you put as your Target and chop off everything before (and including) the last slash

#

so e.g. it will become "spider_1"

sweet sphinx
#

[Content Patcher] Patch error: More Animal Varients > Sprites has a FromFile which matches non-existent file 'assets\Reshka.MoreAnimalVarients.png'.
well now I get this

lucid iron
#

did you not put the last part yggy

#

as mentioned you cannot load a whole folder

sweet sphinx
#

I did this

uncut viper
#

the Target needs to be like what choooo wrote

lucid iron
#

also you need to adjust all the places that mentions the animal texture

sweet sphinx
#

but the "RedChicken" thing, I only have a png as "RedChicken", nothing else

#

I also need to load BabyRedChicken.png

uncut viper
#

then you'd write Mods/{{ModId}}/BabyRedChicken, Mods/{{ModId}}/RedChicken

#

as your Target

sweet sphinx
#

oh

lucid iron
#

although, if u r add skin to vanilla chicken instead of adding a new red chicken then that's slightly different EditData

sweet sphinx
#

yeah, I'll get to skins after I figure out whole new animal

#

so, just about everything is working, but I thought I set their eggs to brown eggs, but she laid a white one?

rain basalt
#

its always something lol

lucid iron
#

she should lay red eggs

sweet sphinx
#

yeah, ok, I'm staring at the Brown Chicken's code, and I deffinately coppied that part right, so?

velvet narwhal
#

deviled eggs

sweet sphinx
#

Rhode Island Reds lay brown eggs (I owned some as a kid)

rancid temple
#

Have you tried it with a new chicken?

sweet sphinx
#

?

rancid temple
#

Just trying to make sure it's not like some code added after the chicken had already been spawned

velvet narwhal
#

you have the produceitemids set to 180 and the deluxeproduceitems set to 182?

sweet sphinx
#

This is a new chicken, I bought it, slept 3 times, and went inside the coop to fine a while egg

sweet sphinx
#

well

#

I have this, which is the same on the Brown Chicken

velvet narwhal
#

eggitemid i'm going to assume is just what is hatched from

#

scroll down, should be this

sweet sphinx
#

ohh

#

ok

#

YES!

#

brown eggs!

velvet narwhal
#

i forget if you can build a cabin in a 'CanBuildHere' location SDVpuffersquint

uncut viper
#

canbuildhere can be any outdoor location but cabins must be in an AlwaysActive location

velvet narwhal
#

ah, that'd be the workaround instead of reimagining bespoke then

#

find tile to warp (or spacecore totem) -> data/location new location canbuildhere/alwaysactive/canplanthere

uncut viper
#

you still wont have any of the logic to treat the other maps as The Farm for things like perfection, farme vents (getting a pet/cave), patios, etc

velvet narwhal
#

yeah, it'd just be a "enjoy walking all the way back if you're forced into a farm event, sucker"

#

alternatively; minecart to other "farms"

sweet sphinx
#

hmmm, so I don't think it's gonna hatch a baby Red

#

just tried 3 eggs and all brown

rancid temple
#

Probably because your red chicken is going to be added later to the dictionary of animals, and it returns the first match

devout otter
#

Is it possible to add a custom sound, then play it from specific tile via CP? i.e. a radio whose music can only get clearer as you walk near it.

sweet sphinx
#

mmmm

ocean sailBOT
#

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

sweet sphinx
#

lol, cool

rancid temple
#

Don't even know enough about how the sound/music works to know how hard it would be to do in C#

sweet sphinx
#

perhaps making the red chicken as a skin will allow it to get added to the pool of brown egg hatches?

brittle pasture
#

yeah it's a game limitation. one animal type per egg

uncut viper
#

i went to look at the waterfalls in the forest but they dont seem to have any tiledata so its probably a hardcoded thing
also i might be totally making up a memory of waterfall sounds in the first place

velvet narwhal
#

guess you're making that red egg

sweet sphinx
#

not rly, Blue chickens can hatch from white eggs iirc

brittle pasture
#

no they cant

#

it's an old misconception

sweet sphinx
#

but they lay white eggs??

velvet narwhal
#

yep

brittle pasture
#

yes, which always hatch into white chickens

sweet sphinx
#

ugh

velvet narwhal
#

you can only purchase blues

uncut viper
#

animals can produce whatever item you want

tiny zealot
uncut viper
#

doesnt even have to be eggs

velvet narwhal
#

maybe MEEP? but spacial audio is probably a game limitation

devout otter
brittle pasture
#

(there is a framework mod that will allow multiple possible animal types per egg, but that's advanced territory ๐Ÿ™ƒ)

sweet sphinx
#

damn, then maybe I'll make Red's a skin, and make Red & Blue eggs, bc that's bunk that you can't hatch Blues

brittle pasture
#

yeah there's a blue eggs mod

uncut viper
#

i guess you could just copy the BrookSounds map property into a custom map property for custom music

#

could probably turn that into a thing for one of the frameworks that does map tile stuff

#

so, not it!

tiny zealot
#

yeah lmao which one, there's like four or five now

rancid temple
#

Yeah, if the base game does it then it shouldn't be that hard to make a CP functionality, even if it's just adding a map property or something

uncut viper
#

i guess it might be a lil more complex if you wanna turn it on and off like a radio

#

just a lil tho

velvet narwhal
#

wait is it using vector2 to set the position of the audio?

#
{
    string[] sounds = this.GetMapPropertySplitBySpaces("BrookSounds");
    for (int i = 0; i < sounds.Length; i += 3)
    {
        if (!ArgUtility.TryGetVector2(sounds, i, out var tile, out var error, integerOnly: false, "Vector2 tile") || !ArgUtility.TryGetInt(sounds, i + 2, out var soundId, out error, "int soundId"))
        {
            this.LogMapPropertyError("BrookSounds", sounds, error);
        }
        else
        {
            AmbientLocationSounds.addSound(tile, soundId);
        }
    }```
sweet sphinx
#

ok, so, ig the next step for me is making skins

uncut viper
#

yes. positional audio is already a supported thing

velvet narwhal
#

interesting

rancid temple
#

Maybe I'll take a look at it tomorrow, I just realized today that I can't actually release my crane game mod early because it's relying on an unreleased version of SpaceCore lol

sweet sphinx
#

so, I'm guessing this is code to add a chicken skin, but I'm a little confused as to how it works, it seems like so little compared to what the vanilla code looks like for Blue & Brown chickens?

velvet narwhal
#

that's cause it's targetting the white chicken's skins directly and requires less

next plaza
sweet sphinx
#

do I, like, add the egg modules so the Red ones lay other eggs?

rancid temple
#

Nah, this is the mod I've been working on for a while that de-hardcodes as much of the crane game as I could stomach

#

I'm using the Api stuff for virtual currencies

velvet narwhal
#

wdym egg modules?
if you want the red chicken to hatch out of it's own egg, you have to create the new egg in data/objects and then attach that to the eggid

sweet sphinx
#

yee

brittle pasture
#

(and also set it to produce said eggs in (Deluxe)ProduceItemIds)

velvet narwhal
#

skins just randomizes that the white chickens might sometimes come out red

next plaza
#

Man I've been holding this update longer than I thought

rancid temple
#

Uhhh, I didn't think it was but I'm definitely likely to be mistaken lol

sweet sphinx
#

but, the code you typed doesn't have any place to set what egg they lay/hatch from

velvet narwhal
#

the original one with targetfield just puts your red chicken "sprite" into the white chicken data

brittle pasture
#

(Unlockable Bundles also has virtual currency feature in case you're fine with some migration and you want it out now~~ for the contest~~ not a contest mod, just backread lol)

sweet sphinx
#

oh, so like, then do I need both the skin & the whole new animal, to make it work?

velvet narwhal
#

no, you can do both, or you can do one or the other

#

skins was just an option because it's less work than creating a whole new chicken

sweet sphinx
#

yee

#

but with the skin, how/where do I do the egg change?

velvet narwhal
#

you don't need to, they'll just sometimes be red upon hatching

sweet sphinx
#

...oh

#

that kinda skin

velvet narwhal
#

that's what the uh, chance is
the "weight" field

sweet sphinx
#

yee, I thought that was for when you'd buy a chicken tho

velvet narwhal
#

it's kind of like a 1/3rd chance cause iirc it's already fighting brown chicken on weight

sweet sphinx
#

well, now I'm less confused, but I am stumped on what I want to do now...

velvet narwhal
#

white chicken? brown chicken? red chicken? upon purchase and then from there, if it's a white egg = white chicken? red chicken? upon hatch

brittle pasture
#

skins work for both purchase and hatch

sweet sphinx
#

so..., if I change it to skin off of the Brown chicken? can I do that?

velvet narwhal
#

you can put the skin in both, yes

sweet sphinx
#

can I do only Brown?

velvet narwhal
#

yes, and then the brown chicken if it's chosen in the random purchase has a chance then to be red or brown

sweet sphinx
#

cool

rancid temple
#

Inb4 people ask for AT version

brittle pasture
#

(no need, AT works with vanilla animal skins)

#

(and buildings)

rancid temple
#

Oh yeah, I always forget that

sweet sphinx
#

I don't like AT, personally, I want automatically random skins, not having to paint my stuff

#

plus it's nice to not know exactly what you're gonna get

rancid temple
#

Does it not do random? My cat is always random lol

tiny zealot
#

for what it's worth, AT has a setting that randomizes from available textures

rancid temple
#

It's so random, in fact, that the cat that Marnie shows up with is not the cat I end up with when the event ends

tiny zealot
#

i don't remember if it's the default; i am also not an AT user

sweet sphinx
#

lol

#

hmm, this json will get long rly fast as I add skins and animals, is there ways to slice it up into multiple jsons, so each animal/skin group will have it's own file?

tiny zealot
#

dang roku with the fastest fingers

#

had that one in the chamber

rancid temple
#

Feature request: farm bot commands to link to CP's docs lmao

#

I live on these docs :P

velvet narwhal
#

true

uncut viper
#

i just type "incl" in my address bar and it auto fills

velvet narwhal
#

i only have the targetfield autofilled

#

and the base author one

rancid temple
#

Button must have been occupied, usually I'm beat out by her :P

tiny zealot
#

why did witch's cat bat me. what is this about

uncut viper
#

trick or treat!

#

you got tricked

velvet narwhal
#

you got got

uncut viper
#

witch cat also gave you a treat at some point earlier bc i gave you one for doing the giga^2 maze

tiny zealot
#

oh no

velvet narwhal
#

oh i think i went and necro candy'd the usual suspects in making-mods before the narcs came around

uncut viper
rancid temple
#

This has the same energy as dubloon-tok (the trick or treat thing lol)

uncut viper
#

i tried to sneaky trick blueberry earlier and then it turns out my trick was the very first thing in the tattle tale channel

velvet narwhal
#

the first victim to the narcs

#

i got 6 more victims to get

tiny zealot
lucid iron
#

how would u even tell

velvet narwhal
#

/stats

uncut viper
#

i think its just you, me, and endertedi

sweet sphinx
#

how's this look then?

velvet narwhal
#

unless you meant the gigamaze, then i think button lives in there to lurk the maze-hell

uncut viper
#

(endertedi also got a treat)

#

yeah i check in on that channel from time to time

sweet sphinx
#

the content one will load everything, and the other jsons will have the animals/skins

brittle pasture
#

that looks fine I think

uncut viper
#

its the channel ive talked in second most, behind this channel

tiny zealot
velvet narwhal
#

in my quest to find the latest spacecore build, i noticed bluebs goes into town square, that brave soul

uncut viper
#

(balance restored)

rancid temple
uncut viper
#

relatedly now that ive submitted my contest entry i almost feel like i dont even know what to do now. my momentum from custom museum framework is lost now

#

and its too close to 1.6.9 to wanna go back to it yet

rancid temple
#

New mod

lucid iron
#

wouldnt u just develop that on 1.6.9

velvet narwhal
#

i paid my debt to chu, i got mothman SiD fix

uncut viper
#

and my mod took me longer than i thought so i have less time than id like for my art entry so i might just submit something super simple SDVpufferpensive

uncut viper
tiny zealot
#

i'm working on a pet project. there's no way to shoehorn it into the mod contest, even though i expect to finish it before the event ends

rancid temple
sweet sphinx
#

oh

lucid iron
#

huh u needed to register custom save type bolbwaitwhat

brittle pasture
#

well Monsters is a theme, which is probably the broadest one

lucid iron
#

i think it got fixed at some point

rancid temple
#

FromFile is a path description to the file you're trying to include, based from where your content or manifest.json lives

sweet sphinx
uncut viper
#

with custom netfields nd all

lucid iron
#

right yea PecoWant

rancid temple
#

If your ChickenSkin.json is in your assets folder, then yes

uncut viper
#

less work than trying to unhardcode librarymuseum to be generically usable

lucid iron
#

well it should be fine to go to 1.6.9 now

uncut viper
#

also yeah the serialization WAS fixed pretty quick but like i did the bulk of the work in like.... 2 days

lucid iron
#

unless u r targetting a 1.6.8 release for some reason

uncut viper
#

absolutely not

tardy adder
#

I am treat less, but the Spirit Eve ambience is turning exquisite

uncut viper
#

i did target 1.6.8 for my mod entry though

#

which. i forgot to mention on nexus

lucid iron
#

make me some trinkets button

#

i desire consumers

velvet narwhal
#

button just wants something else to fixate on that isn't the museum

tardy adder
#

I am getting carried away

uncut viper
#

i actually completely forgot i was gonna test my contest entry on 1.6.9 oh no

rancid temple
tardy adder
#

ah no its a face mask vv

uncut viper
atomic vale
#

My god I spent 30 mins finding that I missed 1 "{" in my code and made my mod 100% fail.

tardy adder
#

OR MY ATTEMPTS AT ONE

rancid temple
#

Oh ok, I can see that lol

velvet narwhal
#

betrayed by my bluetooth keyboard

lucid iron
#

it'll get official release with 1.6.9

#

i am just feature creeping it now

rancid temple
uncut viper
#

i have no trinket ideas right now SDVpufferpensive

velvet narwhal
#

i took the flyswatter, sorry

uncut viper
#

im not the "come up with creative ideas" type im the "write code to help others come up with creative ideas" type

rancid temple
#

I don't use it, so I have no idea what the plugin is called or where it's located, but I've been told that there's a plugin that lets it validate json

uncut viper
#

whatever the exact opposite of an idea girl is

velvet narwhal
#

girl boss?

uncut viper
#

girl code lackey

brittle pasture
#

you say that then add a xylophone dungeon in the contest entry

velvet narwhal
lucid iron
#

one movement idea from like

uncut viper
#

technically i DO need to fix my one book for my books mod for 1.6.9 but ugh. work

lucid iron
#

initial discussion i didnt end up doing properly is the squid like movement

uncut viper
lucid iron
#

u can sort of do it with lerp and some wacky amounts of jitter though

velvet narwhal
#

you're getting the bonk for that

lucid iron
#

but i didnt get anim timing quite right

uncut viper
#

and it was a much pared down version of my initial idea was to do a sort of roguelike dungeon thing with Spacecore's dungeon feature buuuut. i quickly realized that was biting off more than i could chew in such a timeframe

tardy adder
#

Time to figure how ze buff clothes work with spacecore qiqi_stare

uncut viper
#

rip my initial name for the mod "Skeleton War"

lucid iron
#

another one that i wanted but it seems too specific is uh

#

royal serpent movement

velvet narwhal
#

ah god i hate the royal serpent thing

uncut viper
#

oh i love how the serpents move tho thats not too specific at all

#

like the dragon summon from terraria

#

i would love that on a trinket companion

lucid iron
#

i do think the thing i made for repeating motion could fake it

velvet narwhal
#

i hate fightin' em aSDVpufferrise

lucid iron
#

but hm doing it actually would require a rigging system of some kind i feel

brittle pasture
lucid iron
#

i still got uh

#

5 days

quaint moss
#

I'm having trouble conditionally changing the spouse room on rainy days. My most recent try involves loading both rooms separately and then patching the rain variant on top in the disposition data, but this just causes the rain variant to show up all the time and when the sunny one is supposed to appear, it shows as the default Abigail room. The only thing I haven't tried yet is to load both rooms from the same tmx but before I spend time doing that, is there something I'm fundamentally mistaking here?{ "Action": "Load", "Target": "Maps/AmalurMarriageSunny_SpouseRoom", "FromFile": "Assets/Maps/AmalurSpouseRoomSunny.tmx" }, { "Action": "Load", "Target": "Maps/AmalurMarriageRainy_SpouseRoom", "FromFile": "Assets/Maps/AmalurSpouseRoomRainy.tmx" }, { "Action": "EditData", "Target": "Data/Characters", "Fields": { "Amalur": { "SpouseRoom": { "MapAsset": "AmalurMarriageSunny_SpouseRoom", "MapSourceRect": { "X": 0, "Y": 0, "Width": 6, "Height": 9 }, }, }, }, }, { "Action": "EditData", "Target": "Data/Characters", "When": { "Weather |contains=Rain, Storm, GreenRain": true }, "Priority": "Late + 100", "Fields": { "Amalur": { "SpouseRoom": { "MapAsset": "AmalurMarriageRainy_SpouseRoom", "MapSourceRect": { "X": 0, "Y": 0, "Width": 6, "Height": 9 }, }, }, }, },

lucid iron
#

maybe a smurt way will come to me

uncut viper
#

i didnt even make the happy halloween message check the calendar

rancid temple
ocean sailBOT
#

JSON is a standard format for machine-readable text files that's used by Stardew Valley mods.

If you need help with a JSON file, you can upload it to smapi.io/json to see automatic validation and share the link here.

When making mods, it's recommended to edit your files in a text editor with JSON support, such as VS Code, Notepad++, or Sublime Text. These programs will check for syntax errors.

uncut viper
velvet narwhal
#

iirc the spouseroom needs like, hard farmhouse patching, right?

rancid temple
#

If you want them to patch during gameplay you have to patch the farmhouse with the spouse room

velvet narwhal
#

which might look extremely wrong if someone has a custom farmhouse

quaint moss
#

I assumed that was the case but didn't want to believe it, thanks for the confirmation

uncut viper
#

thats a mood

velvet narwhal
#

us @ smapi mobile

#

OH WAIT I DIDN'T POST THE MEME HERE

rancid temple
#

I think there was some kind of issue with that too, I need like a permalink to where Aba already went through this lol

velvet narwhal
uncut viper
#

i feel like both the farmhouse and the community center need "abandon all hope ye who mod here" signs

rancid temple
#

We're not a good shield lmao

brittle pasture
#

you fool, pathos is mod authors

uncut viper
#

dont need smapi mobile if no one makes mods that work on it anyway

velvet narwhal
#

he is both, and all

rancid temple
#

We don't have to look at his mod comments sections, truly he is sheltering us from them

velvet narwhal
#

there's aba's hacks

rancid temple
#

Can't really make the mods if the SMAPI doesn't exist but if there's not enough demand there's no way someone is gonna make and maintain the SMAPI for it

#

@quaint moss Avi found Aba's hack if you want to continue this route

velvet narwhal
#

highly incompatible with custom farmhouses so be warned

uncut viper
#

i wonder if just forcibly calling FarmHouse.loadSpouseRoom again would make that problem go away

velvet narwhal
#

it might even break in 1.6.9 because of THAT STUPID BEAM IN THE SPOUSEROOM

rancid temple
#

Calling to reload the spouse room whenever you enter the map would probably be fine

#

Even with a poly mod, probably on time changed would be fine lol

velvet narwhal
#

time changed scares me

rancid temple
#

Dunno about anything more frequent though, asking for trouble

lucid iron
#

do u think sdv should get another polyamory mod LilyDerp

rancid temple
#

It has like 3 doesn't it?

brittle pasture
#

well one is coming out soon

tardy adder
#

Maybe I am just losing it... I spent 2 hours wondering why a map didn't load when a flag happened......... it was false in the config

uncut viper
#

just adding it into FarmHouse.resetForPlayerEntry would be good i think

lucid iron
#

wow really

uncut viper
#

i wanted to make another poly mod a while back but gave up on that when i heard someone else already was

next plaza
#

There's Free Love, polysweet, and EnderTedi's WIP one

lucid iron
#

the specific thing i was thinking of is a polymod where the spouseroom is optional

rancid temple
#

!fourcakes

uncut viper
#

(a while back being like... may, so way before i had the technical knowhow to even do it if i tried)

lucid iron
#

and u can sleep in the spouse's house if u want

velvet narwhal
#

oh tedi's making one guess i'll finally have a reason to Romance Them All

next plaza
uncut viper
#

the main thing i wanted from a new poly mod is multiplayer support SDVpufferpensive

rancid temple
#

Honestly, a complete overhaul to the relationship system where the NPC doesn't lose their entire personality would be so choice

next plaza
#

I know S&S lets you for Hector (and maybe the other two spouses)

velvet narwhal
#

wdym multiplayer support

lucid iron
#

no but most of them force spouse room right yggy

#

that is the actual thing i want to make optional

uncut viper
tender bloom
#

is this like when I stole Krobus from Kailey

uncut viper
#

most likely

tender bloom
#

can you just repeatedly marry them

uncut viper
#

i dont know actually ive never tried

#

id be annoyed by all the weddings

tender bloom
#

like if you just give them another pendant

rancid temple
#

Every 3 days a marriage event

uncut viper
#

and id never get anniversary dialogue

tender bloom
#

more weddings more parties more better

#

oh i guess that part is sad

uncut viper
#

):

rancid temple
#

Co-opetition at its finest

velvet narwhal
#

move aside marriageDuties, here comes the new marriageCertificate

uncut viper
#

plus i was tyhinking itd be nice if two people married the same NPC that theyd go back n forth between the cabin and farmhouse sometimes

lucid iron
#

mod that makes npc do their og schedule

tender bloom
#

I still think it's funniest if this is accomplished by handing off a pendant every week or so

#

just be like "nooo it's my turn with Abigail"

rancid temple
#

Oh is it? I've been super slack in looking for mods since I started making them :P

tender bloom
#

(or whoever)

next plaza
tender bloom
#

(she's alphabetically first so she's the generic test NPC)

#

(or at least that's my theory)

next plaza
#

Notably, polysweet probably breaks with it

uncut viper
#

seeds: $500
tool upgrades: $2000
clothing: $50
marriage pendants: $500000
furniture: $3000

someone please help me budget this my crops are dying

next plaza
#

(EnderTedi's poly mod works with it though)

tender bloom
#

I think you should give up furniture Button

#

maybe also tool upgrades

#

those don't seem that important

#

surely this will never cause problems

velvet narwhal
#

use astraios' spouse incomes

uncut viper
#

you're right, i can move their budget to rain totems

lucid iron
#

clothing is free just bonk shirts out of slimes

uncut viper
#

to buy more pendants

tender bloom
#

also don't buy seeds, just steal them

uncut viper
#

now theres a mod idea

tender bloom
#

and increase the clothing budget, you need to dress up for all these weddings

#

I'm very good at money

uncut viper
#

so you've got enough to share them right

#

then*

#

the money that is

velvet narwhal
#

nope that was an xkcd bird thought, i don't know if roku was even close to finishing that crow-building
was contemplating the crows dropping seeds

tender bloom
#

yes I can donate to the "get married every week" fund

uncut viper
#

ok ill send you my gofundme

tender bloom
#

I can contribute a lot of extremely questionable wine

#

salmonberry wine, umilled rice juice, hot pepper wine

velvet narwhal
#

snail wine

rancid temple
lucid iron
#

weeds honey

uncut viper
#

okay but hot pepper wine sounds good

tender bloom
#

I don't think my taste buds are built that way ๐Ÿ˜‚

lucid iron
#

isnt that just

#

tequila

uncut viper
#

i dont know i dont drink

tender bloom
#

I'm no wine-ologist

merry rampart
#

Quick question. Can the LockedDoorWarp Action tile not have a time requirement? Or do I need to put one in in order for it to work properly?

tender bloom
#

I think for it to be locked it needs a time maybe

#

have you tried 0600 to 2600?

uncut viper
#

otherwise its just a warp, no?

brave fable
#

truly appreciate another unmilled rice juice enthusiast

tender bloom
#

a delicious beverage with no questionable aspects

merry rampart
#

I want the door to have a friendship requirement but not a time requirement

tender bloom
#

try 0600 to 2600

uncut viper
#

oh then in that case yeah go with all day time

tender bloom
#

it's technically locked if it's outside those hours!

rancid temple
#

Time is required, friendship isn't lmao

tender bloom
#

aka never unless you have a mod that messes with time

brittle pasture
uncut viper
#

i wouldnt want a friend waking me up at 5am

tender bloom
#

unmilled rice juice sounds more like a health food

merry rampart
#

Mmk I'll put all day time. Thanks!

tender bloom
#

rice milk sounds kind of good

velvet narwhal
#

my cats wake me up at 5am anyway what's the difference

tender bloom
#

noooo bad kitties

rancid temple
#

But barging into Elliott's house at 6 AM and handing him a gift is like my favorite passtime

uncut viper
#

actually

#

if you EREALLY dont want the time thing

#

there is ConditionalDoor

#

for use with a GSQ

brave fable
#

is this the answer to the age-old question, when is a door not a door

tender bloom
#

does that have the ability to show an error message saying why?

brittle pasture
velvet narwhal
#

when it's a fence

uncut viper
#

when its conditionally a false door

tender bloom
#

a door is not a door when one of a million finicky door things isn't set properly

#

like the tilesheet being exactly right

#

or the tile properties

uncut viper
tender bloom
#

oo fancy

velvet narwhal
#

god i am too stupid to redo doors and that's what's been stopping me from working more on my expansion idea SDVpufferflat

brave fable
#

yeah doors are pretty loathsome

uncut viper
#

ConditionalDoor <GSQ> and LockedDoorMessage <I think a translation key?> on the same tile i guess

tender bloom
#

every so often someone comes in sad about their doors and I'm like "doors look like they suck"

rancid temple
#

Is that a tile action?

uncut viper
#

are those what are checked in performAction

rancid temple
#

Doors are pretty heinous lol

velvet narwhal
#

it's like, 3 layers?

brave fable
#

i tried 2x2 doors a couple years ago and it sucked ass

tender bloom
#

personally I pretend they do not exist

velvet narwhal
#

buildings, front, object-buildings

uncut viper
#

if Tile Actions are the things on the Buildings layer then yes

tender bloom
#

that's a future me problem

rancid temple
#

I'm not finding ConditionalDoor on the wiki, trying to determine where it should be lol

uncut viper
#

same switch statement as LockedDoorWarp

brave fable
#

doors are like pants. pointless, stupid obstacles to my day

tender bloom
#

aka the distant future when I actually make modding progress

uncut viper
#

oh. is it not there? i just looked in ilspy

tender bloom
#

pants I have fought to a standstill

brave fable
#

so my buildings do not have doors. sweet freedom of movement

tender bloom
#

doors are a foe I have not yet faced

uncut viper
#

Line 891 on GameLocation.performAction

#

assuming you look in that function directly

tender bloom
#

I have a heinous python script that could use some updating and a disturbingly thorough image documenting frames of pants

velvet narwhal
#

outdoor -> indoor doors are fine, the interior doors that are locked behind friendship? makes me SDVpetcatangy

rancid temple
#

In the decompile it's like lines 3919 and 9531 SDVkrobusgiggle

uncut viper
#

i assume you're not looking at that function directly!

#

or looking at it in VS i suppose

rancid temple
#

I'm looking at the entirety of GameLocation in VS

uncut viper
#

this is why i prefer ilspy for quick searching :p

rancid temple
#

ConditionalDoor is apparently a touch action as well (the kind that go on Back tiles)

uncut viper
#

Rider is pretty good but it does get a bit slowish when loading a huge file

#

so it is

rancid temple
#

Which, that's kind of misleading :P

uncut viper
#

is it? it'd still do it when you touch the tile, no?

rancid temple
#

Well when you walk onto the tile, rather than click it

uncut viper
#

whats misleading about that?

rancid temple
#

I don't tend to think of doors as tiles I stand on lol

uncut viper
#

trapdoors!

rancid temple
#

Fair

brave fable
#

in what world do you use a conditional touch door

uncut viper
#

sewer entrance

brave fable
#

is this for like, a secret cave that opens up

uncut viper
#

that was just another example not an answer to blueberry but it could be

rancid temple
#

I would still make that an action lol, simply because the game sets up the premise that you have to click doors to use them

uncut viper
#

im thinking team rocket style traps

#

just a hole covered with leaves

rancid temple
#

Traps would be very good actually

#

Time to make a Pokemon style gym building

brave fable
#

you'd need a lot of set dressing to make it act like a trapdoor though and not a random warp glitch that plays door sounds

uncut viper
#

put another touch action on the tile it warps you to that says "Ouch, you fell!"

velvet narwhal
#

actually conditional touch door fits into lumina's idea of pedestalled dungeon

uncut viper
#

the stock door sound though, that is a shame

rancid temple
#

I wonder if that touch action would trigger from that

uncut viper
#

you could conditionally patch the sound effect on location change but then its stuck for the rest of the game right

#

until next launch

#

or am i misinterpreting that line on the wiki for like the 7th time probably bc i keep forgetting

brave fable
#

patcth it again after SDVdemetriums

uncut viper
#

the fact that that makes sense makes me feel like i must be misinterpreting it

calm nebula
#

That is CP

rancid temple
#

Make new actions and touch actions that accept any sound you want

calm nebula
#

In c# you just stash the old cue in a field somewhere maybe

uncut viper
#

i was trying to think of a way to use this just in CP

calm nebula
#

Or maybe I'm misremembering

#

Or maybe I'm tired

uncut viper
#

because if you're in C# already it does not matter at all that conditionaldoor exists

calm nebula
#

"Is there pho near me"

uncut viper
#

bc you can make any action you want

calm nebula
#

Night!

uncut viper
#

Day!

#

wait, are we not playing the "say the first word to come to mind" game

brittle pasture
#

Snail...?

uncut viper
#

Honey

velvet narwhal
#

too much ff14, i immediately said "bee"

uncut viper
#

queen bee my beloved

brave fable
#

ah yรฉs bees and honey, from the game ff14

uncut viper
#

queen bee raid mechanics in the next whatever the stardew arcade game is DLC

brave fable
#

exclusively

uncut viper
#

the one with the cowboy

velvet narwhal
#

no it's specifically the splatoon nyoot noises from the damn bgm

uncut viper
#

why am i completely blanking on the cowboy arcade game name i keep wanting to call it Junimo King but i know thats Not It

#

PRAIRIE KING

velvet narwhal
#

prairie king?

brave fable
#

Journey of the Prairie King

uncut viper
#

first try

velvet narwhal
#

ju nimo k i ng

rancid temple
#

The... Splatoon noises, from FF14???

vernal crest
#

Oh I played junimo kart for the first time yesterday. Dislike!

rancid temple
#

Too hard

uncut viper
#

i play too much Junimo Kart i love it

velvet narwhal
#

i already linked roku to it

vernal crest
#

So hard

uncut viper
#

just download my books mod to get the cheatcode bookโ€”

brave fable
#

your books mod has prima strategy guides??

rancid temple
#

I had to play it for a few hours to get good enough to beat it for my partner, I wanted to die

uncut viper
#

close it has those "Book of 2000 AWESOME cheat codes!!!" booklets you'd get at scholastic book fairs in elementary school

brave fable
#

does it have a really terrible joke book

velvet narwhal
#

god i think the first guidebook i bought was from radioshack

uncut viper
#

blueberry ill be totally honest with you

#

i dont remember all the books in my mod

#

its been months since ive even looked at it

brave fable
#

you like reading huh? name every book

uncut viper
#

Waiting for Godot

brave fable
#

1/?

vernal crest
#

That's it. That's all the books

uncut viper
#

yeah i did it, what do you mean "?"

velvet narwhal
#

button gonna make the 5th poly mod and it's the form of a book, "Defy Not the Heart"

brave fable
#

1/1 ๐Ÿฅณ

uncut viper
#

i_tried.png

#

wow thats a much crunchier image than i thought

merry rampart
#

I'm trying to make a custom warp totem via SpaceCore which costs 1 of any flower to craft. That part works perfectly, flower is consumed and totem is created. However, it's showing up like this...

Any idea how to fix?

uncut viper
#

can you send your recipe json with the smapi uploader

#

!json

ocean sailBOT
#

JSON is a standard format for machine-readable text files that's used by Stardew Valley mods.

If you need help with a JSON file, you can upload it to smapi.io/json to see automatic validation and share the link here.

When making mods, it's recommended to edit your files in a text editor with JSON support, such as VS Code, Notepad++, or Sublime Text. These programs will check for syntax errors.

brittle pasture
#

"any flowers" isnt a supported category in vanilla

#

only veggies, fish, eggs, milk

uncut viper
#

spacecore allows it though right?

brittle pasture
#

yes

#

adding that in case Jen wasn't using SpaceCore for the crafting

merry rampart
#

Ah so I need to use spacecore for the recipe too?

brittle pasture
#

yesh

merry rampart
#

ok

brittle pasture
#

(technically, it's not that it's not supported - any category IDs are supported in crafting. it's just the hardcoded display names don't have a branch for flowers)

merry rampart
#

This is my recipe code:

      "Action": "EditData",
      "Target": "Data/CraftingRecipes",
      "Entries": {
        "{{ModId}}_EnchantedSpringTotem_Recipe": "-80 1/Home/{{ModId}}_EnchantedSpringTotem/false/default/{{i18n:Object.EnchantedSpringTotem.name}}"
      }
    },```
#

So yeah I'll figure out how to do it with spacecore

hard fern
#

is it necessary to have i18n for my mod, or is that just for in case it's ever translated?

velvet narwhal
#

tokens/translation is pretty much it

merry rampart
#

i18n makes it a lot easier for translaters, yes. i like to include it even if my mod only has 1 or 2 lines

uncut viper
#

you can use i18n for yourself for extra things like easier randomization of dialogue and such too

#

you dont need i18n for it but it can make it easier to parse

velvet narwhal
#

it's much easier to use {{Random}} than it is the input separator imo

tiny zealot
#

even outside of translation, it pleases me to separate the player-facing text into one place instead of being scattered about

velvet narwhal
#

also if i'm doing heart events and i miss a number somewhere, it just throws a 'no translation <key>' for me, and i know where to look for the dumb thing i did

hard fern
#

SDVpuffersweats the way im writing my dialogue rn makes me worried

#

hm

merry rampart
#

i... think i need an example of how recipes using spacecore works. anyone know of one?

tardy adder
#

I need help with dialogue

#

As in someone please tell me how people talk

brittle pasture
merry rampart
#

thanks!

brittle pasture
#

look at recipe_replacements.json, it overrides a bunch of its recipes to support context tags/category ingredients

merry rampart
#

Gotcha now it's making more sense to me

hard fern
#

๐Ÿ˜“ i'll worry about i18n after my mod is actually working

rancid temple
#

Does ConditionalDoor do anything...?

#

Like the touch action I guess

#

The action definitely does, but the touch action, if the GSQ matches it... breaks the switch

uncut viper
#

yeah that seems like a bug

#

or at least, backwards

rancid temple
#

Maybe it's a feature that just didn't get implemented properly?

uncut viper
#

it would work if you negated the GSQ and checked the opposite

rancid temple
#

Well except that it still isn't doing anything

uncut viper
#

oh, hm

rancid temple
#

Should either be a warp or something like it there

uncut viper
#

well.... it'll tell you its locked i guess! thats technically something

rancid temple
#

Lol

uncut viper
#

but yeah, it seems like that should be the same openDoor and return

rancid temple
#

LockedDoorMessage Don't touch my door

uncut viper
#

worth bringing up i think, tiny change anyway

hard fern
#

romanceable npcs generally have heart events for every 2 hearts they have right?

merry rampart
#

For the most part, yeah. though you can add more if you want to

uncut viper
#

(tho roku did you check that its still broken in 1.6.9? i assume you've been working in 1.6.9 anyway but im not, so, just double checkin)

rancid temple
#

I'm gonna do some actual tests and make sure I've got the latest decompile and all before I bring it up

uncut viper
#

fair, so long as you remember that 1.6.9 is only like a week away :p

rancid temple
#

Yeah, ideally if I can bring it up tomorrow maybe it can be fixed (if it will be) in the nightly build lol

naive depot
#

Hello friends, does anyone perchance know how one would go about spawning a farmer npc (spawning another player that isn't being controlled by the player basically, that is if this is possible.)?

uncut viper
#

what reason do you have to want to?

#

i dont think thats something you can just "go about" doing

naive depot
#

ah

#

alrighty

uncut viper
#

as with all things, Anything is possible if you throw enough C# at it

naive depot
#

yea

#

I'll see if I can maybe trick the game into thinking they're farmhands or something

#

thanks thou

rancid temple
#

Same issue, you could make a dummy NPC

naive depot
#

yea

rancid temple
#

But I dunno how you'd make them look like the player without C#

uncut viper
#

specifically a dummy NPC not a Farmer

naive depot
#

yea

rancid temple
#

The way farmer's are built from their various paper doll parts also causes an issue in that regard, since you aren't just copying a spritesheet

naive depot
#

ah

#

makes sense

#

customazation purposes

rancid temple
#

Knowing what you're trying to do would definitely help in regards to determining if there's another way to do it

naive depot
#

Like what I'm trying to do with the player npc/

#

?

rancid temple
#

Yeah with the fake player/dummy NPC

naive depot
#

just move it around

#

literally it

tardy adder
#

I am regretting dialogue atm

#

I have 3k+ lines to come up with, nuuuu

naive depot
#

dang

#

good luck to you

velvet narwhal
#

godspeed to you soldier, not even my most extensive mod has 2800 lines

rancid temple
#

Hm, yeah I mean in C# you could determine how the game is drawing the farmer and recreate that yourself, but it's gonna be pretty involved

naive depot
#

I can do that.

next plaza
#

I mean, you could just new Farmer() and render that

rancid temple
#

!decompile if you haven't

ocean sailBOT
naive depot
#

I tried that, but maybe I did it wrong

#

Because I am pretty bad at programming lol

next plaza
#

It might not layer properly behind things depending on when you draw it

rancid temple
#

I'm still trying to avoid messing with draw logic lol

tardy adder
#

watch my dialogue slowly become single sentences...
Tornado occurs, Lewis: Well, that happened... Anyways

uncut viper
#

(i must be dumb thats like the 5th time ive hovered over the candy emote react to try and see who gave it)

vernal crest
#

xD

rancid temple
#

Lmao, me too

uncut viper
#

i checked those too but those were ON PURPOSE just in case one of y'all was bein a jokester

vernal crest
#

ooOOOooooOOOOo who did iiiiit????

uncut viper
#

lurking chu SDVpufferlurk

velvet narwhal
#

not i, i'm busy playing rhythm heaven in honkai

vernal crest
#

It was me I did it

lucid iron
#

i think im really bad at trig

uncut viper
#

what are you trying to trigonometrify

rancid temple
#

Is anyone good at trig?

velvet narwhal
#

are you making the serpent with a sine function

lucid iron
#

no im still trying to make this bounce motion look better

uncut viper
#

i consider myself decent at trig but i also took extra calc courses in uni for fun so i think im an outlier (i forgot all the extra calc)

lucid iron
#

but hm i think my problem is that i did this all wrong

#

it should have been IK instead of FK

tender bloom
lucid iron
#

the spooder will just look kinda bad i guess

#

until i come back and make the targeted leap motion

vernal crest
#

Why did I leave all the drawing for last SDVpufferwaaah now I just have a bunch of drawing to do.

#

Why does all my modding involve so much drawing anyway!?

uncut viper
#

have you looked at any easing functions chu

velvet narwhal
#

see i did the drawing first SDVpuffersmart

lucid iron
#

not really

uncut viper
#

may be worth lookin at

lucid iron
#

i wrote uh whatever this is for the squash

#

float thetaF = (float)Math.Max(Math.Pow(Math.Cos(2 * Math.PI * theta), 5) / 2, 0) * args.Squash;

vernal crest
lucid iron
#

i dont remember the logic behind this anymore but it looks alright sleep

vernal crest
#

Before I do additional drawing that I don't have to do: the cauldron smoke effect is C# right?

lucid iron
#

but the IK/FK thing i was talking about is that

uncut viper
#

i mean looking good is more important than it being mathematically good i think in this case SDVpufferthumbsup

lucid iron
#

rn bounce is an offset from the anchor

#

which make sense cus it just extends lerp

#

when u look at a jump while player is moving closely

#

the trinket changes direction midair

#

bc it's final position is also moving

uncut viper
lucid iron
#

i needed to do IK (decide target and derive path) instead of FK (get target from path), to borrow some rigging words

vernal crest
uncut viper
#

inverse kinematics is where my brain checks out so all i can say is good luck

lucid iron
#

it's not a real rig at least PecoWant

uncut viper
lucid iron
#

but yea bc the current impl looks quite good with dust sprites i dun want to change it too much KasumiDerp

uncut viper
#

i guess this is a bubble

#

it looks like it matches enough i think maybe

lucid iron
#

i think you have to fake it aba, with animated spritesheets

#

if no C# i mean

#

unless whatever u are targeting accepts TAS

merry rampart
#

Nice when I can get something to work the way it should.

Now I should go sleep....

vernal crest
#

Thanks Button, I will add "make C# smoke" to my "try later" pile

#

That'd probably be a pretty easy thing, right?

#

Suitable for babies?

lucid iron
#

SpecialVariable == 388859 LilyDerp

uncut viper
#

considerin the code already exists, id say so

lucid iron
#

its just a TAS yea

uncut viper
#

just need to change the tile location and colour

lucid iron
#

i wonder what is like

vernal crest
#

TAS = tasmania, right?

lucid iron
#

the deal with these SpecialVariable values

uncut viper
#

relatedly this is how i found out you can make the cauldron bubble up more by clicking on it

velvet narwhal
#

tempanimatedsprite

lucid iron
#

what is generating them...

uncut viper
#

SpecialVariables?

lucid iron
uncut viper
#

i think those are just like. random misc number storage

lucid iron
#

they r always flagging some thing or another

naive depot
lucid iron
#

i assume no one's like, going in and putting 388859 by hand

#

so it's not clear why these values are what they are

velvet narwhal
#

atra might say, "compiler things" and handwave

vernal crest
#

Argh security questions that rely on subjective things ("what is your favourite movie") are the worst. I have no set favourites! Leave me alone!

#

And then objective ones are easy to find out

#

Terrible

teal bridge
#

Security questions period are idiotic, they are simply weaker passwords.

vernal crest
#

Agreed

teal bridge
#

I have not entered a real answer into one of those in over 10 years.

uncut viper
#

if you just generate another random password for the security questions, does that count as 2fa

#

(/j)

teal bridge
#

That's not far from what I actually do.

vernal crest
#

I guess I could put the answers into bitwarden so I can remember them

teal bridge
#

Not that I'd call it 2fa, obviously.

rancid temple
#

Yeah, rather than legit answers, I just have set answers I use for those lmao

teal bridge
#

Yes, unfortunately that is weak security on its own, though it's better than easily-guessable answers. At least most of the time they have enough sense to enforce them in addition to a regular password in a misguided 1.1fa scheme, but when you see those security questions being used for account recovery, run the other way.

rancid temple
#

Oh right, ConditionalDoor action isn't even a warp, it's for interior doors lmao

uncut viper
#

oh. oops

rancid temple
#

So I guess the touch action would be like a button

uncut viper
#

hi

#

in my defense i dont do map stuff i just saw it was beneath LockedDoorWarp and just assumed they'd both warp you

velvet narwhal
#

oh is it used for the volcanodungeon?

uncut viper
#

actually believe it or not

#

the only usage in vanilla for conditionaldoor is in the adventurerss guild

#

i guess it could theoretically be added when randomly generated in the dungeon maps

#

but thats the only instance in a .tmx itself

rancid temple
#

It also has no condition, so it will never open???

uncut viper
#

it does have a condition

rancid temple
#

Or will it always open?

uncut viper
#

1000 monsters killed

rancid temple
#

Oh is it set in the code?

#

I was looking in Tiled

uncut viper
#

i dunno i just set n++ to search in all the tmxs

#

you might be looking at the touchaction one

#

it seems there are two

#

one is TouchAction, which has no condition, and one is Action

rancid temple
#

Oh, I am indeed

uncut viper
#

which has a condition

next plaza
uncut viper
#

great game tbh

#

good couch co op fun

#

(i also didnt see any reference to ConditionalDoor elsewhere when searching the decomp so i guess that is the only place)

rancid temple
#

Ah no wonder my LockedDoorMessage kept throwing errors, it's one of those cursed path references

quaint moss
#

Is it possible to get working chairs on the spouse patio via Data/ChairTiles?

velvet narwhal
#

probably

uncut viper
#

until a farm map moves the patio

lucid iron
#

ill fix this when i make the squid motion probably

rancid temple
#

You'd also need a separate patch for every vanilla farm type

#

Or, every one that has different patio spots

uncut viper
#

tbh id probably just have the spider not change direction midair

teal bridge
#

Yeah, that was a little off-putting to me as well.

lucid iron
#

as mentioned previously, the implementation cant do it

#

ill have to change the base motion from lerp (follow player) to dart (pick spot to go to every X second)

teal bridge
#

I guess it doesn't really understand "Z"?

rancid temple
#

Eh, seems like normal video game behavior to me lol

lucid iron
#

dart being the squid like motion i was putting off

uncut viper
#

i think i misunderstood what you were saying originally then, my apologies

velvet narwhal
#

it's on an invisible leash

#

which makes sense to me SDVpufferthinkblob

teal bridge
#

It's normal video game behavior to bounce off the edges of the screen, but not so much reversing in arbitrary places.

uncut viper
#

unless you're a player with mid-air movement

lucid iron
#

problem for laterโ„ข๏ธ

teal bridge
#

Is the lerp behavior your own implementation or relying on some game script? If it's yours, just add commitment.

rancid temple
#

I didn't realize Data/ChairTiles was based on tilesheets

lucid iron
#

yea it is my own i am just slacc

rancid temple
#

That should make it way easier to make chairs for spouse patios

teal bridge
#

Isn't everything based on tilesheets?

#

Except text, I suppose.

lucid iron
#

chairs could be furniture

#

not map tiles

rancid temple
#

I had assumed it was based on like maps

lucid iron
#

chair tiles are some special bs though

uncut viper
#

does it specifically look for a tile that matches a tilesheet coordinate and not a tile coordinate?

lucid iron
#

neither map prop or tile data, its own model

next plaza
#

One could argue the text glyphs are a tilesheet in a way

teal bridge
#

They are, they just get special treatment.

#

Everything is a sprite. Maps are sprites too.

uncut viper
#

i thought some glyphs were made with splines

rancid temple
uncut viper
#

and weird math

teal bridge
#

...fine, not everything, just 99.9% of the things. It's technically possible to emit graphics in MonoGame with shaders/effects.

uncut viper
#

what a strange data asset

velvet narwhal
#

i now remembered why i didn't make the couches sittable, i didn't want to figure out how to finagle it

uncut viper
#

thinkin about this has me wondering what the most niche thing in Content/Data is for mods to edit

#

or to want to edit

velvet narwhal
#

monsters

uncut viper
#

i was thinking it had to be between PaintData and Mannequins

#

maybe MakeoverOutfits

teal bridge
#

Monsters was pretty awful, I've gotta say.

velvet narwhal
#

oh my brain saw niche as "pain in the ass"

uncut viper
#

monsters has loot tables thats good stuff

lucid iron
#

monsters isnt that niche it's just kinda useless and there's ftm

uncut viper
#

naw niche as in "people will rarely ever need to edit this"

velvet narwhal
#

achievements?

next plaza
#

How about IncomingPhoneCalls

lucid iron
#

can u add custom achievements LilyDerp

uncut viper
#

i think you can add your own achievements... so long as you dont care about making them steam ones? i guess

#

i saw someone add to IncomingPhonecalls once

velvet narwhal
#

i think the new SVE update has it

rancid temple
#

MonsterSlayerQuests

uncut viper
#

id be surprised if no one has edited monster slayer quests tbh that also seems like a good and easy one to edit

teal bridge
#

Because Perfection.

uncut viper
#

i mean you can also just make them easier

#

you dont need to add new things

velvet narwhal
#

oh i just realized i could commit crimes with random bundles

uncut viper
#

but like, who's out here making more mannequins?

velvet narwhal
#

casey

uncut viper
#

has Casey made a mannequin

teal bridge
#

True. I'll probably go with makeover outfits as the most random/niche thing, it's literally one mini-event in the game.

velvet narwhal
#

i don't know but there sure are a lot of mannequins every time casey puts up a test video

uncut viper
#

im gonna make sure i edit MakeoverOutfits now for my NPC mod

next plaza
uncut viper
#

if i conditionally patch it to empty the entire list i can guarantee that you can get my NPC's outfit as a makeover outfit one day

naive depot
#

Hey, I've been working away at my Farmer thing, but I can't seem to get it to render, you're supposed to call draw on the farmer at Rendering, right?

teal bridge
#

GarbageCans looks tantalizing.

uncut viper
next plaza
#

I had the pre-1.6 mannequins, does that count?

uncut viper
#

did Data/Mannequins exist back then?

next plaza
#

Nope

uncut viper
#

instant disqualification

next plaza
#

How dare you Buttons

#

Giving me a trick

uncut viper
#

just propping you up on the leaderboard

next plaza
#

I have 2 tricks and 2 treats

teal bridge
#

Bats are tricks? I don't understand this particular event.

next plaza
#

I don't think I'm making the leaderboards

uncut viper
#

(also idk the answer to the Farmer thing)

lucid iron
#

what is a good way to obtain random point in this zone

#

given min radius max radius and a theta

teal bridge
#

Random angle + random radius

next plaza
#

^

teal bridge
#

It's just a polar coordinate, same as you'd do a random (x, y)

lucid iron
#

ah right KasumiDerp

#

then i just gotta atan the theta from farmer

uncut viper
#

obviously you need to take the radius of the circle and act as if its a square, generate a random point inside a Rectangle with the width and height set to that radius, check if that point is within the area of the circle, and if not, discard it and generate a new one

lucid iron
#

is this a ref to something specific bolbonfire

teal bridge
#

Only if it's used for fishing.

uncut viper
#

i dont know what the deal with fishing is i blocked fishing code from my memory

teal bridge
#

That is actually how parts of fishing work.

lucid iron
#

fear

teal bridge
#

Pick a random tile, check if it's fishable/splashable, if not then try again a few times...

#

I thought that's what you were referring to.

uncut viper
#

no i just enjoy giving incredibly obviously inefficient solutions and/or bad ideas to nail problems that can be solved with a simple hammer because i like trying to hammer nails with nukes instead

safe mortar
#

Thought my mod was done but whoops they're still wearing their costumes after the event XD I just flew back from a trip earlier today and it's after midnight so def a tomorrow problem haha

teal bridge
#

It's also sort of how you draw a circle in a shader, minus the randomness.

velvet narwhal
#

"and where does the triangle go? IN THE SQUARE HOLE, THAT'S CORRECT"

teal bridge
#

(Take a rectangular region and just exclude everything that's outside the circle radius.)

uncut viper
lucid iron
#

when is calc gonna come up in modding

rancid temple
#

Hopefully never

uncut viper
#

basically all the time

lucid iron
#

does it though

#

i havent had to do an integral of anything

uncut viper
#

are you sure you're modding then

rancid temple
#

I've managed to avoid big math in all my mods so far

teal bridge
#

Hard to see an application for it. Linalg, yes, but not calc. I guess acceleration/velocity calculations are kind of calculus, like really basic variety.

velvet narwhal
#

when the hell am i ever going to use L'Hรดpital in code

uncut viper
#

chu never specified anything above calc BC

lucid iron
#

what is calc bc

#

i was thinking like

velvet narwhal
#

before calc

lucid iron
#

uni year 1 calc

uncut viper
#

the really basic variety of calc, basically

rancid temple
#

Big Calculus /j

teal bridge
#

Well, there are instances here and there where you are dealing with a rate of change and want to extrapolate to some final value, so I guess that counts.

#

But it's being really generous to call that calculus, honestly.

uncut viper
#

im a generous person!

velvet narwhal
#

what is non US uni year 1 calc because i was on the cusp of learning integrals my first semester calc

lucid iron
#

i thought its like

#

all the stuff except multivariate calc

tardy adder
#

Oh great... the night event totem works... but then the day after the weather just goes yeet

rancid temple
#

@ivory plume GameLocation.performTouchAction has a ConditionalDoor that seems to do nothing when the GSQ check it does is true, otherwise it opens the dialogue for either the chosen string data asset or the fallback string.

The performAction variant is for opening interior doors, but the touch action doesn't seem to have anything like that.

I was trying to figure this out for adding to the wiki, not something I'm actually intending to use. At this point, mostly just wondering if this is something that'll be fixed for 1.6.9 or if I should just make note of the weirdness on the wiki for the touch action.

tardy adder
#

I am confusion

#

Nauuuur why is winter 7 raining but not raining and its snow

rain basalt
#

Well at least you didnโ€™t fall asleep on your keyboard while in the middle of a large mod and have to delete 47k lines of just mโ€™s

sweet sphinx
#

is there an easier way to add more entries to the skin list, than just copying and pasting the whole thing?

uncut viper
rain basalt
#

Same entry?

uncut viper
#

as long as theyre all meant to go into the same TargetField

sweet sphinx
#

awesome

uncut viper
#

so you'd copy everything from {{ModId}}_WhiteRabbit to the brace after the BabyTexture line and change it for your next entry

sweet sphinx
#

sweet

uncut viper
#

everything from the first {{ModId}}_WhiteRabbit i.e. the one with the { on it (this is also why the smapi uploader is preferred when sending json, it has line numbers)

rain basalt
#

Well back to sleep lol this time in my bed Iโ€™ll figure out what else I messed up on mod in morning itโ€™s 1:30am lol laters all

sweet sphinx
#

oh, I saw notepad++ was rec'd and I'm used to notepad... wait, am I even using n++??

uncut viper
#

no, you're using regular notepad

rain basalt
#

Use vs code itโ€™s better lol

sweet sphinx
#

it said no, XD

rain basalt
#

lol shh

sweet sphinx
#

I'll check that out tomorrow, it's rly late here, and I just wanted to make two skins of the rabbits rl quick

tardy adder
#

I give up for now, I'll check later why winter 7 just seizes up 9-9

#

Eepy time

rain basalt
#

SDVemoteheart ๐Ÿ’ค

sweet sphinx
#

... yeaaahhh, no, I want nothing to do with "AI" slop

rain basalt
#

lol donโ€™t use the ai part

#

Just the editor

uncut viper
#

you can turn off github copilot and everything else. just microsoft shilling their new stuff

sweet sphinx
#

oh, cool

woeful lintel
#

I've been using VSCode for years without touching any AI

uncut viper
#

not using it bc of that would be akin to not using github bc of it

rain basalt
#

I use partial ai cause it prompts my mistakes and shows linking within the code itself

woeful lintel
#

my favorite part of VSCode: the background extension, it was updated very recently

woeful lintel
uncut viper
#

yeah i think thats just basic IDE stuff

rain basalt
#

Technically anything thatโ€™s intuitive is AI

woeful lintel
rain basalt
#

K going to sleep ๐Ÿ˜ด

woeful lintel
#

are we going to go through this again? What we call AI in recent times is any machine learning model, but what you call "anything intuitive" are mostly just smart algorithms (in the sense that people who made them are smart) that have nothing to do with โœจ AI

rain basalt
uncut viper
#

last time i recall there being a lot of AI discussion only tangential to modding, a Junimo dropped in to corral us back on topic, so probably best to not get into it

woeful lintel
#

cuz with a simple definition of AI, the A* algorithm is AI

woeful lintel
rain basalt
#

Just going to post this since it is the definition of AI and point out the part analyze data - Artificial intelligence (AI) is a set of technologies that enable computers to perform a variety of advanced functions, including the ability to see, understand and translate spoken and written language, analyze data, make recommendations, and more.

uncut viper
#

to get back on topic, Visual Studio Code is recommended bc its got nice features you want that regular Notepad doesnt have, like json validation and stuff (like if you're missing braces or commas or anything like that) and some nice formatting extensions if you're into that

#

Notepad++ can also validate your json but you need a plugin for it

#

so its like a step between notepad and VSC

rain basalt
#

Yep like analyzing your code to point out errors as you type

vernal crest
#

Seems so strange to me that there isn't a single N++ plugin that validates json as you go

woeful lintel
#

You're lucky Boo-tton is holding me back

uncut viper
#

i use N++ personally just bc its super lightweight for quick json edits but i can also validate my own json or, barring that, can read and understand an error msg pointing me to it if it breaks

#

also the basic N++ auto formatting works fine enough for me

vernal crest
#

I usually have both VSC and N++ open at all times lol

woeful lintel
uncut viper
#

the only thing i keep open all the time is ILSpy SDVpuffersquee

woeful lintel
vernal crest
# woeful lintel really? what's the point??

I use VSC for my workspace for my files and often open others' files in N++ for looking at. Makes it easier to keep my space tidy given that I am terrible for always having a million files open.

woeful lintel
#

oh, like looking at the game's content? Yeah, I do that too with my default txt editor

uncut viper
#

Rider also has an ILSpy-esque extension for it but i find it a lot less quick n easy than ilspy tbh. i just like being able to pop up a window again and search for something in like 2 seconds

vernal crest
lucid iron
#

I can't let myself access IL too easily

#

Otherwise I'll go directly for transpiler LilyDerp

uncut viper
#

but transpilers are so fun!

vernal crest
#

I have not yet learned how to navigate ilspy properly so I stopped using it once I got a csproj for VS

uncut viper
#

and soooo compatible~

lucid iron
#

They r sinful button

woeful lintel
#

I'll have to make a proper transpiler one day, the one I have can't do branches

uncut viper
#

skipping prefixes are sinful

#

transpilers are for connosieurs

#

that said branches suck ass to write in IL

lucid iron
#

I did a harmony transpiler patch from an assetrequested handler yesterday will u forgive me

uncut viper
#

editing existing branches, too. like, not impossible, just annoying

woeful lintel
uncut viper
#

my book mod currently has a skipping prefix so im not free from that sin

#

let she who sins first cast the first stone or whatever

lucid iron
#

Draw methods r no1 use cases of transpiler tho

#

Since they tend to be hueg

woeful lintel
#

yeah but it causes incompatibility

uncut viper
#

if your intent is to change how something is drawn completely its sometimes an ok choice

lucid iron
#

No just be careful when you sin

woeful lintel
#

like, you can't use AT on a FF Furniture

lucid iron
#

For at the answer is usually "just patch AT too"

uncut viper
#

i mean Special Power Utilities is basically the sinnest of sins bc i straight up replace an entire menu. thats like, 20 skipping prefixes

woeful lintel
lucid iron
#

But you are in a position to implement a native furniture skin feature anyways, without needing AT

woeful lintel
#

yeah

lucid iron
#

Something like animal/building skins

woeful lintel
#

What I have for now is a feature where the Furniture Pack maker can add a list or dict of sprite-sheets paths and it will create as many Furniture, so the player can choose which one to use

#

so not exactly AT, but still usefull for making Furniture in batches

hard fern
#

uh.... ๐Ÿ˜“ you know that event where you're dating all the guys/girls at once and you get busted? unfortunately im still kinda confused on how this works for a custom npc.

uncut viper
#

that cutscene adds an active conversation topic

#

so if your NPC has a dialogue key for it they will also have dialogue after it happens

#

for when you just go up and talk to them

#

(even if they were not in the event itself)

hard fern
#

so they dont necessarily have to be dating the player ?

uncut viper
#

no technically you can give literally anyone that dialogue key

hard fern
#

oh

#

neat

#

hm, can you give an npc lines for getting caught dating both the guys and girls? just stick the line in?

uncut viper
#

you can give them a dialogue key for both the boys and girls version but theres no event that gives you like, secondchance_BoysAndGirls

hard fern
#

ah alright ^^ thanks

rancid temple
vernal crest
#

I haven't actually downloaded it to see for myself