mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
12
dumps/scripts/4107.cs2
Normal file
12
dumps/scripts/4107.cs2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
string script_4107(int arg0,int arg1) {
|
||||
if (arg1 >= 10000000) {
|
||||
return "<col=ff981f>" + getItemName(arg0) + "</col>" + " x " + formatNumber(divide(arg1, 1000000), 1) + "M (" + formatNumber(arg1, 1) + ")";
|
||||
}
|
||||
if (arg1 >= 10000) {
|
||||
return "<col=ff981f>" + getItemName(arg0) + "</col>" + " x " + formatNumber(divide(arg1, 1000), 1) + "K (" + formatNumber(arg1, 1) + ")";
|
||||
}
|
||||
if (arg1 > 1) {
|
||||
return "<col=ff981f>" + getItemName(arg0) + "</col>" + " x " + formatNumber(arg1, 1);
|
||||
}
|
||||
return "<col=ff981f>" + getItemName(arg0) + "</col>";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue