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 @@ -488,31 +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- * @overrides
497- *
498- * @param {table} t - The table with the function to be
499- * called and its arguments
500- * @param {any} [...] - Extra arguments
501- *
502- * @returns {string} - The converted value
503- --]]
504- function setsetting (obj , property , value )
505- if type (obj ) == ' userdata' then
506- if obj .objtype == ' lootingdata' then
507- return _SETSETTING (' Looting/LootList/' .. obj .name .. ' /' .. property , value )
508- elseif obj .objtype == ' supplydata' then
509- return _SETSETTING (' Supplies/Items/' .. obj .name .. ' /' .. property , value )
510- end
511- end
512-
513- return _SETSETTING (obj , property , value )
514- end
515-
516491--[[
517492 * Waits until a condition is satisfied for a maximum time of `time`. Condition
518493 * 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