tripple auction duration values (6 hours wont stick, so does the og 2)
This commit is contained in:
+2
-2
@@ -27,8 +27,8 @@ function SlashCmdList.AUX(command)
|
||||
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))
|
||||
elseif arguments[1] == 'post' and arguments[2] == 'duration' and T.map('2', post.DURATION_2, '8', post.DURATION_8, '24', post.DURATION_24)[arguments[3]] then
|
||||
aux.account_data.post_duration = T.map('2', post.DURATION_2, '8', post.DURATION_8, '24', post.DURATION_24)[arguments[3]]
|
||||
elseif arguments[1] == 'post' and arguments[2] == 'duration' and T.map('6', post.DURATION_6, '24', post.DURATION_24, '72', post.DURATION_72)[arguments[3]] then
|
||||
aux.account_data.post_duration = T.map('6', post.DURATION_6, '24', post.DURATION_24, '72', post.DURATION_72)[arguments[3]]
|
||||
aux.print('post duration ' .. aux.color.blue(aux.account_data.post_duration / 60 .. 'h'))
|
||||
elseif arguments[1] == 'crafting' and arguments[2] == 'cost' then
|
||||
aux.account_data.crafting_cost = not aux.account_data.crafting_cost
|
||||
|
||||
Reference in New Issue
Block a user