aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorMichael <martin.dev.446@gmail.com>2019-12-28 16:58:18 -0500
committerShauren <shauren.trinity@gmail.com>2021-12-19 15:46:20 +0100
commit72e61625bca5a8420fc76666db3481673b180a69 (patch)
treeb38f9f028c45104e6fc1a270ebf3d70574b3c305 /sql/updates
parentbfc8889d544925182e2ddc4617ac5301c15745ae (diff)
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 (cherry picked from commit 6b19f4a0ab1f77ea969a080a6eea0379baf9f8df)
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/master/2021_12_19_24_world_2019_12_28_01_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_19_24_world_2019_12_28_01_world.sql b/sql/updates/world/master/2021_12_19_24_world_2019_12_28_01_world.sql
new file mode 100644
index 00000000000..68519239a7e
--- /dev/null
+++ b/sql/updates/world/master/2021_12_19_24_world_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);