This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ table.unpack = table.unpack or unpack
66unpack = unpack or table.unpack
77
88-- Handle overwrriten functions
9- _SETSETTING = _SETSETTING or setsetting
109_TOSTRING = _TOSTRING or tostring
1110_TYPE = _TYPE or type
1211math ._CEIL = math ._CEIL or math.ceil
Original file line number Diff line number Diff line change @@ -488,33 +488,6 @@ function calltable(t, ...)
488488 return f (table.unpack (args ))
489489end
490490
491- --[[
492- * This is basically an improvement of setsetting(). It handles using the first
493- * parameter as a userdata for lootingdata and supplydata.
494- *
495- * @since 1.1.0
496- * @updated 1.2.0
497- * @overrides
498- *
499- * @param {table} t - The table with the function to be
500- * called and its arguments
501- * @param {any} [...] - Extra arguments
502- *
503- * @returns {string} - The converted value
504- --]]
505- function setsetting (...)
506- local args = {... }
507- if type (args [1 ]) == ' userdata' then
508- if args [1 ].objtype == ' lootingdata' then
509- args [1 ] = ' Looting/LootList/' .. args [1 ].name .. ' /' .. table.remove (args , 2 )
510- elseif args [1 ].objtype == ' supplydata' then
511- args [1 ] = ' Supplies/Items/' .. obj .name .. ' /' .. table.remove (args , 2 )
512- end
513- end
514-
515- return _SETSETTING (table.unpack (args ))
516- end
517-
518491--[[
519492 * Waits until a condition is satisfied for a maximum time of `time`. Condition
520493 * must be passed as the `f` argument and any extra parameters and be passed as
You can’t perform that action at this time.
0 commit comments