Content Patcher

Content Patcher

463k Downloads

[Lookup Anything] add 'advanced mode' that shows raw data

Pathoschild opened this issue ยท 4 comments

commented

Add an optional 'advanced mode' that shows more raw data, including...

  • item ID;
  • object type;
  • NPC's raw friendship/happiness/health/attack/defence values;
  • tree health.
commented

Here are three possible approaches. (These are raw prototypes, so they might be prettier in the released version.)

  1. Dump all raw data and constants.
    Potentially useful for data mining, but also overwhelming. For example, a common mushroom has 152 such fields.
  2. Dump all raw data except constants.
    Still useful for data mining (they can look up the constants separately), but much less overwhelming. For example, a common mushroom has 38 such fields:
    image
    image
    image
  3. Dump hand-picked data.
    Less useful for general data mining, but conveys the most important data. Individual fields can be hand-formatted (like the category line), and we can show data that isn't from fields (like the type name).
    image
commented

I thinking dumping all the data would be better as it may be difficult to determine which properties are important as that varies. Though with all that data it might be hard to sift through so having the option to "pin" properties so they stay at the top of the list would be handy.

Alternatively approach 3 would work just as well and sort of already handles the "pinning" if it allowed you to expand the view to see the rest of the properties. This way the generally deemed important ones can always be "pinned", but access to the less used ones is still available if you need it, without having to wait for the mod to update.

commented

@tstaples we can't expand a field interactively (without changing how the mod renders its UI), but we could use a combined approach:

image
image
image
image

commented

Done in the develop branch for the upcoming 1.9 release. You can enable the fields by setting ShowDataMiningFields: true in the config.json. Here's how the UI looks in this release pending feedback (demonstrating the sheer amount of data this can make available to data miners):

image
image
image
image
image
image
image
image
image
image
image
image