Page 1 of 1

Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 12:08 am
by ann
Could someone help me add the cutest top in all of 2009scape?
I found SearchOptionPlugin.java but don't know where would be the most appropriate location to call this function.

It is a quest item used in Biohazard and A Tail of Two Cats. It is found in the box in Nurse Sarah's house, south-west of the west Ardougne church.

Doctor's Gown - Item ID: 430
Box - Scenery ID: 2062

Image

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 12:21 am
by Ceikry
You need to write an interaction listener:

https://gitlab.com/2009scape/2009scape/ ... -listeners

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 3:12 am
by ryannathans
While you are there feel free to add the rest of the mentioned quests too :mrgreen: /s

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 1:10 pm
by ann
Thanks Ryan, Ceikry!

What I also wanted was advice on a suitable directory to write this listener in. Does the one below look alright?

Server/src/main/content/region/kandarin/ardougne/quest/biohazard/biohazardListeners.kt

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 1:11 pm
by Ceikry
the biohazard listeners file is fine, since the item is related to that quest.

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Wed Apr 03, 2024 1:12 pm
by ryannathans
lgtm, I assume it'll be the only biohazard listener for now

Re: Add Doctors' gown to cupboard in West Ardougne

Posted: Fri May 03, 2024 12:25 am
by ann
In case anyone is curious, I added the feature (link to gitlab), but it still needs some work for authenticity.

I'm not good at coding, and had to adapt/modify others' code, but I believe you can be the change you want to be.
As you can see, the core Contributors are more than helpful to get you on the right track! :)