-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vendor Interface and Code Cleanup (#166)
* Decent refactor, add option to charge for hide item, add option to use vendor interface * Add custom items for hide/clear item buttons in Vendor interface * Address pre-existing bug where misc weapons/weapons without subclass skill requirements would not show up
- Loading branch information
Showing
5 changed files
with
383 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
SET | ||
@HideEntry = 57575, | ||
@RemoveEntry = 57576, | ||
@HideName = "Hide Equipped", | ||
@RemoveName = "Clear Transmog"; | ||
|
||
DELETE FROM `item_template` WHERE `entry` = @HideEntry OR `entry` = @RemoveEntry; | ||
|
||
INSERT INTO `item_template` (`entry`, `class`, `subclass`, `name`, `displayid`, `InventoryType`, `description`) VALUES | ||
(@HideEntry, 15, 0, @HideName, 55112, 0, "Hide the item in this slot."), | ||
(@RemoveEntry, 15, 0, @RemoveName, 8931, 0, "Remove active transmog for this item."); | ||
|
||
DELETE FROM `item_template_locale` WHERE `ID` = @HideEntry OR `ID` = @RemoveEntry; | ||
INSERT INTO `item_template_locale` (`ID`, `locale`, `Name`, `Description`) VALUES | ||
(@HideEntry, "koKR", "장착된 아이템 숨기기", "이 슬롯의 아이템을 숨깁니다."), | ||
(@RemoveEntry,"koKR", "변형 지우기", "이 아이템의 활성화된 변형을 제거합니다."), | ||
(@HideEntry, "frFR", "Masquer l'équipement", "Masquer l'objet dans cet emplacement."), | ||
(@RemoveEntry,"frFR", "Effacer transmog", "Supprimer la transmog active."), | ||
(@HideEntry, "deDE", "Ausgerüstet verbergen", "Item in diesem Slot verbergen."), | ||
(@RemoveEntry,"deDE", "Transmog zurücksetzen", "Aktive Transmogrifikation entfernen."), | ||
(@HideEntry, "zhCN", "隐藏已装备", "隐藏此物品。"), | ||
(@RemoveEntry,"zhCN", "清除幻化", "移除激活的幻化。"), | ||
(@HideEntry, "zhTW", "隱藏已裝備", "隱藏此物品。"), | ||
(@RemoveEntry,"zhTW", "清除幻化", "移除啟用的幻化。"), | ||
(@HideEntry, "esES", "Ocultar equipado", "Ocultar el objeto en esta ranura."), | ||
(@RemoveEntry,"esES", "Borrar transmog", "Eliminar la transmog activa."), | ||
(@HideEntry, "esMX", "Ocultar equipado", "Ocultar el objeto en este espacio."), | ||
(@RemoveEntry,"esMX", "Borrar transmog", "Eliminar la transmog activa."), | ||
(@HideEntry, "ruRU", "Скрыть экипированное", "Скрыть предмет в слоте."), | ||
(@RemoveEntry,"ruRU", "Очистить трансмог", "Удалить активный трансмог."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.