diff options
author | Michael <martin.dev.446@gmail.com> | 2019-12-28 16:58:18 -0500 |
---|---|---|
committer | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-12-28 22:58:18 +0100 |
commit | 6b19f4a0ab1f77ea969a080a6eea0379baf9f8df (patch) | |
tree | 29eb01729a985948375d8c02bf6f4d83f08080a7 /sql | |
parent | 53fe736087341ae056713768562e0cc27de2ac19 (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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/3.3.5/2019_12_28_01_world.sql | 4 |
1 files changed, 4 insertions, 0 deletions
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); |