mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Added code so that books/scrolls read that are in a language other
than common get language skill applied. Added code to support ReadBook slots above and beyond main inventory slots by decoding additional bag slot field.
This commit is contained in:
parent
6a2be94282
commit
80ff535215
15
utils/sql/git/required/2017_01_10_book_languages.sql
Normal file
15
utils/sql/git/required/2017_01_10_book_languages.sql
Normal file
@ -0,0 +1,15 @@
|
||||
alter table books add language int default 0;
|
||||
|
||||
drop table reading_is_fundamental;
|
||||
|
||||
create table reading_is_fundamental
|
||||
(
|
||||
filename varchar(32),
|
||||
language int
|
||||
);
|
||||
|
||||
insert into reading_is_fundamental (select items.filename, items.booktype from items where items.filename != "" group by filename);
|
||||
|
||||
update books set books.language = (select language from reading_is_fundamental r where r.filename = books.name);
|
||||
|
||||
drop table reading_is_fundamental;
|
||||
Loading…
x
Reference in New Issue
Block a user