23.04.2020, 15:08
(23.04.2020 10:52)igrik Wrote: [ -> ]У меня сразу же вопрос: мы в библиотеке будем поддерживать новый синтаксис (введенный в 2.9.13) HE:Z, BM:Z и UN:C?Да, я нацеливаюсь на последнюю 2,9,х. Если выйдет 14я - на нее.
(23.04.2020 10:52)igrik Wrote: [ -> ]У меня сразу же вопрос: мы в библиотеке будем поддерживать новый синтаксис (введенный в 2.9.13) HE:Z, BM:Z и UN:C?Да, я нацеливаюсь на последнюю 2,9,х. Если выйдет 14я - на нее.
** Short usage description:
** 1. Create new list:
** * !FU(Fun_ListNew):P0/0/?y1; [y1, get the list ID you should use it to do operations with this list]
**
** 2. use any of the following functions to work with your list:
** * !FU(Fun_ListSize):Py1/?y2; [y2, number of the elements in the list]
** * !FU(Fun_ListClear):Py1; [delete all elements stored in list y1]
**
** * !FU(Fun_ListInsert):Py1/1/332/?y3; [y3, status of insert operation (add 332 as element #1 in the list)]
** * !FU(Fun_ListInsertFast)Py1/1/331/?y3;[y3, status of insert operation (add 331 as element #1 in the list but the order of the other list elements will change)]
** * !FU(Fun_ListAppend):Py1/333/?y3; [y3, status of append operation (add 333 as last element of the list)]
**
** * !FU(Fun_ListGet):Py1/1/0/?y2/?y3; [y2, y3, value of list element #1 and status of get operation]
** * !FU(Fun_ListSet):Py1/1/999/?y3; [y3, status of set operation (change list element #1 value to 999)]
** * !FU(Fun_ListMultiGet):Py1/1/0/?y4/?y5/?y6/?y7; [y4, y5, y6, y7, number of elements actually read from the list; list elements #1..#3 values]
**
** * !FU(Fun_ListSwap):Py1/1/2/?y3; [y3, status of swap operation (exchange values of list element #1 and list element #2)]
**
** * !FU(Fun_ListNew):P0/0/?y11; [y11, list ID of newly created temporary list]
** * !FU(Fun_ListCopy):Py1/y11; [copy content of y1 list into y11 list (original y11 list elements will be destroyed)]
** * !FU(Fun_ListDestroy):Py11; [destroy list y11 to free game resources]
**
** * !FU(Fun_ListSort):Py1/0; [sort the list in ascending order (x2 == 0: ASCENDING; 1: DESCENDING)]
** * !FU(Fun_ListFind):Py1/22/0/0/?y4; [y4, index of first element with value 22 in the list]
**
** * !FU(Fun_ListSortCustom):Py1/0/(your_sort_comparator_function_name); [sort the list in ascending order (x2 == 0: ASCENDING; 1: DESCENDING) using CUSTOM COMPARATOR you should implement in your mod ?FU(your_sort_comparator_function_name); API see below.]
**
** * !FU(Fun_ListFindCustom):Py1/23/0/0/(your_search_comparator_function_name)?y5;[y5, index of first found elemnent marked as search result by FU(your_search_comparator_function_name) you should implement in your mod ?FU(your_search_comparator_function_name); API see below.]
**
** * !FU(Fun_ListForEach):Py1/0/0/0/(your_foreach_callback_function_name); [calls function FU(your_foreach_callback_function_name) for each list element you should implement in your mod ?FU(your_foreach_callback_function_name); API see below.]
**
** * !FU(Fun_ListFilter):Py1/0/0/(your_filter_callback_function_name); [calls function FU(your_filter_callback_function_name) for each list element and removes elements marked by this function you should implement in your mod ?FU(your_filter_callback_function_name); API see below.]
**
** * !FU(Fun_ListRemove):Py1/1/?y3; [y3, status of remove operation (remove element #1 from list)]
** * !FU(Fun_ListRemoveFast)Py1/1/?y3; [y3, status of remove operation (remove element #1 from list but the order of the remaining list elements will change)]
**
** ...
**
** x. Destroy the list when you don't need it anymore:
** !FU(Fun_ListDestroy):Py1;
(23.04.2020 11:16)igrik Wrote: [ -> ]так вроде ж в справке есть это...ХЕРОМАНТ Wrote:Это дубликат воговской !!UN:J0. Но зачем???А разве проверить статус можно?
Тьфу блин! Я не знал, что можно проверить. Нужно указать, чтобы занесли описание в справочник.
Quote:J0/#/$
Запретить заклинание
# – номер заклинания (0..69)
$ – разрешить/запретить
0 – разрешить
1 – запретить
Комментарий:
Этот запрет работает только для гильдий магов и пирамид, но вы можете проверить значение, установленное здесь, для любого ERM-скрипта.