User:Pathoschild/Modding wishlist

From Stardew Valley Wiki
< User:Pathoschild
Revision as of 00:39, 11 December 2021 by Pathoschild (talk | contribs) (→‎Small changes: +2 virtual methods)
Jump to navigation Jump to search

A list of requested changes in the game code to support modders. This list does not include complex refactoring or rewriting, which is unlikely to be accepted.

Wishlist

Bug fixes

All done!

Small changes

  • ☐ Change all remaining internal class and private class to public class to simplify mod access.
  • ☐ Make methods virtual:
    class methods
    Background draw, update
  • Medium changes

    • ☐ Some XNB files have a separate display name field, but only in non-English. Using display names consistently regardless of language would let mods rename things without breaking keys:
      • Data\Bundles
      • Data\CraftingRecipes
      • Data\CookingRecipes
      • Data\Weapons
    • ☐ Remove hardcoded logic that ignores display names when playing in English (e.g. for NPC gift taste dialogues); can search LocalizedContentManager.LanguageCode.en to find many of them. That causes a bug where renamed NPCs still show their internal name in some places.

    Refactoring

    • ☐ Add unique item keys and allow custom spritesheets per item. This would eliminate the current complexities with adding custom items to Stardew Valley, make code much more readable, simplify troubleshooting mod errors, and make it possible to support any item type in cases like sending mail. See the detailed proposal doc.
    • ☐ Change all const fields to static readonly. They're accessed the same way and the performance difference is negligible, but that'll make the decompiled code much easier to understand, and avoid issues where const values get 'baked in' to mod assemblies.

    Completed items

    See the list of items completed in previous game versions.