From 6b19f4a0ab1f77ea969a080a6eea0379baf9f8df Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 28 Dec 2019 16:58:18 -0500 Subject: additional output for additem command (#24006) * additional output for additem command when removing items with additem: if the user provides an amount too large of a negative amount, the command will now output the amount of items that could not be destroyed. * renamed sql file to hopefully avoid conflicts * added clarification to failure string * changed unneeded else if condition to else * code style; braces * Update and rename 9999_99_99_99_world.sql to 2019_12_28_01_world.sql --- sql/updates/world/3.3.5/2019_12_28_01_world.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/3.3.5/2019_12_28_01_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2019_12_28_01_world.sql b/sql/updates/world/3.3.5/2019_12_28_01_world.sql new file mode 100644 index 00000000000..68519239a7e --- /dev/null +++ b/sql/updates/world/3.3.5/2019_12_28_01_world.sql @@ -0,0 +1,4 @@ +-- +delete from `trinity_string` where `entry`=600; +insert into `trinity_string` (entry,content_default,content_loc1,content_loc2,content_loc3,content_loc4,content_loc5,content_loc6,content_loc7,content_loc8) values +(600, "Failed to remove itemID = %i, amount = %i, from %s (No such item exists in target's inventory)", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); -- cgit v1.2.3