|
1 | | --- Raphael's Library v1.1.1 |
2 | | --- Last Updated: 02/02/2014 - 00:05 UTC |
| 1 | +-- Raphael's Library v1.1.2 |
| 2 | +-- Last Updated: 05/02/2014 - 19:34 UTC |
3 | 3 | -- Released for WindBot v1.3.3 |
4 | 4 |
|
5 | | -RAPHAEL_LIB = '1.1.1' |
| 5 | +RAPHAEL_LIB = '1.1.2' |
6 | 6 |
|
7 | 7 | LIBS = LIBS or {} |
8 | 8 | LIBS.RAPHAEL = RAPHAEL_LIB |
9 | 9 |
|
10 | 10 |
|
11 | 11 | --[[ |
12 | | - * Changelog v1.1.1 |
| 12 | + * Changelog v1.1.2 |
13 | 13 | * |
14 | | - * - Minor fixes for HUD class. |
| 14 | + * - Removed setsettings as a hotfix. |
15 | 15 | * |
16 | 16 | --]] |
17 | 17 |
|
@@ -699,31 +699,6 @@ function calltable(t, ...) |
699 | 699 | return f(table.unpack(args)) |
700 | 700 | end |
701 | 701 |
|
702 | | ---[[ |
703 | | - * This is basically an improvement of setsetting(). It handles using the first |
704 | | - * parameter as a userdata for lootingdata and supplydata. |
705 | | - * |
706 | | - * @since 1.1.0 |
707 | | - * @overrides |
708 | | - * |
709 | | - * @param {table} t - The table with the function to be |
710 | | - * called and its arguments |
711 | | - * @param {any} [...] - Extra arguments |
712 | | - * |
713 | | - * @returns {string} - The converted value |
714 | | ---]] |
715 | | -function setsetting(obj, property, value) |
716 | | - if type(obj) == 'userdata' then |
717 | | - if obj.objtype == 'lootingdata' then |
718 | | - return _SETSETTING('Looting/LootList/' .. obj.name .. '/' .. property, value) |
719 | | - elseif obj.objtype == 'supplydata' then |
720 | | - return _SETSETTING('Supplies/Items/' .. obj.name .. '/' .. property, value) |
721 | | - end |
722 | | - end |
723 | | - |
724 | | - return _SETSETTING(obj, property, value) |
725 | | -end |
726 | | - |
727 | 702 | --[[ |
728 | 703 | * Waits until a condition is satisfied for a maximum time of `time`. Condition |
729 | 704 | * must be passed as the `f` argument and any extra parameters and be passed as |
|
0 commit comments