make random stack sizes optional

in my last pull request i changed the defaul behaviour of aux to max stack sizes to random stack sizes.
this pull reqeust chagnes this back and adds the /aux post stack command to toggle stacks off and get random post sizes instead
This commit is contained in:
geojak
2022-04-26 17:56:32 +02:00
committed by GitHub
parent 0ab1cd8f62
commit ede00f203b
4 changed files with 26 additions and 14 deletions
+4
View File
@@ -21,6 +21,9 @@ function SlashCmdList.AUX(command)
elseif arguments[1] == 'ignore' and arguments[2] == 'owner' then
aux.account_data.ignore_owner = not aux.account_data.ignore_owner
aux.print('ignore owner ' .. status(aux.account_data.ignore_owner))
elseif arguments[1] == 'post' and arguments[2] == 'stack' then
aux.account_data.post_stack = not aux.account_data.post_stack
aux.print('post stack ' .. status(aux.account_data.post_stack))
elseif arguments[1] == 'post' and arguments[2] == 'bid' then
aux.account_data.post_bid = not aux.account_data.post_bid
aux.print('post bid ' .. status(aux.account_data.post_bid))
@@ -61,6 +64,7 @@ function SlashCmdList.AUX(command)
aux.print('- ignore owner [' .. status(aux.account_data.ignore_owner) .. ']')
aux.print('- post bid [' .. status(aux.account_data.post_bid) .. ']')
aux.print('- post duration [' .. aux.color.blue(aux.account_data.post_duration / 60 .. 'h') .. ']')
aux.print('- post stack [' .. status(aux.account_data.post_stack) .. ']')
aux.print('- crafting cost [' .. status(aux.account_data.crafting_cost) .. ']')
aux.print('- tooltip value [' .. status(tooltip_settings.value) .. ']')
aux.print('- tooltip daily [' .. status(tooltip_settings.daily) .. ']')