Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 58b0e40

Browse files
committed
Release 1.1.2
1 parent d332d3e commit 58b0e40

3 files changed

Lines changed: 7 additions & 31 deletions

File tree

config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config = {
22
name = 'Raphael\'s Library',
3-
version = '1.1.1',
3+
version = '1.1.2',
44
windbot = '1.3.3',
55

66
files = {

dist/Raphael.lua

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
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
33
-- Released for WindBot v1.3.3
44

5-
RAPHAEL_LIB = '1.1.1'
5+
RAPHAEL_LIB = '1.1.2'
66

77
LIBS = LIBS or {}
88
LIBS.RAPHAEL = RAPHAEL_LIB
99

1010

1111
--[[
12-
* Changelog v1.1.1
12+
* Changelog v1.1.2
1313
*
14-
* - Minor fixes for HUD class.
14+
* - Removed setsettings as a hotfix.
1515
*
1616
--]]
1717

@@ -699,31 +699,6 @@ function calltable(t, ...)
699699
return f(table.unpack(args))
700700
end
701701

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-
727702
--[[
728703
* Waits until a condition is satisfied for a maximum time of `time`. Condition
729704
* must be passed as the `f` argument and any extra parameters and be passed as

log/changelog-1.1.2.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* - Removed setsettings as a hotfix.

0 commit comments

Comments
 (0)