RuneScape:Varbit/11956

From Old School RuneScape Wiki
Jump to: navigation, search

Changes the multiview visibility of seven doors at Draynor Village to different colours and the visibility of Draynor's Easter decorations, while the 2021 Easter event is active.

Coincidentally may also be observed to control the availability the Cook's Ask about the Easter event. option.

Coincidentally may also be observed to determine which dialogue the player can have with Ned, but only reliably when the value is 2.

Decorative poles Crates Easter eggs Baskets Doors

Values[edit source]

0
Regular coloured doors
The default value.
1
Cyan coloured Ned's house door, other doors are regular coloured
In the cutscene, the Wise Old Man's door is also seen with "Eastdoor" decorations.
Set to this value when RS:Varbit/11951 changes to 9. The Cook is also be observed to have an Ask about the Easter event. option starting from this point.
Set to this value during the cutscene near the end (RS:Varbit/11951 value 125) where Wise Old Man tells when the village decorations began (10 minutes ago).
2
"Eastdoor" decorated seven doors at Draynor Village, Easter decorations all around Draynor Village
Set to this value when Gregg says at the lumberyard: Well, if you like it, it's bound to go down well! Let's head back to Draynor and get this put up! (RS:Varbit/11951 value 104)
Set to this value if the player interrupts the Wise Old Man cutscene.
Set to this value when the Wise Old Man says during the cutscene: Between the three of us, we managed to have the entire village decorated in no time!
No changes observed for the Cook.
When the player asks Ned about the Easter event: You did some excellent work on the decorations!

Effects on the Cook[edit source]

This varbit can be determined to enable the Cook's Ask about the Easter event. dialogue when > 0. When RuneScape:Varbit/11951 is set to 9, coincidentally this varbit's value is also set to 1.

An issue raises when the Cook also doesn't check if the varbit 11951 is ≥ 10 for well-intended, bug-free behaviour, which hints that the varbit 11951 is not used to determine the availability of the Cook's Ask about the Easter event. option. As of 29 March 2021, this can lead to a glitch where the player can ask the Cook about the Easter event immediately after painting Ned's door (9), where the Cook will then say he gave rotten eggs to Gregg, but this is before Gregg ever made it to the kitchen.

The Cook will continue to have his Ask about the Easter event. option once Draynor is fully decorated (2) and after the event rewards have been claimed.

A side-note: On the contrary, Thessalia's Ask about the Easter event. option availability does not have direct correlation to the value of RS:Varbit/11954 (can be 0 and still have the Easter option), but the state of 11951. Many other Ask about the Easter event. options are also controlled solely with 11951.

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 different values.
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."
  }
}

Cook[edit source]

// The Cook
if (%varbit11956 > 0) { // Ned's door is coloured cyan or Draynor is decorated. (%varbit11951 >= 9)
  // Add an "Ask about the Easter event." option.
  
  // Bug: Correct behaviour would be: (%varbit11951 >= 10 || %varbit11952 == 1)
}

Ned[edit source]

// Ned
if (%varbit11951 >= 7) {
  // Add an "Ask about the Easter event." option.
  
  // Bug: Correct behaviour would be: (%varbit11951 >= 8 || %varbit11956 > 0)
}

if (%option == EASTER) { // Ask about the Easter event.
  if (%varbit11951 == 7 && %varbit11956 == 0) {
    // "Hello, this is going to sound strange but can I paint your door?"
    // "Me door? I see no harm in it, go ahead."
    // "Great, thanks!"

    // Bug: Correct behaviour would be: (%varbit11951 == 8 && %varbit11956 == 0)
  } elseif (%varbit11951 == 8 || %varbit11956 == 1) { // 11956 is not reliable alone
    // "Thanks for painting me door, but I think it's missing something."
    // "A second colour?"
    // "No, I don't think that's it... leave me be, lad, I'll figure it out."

    // Bug: Correct behaviour would be: ((%varbit11951 >= 9 && %varbit11951 < 104) || %varbit11956 == 1)
  } elseif (%varbit11951 >= 104 || %varbit11956 == 2) {
    // "You did some excellent work on the decorations!"
    // "Har! Thanks, lass, but I can't be taking all the credit."
    // "Aggie's got a keen eye for colours, and the Wise Old Man is great motivation!"
  }
}