Доработка. Переход на новую таблицу.

This commit is contained in:
MaD_CaT
2023-08-15 13:46:46 +03:00
parent b1ef6595ed
commit b24b362e0c
16 changed files with 1055 additions and 839 deletions

View File

@@ -2,29 +2,29 @@ extends Node
func check_low_high(val, low, high): # Проверка min/max значений
if val > high:
return high
elif val < low:
return low
else:
return val
if val > high:
return high
elif val < low:
return low
else:
return val
func check_negative(val): # Проверка на отрицательное
if val < 0:
return 0
else:
return val
if val < 0:
return 0
else:
return val
func check_len(val, value):
if len(val) < 1:
return ''
else:
return value
if len(val) < 1:
return ''
else:
return value
func check_empty(val):
if str(val) == '':
return false
else:
return true
if str(val) == '':
return false
else:
return true