mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Fix spelling mistake of classname DZ_Czech_Vest_Pouch (#1792)
* Fix spelling mistake of classname DZ_Czech_Vest_Pouch As per subject * Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch. As per subject * Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch. As per * More typo SQL goodness As per subject
This commit is contained in:
@@ -51,11 +51,18 @@ ALTER TABLE Player_DATA ADD PlayerCoins bigint(20) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE Player_DATA ADD BankCoins bigint(20) NOT NULL DEFAULT '0';
|
||||
|
||||
-- ----------------------------
|
||||
-- Remove CZ_VestPouch_EP1 from traders and inventories. It is the same model as DZ_Czech_Vest_Puch with half the slots.
|
||||
-- Remove CZ_VestPouch_EP1 from traders and inventories. It is the same model as DZ_Czech_Vest_Pouch with half the slots.
|
||||
-- ----------------------------
|
||||
DELETE FROM `Traders_DATA` WHERE item = '["CZ_VestPouch_EP1",2]';
|
||||
UPDATE character_data SET Inventory = REPLACE(Inventory, 'CZ_VestPouch_EP1', 'DZ_Czech_Vest_Puch') WHERE INSTR(Inventory, 'CZ_VestPouch_EP1') > 0;
|
||||
UPDATE object_data SET Inventory = REPLACE(Inventory, 'CZ_VestPouch_EP1', 'DZ_Czech_Vest_Puch') WHERE INSTR(Inventory, 'CZ_VestPouch_EP1') > 0;
|
||||
UPDATE character_data SET Backpack = REPLACE(Backpack, 'CZ_VestPouch_EP1', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Backpack, 'CZ_VestPouch_EP1') > 0;
|
||||
UPDATE object_data SET Inventory = REPLACE(Inventory, 'CZ_VestPouch_EP1', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Inventory, 'CZ_VestPouch_EP1') > 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Fix typo from 1.0.5.1 and rename DZ_Czech_Vest_Puch to DZ_Czech_Vest_Pouch.
|
||||
-- ----------------------------
|
||||
UPDATE `Traders_DATA` SET `item` = '["DZ_Czech_Vest_Pouch",2]' WHERE `item` = '["DZ_Czech_Vest_Puch",2]';
|
||||
UPDATE character_data SET Backpack = REPLACE(Backpack, 'DZ_Czech_Vest_Puch', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Backpack, 'DZ_Czech_Vest_Puch') > 0;
|
||||
UPDATE object_data SET Inventory = REPLACE(Inventory, 'DZ_Czech_Vest_Puch', 'DZ_Czech_Vest_Pouch') WHERE INSTR(Inventory, 'DZ_Czech_Vest_Puch') > 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Fix typo from 1.0.5.1 updates causing Merlin and CH53 to show as magazines instead of vehicles
|
||||
|
||||
Reference in New Issue
Block a user