I mean it can range between 200-1000? You can obviously break them into different classes, since they have a git repository you use and automatically compile your scripts from. It’s quite nice! I’d have to pull and check if you want an exact number. Most of my scripts are ‘dynamic’ and just are a skeleton that fit under certain conditions that scan the area, check if it meets the condition to run, gives options to the user, and off it goes. Obviously there’s various data views to help that scan and as Jagex adds in new content I just add in new configurations. Simple stuff, and never breaks. Which helps me since I can do fudge all and collect my paychecks.
The scripts where you code in ‘case by case’ are massive. THousands of lines. It’s awful.
I actually advised to them to stop using their stupid web based pathfinding and use HPA* since it’s terribly inefficient (although it WORKS for most situations, eh) so that I could do some very advanced scripting. Most actions in Runescape aren’t actually that complex, and in scripting the pathing is one of the most annoying pieces because you can’t rely on the way they do it and code it in yourself. At least I don’t trust their methods since they black box it and are adamant about not sharing how they do it which is bloody stupid. I honestly am just super annoyed with them most of the time lmao. Too secretive, it’s not even a trade secret just tell me how exactly the pathing works so I can determine if its bollocks or not.
Which on the subject of HPA*, it’s an interesting algorithm. I tried implementing it a few times but it’s fairly complex.