Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Lumination! #1

Closed
JamzTheMan opened this issue May 5, 2016 · 0 comments
Closed

Feature: Lumination! #1

JamzTheMan opened this issue May 5, 2016 · 0 comments
Assignees
Labels
enhancement MapTool issue relates to MapTool code vs 3rd party libs

Comments

@JamzTheMan
Copy link
Owner

JamzTheMan commented May 5, 2016

This enhancement adds a new property to lights called lumens.

A negative value, say -20, will subtract "light", therefore creating darkness. Lights are processed in absolute order, so lets say you have the following:

  • Darkness Spell: lumens -20
  • Deeper Darkness: lumens -100
  • Torch: lumens 0 (default if not specified)
  • Daylight Spell: lumens 60

(0) The torch light will first be drawn
(20) The darkness will then draw over the torch light (covering it up)
(60) Daylight will then draw over the darkness
(100) Finally, the Deeper Darkness will draw over everything else so far defined.

@JamzTheMan JamzTheMan modified the milestone: 1.4.1.0 May 5, 2016
@JamzTheMan JamzTheMan added the MapTool issue relates to MapTool code vs 3rd party libs label May 5, 2016
@JamzTheMan JamzTheMan self-assigned this May 6, 2016
JamzTheMan pushed a commit that referenced this issue Nov 18, 2016
JamzTheMan pushed a commit that referenced this issue May 18, 2020
Phergus pushed a commit to matejdro/MapTool that referenced this issue Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement MapTool issue relates to MapTool code vs 3rd party libs
Projects
None yet
Development

No branches or pull requests

1 participant