shockah / stardew-valley-mods Goto Github PK
View Code? Open in Web Editor NEWMods for Stardew Valley I made.
License: Apache License 2.0
Mods for Stardew Valley I made.
License: Apache License 2.0
One of the professions makes it so Crab Pots no longer require Bait.
Depends on #17.
A tool to visualize the frame of an IConstrainable
.
It's not yet determined how it should be triggered. Potential ideas:
IConstrainable
frames for each view (for example, UIScrollView
has one).A system to allow traversing a UI via directional controls (usually with a gamepad).
https://developer.apple.com/documentation/uikit/focus-based_navigation
https://developer.apple.com/documentation/uikit/focus-based_navigation/about_focus_interactions_for_apple_tv
https://developer.apple.com/documentation/uikit/focus-based_navigation/creating_custom_navigation_interactions
Depends on #13.
Implement a specialized hover detection system, making it possible to detect the first hovered view that satisfies some condition (for example, has a tooltip defined).
Additionally, make sure the current hover system checks the IsTouchThrough
and IsVisible
properties, as I believe they're currently ignored.
A tool to visualize a view hierarchy by spreading out ALL views by a certain offset.
Implemention would be similar to #20 (but XPath is optional, just spread out all of the views).
Sprinklers normally do not water garden pots, but it could be a nice setting (off by default).
Make the sprinklers work with the Slime Hutch.
This ticket used to mention pet bowls, but apparently they're not vanilla behavior, so I moved them to #7 instead.
Apple's UIStackView
has a setCustomSpacing(_:after:)
method. I think we can do better here and allow declaring custom spacing as a delegate with two parameters - the preceding view and the succeeding view. This should allow for much more flexibility.
This could actually replace the Spacing
property altogether, but I think it's better to keep it.
Walk of Life changed their UniqueID and EntryDLL, these need to be updated.
Create a fluent API for creating a line of constraints, which would allow creating constraints akin to Apple's Visual Format Language, but in a type-safe way.
A user requested a way to set the mod in a way that would make the character move slower while swinging.
https://www.nexusmods.com/stardewvalley/mods/10941?tab=posts#comment-105241323
A completely different way of handling sprinklers - instead of each being a separate thing, they should all work together under one system.
Watering behavior should try to find clusters of waterable tiles and sprinklers around them, and those sprinklers should work together to water a larger area. This should enable even more layout diversity.
Also see:
https://www.nexusmods.com/stardewvalley/mods/10931?tab=posts#comment-105429448
https://www.nexusmods.com/stardewvalley/mods/10931?tab=bugs#issue_580215
Split into separate mod and framework projects, to make it possible to use just the framework separately (and possibly embed it in another mod without adding a (strong) dependency).
Sprinklers normally do not water pet bowls, but it could be a nice setting (off by default).
Watering a pet bowl grants friendship with the pet, which is why it should be a setting.
The friendship granting part could also be a setting.
A tool to visualize all constraints for a specific UIView
.
Implementation should probably be similar to #20.
A user reported that the GMCM integration did not have translated tooltips in non-English languages (the language was Hungarian, but the game still used the default, English translation).
This depends on #45.
Animations should be limited to only one per sprinkler at once.
https://www.nexusmods.com/stardewvalley/mods/10931?tab=posts#comment-105429448
UINinePatch
currently has problems rendering at small sizes (below the NinePatchInsets
). It should be fixed to only draw a part of the corners/sides in those cases.
UIQuad
should implement intrinsic size (equal to the texture source rect).
A user requested disabling the busy machine "dancing" animation. Implement an option for this.
Using an Animal Husbandry syringe with no valid target while Don't Stop Me Now is installed causes a soft-lock.
If a UILabel has NumberOfLines
>= 2, it cannot use truncating anymore with wrap (they're mutually exclusive right now). It would be nice to have them separated out.
A new view type which would allow aligning a single subview to the view's edges, possibly scaling the view to fit, possibly keeping the aspect ratio.
The aligning would be based on the view's intrinsic size.
Properties:
UIVector2 Origin = new(0.5f)
bool KeepAspectRatio = true
UIAlignmentViewScaling Scaling = UIAlignmentViewScaling.ToFit
UIAlignmentViewScaling
possible values:
None
- keeps the original sizeToFit
- resizes the content subview to fit inside the alignment view's boundsToFill
- resizes the content subview to fill the alignment view's bounds, possibly extending outside of it in one axisConfig should be localized. See https://github.com/Pathoschild/StardewMods/blob/develop/ContentPatcher/docs/author-guide/config.md#translations
An option to scale down the text a bit to fit the optimal width.
Implement the firstResponder
system (in other words, the UI element focus system). This will make it possible to implement a view like UITextField
.
firstResponder | Apple Developer Documentation
Using Responders and the Responder Chain to Handle Events | Apple Developer Documentation
What is a formal definition of a first responder in iOS? - Stack Overflow
Obviously this has to wait until UIKit is released.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.