Kinglykrab 8e62383997
[Quest API] Add AddItem() to Perl/Lua. (#2054)
- Add $client->AddItem(item_data) to Perl.
- Add client:AddItem(item_table) to Lua.
- This will allow server operators to add items without needless parameters.

Perl Example:
```pl
my %item_data = (
	"item_id" => 1200,
	"charges" => 1,
	"augment_one" => 49656,
	"augment_two" => 49656,
	"augment_three" => 49656,
	"augment_four" => 49656,
	"augment_five" => 49656,
	"augment_six" => 49656,
	"attuned" => 1,
	"slot_id" => quest::getinventoryslotid("general1")
);
$client->AddItem(\%item_data);
```
Lua Example:
```lua
local item_data = {
	item_id = 1200,
	charges = 1,
	augment_one = 49656,
	augment_two = 49656,
	augment_three = 49656,
	augment_four = 49656,
	augment_five = 49656,
	augment_six = 49656,
	attuned = true,
	slot_id = Slot.General1
};
e.self:AddItem(item_data);
```
2022-03-13 15:59:48 -04:00
..
2020-03-12 00:00:39 -05:00
2022-02-15 08:57:53 -05:00
2021-08-31 01:24:21 -05:00
2021-10-03 13:25:49 -04:00
2019-10-12 21:07:06 -07:00
2019-10-12 21:07:06 -07:00
2018-03-04 13:54:28 -05:00
2018-11-07 21:55:12 -08:00
2019-09-01 23:54:24 -05:00
2020-04-19 04:36:39 -05:00
2019-10-12 21:07:06 -07:00
2022-02-10 23:55:59 -05:00
2017-07-15 20:29:55 -07:00
2020-02-22 16:17:18 -06:00
2020-01-31 20:25:06 -06:00