RuneScape:Varbit/11954

From Old School RuneScape Wiki
Jump to: navigation, search

Controls Gregg's knowledge of Gregg's location at Thessalia's Fine Clothes. while the 2021 Easter event is active.

Coincidentally can also be used to hint Gregg's visibility at Thessalia's Fine Clothes. with good accuracy, which can affect Thessalia's dialogue a little bit.

Values[edit source]

0
The default value.
Set to this value when RS:Varbit/11951's value changes to 100 at the lumberyard: Well, here we are. Now all we need to do is get some planks.
1
Set to this value when RS:Varbit/11951's value changes to 56 at the Lumbridge sheep pen: Well, that's better than nothing! We'll go to Thessalia's!

Relation to varbit 11951 and Gregg's visibility[edit source]

RS:Varbit/11951 controls the visibility of Gregg at the Thessalia's Fine Clothes., independently from this varbit. This varbit should not be relied upon to determine Gregg's visibility at Thessalia's Fine Clothes., although it is normally accurate.

Pseudo-code[edit source]

(unf)
This project page or section is incomplete and could do with improvement.
Reason: Could be more complete with examples when this is set to 1 and/or 0.
You can discuss this issue on the talk page or edit this project page to improve it.

Gregg (Draynor)[edit source]

// Gregg (Draynor)
if (%varbit11951 > 10 && %varbit11956 != 2) {
  // "Hello human!"
  // "Wait, aren't I supposed to be meeting you somewhere else?"
  // "Yep! But I'm taking a bit of a break, and it would appear you are too, human!"
  // "Can you remind me where I'm meant to be meeting you?"
  
  if (%varbit11955 == 1) {
    // "I think we were going to the lumberyard to the north-east of Varrock to get some planks."
  } elseif (%varbit11954 == 1) {
    // "I think we were going to the clothes shop in the middle of Varrock to get some ribbons."
  } elseif (%varbit11953 == 1) {
    // "I think we were going to the sheep pen north of Lumbridge to get some wool."
  } elseif (%varbit11952 == 1) {
    // "I think we were going to the Lumbridge Kitchens to talk to a cook about some eggs."
  }
}

Gregg (Thessalia)[edit source]

// Gregg (Thessalia)
if ((%varbit11951 >= 56 && %varbit11951 < 100) && %varbit11954 == 1) {
  // Gregg (10641) is at Thessalia's.
} else {
  // null (10648) is at Thessalia's.
}