Major refactor part 1.

This commit is contained in:
Storm Dragon
2026-01-23 21:09:54 -05:00
parent 9ded17873d
commit cb8f028d1b
35 changed files with 1070 additions and 1526 deletions

View File

@@ -235,3 +235,8 @@ const int FALL_DAMAGE_MAX = 4;
const int RESIDENT_SLING_COOLDOWN = 4000; // 4 seconds between shots
const int RESIDENT_COLLECTION_CHANCE = 10; // 10% chance per basket per hour
// Utility functions
int abs(int value) {
return value < 0 ? -value : value;
}