Mirror v1.1.1 — Comprehensive property support + handout fix#2279
Open
KenanMillet wants to merge 4 commits into
Open
Mirror v1.1.1 — Comprehensive property support + handout fix#2279KenanMillet wants to merge 4 commits into
KenanMillet wants to merge 4 commits into
Conversation
- Added: bar4, bar_link, bar_location, compact_bar, bar_num_permission - Added: showplayers_*, playersedit_* for bars/name/auras - Added: tooltip, show_tooltip, isdrawing - Added: UDL directional light, dim_light_opacity, lightColor - Added: UDL vision (field of vision/night vision limits) - Added: lockMovement, disableSnapping, disableTokenMenu - Added: foreground layer (fadeOnOverlap, fadeOpacity, renderAsScenery) - Added: aura1_options, aura2_options - Added: adv_fow_view_distance, night_vision_effect, light_sensitivity_multiplier - Split 'light' group into 'light' (emission) and 'sight' (vision) - New groups: name, tooltip, sight
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Comprehensive ALL_PROPS update
Mirror now knows about all documented graphic properties from the Roll20 API:
New property groups
sight— vision properties only (split fromlight)name— name + nameplate visibility/edit permissionstooltip— tooltip + show_tooltipUpdated groups
light— now emission only (no longer includes vision)bars— now includes links, location, compact_bar, visibility, permissionsauras— now includes options, showplayers, playerseditBug fix
!mirror gen-dev-docsno longer give access to all playersWhy
The previous
ALL_PROPSonly covered ~25 properties.Mirror.align()and links using theallgroup couldn't sync properties Mirror didn't know about (e.g. nameplate visibility, bar links, tooltips). This was causing incomplete syncs for scripts relying on Mirror's align API.The light/sight split allows consumers (like Gaslight) to
--exclude sightwithout losing light emission sync.