Rose Of Trinsic Petal PickerPicks ALL Rose of Trinisc Petals for plants within 3 tiles of yourself.Warning: No Error checking for lack of permission to pick in others houses.With all these heritage tokens floating around these days I find myself with a whole bunch of Rose Of Trinsic Plants. Picking those petals is a real pain. So even thow this script is very short others might find it helpfull.
;===========================================
; Script Name: Rose Of Trinsic Petal Picker
; Author: JosephAJ
; Version: V1.0
; Client Tested with: 5.0.??
; EUO version tested with: 1.5 (TV102)
; Shard OSI / FS: OSI
; Revision Date: 1.17.07
; Public Release: 1/17/07
; Purpose: Picks ALL Rose Of Trinsic Petals
; within 3 tiles of character.
; Requirments: None
;===========================================
; (C) 2007 All Rights Reserved JosephAJ
;===========================================
FindItem FHN G_3
set %Petals 0
If #findCnt > 0
{
set #findindex 0
Repeat
Set #Findindex #Findindex + 1
Gosub PickPetal #Findid
Until #Findindex = #Findcnt
}
Display ok Collected %Petals Petals
Halt
Sub PickPetal %1
set #lObjectID %1
Event Property %1
str Right #Property 3
str left #strres 2
If #Strres < 0
Set #Strres 0
event ExMsg #charID 3 0 #findindex , /
+ #findcnt , : #Strres Petals
Set %Petals %Petals + #Strres
If #Strres > 0
For %count 1 #Strres
{
event Macro 17 0 ; 5
wait 20
}
Return
For a version that moves to the next closest petal see heree
http://www.scriptuo.com/index.php?topic=1511.msg85615#msg85615To mod to work with containors see
http://www.scriptuo.com/index.php?topic=1511.msg80164#msg80164Usage: You are free to use this script for not for profit personal UO gameplay.
You are *not* free to modify and repost or post on other places
or post as part of a script or work you yourself have created
or otherwise distribute without written permision from the author.
This license to use can be changed at any time for any reason.
If in doubt dont do it contact the author.
(C) 2007 All Rights Reserved JosephAJ
Commercial usage requires written permission from the authorNOTE: My scripts or any derivative of them are *not* for use in other players script/s!