SRL Archive - Help

Change "Gift Box" Selection


MadClabXIII

2011-03-19 15:49:01

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

2011-03-19 15:50:49

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

2011-03-19 16:02:03


procedure DeclarePlayers;
begin
with Players[0] do
begin
//Other stuff such as name, nick, etc.
BoxRewards := ['ostum', 'mote', 'XP', 'apphir', 'oins'];
end;
end;

Coh3n

2011-03-19 17:21:57

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

2011-03-19 19:13:54

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

2011-03-19 19:16:27

From: MadClabXIII
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.