#making-mods-general

1 messages Β· Page 487 of 1

vernal crest
#

When I say "use" I mean "code". Not as a player.

#

I will edit mine to make the i18n look less scary

red egret
#

okay i will try this one

vernal crest
#

See? It's just another EditData patch where the key is my furniture item ID and then I add the Description field.

red egret
#

mhm but i want it to be displayed only at certain conditions

vernal crest
#

I took the local token out too

#

You just use a When field for that too

red egret
#

thanks for dumbing it down for me

#

okay! lemme see

vernal crest
#

This one actually has a When field, but I took it out for the example. I'll add it back in.

red egret
#

So the first one is the name being replaced and the other is the new one?

vernal crest
#

Name?

red egret
#

uhh

vernal crest
#

Did you mean display name when you said item description?

red egret
#

yes

#

aw sorry its somehting else, huh

vernal crest
#

They are not the same thing, no.

red egret
#

mb

tiny zealot
#

status update: i have encountered royal serpents in SDV

vernal crest
#

That's ok. You don't need MMAP or SpaceCore to change the display name.

hard fern
#

What is a royal cemetery

#

September

red egret
#

ohhh

hard fern
#

Serpent

tiny zealot
#

forsy pls

red egret
#

well, i learned something about mmap πŸ˜„

hard fern
#

SDVpufferwaaah im typing with one finger

tiny zealot
#

i have not yet encountered a royal september, but a royal serpent is a long snek

hard fern
#

Are those in the hard sc

gentle rose
#

I’m sure there are royal cemeteries

vernal crest
#

I have not yet encountered a royal cemetery in SDV

hard fern
red egret
#

How do i change the display name then under a condition?

hard fern
#

Editdata it -> target just the display name -> "When": condition

#

You'd use target Field i think

vernal crest
#

Use fields and then for the key use the number for that field

red egret
#

is there a template?

vernal crest
#
{
    "Format": "2.8.0",
    "Changes": [
        {
            "LogName": "Edit vanilla furniture by editing the furniture asset",
            "Action": "EditData",
            "Target": "Data/Furniture",
            "Fields": {
                "0": {
                    "7": "{{i18n: furniture.display-name.chair.oak }}"
                }
            }
        }
    ]
}
#

I thought I remembered making a messy mod for it and I did

red egret
#

what is the 0 and 7?

vernal crest
#

In this case the 0 is the id of the furniture. I'm just editing the very first vanilla furniture item. 7 is the index number for the display name field. If you look at your data/furniture entries and count the fields (starting at 0) you'll see the display name is number 7.

lucid iron
#

If it's vanilla furniture you can edit the localized text key instead

vernal crest
#

I removed that patch so as not to be confusing

heavy pewter
#
  "Format": "2.8.0",
  "Changes": [
    {
      "Action": "EditData",
      "Target": "Data/Objects",
      "Entries": {
        "kt.shop": {
          "Name": "ShopItem",
          "DisplayName": "Shops Catalogue",
          "Description": "Allows shops to be accessed anywhere",
          "Type": "Basic",
          "Category": -99,
          "Texture": "{{ModId}}_Shop",
          "SpriteIndex": 0,
          "CanBeTrashed": false,
          "CanBeGivenAsGift": false
        }
      }
    },
    {
      "Action": "Load",
      "Target": "{{ModId}}_Shop",
      "FromFile": "assets/Shop.png"
    }
  ]
}```

Will the -99(tools) category make this custom item id have the prefix (T)?
lucid iron
#

No

#

To make a tool you need to edit another asset

#

Data/Tools

opaque field
#

If I wanna make a trinket that boosts defense/luck am I cracking into C# territory?

lucid iron
#

Everything in Data/Objects get (O)

lucid iron
#

Or if you want even simpler, BETAS with the equip triggers to add remove buff

#

Trinket tinker is more complicated bc it has a bunch of systems for the companion entity

opaque field
#

Heck yeah! I'm already using BETAS in the mod for some other stuff

lucid iron
#

And u can also make a ring that has buffs with spacecore

#

That one's probably the most simple Bolb

#

I have Opinions about what should be a trinket you see

#

Since it's a mid/late game thing I feel they should be more special than just buffs

opaque field
#

oooohhh, okay that makes sense to me πŸ˜„

lucid iron
#

spacechase0.SpaceCore/WearableData

opaque field
#

it's a gift I have planned for Kent that he makes and gives the farmer to help them in the mines and I thought a ring felt.... more romantically insinuating than a 'trinket' XD

lucid iron
#

Well maybe kent gives u a hat

#

That u can do with sc too

opaque field
#

Ty, genuinely feel like my brain has grown two inches bigger with this knowledge ❀️

brittle pasture
#

or just call it a band

opaque field
#

'charm'

#

'licensed adventurer accessory'

lucid iron
#

Iridium Band

#

I suppose if u just want some kinda token

#

You can do a power

#

Combine the mail flag for that with a daily DayStarted trigger that apply some smol buff

#

Bootleg rabbit foot

opaque field
#

oh man, so many options - this is gonna be so fun πŸ˜„

lucid iron
#

But if u do want to do trinket

#

Maybe kent gives you a pet golem trinket to keep u safe

#

Lotta options Dokkan

opaque field
#

I was recommended "brass knuckles because they also can function as a belt buckle"

heavy pewter
#

Dang, addItemToInventory and it's overload doesn't accept string, it needs an actual item lmao, how do I call a CP item here

        {
            if (!Game1.player.hasItemInInventoryNamed("Shops Catalogue"))
            {
                Game1.player.addItemToInventory(// here);
            }
        }```
brittle pasture
#

you should be checking for qualified item id (which is unique) and not the item name

lucid iron
#

You need to create the item

brittle pasture
#

also to create an item most would use ItemRegistry.Create

lucid iron
#

Although if you just want to give the item, maybe send mail?

#

Otherwise ppl would get a new one every morning if they put their old one in w chest

brittle pasture
#

and mail has more flavΓ³r

uncut viper
#

(which you could also do this part with CP easily too)

red egret
brittle pasture
#

the name field is 7, not 28 or 42

red egret
#

why 7?

#

like a predefined type of change?

brittle pasture
#

7

red egret
#

ah! okay

#

like that

hard fern
#

The 7th Thing in the long string, yeah?

#

Like between the slashes

brittle pasture
#

though as mentioned earlier editing the string that it's pointing to at Strings/Furniture is also an option

red egret
#

i thought it was the position in the chart

#

thanks, i will try it now

brittle pasture
#

you're already telling the patch which furniture you're editing via the first key

#

the next key is what field to edit

red egret
#

it didnt work tho D:

brittle pasture
#

what doesnt work now

#

also I noticed that you're editing the name for the vanilla ElliottPortrait item and not your new {{Modid}}_elliott item

#

is that intended or no

red egret
#

no, im just clueless, trying to edit it now

#

is my {{ModId}}_ElliottPortrait or something else? idk what name it has

#

also they dont even load

brittle pasture
#

its name is the name you gave it in the second patch

#

{{ModId}}_elliott

red egret
#

did i?

brittle pasture
#

can you post your full code again

red egret
#

oh in the definitions

#

ha im so stupid lol

#

Which is better, Fields or Entries?

uncut viper
#

neither is better. they have different uses

red egret
#

okay something works!!

#

The Fields worked

#

thank you guys!

ornate trellis
#

yall im a bit confused...I tested my special order the other day and it worked. now I wanted to do a map patch once its done(and an event in the "new" map) and my whole special order is non-existent? when i want to debug special order i jsut get this

[game] Can't add special order with ID 'VoidWitchCult.CP.TheFishmongerNPC_GamayunLibrarySpecialOrder' because no such ID was found.
I even tried a new save...and rn both events just play after one another i should probs add more precons to the one that plays when its finished...
Special Order(didnt touch it since i had it work last time tho):https://smapi.io/json/content-patcher/fa233136df28432eb90bd9ea6f5a8004
trigger action for map patch(last one): https://smapi.io/json/content-patcher/cfe787c76fda45bf8f3c552447da5e54
map patch(its the LIBRARY QUEST FINISHED MAP PATCH one): https://smapi.io/json/content-patcher/98cd182628b246fca12cb9f4d84d1fe4
events(ignore the comma in the end its so me using new lines in events will get displayed right in the parser): https://smapi.io/json/content-patcher/df9dd76bcf404ef1b2c48a525321ec06

uncut viper
#

where is the Include for it?

ornate trellis
uncut viper
#

plausibly i suppose if the dropbox is supposed to be in that map. a log's trace message or patch summary/export would probably tell more too

ornate trellis
#

hmm, ill start with adding my map and run the game again to see

#

alright, simply loading the new map didnt fix it, sigh, would've been too easy, huh

lucid iron
#

Did u try patch export on special orders

ornate trellis
#

on it right now

#

damn, it really gone

brittle pasture
#

unrelated but you should probably be using the Condition field instead of When

#

another undocumented special order thing? dattebayo!

royal stump
#

do SOs have conditions? I thought it was just RequiredTags
but was gonna say, you should probably enable/disable it by using a dynamic/local token in that field, rather than removing the data

ornate trellis
#

im happy for corrections etc im just trying to pull through somehow lol

ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.26100.0, with 63 C# mods and 21 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

gray bear
royal stump
#

afaik SOs are added to a shared set in multiplayer, so the missing data could cause issues either way

gray bear
#

i still have the exact edits i made in a notepad file but im afraid to hit save

brittle pasture
#

i appreciate your effort no matter what SDVemoteheart

ornate trellis
#

if i could do thing better im eager to fix things tbh as always i dont really know what i am doing

gray bear
#

thank you wormplead

royal stump
#
    {
      "LogName": "Add Special Orders",
      "Action": "EditData",
      "Target": "Data/SpecialOrders",
      "Entries": {
        "{{ModID}}_GamayunLibrarySpecialOrder": {
          "Name": "{{i18n:SpecialOrder.GamayunLibrary.Objective.Name}}",
          "Requester": "{{ModID}}_LibrarianGamayun",
          "Duration": "TwoWeeks",
          "Repeatable": false,
          "RequiredTags": "island, dropbox_library",
          "Condition": "PLAYER_HAS_SEEN_EVENT Any {{ModID}}_GamayunSpecialOrderStartEvent",```
or some such
brittle pasture
#

(special orders have a top level Condition field that accepts GSQs as usual)

#

yea like that

uncut viper
#

well id probably use the event seen GSQ instead

royal stump
#

ah, right

uncut viper
#

since that was the When πŸ˜›

royal stump
uncut viper
#

this patch summary also says your conditions dont match, so... did you not see the event on the save files you were using to test. adding the condition instead of the When here would probably fix it bc of that

uncut viper
#

either didnt see the right event or mistyped the event ID, id guess

#

or did not sleep after seeing the event?

ornate trellis
uncut viper
#

i mean it doesnt exist until you have the When condition

royal stump
#

yeah, that's one of the problems with conditional edits there

uncut viper
#

you cant skip seeing the event if the event is what causes the patch to apply

ornate trellis
#

oh, yeah, uh me not often using other commands is showing cough

ornate trellis
karmic gust
#

Love having more config options, don't love having to retest everything to make sure they all work correctly again SDVpufferwaaah

ornate trellis
#

hm, i feel stupid again, wanted to resume and now my SO isnt triggering after the event, huh.

#

oh i jsut leave the trigger action out and wait that the SO will be on the board, w/e

hard fern
#

hm. so marriage schedules are cursed right

#

what if i want my spouse to just be Gone several days of the week

#

and just come home late at nighgt

autumn tide
#

one sec..

gray bear
#

they're not cursed, just limited

gray bear
#

i don't know if there's any more keys

autumn tide
#

buttons has a framework for adding more

gray bear
#

you can't run trigger actions in schedules keys, can you?

autumn tide
autumn tide
gray bear
#

nvm, marriage is cursed

autumn tide
gray bear
#

button mods good

ornate trellis
#

man, ive got so far in my special orders but now my final event wont play because i try to only trigger it after the map patch so i thought ok since i et a mailflag for when the map patch happens i jsut use that as a precon in the event, but now it wont trigger lol

autumn tide
#

alsooo is there a way to have an NPC lack a birthday?

ornate trellis
gray bear
brittle pasture
autumn tide
#

for social NPCs!

gray bear
#

if the npc is social and you set the bday to 0 would that break anything

brittle pasture
#

set it to 0 or not setting it in the first place should do it

autumn tide
#

gotchaaa like set it to 'null'?

royal stump
#

you can hide it from the calendar with "Calendar": "HiddenAlways",
I don't see any obvious reason why it'd break if you omit it for a social npc, at a code glance

#

just omitting them should result in none-season and day 0, which the game seems to just ignore

brittle pasture
#

SVE's Apples famously does not have a birthday which combined with their gift taste makes befriending them a pain in the butt

gray bear
#

3 loved gifts

ornate trellis
#

eureka i triggered my event, finally

gray bear
brittle pasture
#

and two of them are only because of new 1.6 lore

gray bear
#

it was only starfruit??? explains the dialouge for it atleast

autumn tide
#

...hm... ideas-

gray bear
#

1 one them is stardrop tea which isn't a typical gift

#

and also isn't very attainable, really

autumn tide
gray bear
#

dwarf should like certain rocks

autumn tide
gray bear
#

do mineral artifact have a category? if so eaz

autumn tide
#

everything shiny is either liked or loved for dwarf/krobus

gray bear
#

dissapointed Apples doesn't hate apple

rare orbit
#

anyone know how to add a paint mask in the code?

gray bear
#

uhhh

autumn tide
rare orbit
#

im planning to update the DIY Tractor mod i made to allow people to recolor their tractor building

gray bear
#

oh, for buildings

gray bear
#

thought you meant items

rare orbit
#

yeah buildings lol

#

yes i am :3

gray bear
#

buildings code doesn't mention masks

gentle rose
#

buildings can have masks, you can look at how the farmhouse does it iirc

rare orbit
#

yeah true but what could i add for non vanilla buildings?

brittle pasture
#

seems like it's Data/PaintData, which is only briefly documented on the "Migrate to 1.5" page

gray bear
#

pain

rare orbit
#

ohh

gray bear
#

why is it not in the building data

hard fern
#

paint

gray bear
brittle pasture
#

another blindspot I guess

rare orbit
#

if was a vanilla building it'd be easier but since it's not...idk...

gray bear
#

i don't, understand this

ornate trellis
#

technically speaking the garage is a reskinned stable

obtuse wigeon
#

Oh Lumisteria has a mod that uses paint masks on custom buildings, I also attempted to use it and had some successess

brittle pasture
#

you can try copying an entry for one of the buildings, and then load the required textures

ornate trellis
#

so id look at the stab paintmask and go from there, ye

gray bear
#

you'd need to check the mod, but yeah try copying

calm nebula
#

You can also look at my stupid paint masks mod

gray bear
#

Roof

calm nebula
#

Vanilla buildings yes but

gray bear
#

can u explain the sections?

calm nebula
rare orbit
#

so best bet is to check the tractor mod?

obtuse wigeon
#

The key is the buildings name,
the Building, Roof, and Trim are arbitary names for Red Green and Blue (in that order)
then the numbers are Contrast and Saturation (or reversed I think?),
to make a building work with it, the paintmask has to be named the same as the building suffixed by _PaintMask and the game should find it automatically

gray bear
#

arbitary names my favorite

obtuse wigeon
#

you can also have just 1, or just 2 colours aswell, I didn't test it but you might be able to have 4? I'm not certain about that though

gray bear
#

[stares at atra's paint mask mod] uhh,,, Shruge

calm nebula
#

4 is not allowed

gray bear
#

thank you

obtuse wigeon
#

Oh ye you have to have a Data/PaintData entry as well, wow this knowledge is coming from deep within my brain

gray bear
#

the way its formatted makes me sad

obtuse wigeon
rare orbit
#

i might also contact pathos child again too ;w;

calm nebula
calm nebula
rare orbit
#

ahh

#

idk how well it'll work but there's no errors according to the json validator

autumn tide
#

okay it looks like there isn't an entry in data/locations for the volcano dwarf's shop?

#

was thinking of making them an actual npc but where would they live-

lucid iron
#

They obviously use the secret shortcut

autumn tide
#

😭

lucid iron
#

It's just going to work

autumn tide
#

uh, did you mean not going to work?

gray bear
#

no it just works

autumn tide
lucid iron
#

No i mean

#

Manning the shop is going to work

autumn tide
#

OH

lucid iron
#

Just weird commute y'know no explanation required

autumn tide
#

okay tyy i can't read tone online 😭

rare orbit
autumn tide
#

very easy to go to work when you're a TILE

#

a TILE

#

even morris has a data/characters entry-

uncut viper
lucid iron
#

-# it was removed in content patcher 1.2x or something

rare orbit
#

so should i get rid of that?

uncut viper
#

it also doesnt make sense to use a png with EditData in the first place

#

i mean it doesnt work and will cause errors. so yes it should be changed or removed

rare orbit
#

what should i change it to?

#

basically im trying to allow paint masks to occur for the tractor mod

uncut viper
#

the entire discussion above along with atra's example was telling you what you need to put in your json

rare orbit
#

it's a diy pack to allow users to customize the assets from the tractor mod

#

k i'll re read it

#

idk if i'll get it tho

#

im sorry my brain is kinda slow ;-;

torpid sparrow
#

Does anyone perhaps have the sam and seb sprite sheets

#

Not at my pc SDVpufferwaaah

autumn tide
autumn tide
#

here are generic ones

torpid sparrow
rare orbit
#

i think this'll work??

#

idk yet but imma try

autumn tide
rare orbit
#

thank u ;w;

urban patrol
#

is there a way to define forage areas like fish areas? i have a map that's half beach half grassy, and i'd like to avoid coral spawning on grass or grapes spawning on the beach if possible lol

lucid iron
#

That's ftm/sc job

urban patrol
#

ah okay into spacecore docs i go

opaque field
#

do rings need to look like... rings? or could they be something like - brass knuckles? will it still equip okay?

urban patrol
#

they can look however you draw them

opaque field
#

amazing πŸ˜„

urban patrol
#

however the player might need to be told somehow that they should be put in the rings slot if it's not obvious

opaque field
#

perfect ty

lucid iron
#

Brass knuckles are rings

#

Circle things

#

Go on finger

#

They should have category ring either way

hallow prism
#

the only thing you may want to remember is how the combined rings are done by game

#

but it's not necessarily that common a thing that you need to not do something you have fun with

brave fable
#

brass knuckles + iridium ring = infinity gauntlet. surely.

opaque field
#

brb attempting to sprite an infinity gauntlet

lucid iron
#

Fixable with atra's mod Dokkan

#

I dunno I think combined ring is not 4 u to fix

#

Just make whatever sensible for ur mod

hallow prism
#

oh i don't think it's necessarily a think to fix

#

just to decide if you care about it or not

hard fern
opaque field
#

fair enough, I've been having lots of luck with my pixel art lately so feelin bold with the gauntlet idea, but I will peep the mod you linked and finish makin the brass knuckles exist

#

I made boots and a dagger with great success today

brittle pasture
#

I kinda want a mod that gives creative names to certain ring combos
glow/magnet: Bootleg Glowstone Ring
hot java/burglars: Loot Goblin Ring
iridium band/slime tamer: El Clasico Combo Ring
crab shell/protection: Hermit Crab Ring

hard fern
#

i was supposed to be doing tweaks to my npc before shipping but i realized that like. i've done just about everything.

#

save for setting up festival positions and stuff

brittle pasture
#

unique winter star gifts?

hard fern
#

oh right

#

i can do that too i guess

brittle pasture
#

stardrop tea reaction?

brave fable
#

give them free will?

hard fern
#

im holding off on events bc i just have no ideas atm

#

i already have way too many unique gift taste reactions

#

including tea

#

XD

brittle pasture
#

Stardrop Tea is special in that lorewise it tastes like the drink you like the most, that's why it's a universal love with no exceptions

#

not really relevant i just wanna ramble about it

uncut viper
#

can you ramble more on it

brittle pasture
#

it is a neat callback to Stardrop in that regards where it's coded to taste like the farmer's favorite thing as provided on the character creation screen

hard fern
#

πŸ€” hm. could i make a custom companion bunny for my npc

uncut viper
#

selph can you explain why it doesnt raise my stamina like a stardrop

brittle pasture
#

you can't drink it, but maybe it does if you could

hard fern
#

πŸ€” button i checked your bio lol

uncut viper
#

why cant i drink it, lore-wise

stray hemlock
#

Or all the good stuff evaporated.

brittle pasture
#

stardrop tea, like Hades' nectar, becomes sweeter when it's meant to be a gift

uncut viper
#

can you please PR this stuff to Stardew Valley Explained

brittle pasture
#

drinking it by its own provides no effects for some reason (Yoba's will?)

hard fern
#

why can't i milk snakes in game

brave fable
#

ancient qinese technique passed down for 3000 years

#

not for you to learn

brittle pasture
hard fern
stray hemlock
#

Why can cows get babies on their own but the farmer needs a spouse?

hard fern
#

mitosis

#

hope that helps

brittle pasture
#

that actually is in SVExplained

urban patrol
#

cows are secretly lizards and reproduce asexually

brittle pasture
#

though I don't think it explains why male pigs can give birth? @dolphin does it

brave fable
#

then why doesn't sebastian have a cow tank in his spouse room

urban patrol
#

i await your pixel art rendition of frog-size cow

stray hemlock
#

What does Haley want with the Sea Cucumber that's only for girls or something?

hard fern
#

this is a pg 13 server.

brave fable
#

for girls only: ||you know snail-based skincare? like that, but salty||

stray hemlock
#

That makes so much sense.

urban patrol
odd ginkgo
#

quick question, how do you get an arrow symbol in a message? Like the sign in Cindersap that has -> and <- on it. I mean the dialogue key, I know it has to be in strings for the map

hallow prism
urban patrol
#

i don't know where it is on the wiki, but from memory, @ is left, > is right, ` is up, and down doesn't exist i don't think

#

SVE had to custom add a down arrow

autumn fog
urban patrol
#

that will be $356938475 thank you

autumn fog
#

teeny tiny cows walking around that giant barn......... i need this

devout otter
stray hemlock
#

"Everybody loves it? I must be special and only consume the raw, unprocessed fruit."

lucid iron
#

Farmer already had the whole fruit and is unimpressed by the tisane

lucid iron
obtuse wigeon
urban patrol
#

i feel like i'm becoming a stereotype of "what if it was real little"

hard fern
#

can you make a big grape

urban patrol
#

only if you make Big Wine

autumn fog
#

*adds "animals but tiny" to my evergrowing list of mods to make*

velvet hornet
#

Would the community have any interest in a python script that could automatically make a config file for any content patcher pack and rewrite the content file to integrate with it?

velvet hornet
dire canopy
#

How does one use the condition player_shipped_basic_item?

"Condition": "PLAYER_SHIPPED_BASIC_ITEM Any 107 1 99999999, RANDOM 0.90", I tried this and without player or max

lucid iron
ornate locust
#

I don't think I'd trust a script with that myself

lucid iron
#

when i wanted to turn off some specific thing i just wrote C# to do a late edit on the data blobcatgooglyblep

#

this is well defined cus it'd be "yeet this machine rule" or "make this item cheaper"

uncut viper
#

are you trying to use this Condition as an OR between the shipping condition and the random, or an AND?

lucid iron
#

plus my changes r visible in log so mod authors don't get ??? bugs induced by personal changes to the content.json itself

uncut viper
#

also you dont need the 1 or 99999, theyre both optional

velvet hornet
dire canopy
#

and

#

the value is high for testing

#

well 107 is an artifact so game doesn't account

fringe parrot
#

So I’m using aedenthorn’s buff framework and my buff is working with these parameters:

#

' "When": {
"Time": "{{Range: 600, 2000}}",
"Weather": "Sun, Wind"
},
"Update": "OnTimeChange"
},
'

#

BUT I would love to have it only appear after player’s seen an event. How would I add this?

autumn tide
ocean sailBOT
#

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

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

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

lucid iron
#

show your whole json?

#

i don't think you need extra framework for buff now

calm nebula
#

(You dont but some people find it eaiser)

#

(Anyeays you just need to add the When conditoj for HasSeenEvent)

fringe parrot
#

Oh yeah? Okay lemme see if I can do this right lol

#

So like this?
"When": {
"Time": "{{Range: 600, 2000}}",
"Weather": "Sun, Wind",
"HasSeenEvent": "59999"

lucid iron
#

ok so these r normal content patcher conds and u would use HasSeenEvent yep

fringe parrot
#

Oh fabulous. Thank youuu

lucid iron
#

i dun think it is super important that you rewrite all this but options existβ„’

karmic gust
#

I have a question regarding Nexus permissions. I commissioned the sprites and portraits for the NPCs for my mod. Do those assets belong to me? I understand I don't have the copyright for them, but I'm unsure if there's a distinction

uncut viper
#

not unless the person you commissioned them from gave you the copyright and ownership

karmic gust
#

Okay, thank you!

#

I wasn't sure if copyright and ownership were two separate things

lucid iron
#

what you probably have is right to use for mod

karmic gust
#

I see, that makes sense!

hard fern
#

So like you can't use the mod art to use as soda can Branding and sell the soda globally i guess

heavy pewter
#

What am I doing wrong here

lucid iron
heavy pewter
#

My bad, I'm holding a duplicate(old) in the previous image. So, how do I make this item non stackable?

lucid iron
#

there's a few ways but that was why you wanted to make it a tool right

#

if u did Data/Tools edit instead of object it shall be non stackable

urban patrol
#

i'm trying to make sense of draw; when would an object be this.hovering? when a player is holding it?

#

or is that for like text boxes and stuff

calm nebula
#

Right click, select analyze

weak oasis
#

what app do you guys use to mod stardew

calm nebula
#

Select "when is this assigned to" or "setter" (I'm very tired and no longer recall specifics)

#

That tells you when it is set, which let's you get context of what it is for

urban patrol
#

thank you! i'm not seeing analyze so i'll google

calm nebula
ocean sailBOT
calm nebula
#

VS should have something similar. Are you in VSCode?

urban patrol
#

yep

calm nebula
#

Ahhhhh

#

Okay

urban patrol
#

or no sorry VS

#

not VSC

calm nebula
#

Find all references

urban patrol
#

thanks

#

okay yeah if i'm understanding it, it's hovering when it's text or when hoverAction sets it, and after it's drawn it gets set to false

calm nebula
#

Okay, yeah, it's a menu thing then

hard fern
#

my npc is tall and breathes out of their stomach, what do i do

#

these are confusing me

#
                        "X": 4,
                        "Y": 12,
                        //"Width": 8,
                        //"Height": 8
                    },``` this kinda didn't work as i'd hoped πŸ€” it just kinda made them breathe behind them.
#

πŸ€” hm i think i fixed it via fiddling with numbers

sleek igloo
#

got this error when trying to use a cookout kit with love of cooking installed, weirdly enough it went away after I turned better crafting's cooking menu on 23:04:24 ERROR game An error occurred in the base update loop: NullReferenceException: Object reference not set to an instance of an object. at LoveOfCooking.Utils.TryOpenNewCookingMenu(CookingMenu menu, MultipleMutexRequest mutex, Boolean forceOpen) in E:\Dev\Projects\SDV\Projects\CooksAssistant\LoveOfCooking\Core\Utils.cs:line 413 at StardewValley.Torch.checkForAction_PatchedBy<blueberry.LoveOfCooking__leclair.bettercrafting>(Torch this, Farmer who, Boolean justCheckingForActivity) at StardewValley.GameLocation.checkAction_PatchedBy<aedenthorn.TrashCansOnHorse__bcmpinc.HarvestWithScythe__DecidedlyHuman.MappingExtensionsAndExtraProperties__leroymilo.FurnitureFramework__PeacefulEnd.AlternativeTextures__tlitookilakin.HappyHomeDesigner>(GameLocation this, Location tileLocation, Rectangle viewport, Farmer who) at StardewValley.Farm.checkAction(Location tileLocation, Rectangle viewport, Farmer who) at StardewValley.Game1.<>c__DisplayClass925_0.<tryToCheckAt>b__0() at StardewValley.Game1.tryToCheckAt(Vector2 grabTile, Farmer who) at StardewValley.Game1.pressActionButton_PatchedBy<mistyspring.ItemExtensions>(KeyboardState currentKBState, MouseState currentMouseState, GamePadState currentPadState) at StardewValley.Game1+c__DisplayClass978_0.<UpdateControlInput>b__0_PatchedBy<leclair.bettergamemenu>(<>c__DisplayClass978_0 this) at StardewValley.Game1.UpdateControlInput(GameTime time) at StardewValley.Game1._update(GameTime gameTime) at StardewValley.Game1.Update(GameTime gameTime) at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate)

Full log: https://smapi.io/log/6dd94ae1592545cb92548c29be549e88

ocean sailBOT
#

Log Info: SMAPI 4.3.2 with SDV 1.6.15 build 24356 on Microsoft Windows NT 10.0.26200.0, with 165 C# mods and 849 content packs.
Suggested fixes: One or more mods are out of date, consider updating them

sleek igloo
#

funnily enough I've never actually used a cookout kit before so I had no idea there was any issue

brave fable
#

surprisingly this has been waiting to blow up since the 1.6 update but apparently nobody has used a cookout kit without being able to cook (or with the menu disabled)

#

thanks for the report πŸ₯³

#

oh this isn't actually a quick fix at all

#

i sleep

sleek igloo
#

In fairness I totally forgot these kits were a thing πŸ˜…

fading walrus
#

Eepy time for blueb

sleek igloo
#

Sure, glad to be of help SDVpufferheart no rush on a fix, I just thought you'd wanna know

fading walrus
sleek igloo
#

I unlock them way before a kitchen I just

#

Forgot lmao

fading walrus
#

Ahhh

#

I go nyoooooom for the house

#

But also I sometimes use custom farmhouses with a base level kitchen instead of needing to upgrade

merry river
autumn tide
#

uhh which event is this for?

merry river
#

those are the three events that got fucked over by the i18n conversion

gray bear
#

u got a code error there

merry river
#

i just copypasted them into the json validator, the other events haven't been affected because they don't have any quickQuestions SDVpufferblob

gray bear
#

oh its part of a json, that's fine

merry river
#

the actual json has no code errors according to VS SDVpuffersquee

vernal crest
#

Let me just convert these to multilined so I can read them...

#

Where is this one looping?

/quickQuestion {{i18n:QQWhatShouldIsay}}#{{i18n:PM2H.5}}#{{i18n:PM2H.6}}(break)speak {{ModID}}_Peiming "{{i18n:PM2H.7}}"(break)speak {{ModID}}_Peiming "{{i18n:PM2H.8}}"\\pause 300\\emote farmer 28

#

Huh, weird, the extension removed the quote escapes when it converted it to multi line

merry river
#

this one just restarts regardless of the answer picked, it's not supposed to change the outcome of the event or loop back to the question

#

and it worked just fine before i converted the strings to i18n

vernal crest
#

Can you share your i18n file too please?

merry river
#

of course, give me a sec!

vernal crest
#

You appear to have a lot of escaped quotes in your i18n. Is that intentional?

merry river
#

the converter kinda spat them out like this which led me to think it's a quick question specific thing SDVpuffersob

vernal crest
#

It's not supposed to look like that. Did you have escaped quotes around the question and farmer answer sections of the QQ before you converted it to i18n?

#

I.e., did it look like this?

merry river
vernal crest
#

Is that because stylistically you wanted the farmer's text to appear to have quote marks?

merry river
#

not necessarily

#

so i guess i have to remove the escaped quotes from the i18n file and put them back into events.json?SDVpufferthinkblob

vernal crest
#

The game doesn't require quote marks there, so their only purpose is aesthetic

#

So if you don't want them for the aesthetic, you can just remove them entirely

#

I'm not sure that they're the problem or why they would be in i18n when they worked without i18n, but it's worth removing them to check I think

merry river
#

okay, let me give it a try

vernal crest
#

Usually QQs look like this instead

#

(Ignoring my multilining - thats just to make it easier to read right now for troubleshooting. Alas, QQ has issues with multilining.)

merry river
#

this is what the lines look like right now

#

the event formatting is the same as before except that i noticed that one string was left empty which was supposed to be the question for the QQ, so i put the question string in there (PM2H.4)

vernal crest
#

Hmm

#

I can't see anything that could be causing it

#

I recommend putting just the QQ parts back to plain text and seeing if that fixes it. If it does, change them back to the i18n one by one.

merry river
#

will do

calm nebula
#

Install debug mode

#

When it starts looping, use debug mode to check which command it is

merry river
#

oh i have debug mode, why did it never occur to me to use it SDVpufferblob

#

it's because i forgot.

vernal crest
#

I did not know that was a possible use of debug mode

obtuse wigeon
#

it even displays the percentage through the specific command too iirc

#

I only know that bc I play with it permanently on

vernal crest
#

Is this the same debug mode that has a popup box on the cursor? That seems annoying to have permanently on

merry river
#

yeah it does but i was using sinz's event tester to speed up my events and it was way too fast for me to discern what even happened lmao

#

alas i tried to put in the plain text to the QQ but the event looped again

vernal crest
#

Ok then that is a sign that either you missed before that it was broken or that something important changed when you converted to i18n. Have you got a copy from before you converted?

merry river
#

wait, i think i do

vernal crest
#

(If you use github and commit your changes every day you will always have backups of everything btw)

merry river
#

i have never used github before but i just might

vernal crest
#

It has saved my butt so many times

#

And it helps me remember what I've actually done between versions so it's a life saver for changelogs too lol

tiny zealot
#

aside: it is so cursed that events have a failure mode where they get stuck and loop one command forever. what is even going on in there /lh

hard fern
#

it's trying its best

gray bear
#

event is in limbo

vernal crest
obtuse wigeon
obtuse wigeon
vernal crest
#

Wow that box annoys me so much I turn it off immediately after I use it for anything

merry river
#

well i have no idea what i did but at least, the first out of three fucked over events is back to working normally

obtuse wigeon
#

I play with a smaller zoom (~60%) and UI (80%) than most people though so its likely it's just a lot smaller on my screen

merry river
vernal crest
#

I can't stand anything less than 100%

gray bear
#

for ui?

obtuse wigeon
vernal crest
#

I keep both on 100% except in the mines. I zoom out for the mines so I can see more of the map and waste less time running around.

gray bear
#

i fully zoom out and put UI on like 75%

vernal crest
#

I can't see well enough for that. I have my text zoomed in to 120% in Firefox and increased some amount on discord. And I sit really close to my monitor.

gray bear
#

its so nice there's options so you can have it the way you're comfortable with

merry river
#

why do i always type "ebug debi".........

gray bear
#

bc when u type fast ur likely to just, fuck up. but i can't stop dying fast

#

"eatch reload"

merry river
#

yeah i mean that happens too

#

but my brain is so convinced that it's "ebug debi"

#

good news: my events don't loop anymore
bad news: farmer gets yoten into the void afterwards

vernal crest
#

Events, huh

merry river
#

i don't even know what i did right and what i did wrong. these things have their own consciousness, i swear SDVpufferwoke

vernal crest
#

I usually will test things until I know exactly what is doing each part of the thing, but I don't do that with events. I test until I get a general gist and then I place commands down very gently and run away.

gray bear
#

the event syntax is SMCPufferFlat

merry river
#

this is the general approach i've learnt when dealing with events, too. those events are held together by my tears and hopes and prayers

gray bear
#

and industrial amounts of duct tape

merry river
#

exactly!

tiny zealot
#

y'all are making me want to work on my vaporware event bullshit mod, so i can macgyver it even further into depravity

gray bear
#

you're doing what now?

tiny zealot
#

i've been threatening to make a mod that adds a bunch of tools (and crimes) as event commands

merry river
#

i am sickened but curious

tiny zealot
#

but i've never seriously worked on it because i haven't determined whether the main feature can actually be made to work

obtuse wigeon
#

The best time to do something is yesterday, the second best is now, with enough jank anything is possible

tiny zealot
#

and doing that part isn't fun so i have procrastinated

gray bear
#

is that part ever fun

tiny zealot
#

sometimes.

gray bear
#

does the question in ur bio mean anything?

#

i swear i never check stuff like this and then i suddenly do and just like pikao

merry river
#

bike or flower...

tiny zealot
#

i have been threatening to do this since before 1.6 came out (search "event timecube" for receipts. original mod name donut steel)

gray bear
#

(you want a steel donut?)

tiny zealot
merry river
#

bichortower

gray bear
#

there's no b in there

#

is confused

tiny zealot
#

okay, so the issue is there are a few ways to pronounce "ichor" ("tower" is pretty universal, in my experience)

gray bear
#

is it not just ichor-tower

tiny zealot
#

i use the one that rhymes with "bike or"

gray bear
#

wait there's more than one way to say ichor

vernal crest
#

Ick-or

merry river
#

i'm not a native speaker but on first read, i wouldve pronounced it ick-or

gray bear
#

ike-ore said google translate

tiny zealot
#

shovel knight agrees with me (and, evidently, google)

obtuse wigeon
#

eye-core or ick-or are the only two I'm familiar with

gray bear
#

which is how ive been pronouncing it in my head

tiny zealot
#

anyway, long story short (too late), the pronunciation guide is to coax people into pronouncing my name the way i do

gray bear
#

which is eye-core tower?

tiny zealot
#

but also we're all just text so it's no big deal

gray bear
#

oh pronunciation, i hate thee

tiny zealot
gray bear
#

the b in there throws me off so much

vernal crest
#

Are you familiar with Mike and Ike, Bea?

gray bear
#

the candy, yeah?

vernal crest
#

Maybe if you replace "bike" with that "Ike" it'll be easier

gray bear
#

yeah! it does. thanks aba, i'd be much more lost without you wormpog

autumn fog
lucid iron
#

Would you have heart 2 with Abby on first day of year?

autumn fog
#

the example file in the mod says "to send that day or after it"

#

i also tested setting it to spring 2 and it still didint show up on that day

autumn tide
#

also, is MFM necesary for anything? /genq

autumn fog
#

i thought so because the mod's example file says "Must be that date or after it."

vernal crest
#

Just FYI MFM isn't needed for sending mail. It has some more advanced features that CP doesn't do but sending a simple letter based on friendship doesn't need MFM.

autumn fog
#

ah, i couldnt find how to send based on friendship without it

autumn tide
brittle pasture
#

your trigger action to send the mail can have a condition field for "2 hearts with abby"

autumn tide
autumn fog
#

ohh thats how

brittle pasture
#

[[Modding:Game_state_queries]]

autumn fog
#

i assumed gaining hearts would have to be the trigger

autumn tide
#

nope :)

autumn fog
#

okok ty :)

brittle pasture
#

the trigger controls when they get triggered, the condition controls whether they get triggered

autumn tide
#

hellooo, trying to add compatibility for a mod, do i have to include that mod in my manifest's Dependencies?

#

ik i can have it set to not required

vernal crest
#

No, I don't add most mods to the manifest when I'm doing compat for them.

autumn tide
#

awesome, thanks :)

tiny zealot
#

+1 only add dependency if necessary (real dependency, or using load order to enforce patch order)

brittle pasture
#

dependency is needed if your mod has to load after theirs for some reason

autumn tide
#

got ittt okay

#

so if my mod uses that mod's content, rather than just having a compatible version?

vernal crest
#

Safer to have the false dependency, yeah

autumn tide
#

mhm

autumn tide
vernal crest
#

Nope! It's 2:30am

#

Half an hour past bedtime

autumn tide
#

oh god- aba go to bed

vernal crest
#

Mod updates wait for no man!

autumn tide
upper rune
#

Maybe a dumb question, what are the guidelines for changing the number version of your mod when updating it? What makes something 1.0.1 vs 1.1.0 vs 2.0.0? I finished an update a really long time ago but I got so stumped on the like, etiquette here that I just never posted to nexus

calm nebula
#

Vibes

obtuse wigeon
upper rune
#

Oh ok! Since I changed some mod IDs to ensure cross compatibility I guess that makes it 2.0.0 because if you update the mod it generates error items

vernal crest
#

(Psst there's a MigrateIds trigger action that you can use to stop error items happening.)

upper rune
#

what is that?

autumn tide
obtuse wigeon
#

yep! one of the many "standards" that exists XD

vernal crest
#

I used it when I changed items from being in one mod to another one. Players who had the items from Mod A still had them when they updated and switched to Mod B.

autumn tide
#

i thought it was just like whatever you wanted to call it- SDVpufferwaaah

#

should custom schedule keys have the ModId prefix?

vernal crest
#

Yes please

#

Wait...do you mean custom schedule keys as specified using Button's mod?

autumn tide
#

nope!

vernal crest
#

Because outside of that you can't have custom schedule keys

merry river
#

everyone needs {{ModID}} prefixes. my cats have some too now

autumn tide
#

not those ones lol

autumn tide
merry river
#

{{ModID}}_claude

autumn tide
#

i am using button's CSK mod though! but i meant the dialog ones lol

#

think i got it mixed up

vernal crest
#

You do not need schedule strings

#

Just plop them in your regular dialogue file

autumn tide
#

?

#

OH

merry river
#

okay actually, i came here, wanted to ask something, said something stupid instead and then forgot my question

autumn tide
#

i can do that?

vernal crest
#

You can use schedule strings if you want to but it seems like a hassle to me

#

No I'm lying to make you waste time doing something impossible

autumn tide
#

it is! regular dialog then lol, uhhhh how might i do that?

vernal crest
#

Yes you can do that lol

#

You just put the key into their regular dialogue file and then call that instead

autumn tide
#

gotchaaa okay

vernal crest
#

Characters\\Dialogue\\Dwarf:{{ModId}}_ClaudesFinalRevenge etc

autumn tide
#

well i just spent all that time doing schedule keys for nothing okay-

#

..'all that time' is like 10 mins but every second counts when you're ON THE GRINDDD

#

i say that having spent multiple hours of modding time just idling-

vernal crest
#

You can just copy and paste the actual entries

upper rune
#

Would crops planted in the ground be Items still for the migrate IDs?

vernal crest
#

And then use find and replace to swap the schedule strings path

toxic hornet
#

Is there a minimum size for area maps?

autumn tide
vernal crest
upper rune
#

Hmmm. Not sure if its worth it to try and migrate everything if the planted crops still bug out

vernal crest
#

I recommend you do a test of one item to check the crop

#

Whyyyyy did I not write my changelog as I went

merry river
#

while we're at the topic of schedules: do roommates use the regular marriage schedule?

autumn tide
merry river
#

poor krobus isnt allowed to have hobbies

autumn tide
#

i know SDVpufferwaaah

#

but never fear! i shall give my blorbo multiple SPINS

toxic hornet
# autumn tide -# i am intrigued?

I want to make an edit of IF2R for multiplayer that leads to separate mini farms for each farmhand so the big map can be for capitalist min max purposes and the small ones can be personal aesthetics. There would be a little nexus west of grandpa’s shrine that has the entrances to each mini farm. I want that nexus to be small but also cover the whole screen so there aren’t gaps of Void Space on any edges kittybounceone

merry river
#

i've been wondering, since roommate dialogue needs roommate as a suffix for its keys

merry river
autumn tide
#

awww :)

#

you better be prepared to wait 6 months-

#

i am very slow

merry river
#

GET SCOPE CREEPED

autumn tide
#

tis my achilles heel

toxic hornet
autumn tide
#

if achilles had like 25+ heels-

autumn tide
merry river
#

maps are evil. havent checked custom farm maps though

autumn tide
#

i cant map..

merry river
#

if it makes you question your sanity and why you are even doing this to yourself, you're doing maps right

autumn tide
#

omg once i accidentally set the tile size to 32 by 32 and no one knew how

toxic hornet
#

I learned how to make Tiled work so I got it in theory but in practice…

merry river
#

source: my npc has three different map options available. i am normal

autumn tide
#

one sec..

merry river
#

LMAO I REMEMBER

merry river
toxic hornet
#

32x32 is the default on Tiled so you gotta manually change it

Source: I also ended up w a 32x32 abomination

merry river
#

?!?!?!

toxic hornet
#

But first thing is figuring out what the minimum map size is

tiny zealot
autumn tide
autumn tide
#

i am just so glad for button's tilesheet climbing fixer

tiny zealot
#

claude did you make 13 copies of the zip. claude blink twice if you need help

merry river
#

me when im trying to fix a map

autumn tide
#

..no i used map fixer 13 times w/o cleaning up my download 😭

#

at this point i'm not gonna clean it up i just wanna see what streak i can hit

#

..think i'll make it to triple digits? i am remaking the sewers now-

humble timber
vernal crest
#

Also if you haven't already, GET YOUR MAP IN GAME.

#

Do NOT make the mistake of creating an entire map before ever trying to get it working in game, unless you enjoy lots of pointless rework.

#

There are many ways a map can go wrong and those ways tend to get compounded if you spend an entire map making mistakes instead of getting them figured out early.

vernal crest
#

Yes I took forever to do my update release things. I ended up having to close discord to stop getting distracted lol

But it's done now! Bog's Witchy Tools 2.0.0 is out and I'm going to bed!

autumn tide
#

night!!

toxic hornet
vernal crest
tiny zealot
calm nebula
#

Okay, I think a 1080 screen is valid to support

#

1080/64 *4/3 = 22.5 tiles wide

#

If you want 4k support, go do the math πŸ˜›

tiny zealot
#

you can tell atra is a dinosaur like me due to multiplying by 4/3 to get a screen width given a height

urban patrol
#

i have a Cursed TM question. why has nobody ever solved the β€œBackwoods impassible” problem for NPCs via splitting it into two locations that use the same map? so you could have Farm and Mountain lead to {{ModId}}_Backwoods, whose map has had the road warps taken out, and BusStop can lead to vanilla Backwoods, whose warps to Farm and Mountain have been taken out

lucid iron
#

I don't think u need it to be that elaborate

#

Otoh downhill project kind of is that?

urban patrol
#

i thought the problem was inaccessible warps

lucid iron
#

The simple version is make the comm shortcuts always there

#

So that every warp can reach every other warp in backwoods

urban patrol
#

smort

#

i think this could help allay pelican town’s growing real estate problem lol but idk how interested mod authors would be in adding a dependency just to have their NPC be able to walk back there

lucid iron
#

Yeah it's a struggle

#

But also downhill is there and does serve as a bus stop to mountain route i believe

#

I don't think I've ever been bothered by no npc in backwoods cus why would they come here it's my driveway

urban patrol
#

i thought downhill was its own expansion, is it for other NPC creators to use?

lucid iron
#

Well if the location exists

#

Then the route will be there YuniShake

#

It does say u can have ppl move there iirc

#

Dunno the process though

urban patrol
#

yeah i just checked the mod page and they do seem excited for others to move in SDVpufferthumbsup

calm nebula
tiny zealot
#

ah, well. nevertheless,

#

anyway, the smallest intentionally-supported screen size for the game is 1280x720, although i'm pretty sure you can bypass the restriction and go smaller (but please don't)

uncut viper
#

i would like to go smaller

tiny zealot
#

no

gray bear
#

how much smaller

lucid iron
#

I thought u can just shrink the window

uncut viper
#

somewhere around 360px wide would be nice

calm nebula
#

That's a phone

gray bear
#

that's smaller than some phones

uncut viper
#

yeah

#

an old phone anyway

#

phones these days have quite high resolutions

obtuse wigeon
#

1080*2400 is very high for a screen only 6.5 inches big

lucid iron
obtuse wigeon
#

horrible, I love it

uncut viper
#

i like it

obtuse wigeon
#

1:1 stardew is so cursed

lucid iron
#

cant u guys shrink window on windows

uncut viper
#

nop

#

not below a certain point

obtuse wigeon
#

there is a limit on windows, it was annoying

lucid iron
#

year of linux desktop trust

obtuse wigeon
#

why has discord given that such a large amount of padding

uncut viper
#

honestly if you just shrunk the UI enough there I think you'd have a decent vibe going on

lucid iron
#

Cus i enabled window shadows

obtuse wigeon
#

Ahhhh

lucid iron
#

The image is just that big

brittle pasture
#

This Will Be Stardew Valley In 2006

soft lance
uncut viper
#

i trust

soft lance
#

I tried Gnome, not my thing

#

its consistant, but not my thing

tender agate
#

we putting stardew on the gameboy now? SDVpuffersquee

soft lance
lucid iron
#

Isn't the gameboy even smaller and no colors

soft lance
#

the game would have to go from 1gb to 8mb, i dont know if that is even possible

soft lance
#

the gameboy color did come out, same as gameboy color advance

lucid iron
#

I thought those r separate consoles blobcatgooglyblep

soft lance
#

but they are all in the lineup of the gameboy

tiny zealot
#

that's the DMG. there were some more advanced game boys after that

soft lance
#

at that screen size its hard

tiny zealot
#

even at the time i think people struggled with the screen resolution

lucid iron
#

How viable is gba sdv

soft lance
tiny zealot
soft lance
#

if ur saying for a 1990s pc, its 100% viable

tender agate
#

doubt I was mostly joking about the small square screen

tiny zealot
#

i think you could make a credible stripped-down version of stardew on the gba, but not the stardew we currently have

tender agate
#

or some modernized gameboy look-alike device

soft lance
tiny zealot
#

who wants to rewrite the entire game to make it happen (not i)

soft lance
#

same shape just different OS

tiny zealot
#

ram is obviously a huge problem. just the music alone is the majority of sdv's file size and it's all wavs loaded fully into memory in advance

#

you simply cannot do that on a handheld from 2001 or whatever it was

soft lance
#

for the audio

#

but its...taking the soul out of stardew

#

we can play it in the worst audio quality known to mankind

#

and shorten the tracks by 70%

#

to be more repetitive

tiny zealot
#

you can't load a wav like that into memory on the gba. enoent

soft lance
#

and its going to be compressed to heck, lose 90% of its original audio clarity

#

and be shortened by 70%

#

so that would need a custom audio system for the game to figure out how to loop tracks while maintaing space

#

its viable, but not desirable

#

after thinking, may need to just convert this into your own audio track that uses 1-2 notes, unlike todays audio tracks, will save space even further

brittle pasture
#

the people yearns for MIDI

lucid iron
calm nebula
#

Selph midi mod shen

lucid iron
#

It's just like my bootleg pokemon games that only made like 2 towns

calm nebula
#

Tbh I would rather gut the gba and put a raspi in there

soft lance
#

(costs life savings)

floral stratus
#

I'm a modder and have a really confusing problem. Any modders out there that can look at a simple mod for me? Please ping if you reply.

uncut viper
#

better to just describe your issue than ask if someone can look at your issue

floral stratus
#

I have a new artisan good. I put 3 items into 3 machines, one pops up in 20 mins (my test time) the others don't pop up at all

lucid iron
#

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

floral stratus
uncut viper
#

no need to be embarrassed here SDVpufferthumbsup everyone is supportive and everyone had poor modding skills at one point in time

#

putting your relevant json(s) into the validator per the governor command and sendin the link here is the first step

floral stratus
brittle pasture
#

what are the items you tested with

#

everything looks right to me

floral stratus
#

Frog, Crayfish, Mutant Carp. All I had on hand

brittle pasture
#

and can you clarify what you meant by "don't pop up at all"

calm nebula
#

Can you use Lookup Anything to inspect machines

#

Also, is Automate installed

floral stratus
#

The items don't finish processing

#

Automate is installed, yes.

calm nebula
#

Double check the machines arent somehow connected to automate

#

(If unsure, hit U and screenshot for us)

floral stratus
#

Lemme test it again with the machines not touching. If that's the problem, I'll have to make sure it'll work with automate somehow.

lucid iron
#

Automate will just grab the item to chest you don't need special compat

cyan marsh
#

public IDictionary<string, WinterStarModel> WinterStarGifts { get; set; } I'm trying to find the best way to get my winterstar gifts done properly...

floral stratus
#

Okay, did some tests with nothing touching. Conclusion: Of the three, only the crayfish outputs, the other two just continue processing for an unknown duration

#

I'm gonna try lookup everything and see what that says

proper kite
#

sorry if there is already something posted about this but i think that some of the channels/links on here are hidden for me for some reason

but does anyone have any good resources for learning to code a mod that expands npc dialogue and adds heart events to them as well?

cyan marsh
#

aha.. found it

gray bear
#

!startmodding

ocean sailBOT
#

Making mods can be broadly divided into two categories:

Usually it’s easier to start with making content packs, since you don't need to learn programming.

cyan marsh
#

nvm

gray bear
lucid iron
gray bear
proper kite
#

thank you so much!

cyan marsh
#

okay.. I can't seem to get this to work: ```cs
private void WSGiftAdd_Click(object sender, EventArgs e)
{
foreach (KeyValuePair<string, string> item in StaticData.ItemList)
{
if (item.Key == ItemList.Text)
{
GiftList.Items.Add(item.Value);
WinterStarGiftArray = new WinterStarModel[]
{
Id = item.Key,
ItemId = item.Value,
};
}
}
}

This is what the Array is: `WinterStarModel[] WinterStarGiftArray;`
I get 2 errors :```
'Id' is inaccessible due to its protection level```

The name 'ItemId' does not exist in the current context```
Which they should

gray bear
#

Dialogue is overall pretty simple, and events...their syntax may seem scary but there's a lot of examples and helpful people

lucid iron
#

You made a new array

#

Need to make array without the fields and init the members

summer sentinel
#

llll

lucid iron
#

Idk if u have collection syntax but it would be like [ new Model() { field=whatever }, new Model { field=whatever },]

toxic hornet
toxic hornet
lucid iron
cyan marsh
#

ahh

#

I see now

#

that will make it where WSArray would have everything right?

toxic hornet
lucid iron
lucid iron
calm nebula
#

4/3 = 75% zoom

lucid iron
#

Plus void urple grass

gray bear
toxic hornet
#

i love elle's grass shibalove

#

honestly i love all of elle's stuff though the bedroom eyes on the ostrich make me a tiny bit uncomfortable lmao

gray bear
#

the what

toxic hornet
#

i said what i said

cyan marsh
toxic hornet
cyan marsh
#
Array creation must have array size or array initializer```
gray bear
#

does elle have have a ostrich retexture

lucid iron
#

Yeah u gotta put like 1 cus array fixed size

brittle pasture
#

or use List if you can't know the size in the first place

lucid iron
#

You might be wanting a list instead

gray bear
cyan marsh
toxic hornet
#

he's giving bedroom eyes and ostriches do in fact find humans more attractive than other ostriches fairly often in zoos so i do not trust this ratite

gray bear
#

its eyeliner!!!

brittle pasture
lucid iron
cyan marsh
#

lol didn't see that Selph

gray bear
#

tbf elle does these animals very nicely. real life ostriches are, uh

lucid iron
#

Where is this type even from i thought winter star gifts is just generic item spawn field

uncut viper
#

it is

toxic hornet
gray bear
lucid iron
#

It's just realism

gray bear
#

with the large black eyes

modest dagger
gray bear
#

elle's just look friendlier

cyan marsh
#

so how to add the data as a list?

toxic hornet
toxic hornet
gray bear
#

nah wiz has his own mod

modest dagger
#

i make meat

gray bear
#

grow your meat!

toxic hornet
#

what mod is it?

modest dagger
#

what bea said

#

grow your meat

gray bear
#

its technically vegan, if you think about it

lucid iron
modest dagger
#

yea it's kinda like tofu when you think about it

lucid iron
#

I'm typing on a phone dont mind typos

cyan marsh
lucid iron
#

It's the same just whether u did syntax sugar

#

I got no strong opinions about this

#

Let IDE have opinions instead

cyan marsh
#

okay.. i mean it came to me but if the other is easier I'd rather do that

modest dagger
lucid iron
#

Syntatic sugar is about what comes to you easier

cyan marsh
#

I like that x3

lucid iron
#

That's why im sitting in my harmonyannotations r sinful hole :)

gray bear
#

do people eat ostrich a lot? picking a fight with it seems spooky

uncut viper
#

pry my annotations and automagic out of my cold, dead hands, chu

#

as soon as we get Cecil access im rewriting your mods to use annotations

cyan marsh
#

now i got to get that into the json

gray bear
#

is this some sort of C# war

lucid iron
#

Do you have to scan my whole dll for Harmony.Patch

uncut viper
#

i would yes

obtuse wigeon
uncut viper
#

like a SMAPI rewriter but targeted just at you

lucid iron
#

What if there's actual reasons like terrible patch targetting every overload of draw

uncut viper
#

wdym, you can also do that with annotations

lucid iron
#

Or every ctor of DialogueBox

uncut viper
#

you can specify overloads in annotations chu

gray bear
#

should i be worried right now

cyan marsh
#
WinterStarGifts = new WinterStarModel[] { }``` How to shove that in here
lucid iron
#

But can u iterate through

uncut viper
#

what, are you worried about the number of overloads changing from one week to the next?

lucid iron
#

I slacc

obtuse wigeon
uncut viper
#

if im rewriting your mod to use annotations with my mod anyway i can just iterate to add the annotations

brittle pasture
lucid iron
#

But i also fully moved on from "why would you" to "could you do all that without breakage"

uncut viper
#

i like to think ive gotten pretty good at pushing things to just before the point where things break

lucid iron
#

But hm

#

Would there be a point if I never see the annotations

uncut viper
#

would satisfy me to see it done

#

maybe get you a few extra bug reports if i do it wrong

lucid iron
#

What if i made the reverse mod

#

Deannotator

uncut viper
#

then i will name my mod AAA.AAA and put it in afolder named AAA and rewrite SMAPI to blacklist your deannotator

#

that wouldnt be fair anyway i think deannotating would be much easier

lucid iron
#

Yes it's true the deanonated behavior is basically what's done by harmony already

uncut viper
#

im also just like. assuming Cecil would give me some sort of access to annotations in the first place. i actually have no clue what Cecil's limits are, if any

toxic hornet
floral stratus
#

Found the problem. Mod conflict and me being a dumbash

obtuse wigeon
#

(guessing the Cecil you're talking about it Mono.Cecil?)

uncut viper
#

yep

brittle pasture
# gray bear ~~which one is it~~

I will avoid stating it outright because I wisheth not to join the battle, only to enunciate that if you know my heart you shalt know my stance on the matter at hand

uncut viper
#

SMAPI uses it, we cannot* use it

*we can but no point

gentle rose
#

mooooods button and chu are fighting and throwing things SBVSob

uncut viper
#

(theres no point to us using it bc its meant to modify assemblies before they are loaded or as they are being loaded, as SMAPI does, but obviously by the time our mods run... they are all loaded)

lucid iron
#

I guess smapi might need like a 3rd class of mod things to enable Cecil

uncut viper
#

Selph doesnt like annotations

lucid iron
#

EntryCecilDll or something

obtuse wigeon
lucid iron
#

That promises to loaf ahead of EntryDll mods

uncut viper
#

loaf ahead...

lucid iron
#

Mm loaf breadHappy

obtuse wigeon
#

I could go for a good loaf rn

uncut viper
#

if the content modders yearn for the foreach, the C# modders yearn for the cecil

#

things that can never be...

gentle rose
#

I agree with selph and chu that annotations are crime btw

lucid iron
#

I want Cecil mainly to add fields to game dll

uncut viper
#

if y'all didnt write mods with bugs the annotations wouldnt make a difference / lh

uncut viper
lucid iron
#

No crimes SDVpufferpensive

#

Well i suppose if a mod really wanted this