clue plugin: add light requirements to clues

This commit adds a warning message to the clue scroll overlay when a
player has a clue requiring a light source and does not have a light
source equipped or in their inventory. It adds logic to check for the
status of fire pits in areas which would remain permanently lit that
way.

Closes runelite/runelite#9626

Co-authored-by: David <Davidlomath@hotmail.co.uk>
Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
Co-authored-by: Adam <Adam@sigterm.info>
This commit is contained in:
David
2020-02-02 14:13:47 -08:00
committed by Adam
parent 7e0c935e04
commit c00559ee5c
6 changed files with 268 additions and 160 deletions

View File

@@ -297,6 +297,17 @@ public enum Varbits
PERSONAL_POINTS(5422),
RAID_PARTY_SIZE(5424),
/**
* Making Friends with My Arm fire pits
*
* Expected values:
* 0 = Not built
* 1 = Built
*/
FIRE_PIT_GIANT_MOLE(6532),
FIRE_PIT_LUMBRIDGE_SWAMP(6533),
FIRE_PIT_MOS_LE_HARMLESS(6544),
/**
* Theatre of Blood 1=In Party, 2=Inside/Spectator, 3=Dead Spectating
*/