* Implemented new function F_CheckMaxCount.
- Checks if you have enough room in your inventory to accept items * Updated 2004 headgear quests to fully official. - Implemented usage of F_checkMaxCount in the 2004 headgear quests. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12255 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
3653a87355
commit
5b5caa7043
@ -1,6 +1,10 @@
|
||||
Date Added
|
||||
======
|
||||
2008/02/26
|
||||
2008/02/27
|
||||
* Rev 12255 Implemented new function F_CheckMaxCount. [L0ne_W0lf]
|
||||
- Checks if you have enough room in your inventory to accept items
|
||||
* Updated 2004 headgear quests to fully official.
|
||||
- Implemented usage of F_checkMaxCount in the 2004 headgear quests.
|
||||
* Rev 12252 Fully implemented the Thor Volcano Base quest. [L0ne_W0lf]
|
||||
2008/02/26
|
||||
* Rev 12244 Fixed bugreport:1057 and bugreport:1058 [L0ne_W0lf]
|
||||
|
@ -3,7 +3,7 @@
|
||||
//===== By: ==================================================
|
||||
//= Lupus, kobra_k88
|
||||
//===== Current Version: =====================================
|
||||
//= 2.09
|
||||
//= 2.10
|
||||
//===== Compatible With: =====================================
|
||||
//= eAthena 1.0
|
||||
//===== Description: =========================================
|
||||
@ -31,6 +31,7 @@
|
||||
//= 2.06 Pass to Bio-Lab -> MISC_QUEST|512 [Lupus]
|
||||
//= 2.07 Added TK_Q variable clear. 2.08 Added NINJ_Q variable clear [Lupus]
|
||||
//= 2.09 Cleared F_ClearGarbage [Lupus]
|
||||
//= 2.10 Added F_CheckMaxCount to check count of carrid items. [L0ne_w0lf]
|
||||
//============================================================
|
||||
|
||||
|
||||
@ -306,3 +307,21 @@ function script F_Load2Skills {
|
||||
set ADV_QSK2,0; //Clear var
|
||||
return;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// *** Function "F_CheckMaxCount"
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// Return 1 if the max items in inventory is 100, else 0.
|
||||
// Ensure that this corrisponds to MAX_INVENTORY in src/common/mmo.h,
|
||||
// otherwise you will not be able to use several quests, as they will
|
||||
// check this if you have over 100 items in your inventory.
|
||||
// This function will return 1 if you cannot carry anymore items.
|
||||
|
||||
function script F_CheckMaxCount {
|
||||
getinventorylist;
|
||||
if (@inventorylist_count > 99) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,7 @@
|
||||
//===== Compatible With: =====================================
|
||||
//= eAthena
|
||||
//===== Description: =========================================
|
||||
// [Aegis Conversion]
|
||||
//= 2005 Headgears Official Quest.
|
||||
//===== Additional Comments: =================================
|
||||
// 1.0 First version, converted from the official aegis script. [MasterOfMuppets]
|
||||
|
Loading…
x
Reference in New Issue
Block a user