diff options
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 1bfeea6e2..65fed943b 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -31,8 +31,9 @@ #include "../CraftingRecipes.h" -// 6000 ticks or 5 minutes -#define PLAYER_INVENTORY_SAVE_INTERVAL 6000 + + + namespace { @@ -62,6 +63,13 @@ const int cPlayer::MAX_FOOD_LEVEL = 20; // Number of ticks it takes to eat an item. #define EATING_TICKS 30_tick +// 6000 ticks or 5 minutes +#define PLAYER_INVENTORY_SAVE_INTERVAL 6000 + +#define XP_TO_LEVEL15 255 +#define XP_PER_LEVEL_TO15 17 +#define XP_TO_LEVEL30 825 + |