mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
12 lines
457 B
Text
12 lines
457 B
Text
void script_472(int arg0,int arg1) {
|
|
if (getSkillActualLvl(14) < 25) {
|
|
setWidgetText(new WidgetPointer(arg0), "<col=c80000>" + "A Mining level of " + intToStr(25) + " is required." + "</col>");
|
|
return;
|
|
}
|
|
if (bitconfig_2086 < arg1) {
|
|
setWidgetText(new WidgetPointer(arg0), "<col=c80000>" + intToStr(arg1) + " Commendations required." + "</col>");
|
|
} else {
|
|
setWidgetText(new WidgetPointer(arg0), intToStr(arg1) + " Commendations.");
|
|
}
|
|
return;
|
|
}
|