ge: fix showing active trade price on buy offers

The previously added script event was only for sell offers. Also remove buy limit from sell offers since it is not applicable.
This commit is contained in:
Adam
2021-12-16 11:44:43 -05:00
parent 3c33d89a16
commit d730046cdc
2 changed files with 26 additions and 8 deletions

View File

@@ -51,8 +51,8 @@ LABEL35:
sload 0 ; examine
sload 1 ; Convenience fee
sload 2 ; "<$string0><br><br><$string1>"
sconst "geExamineText"
sload 2 ; "<$string0><br><br><$string1>" or "<$string0><br><$string1>"
sconst "geSellExamineText"
runelite_callback
sstore 2 ; final text
pop_string ; Convenience fee
@@ -157,6 +157,16 @@ LABEL35:
LABEL131:
sload 0
sstore 2
sload 0 ; examine
sload 1 ; ""
sload 2 ; examine
sconst "geBuyExamineText"
runelite_callback
sstore 2 ; final text
pop_string ; ""
pop_string ; examine
iconst 1
iload 1
if_sethide