wintersleepAI / foundry-swnr

Stars Without Number: Revised for Foundry VTT
GNU Affero General Public License v3.0
32 stars 24 forks source link

Removing deprecated labels #32

Open thebwt opened 1 year ago

thebwt commented 1 year ago

Just cleaning things up before I learn more about foundry dev. It also seems like foundry 9 testing is still important for a bit so added some lines to make that more effecient.

I can remove it if needed, but it might be cool to keep a script around for each supported version.

1.0 is solid though, so i don't think this needs to be in before your big 1.0

wintersleepAI commented 1 year ago

did you test this one in v9 (with a foundry restart)? IIRC some of these label changes meant compendiums didn't work in v9 (maybe that was v8 though).

thebwt commented 1 year ago

Heres my v9 launch deets

FoundryVTT | 2023-01-04 10:13:26 | [info] Created client session 2b22bfda52ce3ffc158f2be2
FoundryVTT | 2023-01-04 10:13:26 | [warn] Invalid package undefined detected in directory raven-swn!
FoundryVTT | 2023-01-04 10:13:28 | [warn] Package swnr contains 28 compendium definitions that still use the deprecated 'entity' field instead of 'type'.FoundryVTT | 2023-01-04 10:13:28 | [warn] Invalid package undefined detected in directory my-world!
FoundryVTT | 2023-01-04 10:13:28 | [info] Core software stable update 10.291 is available!FoundryVTT | 2023-01-04 10:13:45 | [warn] Invalid package undefined detected in directory my-world!
FoundryVTT | 2023-01-04 10:13:45 | [warn] Package swnr contains 28 compendium definitions that still use the deprecated 'entity' field instead of 'type'.
FoundryVTT | 2023-01-04 10:13:45 | [info] FoundryVTT | Created Setting with id [RPdaEhy05kglniqF]
FoundryVTT | 2023-01-04 10:13:45 | [info] FoundryVTT | Created Setting with id [bZbTnYSOgWfjjzvn]
FoundryVTT | 2023-01-04 10:13:45 | [info] FoundryVTT | Created User with id [rFeAXpyxgNu766KQ]
FoundryVTT | 2023-01-04 10:13:45 | [warn] Invalid package undefined detected in directory raven-swn!
FoundryVTT | 2023-01-04 10:13:48 | [info] User authentication successful for user Gamemaster
FoundryVTT | 2023-01-04 10:13:50 | [info] No system update is currently available.
FoundryVTT | 2023-01-04 10:13:50 | [info] Vended World data to User [rFeAXpyxgNu766KQ] in 568ms
FoundryVTT | 2023-01-04 10:13:50 | [info] FoundryVTT | Created Setting with id [kcMdsSDYK0DgkAxx]
FoundryVTT | 2023-01-04 10:13:50 | [info] FoundryVTT | Created 2 ChatMessage documents with ids: [LoHfWIaFJCbmxqnG,ruucgOfrOVtYmudV]
FoundryVTT | 2023-01-04 10:13:50 | [info] FoundryVTT | Created Setting with id [qrtcKtblN0nUuzO6]
FoundryVTT | 2023-01-04 10:14:17 | [info] FoundryVTT | Created Actor with id [gMFE6Yj2VmrIeGg1]

All the compendiums have data in them image

(ignore stuff about raven-swn, that's my personal content module)

thebwt commented 1 year ago

actually that terminal output was from v9, but with the unaltered compendiums image here the terminal isn't complaining about the deprecated field entity

and here you can see the compendiums loaded with data image