[Magiclysm] Goblins and dwarves can craft in the dark #76669
Merged
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.
Summary
Mods "[Magiclysm] Goblins and dwarves can craft in the dark"
Purpose of change
Dwarves and goblins in The World's Most Popular Roleplaying Game can see in complete darkness, and goblins are supposed to be nocturnal, so it makes sense to allow them to craft in the dark.
Describe the solution
Add a
CRAFT_IN_DARKNESS
flag that allows the bearer to ignore light levels when crafting.It does not allow you read in the dark. That is deliberate.
Describe alternatives you've considered
Testing
Goblins and dwarves can craft in the dark. No one else can.
Additional context
They can't go completely without light because of reading, but I remember something I read in an old sourcebook about how dark elf wizards were the only dark elves who were used to light, because there was no way to get around having to study their spellbooks by lanternlight, and that stuck with me.