Log in

View Full Version : Change "Gift Box" Selection



MadClabXIII
03-19-2011, 07:49 PM
I've searched, and couldn't find the answer:

How can I change the settings so that when a random has been completed, costume points can be chosen rather than coins. I'm currently using the MSI power chopper and although it selects coins, it drops them anyway.

Cheers

Floor66
03-19-2011, 07:50 PM
There is a value called 'BoxRewards' in the SRL players array in which you can set the UpTexts (I believe?) of the items you wish to pick.

TomTuff
03-19-2011, 08:02 PM
procedure DeclarePlayers;
begin
with Players[0] do
begin
//Other stuff such as name, nick, etc.
BoxRewards := ['ostum', 'mote', 'XP', 'apphir', 'oins'];
end;
end;

Coh3n
03-19-2011, 09:21 PM
This should eventually be changed so the user can choose whatever reward they want when setting up the player. This will definitely be added in the next MSI form, but for now, replace this line in RunMe.simba with just the 'ostume' option.

Players[i].BoxRewards := ['mote', 'ostume', 'oins', 'unes', 'ems'];

MadClabXIII
03-19-2011, 11:13 PM
Thanks guys, decided to change it to costume and XP. Another question though, how can I get it to select WC rather than mining on the XP lamp (assuming there isn't an option to get a costume point)?

Coh3n
03-19-2011, 11:16 PM
Thanks guys, decided to change it to costume and XP. Another question though, how can I get it to select WC rather than mining on the XP lamp (assuming there isn't an option to get a costume point)?
This will also be in the new MSI form, but I think you do:

LampSkill := 'Woodcutting';
And I'm pretty sure it isn't player-specific. So just call that somewhere in MSI's mainloop and it should work.