SRL Archive - SRL Archives

Procedure WithdrawType(Note : Boolean);


bibi26

2006-11-18 21:05:49

I was surprised because I didn't see this option, I searched in the extended folder and I found WithdrawNotes option, it switch to note option and take an amount of object, but it not a switcher, so I added a function that switch between item and note options, here you go :D :

{*******************************************************************************
procedure WithdrawType(Note : Boolean);
by: bibi26
Description: Switch between "Item" and "Note" options.
*******************************************************************************}
procedure WithdrawType(Note : Boolean);
begin
case Note of
true : if (not(GetColor(377, 312) = 1777020)) then Mouse(377,312,8,4,true);
false : if (not(GetColor(307, 311) = 1777020)) then Mouse(307,311,8,4,true);
end;
end;

If you have any ideas or suggestions, just tell it ;)

JuKKa

2006-11-30 01:03:55

nice! always good to have new features!

TOB

2006-12-04 14:01:12

Better function would be to have a SwitchInvItemsToNotes(itemPos: Integer) in which is deposited items from inventory into the bank and then changed the withdraw type to notes and withdrew. Hmm I may make this procedure when I get home.

bibi26

2006-12-05 07:00:26

You want that it switch to note and take items ? If yes, we already have this function (extended folder) : WithdrawNotes(i, amount: Integer);

TOB

2006-12-05 12:23:22

No, it doesn't work completely right. Boreas and I(mainly Boreas) are working on a few banking procedures and functions. He is doing something that my ideas tie into so wait a bit and you make be pleased.