examine: fix item examine message recolor
This commit is contained in:
@@ -162,9 +162,6 @@ public class ExaminePlugin extends Plugin
|
|||||||
ExamineType type;
|
ExamineType type;
|
||||||
switch (event.getType())
|
switch (event.getType())
|
||||||
{
|
{
|
||||||
case ITEM_EXAMINE:
|
|
||||||
type = ExamineType.ITEM;
|
|
||||||
break;
|
|
||||||
case OBJECT_EXAMINE:
|
case OBJECT_EXAMINE:
|
||||||
type = ExamineType.OBJECT;
|
type = ExamineType.OBJECT;
|
||||||
break;
|
break;
|
||||||
@@ -172,6 +169,7 @@ public class ExaminePlugin extends Plugin
|
|||||||
type = ExamineType.NPC;
|
type = ExamineType.NPC;
|
||||||
break;
|
break;
|
||||||
case GAMEMESSAGE:
|
case GAMEMESSAGE:
|
||||||
|
case ITEM_EXAMINE: // these are spoofed by us from a [proc,examine_item] script edit
|
||||||
type = ExamineType.IF3_ITEM;
|
type = ExamineType.IF3_ITEM;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
1
runelite-client/src/main/scripts/ExamineItem.hash
Normal file
1
runelite-client/src/main/scripts/ExamineItem.hash
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DEC91CFC6FBA0B927EE291A372CFE618232170A27CF96EEADAD29D1D4B761A82
|
||||||
49
runelite-client/src/main/scripts/ExamineItem.rs2asm
Normal file
49
runelite-client/src/main/scripts/ExamineItem.rs2asm
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
.id 6004
|
||||||
|
.int_stack_count 7
|
||||||
|
.string_stack_count 1
|
||||||
|
.int_var_count 7
|
||||||
|
.string_var_count 1
|
||||||
|
iload 1
|
||||||
|
iconst 100000
|
||||||
|
if_icmpge LABEL4
|
||||||
|
jump LABEL23
|
||||||
|
LABEL4:
|
||||||
|
iload 1
|
||||||
|
sconst ","
|
||||||
|
invoke 46
|
||||||
|
sconst " x "
|
||||||
|
iload 0
|
||||||
|
oc_name
|
||||||
|
sconst "."
|
||||||
|
join_string 4
|
||||||
|
iconst 27 ; ITEM_EXAMINE
|
||||||
|
sconst "mes"
|
||||||
|
runelite_callback
|
||||||
|
; ehc examine info
|
||||||
|
;iload 0
|
||||||
|
;iload 1
|
||||||
|
;iconst 0
|
||||||
|
;iload 2
|
||||||
|
;iload 3
|
||||||
|
;iload 4
|
||||||
|
;iload 5
|
||||||
|
;iload 6
|
||||||
|
;invoke 6005
|
||||||
|
jump LABEL34
|
||||||
|
LABEL23:
|
||||||
|
sload 0
|
||||||
|
iconst 27 ; ITEM_EXAMINE
|
||||||
|
sconst "mes"
|
||||||
|
runelite_callback
|
||||||
|
; ehc examine info
|
||||||
|
;iload 0
|
||||||
|
;iload 1
|
||||||
|
;iconst 1
|
||||||
|
;iload 2
|
||||||
|
;iload 3
|
||||||
|
;iload 4
|
||||||
|
;iload 5
|
||||||
|
;iload 6
|
||||||
|
;invoke 6005
|
||||||
|
LABEL34:
|
||||||
|
return
|
||||||
Reference in New Issue
Block a user