[Scripts] Update 13th Floor script for legacy research tome bagtypes (#3621)

Legacy research tomes have the wrong bagtype (BACKPACK) blocking the clients from showing the combine button.
This commit is contained in:
JJ 2023-10-13 21:10:35 -04:00 committed by GitHub
parent b82b32e1d2
commit ad0b5d6a1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,12 @@ sub update_items_table {
#::: Update stackables
$dbh->do("UPDATE items i SET i.stackable = 1 WHERE i.stacksize > 1");
#::: Update legacy research tome bagtypes
$dbh->do("UPDATE items i SET i.bagtype = 24 WHERE i.id IN (17655, 17903)"); #RESEARCHWIZ
$dbh->do("UPDATE items i SET i.bagtype = 25 WHERE i.id IN (17502, 17653)"); #RESEARCHMAG
$dbh->do("UPDATE items i SET i.bagtype = 26 WHERE i.id IN (17501, 17654)"); #RESEARCHNEC
$dbh->do("UPDATE items i SET i.bagtype = 27 WHERE i.id IN (17500, 17652)"); #RESEARCHENC
print "Added all new items to Items table (" . $rows . ")!\n";
}