- Follow up to r17272, added friendly message when you can't return your pet to egg.

The hell, been listening too much Bryan Adams..

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17273 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
momacabu 2013-04-20 01:14:02 +00:00
parent 25da833d9b
commit cb098d5126
5 changed files with 11 additions and 2 deletions

View File

@ -443,6 +443,9 @@
// Homunculus messages
450: You already have a homunculus
// Return pet to egg message
451: You can't return your pet because your inventory is full.
// Message System
460: Please enter a valid language (usage: @langtype <language>).
461: Language is now set to %s.

View File

@ -448,6 +448,9 @@
// Mensagens de homunculus
450: Você já possui um homunculus
// Mensagem de retorno do pet ao ovo
451: Você não pode retornar o seu bichinho de estimação para o ovo pois o seu inventário está lotado.
// Sistema de Mensagens
460: Digite um idioma válido (uso: @langtype <idioma>).
461: O seu idioma agora está definido para %s.

View File

@ -451,6 +451,9 @@
// Homunculus messages
450: Ya tienes un homúnculo.
// Return pet to egg message
451: No puedes retornar tu pet porque tu inventory está llena.
// Message System
460: Por favor, especifica una lengua válida (uso: @langtype <lengua>).
461: Se ha cambiado tu lengua a %s.

View File

@ -47,7 +47,7 @@
// 20120307 - 2012-03-07aRagexeRE+ - 0x970
#ifndef PACKETVER
#define PACKETVER 20100730
#define PACKETVER 20120410
//#define PACKETVER 20111116
#endif

View File

@ -595,7 +595,7 @@ int pet_menu(struct map_session_data *sd,int menunum)
egg_id = itemdb_exists(sd->pd->petDB->EggID);
if (egg_id) {
if ((egg_id->flag.trade_restriction&0x01) && !pc_inventoryblank(sd)) {
printf ("THERE WILL NEVER BE ANOTHER TONIGHT = %d.\n", ARRAYLENGTH(sd->status.inventory));
clif_displaymessage(sd->fd, msg_txt(sd, 451)); // You can't return your pet because your inventory is full.
return 1;
}
}