This commit is contained in:
Никита Круглицкий
2025-06-14 14:21:56 +06:00
parent 84f591db59
commit 0850d7798b
13 changed files with 408 additions and 170 deletions

View File

@@ -1,13 +1,13 @@
--@name koptilnya/libs/constants
_G.NULL_ENTITY = entity(0)
_G.CURRENT_PLAYER = player()
_G.OWNER = owner()
_G.IS_ME = CURRENT_PLAYER == OWNER
_G.TICK_INTERVAL = game.getTickInterval()
_G.RAD_TO_RPM = 9.5493
_G.RPM_TO_RAD = 0.10472
_G.UNITS_PER_METER = 39.37
_G.UNITS_TO_METERS = 0.01905
_G.KG_TO_N = 9.80665
_G.KG_TO_KN = 0.00980665
NULL_ENTITY = entity(0)
CURRENT_PLAYER = player()
OWNER = owner()
IS_ME = CURRENT_PLAYER == OWNER
TICK_INTERVAL = game.getTickInterval()
RAD_TO_RPM = 9.5493
RPM_TO_RAD = 0.10472
UNITS_PER_METER = 39.37
UNITS_TO_METERS = 0.01905
KG_TO_N = 9.80665
KG_TO_KN = 0.00980665