refactor: move logical operators to normalCBSwithParams in highlight.ts
This commit is contained in:
@@ -96,7 +96,8 @@ const normalCBSwithParams = [
|
||||
'previous_chat_log', 'tonumber', 'arrayelement', 'array_element', 'arrayshift', 'array_shift',
|
||||
'arraypop', 'array_pop', 'arraypush', 'array_push', 'arraysplice', 'array_splice',
|
||||
'makearray', 'array', 'a', 'make_array', 'history', 'messages', 'range', 'date', 'time', 'datetimeformat', 'date_time_format',
|
||||
'random', 'pick', 'roll', 'datetimeformat', 'hidden_key', 'reverse', 'getglobalvar', 'position', 'slot', 'rollp'
|
||||
'random', 'pick', 'roll', 'datetimeformat', 'hidden_key', 'reverse', 'getglobalvar', 'position', 'slot', 'rollp',
|
||||
'and', 'or', 'not',
|
||||
]
|
||||
|
||||
const displayRelatedCBS = [
|
||||
@@ -112,7 +113,7 @@ const deprecatedCBS = [
|
||||
]
|
||||
|
||||
const deprecatedCBSwithParams = [
|
||||
'greater', 'less', 'greater_equal', 'less_equal', 'and', 'or', 'not', 'remaind', 'pow'
|
||||
'greater', 'less', 'greater_equal', 'less_equal', 'remaind', 'pow'
|
||||
]
|
||||
|
||||
const decorators = [
|
||||
|
||||
Reference in New Issue
Block a user