## 6.6.1 - moved manifest from wgtngm.com/modules to modules.wgtngm.com ## 6.6.0 - Added: 0 HP support for Daggerheart, PF2e, DND5e, Sf2e, runequest, shadowdark - Added: API to open an item container game.campaignCodex.showContainer(journalUuid, widgetId, containerId) - Added: Campaign Codex Hub App - Added: Consolidate wgtngm module scene controls option - Added: Contents panel for Groups and Factions - Added: context to tree view of Factions to hide members; hidden members will not show the faction on their entity cards - Added: Custom Item Quantity path (mainly for CSB users) in Settings -> Economy - Added: DCC currency Support - Added: Documentation and Example Sheets in Compendium - Added: Economy support for "Break!" - Added: Encounter group support for actor dropper xp and balance (dnd5e) - Added: filter and default filter for items on actors for token item containers - Added: Hide from Player, on both sheets context option - Added: Inventory as option to token containers - Added: Inventory layer for Hub and Tokens - Added: Limited hours to containers - Added: linking to CC journal item containers from token instead of inventory - Added: Macro to target CC sheets in a compendium for migration to v6 shape - Added: New welcome message and Journal in compendium - Added: Options for opening Hub with API with tags and view mode (see Macro Compendium) - Added: pf2e denominations to shop - Added: Preview Container - Added: Purchase Helper for widgets - Added: Right-click to rolltables widget to open table and reset - Added: Scene controls for Hub - Added: Selling to Shop Containers and Tokens, with limits on item type - Added: Setting in Config and HP check for system.attributes.hp.value if 0 enable token container. - Added: shop mode to Item Containers - Added: Title to checklist widget - Added: Token Item containers - Added: Wildcard * to icon picker - Changed: Tags hidden from non-GM; temporary until I add a per-tag visibility setting - Changed: Quest visibility is now just sheet visibility. Pinned quests are visible for players who are observers or higher of the quest. - Fixed: Visibility of Hidden tabs on factions and groups - Fixed: Visibility of linked scenes and empty scene links - Fixed: Visibility of linked actors - Fixed: Allow players to drop items into loot container widget on the sheet - Fixed: consolidating CSS font sizes - Fixed: containers point to uuid not ID - Fixed: Hide add notes to entity cards that can't have notes added to them - Fixed: Hide/Show secrets bug fixed - Fixed: Hub hidden from players' cards is now hidden - Fixed: Inline Widget hydration from hub view - Fixed: Item containers collapse - Fixed: quest sheet sidebar - Fixed: Token placement fix - Fixed: When Image marker is enabled, it will now override the map note code - Fixed/Improvement: Checks unit quantity of items before transferring, ie Arrows has a unit qty of 20, so a purchase of 1 unit is 20 arrows, not 1 - Fixed: Adventure packaged finds scenes from scene widget - Fixed: Dragging a tab from a compendium journal to a scene now correctly links to that tab. - Fixed: Edit button visibility - Fixed: Factions to display Group Sheet tabs properly (members/entities and factions) - Fixed: Hub CSS - Fixed: Hub linked actor - Fixed: Icon height is now fixed - Fixed: Image pop out on hub - Fixed: Item Container Currency auto width - Fixed: Mini Sidebar showing linked actor's name - Fixed: Missing Flex on widgets wrapper - Fixed: Prosemirror editor render lock - Fixed: Quest Sheet editor - Fixed: Widget dropper line wrap now no wrap - Improvement: Converting Standard Journal to CC will turn text pages to custom tabs - Improvement: CC prosemirror class layer for Collaboration compatibility - Improvement: Changed how info, custom tabs, and notes store content. Now store it in regular journal pages so that, if viewed with CC disabled, the text content is still available. - Improvement: Consolidation of Economy helpers to make adding system support easier in future and to set up for multi-currency support in v7 - Improvement: Deleted Scenes unlink the scene note - Improvement: Dialogue to sell multiple items to a trade-in widget - Improvement: Dropping a map note from a map note widget or item container to a scene creates the note without opening the note dialogue - Improvement: Font sizing in CSS now points to Foundry's CSS, so will scale with ui scales. - Improvement: Group Sheets. Group sheets can be added to factions by dragging a Group sheet to a faction, and that faction will show in the group sheets faction tab. Dragging a Faction to a Group sheet will put that Faction in that Group. - Improvement: If a user can see an actor sheet and can see the attached CC sheet, the CC icon will appear on the actor sheet - Improvement: Linked Actor now displays on the sidebar, and collapsed sidebar - Improvement: Linked cards populated from links now use the custom names, ie NPCs from Entries; if Entries is renamed to Events, it will show NPCs from Events. - Improvement: Map notes from CC sheets in a compendium will link to the compendium, not copy the sheet to the world - Improvement: Moved delete scene to context for widget and sheet-linked Scenes - Improvement: Scene Widget updates - Improvement: Scene Widget will add a scene note if one isn't set - Improvement: Sticky edit button - Improvement: Tightened up the visibility checks for map notes - Improvement: Widget position remembers per tab not per sheet - Improvement: Widgets from other sheets can be placed inline - Removed: Button listeners for chat, moved to native a tags - Removed: CC menu from prose mirror chat dialogue - Removed: Export to standard journal as it is redundant with the new content storage. - Removed: Multiple welcome messages, not just one if not seen before - Removed: TOC - UI: Moved Linked NPC and Linked Scene to badges top left and top right of the sidebar ## 5.7.5 - added collobrate to prose-mirror editor - removed commented and dead code - added all linked entites widget - actors can be dropped to Quest giver and related links and existing journals will linked or a new one created - consolidated generateinfo tab - widgets on inventory tab - refactored sheet type checks and put in a safer fallback - made map notes more resilient to incomplete data - added: self healing to type flag if is unset - added draggable tabs for creating map notes - added draggable tabs for inline linking in prosemirror - added "tab" in render options for base-sheet, ie. journal.sheet.render(true, { tab: tabKey }) - refactored: Adding item to actor to consolidate two paths to one - fix: stopped rogue quantity properties being added to items being added to sheets when there was no valid quanity property. - added: Macro Tools - Danger Zone - DANGER! REMOVE - system.props.item_quantity, a clean up macro for CSB worlds that had items not stack and not add. - added Compendiums setting dialog which allows journal compendiums be selected for inclusion in the ToC and QuestBoard - added a CC button to token huds with actors with linked CC sheets for easy access to CC sheets - added a setting in General Settings to enable or disable the Token Hud CC button, enabled by default - added colour picker to the map marker settings - changed use CC accent for map markers to use the above colour for markers - Map Marker custom colour choice and enable/disable are now fully contained in Map Marker sub setting window. ## 5.5.3 - fix: Compendium ownership propagates to items in inventory - fix: trade in counter adds observer ownership to the item traded in - fix: Services title editable by players - traded in items get put in a folder "trade-in counter/sheetname" - made item containers collapsible on the sheet and able to be pinned open - added jump to pin for map note widget notes - moved delete and edit for map note widgets to the right-click context - added "Show Quest by Sheet Permission" in the permissions settings, which will show linked quests dependent on the ownership level of the sheet and not take into account the visibility of the quest. This does not affect the Quest Board. ## 5.5.0 - fix for selected sheets not displaying wigets in group or faction sheets - fix for creating npc sheets by dropping actors not linking the sheet to the actor quick header menu ## 5.4.8 - fixed widget instances on duplicated sheets ## 5.4.7 ### Map Notes & Markers - Updated map note marker input to not default to `-` - Added a badge to map markers that are not player visible - Removed alpha effect from map markers that are not visible - Fixed map note widget drag reorder/drag to scene causing unwanted reorders - Map note marker not displaying tooltip correctly ### Inventory & Performance - Changed sheets to work with cached inventory - Updated widgets to hydrate the cache inventory - Changed inventory to DOM changes to inventory - Inventory count fixes and other inventory patches ### Exporters & Macros - Revised the cc to md exporter - Compartmentalised obsidian and and adventure export - Tidied up unused functions in exporter - Added player notes report macro - Added updated md to cc macro - Migration macros and chat message ### Game Systems & Economy (SF2e & Dolmenwood) - Added actor dropper balance to sf2e - Added spell gems / spells to services for sf2e - Dolemnwood economy addition - Some economy patches ### UI, Sheets & Styling - Linked actors get a link back to sheet in header - Added title to services groups - Merchant counter css fix - Fixed some compatability with css - Faction label fix - Hide CC Scene Control for GM setting ### General Fixes & Maintenance - Fixes to group notes - Actor dropper live update v14 fix - Tweaked quests - Removed typo ## 5.0.4 - MgT2e economy and patch - Asset Librarian Category Tag item support - Custom Path Item Category - relationship tracker extended image fix - relationship tracker extended cache fix ## 5.0.2 ### Inventory & Items - Added “remove all” support for inventory. - Added item locking. - Added item containers. - Added item visibility controls in inventory. - Players can now open containers they have permission to see, even without permission to access the main sheet. ### Group & Faction Sheets - Refactored group sheets. - Updated how factions work in group sheets. - Added migration macro for moving factions as links to members of group sheets. - Updated group sheet and faction sheet layouts. - Fixed groups inside factions inside groups. - Fixed group secrets. ### Widgets - Linked entity widget - Trade in counter fix - Checklist widget - Updated relationship extended widget with two additional modes and drag drop sheets and actors. - Changed merchant widget to support number and roll formula. - Added merchant widget roll formula support. - Refactored merchant widget. - Added objectives widget. - Updated widget selector. - Refactored widgets with performance improvements. - Added refresh button on widgets to remove stale data. - Inactive widgets can now be activated on any tab with widgets. - Added inline widgets. - Optimised scene widget. ### Sheets & Styling - Default Tab Configuration now includes a Global Tab Name override - Refactored base sheet. - Refactored CSS. - Renamed `.sheet-sidebar` to `.cc-sheet-sidebar`. - Added PF2E style fixes. - Added custom tabs. - player facing stats ### Maps & Notes - Map notes now have an expand toggle that shows a larger hover note, auto-sized up to 60% of the viewport height. - Removed pattern matching from names for map markers. - Added map notes reordering. - Players can now open map notes they have permission to see, even without permission to access the main sheet. - Map markers are dimmed for the GM if they are not visible to players. ### Table of Contents - Added expand/collapse all updates. - Added support for creating sheets in the selected folder. ### Packaging, Export & Tools - Added Adventure Packager button. - Removed Export button. - Added RQG economy helper. - Added SF2e economy helper. - Added link folder of journals. - Added GM gate check for link checker. - Refactored Prosemirror save - Prosemirror fixes ### Legacy Tag System - Cleaned out old “NPC as tag” behavior .Kept faction sheet compatibility intact by continuing to use the existing faction type ("tag"), so older worlds/data won’t break. - Updated how tags are shown across sheets to use the new tag system consistently. - Removed obsolete/internal legacy code that was no longer used. ## 4.0.0 - gallery widget update - v14 prosemirror fixes and other ui fixes ## 3.9.9 - accordion headings on info and notes - player notes visibility toggle ## 3.8.8 - players can sell from all sheets they own ## 3.8.1 - v14 compatability fixes - Crucible support added - Group selected sheet note edit fix (disabled edit) - Quest name correction - Encounter adjustment for actor dropper (DND5e and pf2e) - Patching drag behaviour for linux chromium browsers - icon picker by name as well as dictionary - settings grouped - MD to CC macro update - custom map marker image ## 3.6.1 - windows chrome list css fix - renaming of a setting - entity card notes can be removed by submitting a blank note ## 3.5.8 - Trade in widget improvements - System flag path auto complete for trade in widget: DND5e, PF2e, Fallout, Daggerheart, SFRPG - Starwars FFG compatability ## 3.5.1 - Journal Widget ## 3.4.8 - added some icons (fort, castle, rook) - transaction widget - trade in widget - new experiment macros - map note fix - map maker on sheet visibility fix - small change to the workflow of scrolls from service for dnd5e - Synthetic Dream Machine compatability for quests and inventory ## 3.3.8 - entity card faction tag view permission fix - sp fix pf2e - send items/purchase item quantity compatability fix - shortcut to new sheet (also example in macro) - shortcut to open quest board (also example in macro) ## 3.3.2 - folders in toc - refactor of quests - hover delay setting for map notes - allow players to loot option - ## 3.2.2 - Quest Sheets - Quest Board - New Toc - Factions - Map note pins can link to text (drag drop) - Service widget - Factions displayed in group tree mode - tags are factions - tagging - table of contents - quests - player notes - drag folder of items to sheet - player visibility on header - drag image from asset librarian to sheet ## 2.4.0 - group sheet widget position fix - spelling error fix - group sheet header css tweak ## 2.3.9 - tweaks to some widgets ## 2.3.7 - hide show context menu for entity cards, this will hide/show a card on a sheet from players - actor drop widget, create encounter groups - more css rescue from other modules and their scattergun approach to styling. ## 2.3.1 - Nested region depth fix - WFRP4e currency fix - Map note widget, add notes to scenes that will open that note. - tag sheet fixes - added a new macro to migrate parentRegion to parentRegions and REMOVE parentRegion - Fixed some region linking logic and broken link checking - sending or purchasing will add to quantity if item is on sheet already - gurps style fix - map note hover option for map note widget ## 2.2.8 - mitigation for other styles whack-a-mole with fa icons and display properties ## 2.2.7 - fix when inventory at 0 cost still being deducted. - updated tag and group selected sheet inventory to match base sheet inventory - fixed currency displaying default ## 2.2.6 - ToC header button fix - Linking npcs directly to group fix - custom price, currency paths for auto deduction ## 2.2.5 - map marker scale in settings - toc cc button colouring reenabled ## 2.2.4 - fixes (theming, tags) - Moved add sheet button in ToC to window header - added wfrp4e and shadow of the demon lord to the inventory auto deduct - added tag buttons to the filter - cc sheets added to default sheet list - tag sheet added to create sheet list - tag button in toc improvements ## 2.1.9 - Light / Dark Mode support - Collapsing Sidebar - Tag View improvement on group sheet - Improved themes. - Improved UI Inventory - Notification push to player on permission changes - Gallery Template added - Saves the state of the group sidebar on close - relationship tracker widgets - new tag sheet - convert NPC tag sheet to new tag sheet button - group sheets can be tagged - image gallery - ToC tag cloud - roll table widget - weather widget - event widget - timeline widget - changed some styling on the prosemirror so it collapses to 0 height if empty and inactive - changed the widget manager initialisation so that widgets reliant on other modules can be quietly not activated. - fix for when tthe heme is set to default - fix for timeline widget for large timespans - updated group NPC filters - search filter added to inventory - merchant widget rolls silently - changed theme setting height from auto to 750 - widget updates to relationship trackers - added multipliers to merchant tables - added hidden to sheet tab config, hides tabs and elements from non-GM users - fixed dnd 5e easy ref integration style - fixed default browser theme conflicts - drop members of groups and encounters from linked actor (group/encounter) sheets to the map and not the container - updated calendar widgets to work with new event types - macro widget - move widgets above or below text on the info tab - cards (npc, location, regions, etc.) can be dragged as per journals for linking and dropping to the map - Items in inventory are draggable to shops and actor sheets - players can now purchase from the store, automatic fund deduction available for fallout, dnd5e, shadowrun6-eden, pf1, shadowdark, swade, sfrpg & pf2e - Player purchasing can be disabled in the settings - Inventory items with 0 quantity will not show in the player view. - filter added to send to player dialogue - deduct funds added to send to player dialogue - infinite toggle for inventory items - scenes can be linked to groups - inventory is sorted by type, and is collapsible - added a converter when converting one cc type to another, giving the option to convert. - default tab visibility for player added to tab config ## 1.5.8 - Regions can have multiple parents - inventory bug fix - Macro Compendium added, a migration macro is included. ## 1.5.7 - Bug fixes (currency can be 0) - Tab override defaults can be overriden at sheet level, tabs with defaults will be highlighted - Map marker input text box next to subtitle, can be hidden in sheet config - ## 1.5.6 - updated the drag drop to the new v2 method - group sheets now only check for circular, self link, and dup links at root - Bug fixes - CSS Bug fixes - Removed inventory items from group sheet tree and and tab - Added Entries to group sheet tab - Implemented lazy loading on sheets - Added a loading state for inventory if it's not finished processing data before the tab is selected. ## API Assign the API: - campaignCodexAPI = game.modules.get('campaign-codex')?.api; ### Copy Standard Journal to CC Sheet Convert a journal with a text page or multiple text pages in a CC sheet of a type or multiples sheets - campaignCodexAPI.convertJournalToCCSheet (uuid, type, pagesToSeparateSheets) uuid: uuid of journal to copy type: String, destination sheet type (location, npc, region, shop, group, tags) pagesToSeparateSheets: Bool, will create a Campaign Codex sheet of type for each page in the journal ### Export to zip of md files - campaignCodexAPI.exportToObsidian(); ### Open the ToC Sheet - campaignCodexAPI.openTOCSheet(type); ## 1.5.4 - Added Show to Players in the config menu - Selected sheet on a group sheet: Tags tab removed, tags in header clickable - Adding an existing item will add +1 to item in inventory - fixed tag tab default visibility ## 1.5.3 - added option to disable custom map markers - added option to default to cc-ui colour for map markers - added calculation for dark or light text on map marker = bug fixes (tag tab defaults, objective visibiliy, tab visibility, depth save state) ## 1.5 - Change ToC helper function to open to a tab (ie quests) - Customise tab names and sheet icons - Replicate the folder structure of the journal panel - Drag drop from group tree view to map - tighten up group tree spacing - Widget implementation - Inventory on all sheets - set default tab visibility for sheet types - hide, show, rename tabs (cog icon on sheet). - hide show image on sheet - Auto folder sorting not to auto sort duplication within sub folders if the subfolder is in the correct folder. - TOC - Either a Tags view improvement - group and standard linkers performance improvements - can drag group tree nodes to other sheets and scenes - All Sheets v2 - pinned quests will only show on quest board if set to visible. - added custom icon override for sheets - added currency in hand for inventory - debounce on sheet refresh and tidy up of refreshes - Added custom map markers for Campaign Codex journal entries. If a journal's name is prefixed with a map code (e.g., A01 - Foyer, A01 : Foyer, A01: Foyer, A01 Foyer, A01), the map note will now render as a circular icon displaying the code "A01". The recognized pattern is {Optional Letter}{1-3 Digits}{Optional Letter}{: or - with or with spaces}{Optional Name}."^([A-Z]?\d{1,3}[A-Z]?)(?=\s*[-: ]" - Made openTOCSheet async and now takes an option to open a specific tab openTOCSheet("tab") groups, regions, locations, shops, npcs, tags, quests - Hide inventory toggle removed as tab visibility is now a thing - Updated Welcome message - Send Item to Player updated to V2 - Drop NPC dialog updated to v2 - Added templates - made AllTags more robust - max height added on the quest box description area - Fixed some UI compatability with styling - NPC card subtitle will come from sheet - CC scene control button is part of the UI - Templates in editor - filter for TOC - Styled CC Scene control toggle in settings (if on it uses the UI color from themes) - Add user templates from folder selected in settings (will scan dir for HBS/HTML) - Sheet Focus fix - sub objectives - reordering of sub objectives ## 0.9.9 - fix to the path for templates - css fix player users themes ## 0.9.7 - folder auto organisation logic updated to not move journals duplicated in subfolder - css fix to apply main text colour to editable text in info and notes for themes ## 0.9.4 - moved the templates to an array ## 0.9.3 - Updated Welcome message - Items on Quests - Quests sub objectives - Max height added on the quest box description area - Drag Drop reordering of objectives - Confirmation dialog on Quest delete - Added templates to text editor - Added user templates from folder selected in settings (will scan dir for HBS/HTML) - Added details/summary compatability to text editor - Send Item to Player updated to V2 - Drop NPC dialog updated to v2 - Made AllTags more robust - Fixed some UI compatability with styling - NPC card subtitle will come from sheet - Filter for TOC - CC scene control button is part of the UI - Styled CC Scene control toggle in settings (if on it uses the UI color from themes) - Sheet Focus fix - Improved Exports to standard journals and MD to include quests - Converting standard journals to CC journals gives the option to bring in content. - Various other bug fixes - FR localisation added - Remove image button ## 0.8.45 - quest board and table of contents - themes in the core settings ## 0.8.31 - Add tags directly from sheet - Create tags directly from sheet - updated ui of quicklinks and tags - customisable subtitle on sheets ## 0.8.25 - Toggle stats next to menu items on main sheets, viewable by GM only - Export and Import overhaul - Can select and export a root folder to a compendium (module) as a pack - Can import packs, and will selectively bring in actors, items, scenes and journals - Creating packs is additive, using the same pack name as an existing pack will add to it - Creating whole world exports will clear and overwrite the module journal compendium ## 0.8.18 - Importer fix ## 0.8.16 - Added quests to sheets - Regions and be added to regions - Core setting to limit the number of layers of regions, default 5, max 10. - removed ability to open scenes from compendium sheets - updated the export / import feature. Exporting will overwrite journals in a module rather than timestamp but will keep scene notes and actors intact. ## 0.8.09 - Added compatability for Shadowdark item price - Added option to toggle rounding of item price ## 0.8.08 - renamed to Campaign Codex instead of campaign-codex ## 0.8.07 - circular dependancy fix ## 0.8.05 - entity-name css text wrap fix ## 0.8.04 - Region Sheet NPC Tab fix ## 0.8.03 - Performance upgrade to all sheets - Style update to buttons - Multiple Journals tab ## 0.8.01b - Performance improvement on groupsheet - image cropping improvement ## 0.7.88b - Create journal dialog not working for NPCs fixed ## 0.7.87b - Complete overhaul of linked cards, buttons and major UI improvements - Complete overhaul of group sheets - Refactored and fixed linking, link clean up and updating - Refactored some link checking - Refactored hooks - Linked cards click through to sheets - Add tag toggle to npc sheet - Added tag information to side panel and on cards - Fixed scrolling - Fixed indirect link updating - NPCs and tags on region sheets - Moved permission checking to linkers - Substantial back end code improvements ### Fixes - Enter on Markup Unlinking standard journal ## 0.7.7b - Added inline editors ## 0.7.61 - Inventory column header row fix when base price is disabled - Fixed the Secret block reveal/hide button not working or appearing ## 0.7.6 - Sort Inventory A-Z on Shop Sheet - Link a journal or page to an information tab of a sheet or group sheet ### Core Settings - Item price and denomination defaults added for Dungeons and Dragons 5e, Pathfinder 2e, Starfinder, Savage Worlds Adventure Edition, Pathfinder 1e, Old-School Essentials and Daggerheart - Override for Denomination - Show/Hide the Base Price column in the inventory - Enable/Disable automatically sort A-Z on cards (actors, locations) - Show/Hide cards if users aren't Observer or higher, auto-generated (entries and NPCs) cards ### Import/Export - Added linked journals to import/export - Added a clean-up check for scenes and linked standard journals on export - Adventure Compendium compatibility - Added localisation framework, implementation in future version ### Clean up - Added clean up for linked journals on journal deletion ### Sheet Creation - Ability to create and link a location from a region sheet - Ability to create and link an entry from a location sheet - Ability to create and link an entry from a NPC sheet - Ability to create and link an NPC from a entry sheet - Create and link a location by dropping a scene onto the location tab of a region, and the scene links to the location. Checks for duplicates (same location name, same scene) and won't create - "Create Journal Entry" menu integration ### Group Sheets - Allow duplicates of NPC in the Tree Node view ### User permissions - Hiding links to other sheets that player users aren't Observer or higher - Hide Drop NPC to Map for non-GM users on sheets - Hide Mark up and loot toggles from non-GM users - Hide Notes from non-GM users - Disabled name edit for non-GM users - Hiding toggles and buttons from non-GM users - Hide stats (\#) on sidebar for non-GM users. - Make the info tab description edit button visible for users who are GM or Owner ### Fixes - Force enable of some buttons for player users foundry disables by default - CSS Inventory List Item fix - Fix the Reference to Shop that should be Entry - Bug Fix: Fix one editor window resetting to the last saved state when another editor is saved or sheet updates. - Fix CSS for main images on sheet so landscape images are centred and portraits are centred top third (object-position: 50% 25%;) - Fixed names not updating on open linked journals until reopened - v13: Fixed the DnD5e journal styling ## 0.7.5 - Moved to GitHub - Fixed render on sheet creation ## 0.7.4 - main.js - 222 - Added to Create New Journal Dialog - Added CSS for Monk's Enhanced Journal ## 0.7.3 - Updated Welcome Message to include github and fixed discord link - Fixed css interference ## 0.7.2 - Changed manifest to point to different url - Fixed context menu not working in v12 ## 0.7.1 - Quick fix to CSS style for prosemirror editor for non D&D 5e Systems ## 0.7 - Launch versoin