Content Patcher

Content Patcher

463k Downloads

[Content Patcher] `patch summary` should differentiate between should and is applied

Pathoschild opened this issue ยท 2 comments

commented

When you target an invalid asset, there's no way to tell from patch summary whether it was actually applied. For example, this is the output when a mod edits furniture instead of TileSheets/furniture (so nothing actually changes in-game):

Patches by content pack ([X] means applied):
   Monteso's Furniture for Content Patcher:
      [X] Bathtub | EditImage furniture
      [X] Bonsai | EditImage furniture

Change patch summary to differentiate.

commented

Possible output:

== Current conditions
==================================
field     | value
--------- | -----
Day       | 5
DayOfWeek | friday
Language  | en
Season    | spring
Weather   | sun


== Patches by content pack
==================================
The following patches were loaded. For each patch:
- 'enabled' shows whether it's enabled (see details for the reason if not).
- 'conditions' shows whether the patch should apply with the current conditions (see
   details for the reason if not). If this is unexpectedly false, check (a) the conditions
   above and (b) your Where field.
- 'applied' shows whether the target asset was loaded and patched. If you expected it
  to be loaded by this point but it's false, double-check (a) that the game has actually
  loaded the asset yet, and (b) your Targets field is correct.

Monteso's Furniture for Content Patcher:

   enabled | conditions | applied | details
   ------- | ---------- | ------- | ------------
   [X]     | [X]        | [ ]     | Bathtub | EditImage furniture
   [X]     | [X]        | [ ]     | Bonsai | EditImage furniture
commented

Done in develop for the upcoming 1.4 release: