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
23
dumps/scripts/1280.cs2
Normal file
23
dumps/scripts/1280.cs2
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
void script_1280(int arg0,int arg1,int arg2,int arg3) {
|
||||
string svar0;
|
||||
svar0 = "";
|
||||
if (setWidgetRegister(new WidgetPointer(arg2), arg3)) {
|
||||
if (getItemIdInSlot(arg0, arg1) != -1) {
|
||||
svar0 = "<col=ff981f>" + getItemName(getItemIdInSlot(arg0, arg1));
|
||||
setItemOnWidgetMethod1200(getItemIdInSlot(arg0, arg1), getItemAmtInSlot(arg0, arg1));
|
||||
cs2method1305(svar0);
|
||||
setWidgetContextMenuOption(10, "Examine" + "<col=ff9040>");
|
||||
cs2method1303(5);
|
||||
cs2method1304(10);
|
||||
setWidgetShadowColor(new Color(51, 51, 51));
|
||||
setWidgetBorderThickness(1);
|
||||
} else {
|
||||
setWidgetModel(-1);
|
||||
setWidgetNoOptions();
|
||||
cs2method1303(0);
|
||||
cs2method1304(0);
|
||||
setScriptCallOnMouseDragReleased(-1, "");
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue