Jump to content
Tero

[Showcase + DL] Palettes for Summoner

Recommended Posts

Nothing fancy here, just a pack of 35 cloth colours for male and female summoners, since in the distribution I had they didn't have any.

ColorCats.png.7f89bfca294aaad17fc392683ef0459b.png

To add this to your server, download the doram-palettes.grf from the bottom of the post, then find your data.ini (in your client folder) and add a line including this grf file, like so (the last line is the one you would add):

[Data]
0=rathena_resources.grf
1=pre20190427.grf
2=renewal20190427.grf
3=palettes.grf
4=data.grf
5=rdata.grf
6=doram-palettes.grf

You can also merge this into an existing grf file using GRF Editor if you prefer.

 

If the "max_cloth_color" on your server is not 35, you'll also probably want this, this is a slightly modified version of the stylist npc who manually specifies the maximum number of palettes for Summoners.  This should replace your npc/custom/stylist.txt

//===== rAthena Script =======================================
//= Stylist
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= Changes your hair style, hair color, and cloth color.
//===== Additional Comments: =================================
//= 1.0 Initial script.
//= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
//= 1.2 Manually specified limits for Summoners [Tero]
//============================================================

prontera,170,180,1	script	Stylist#custom_stylist	122,{
	mes "[Stylist]";
	mes "Hey baby!";
	mes "I can make you look fabulous!";
	mes "Are you ready?";
	if (Class == 4218 || Class == 4220) {
		setarray [email protected][1],
			35,
			6,
			8;
		setarray [email protected][1],
			LOOK_CLOTHES_COLOR,
			LOOK_HAIR,
			LOOK_HAIR_COLOR;
		set [email protected], select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
		set [email protected], getlook([email protected][[email protected]]);
		set [email protected],1;
	} else {
		setarray [email protected][1],
			getbattleflag("max_cloth_color"),
			getbattleflag("max_hair_style"),
			getbattleflag("max_hair_color");
		setarray [email protected][1],
			LOOK_CLOTHES_COLOR,
			LOOK_HAIR,
			LOOK_HAIR_COLOR;
		set [email protected], select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
		set [email protected], getlook([email protected][[email protected]]);
		set [email protected],1;
	}
	while(1) {
		setlook [email protected][[email protected]], [email protected];
		message strcharinfo(0),"This is style #"[email protected]+".";
		set [email protected]$, " ~ Next (^0055FF"+(([email protected][email protected][[email protected]])[email protected]+1:1)+"^000000): ~ Previous (^0055FF"+(([email protected]!=1)[email protected]:[email protected][[email protected]])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"[email protected]+"^000000)";
		switch(select([email protected]$)) {
		case 1:
			set [email protected], (([email protected] != [email protected][[email protected]]) ? [email protected]+1 : 1);
			break;
		case 2:
			set [email protected], (([email protected] != 1) ? [email protected] : [email protected][[email protected]]);
			break;
		case 3:
			message strcharinfo(0),"Choose a style between 1 - "[email protected][[email protected]]+".";
			input [email protected],0,[email protected][[email protected]];
			if ([email protected])
				set [email protected], rand(1,[email protected][[email protected]]);
			break;
		case 4:
			set [email protected], [email protected];
			setlook [email protected][[email protected]], [email protected];
			break;
		}
	}
}

 

Enjoy colourful cats!

doram-palettes.grf

  • Upvote 1
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.