From: Coh3n
There are unique colors for each, are there not?
For death and chaos….
So, i made a little change to the colors. now death and chaos wont get confused together, but they will still be confused with air.
E: Alternately, I could just make a custom rune finding function…
//TItems
RUNE_AIR:
with MSI_Items[whichItem] do
begin
Name := 'Air rune';
UpText := ['ir r'];
ItemP := Point(0, 0);
Colors := [13948126];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_WATER:
with MSI_Items[whichItem] do
begin
Name := 'Water rune';
UpText := ['er ru'];
ItemP := Point(0, 0);
Colors := [10296087];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_EARTH:
with MSI_Items[whichItem] do
begin
Name := 'Earth rune';
UpText := ['th ru'];
ItemP := Point(0, 0);
Colors := [867676];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_FIRE:
with MSI_Items[whichItem] do
begin
Name := 'Fire rune';
UpText := ['ire ru'];
ItemP := Point(0, 0);
Colors := [1515933];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_MIND:
with MSI_Items[whichItem] do
begin
Name := 'Mind rune';
UpText := ['nd run'];
ItemP := Point(0, 0);
Colors := [2129366, 538424];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_BODY:
with MSI_Items[whichItem] do
begin
Name := 'Body rune';
UpText := ['ody r'];
ItemP := Point(0, 0);
Colors := [921102, 12656924];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_CHAOS:
with MSI_Items[whichItem] do
begin
Name := 'Chaos rune';
UpText := ['haos'];
ItemP := Point(0, 0);
Colors := [2137558, 538424];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_DEATH:
with MSI_Items[whichItem] do
begin
Name := 'Death rune';
UpText := ['ath ru'];
ItemP := Point(0, 0);
Colors := [921102];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_NATURE:
with MSI_Items[whichItem] do
begin
Name := 'Nature rune';
UpText := ['ture r'];
ItemP := Point(0, 0);
Colors := [1408531];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_COSMIC:
with MSI_Items[whichItem] do
begin
Name := 'Cosmic rune';
UpText := ['osmic'];
ItemP := Point(0, 0);
Colors := [2151638];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
RUNE_LAW:
with MSI_Items[whichItem] do
begin
Name := 'Law rune';
UpText := ['aw ru'];
ItemP := Point(0,0);
Colors := [14034208];
Tol := 3;
Stackable := True;
DTM := MSI_LoadDTM(whichItem);
end;
//DTM
RUNE_AIR..RUNE_LAW:
Result := [
Point(999, 557),
Point(998, 544),
Point(1000, 572),
Point(1012, 556),
Point(985, 557)
];
//GetColor
RUNE_AIR : Result := 13948126;
RUNE_WATER : Result := 10296087;
RUNE_EARTH : Result := 867676;
RUNE_FIRE : Result := 1515933;
RUNE_MIND : Result := 538424;
RUNE_BODY : Result := 7829373;
RUNE_CHAOS : Result := 13948126;
RUNE_DEATH : Result := 13948126;
RUNE_NATURE: Result := 1408531;
RUNE_COSMIC: Result := 2151638;
RUNE_LAW : Result := 14034208;