Skip to content

Updates for SDV 1.6#2

Open
NermNermNerm wants to merge 23 commits intotqdv:tqdv-2.2.10from
NermNermNerm:alpha
Open

Updates for SDV 1.6#2
NermNermNerm wants to merge 23 commits intotqdv:tqdv-2.2.10from
NermNermNerm:alpha

Conversation

@NermNermNerm
Copy link

@NermNermNerm NermNermNerm commented Dec 4, 2023

I'm new to SDV modding, but I just can't live without this one, even if I'm just testing out my own stuff, so I took the time to port it 1.6. I don't want to own the mod going forward or anything, I just want to share what I've got, and you seem like the principal maintainer of the thing at the moment.

Currently it compiles and runs well in vanilla 1.6. The biggest question mark to me is the "Dynamic Game Assets" code. I have no idea how or when it runs - my suspicion is that it's important for big mods that introduce new crops &c. I suspect it all needs to be chucked out for 1.6 because of the difference in how Items ID's are handled.

Smaller stuff that I intend to get to is validating that mills and junimo huts work correctly.

There may also be failures that I don't know to look for - e.g. tooltips that should be shown but aren't.

else if (itemName.IndexOf("sprinkler", StringComparison.OrdinalIgnoreCase) >= 0)
{
// Relative tile positions to the placable items locations - need to pass coordinates
AddTilesToHighlightedArea(currentItem.GetSprinklerTiles(), (int)validTile.X, (int)validTile.Y);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is a little bit worrisome because Object.GetSprinklerTiles didn't semantically change in 1.6... But it did change. Somebody noodled over it and changed a variable name. However, its behavior got changed by something else - in the past it was zero-based - as Object.tileLocation used to be 0.0 for unplaced objects, and now it's the tile that's being hovered over. That new behavior might not be intended and might get rolled back.

@NermNermNerm NermNermNerm marked this pull request as ready for review March 19, 2024 02:57
@drewhoener
Copy link

Hey @NermNermNerm @KryptoST @SteveBenz the original project is still in development over at Annosz/UIInfoSuite2!
The 1.6 update will be ported over there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants