A ton of changes including bug fixes, new craftable items, altar with favor system added. Info for player and base added.

This commit is contained in:
Storm Dragon
2026-01-18 22:25:38 -05:00
parent 95a3f4a96c
commit 489408a181
40 changed files with 3910 additions and 1046 deletions

View File

@@ -12,15 +12,25 @@ int expanded_area_end = -1;
// Movement configuration
int movetime = 400; // Time between steps/movements
int walk_speed = 400;
const int BASE_WALK_SPEED = 400;
const int MOCCASINS_WALK_SPEED = 360;
int walk_speed = BASE_WALK_SPEED;
int jump_speed = 170;
const int MAX_ITEM_STACK = 9;
const int POUCH_STACK_BONUS = 2;
const int BASE_STORAGE_MAX = 50;
const int BLESSING_HEAL_AMOUNT = 3;
const int BLESSING_BARRICADE_REPAIR = 20;
const int BLESSING_SPEED_DURATION = 300000;
const int BLESSING_TRIGGER_CHANCE = 10;
const int BLESSING_WALK_SPEED = 320;
// Weapon damage
const int SPEAR_DAMAGE = 3;
const int AXE_DAMAGE = 4;
const int SLING_DAMAGE_MIN = 5;
const int SLING_DAMAGE_MAX = 8;
const int SLING_RANGE = 7;
// Zombie settings
const int ZOMBIE_HEALTH = 12;
@@ -47,6 +57,18 @@ const int BARRICADE_LOG_HEALTH = 30;
const int BARRICADE_STONE_COST = 5;
const int BARRICADE_STONE_HEALTH = 20;
// Building costs
const int STORAGE_LOG_COST = 6;
const int STORAGE_STONE_COST = 9;
const int STORAGE_VINE_COST = 8;
const int PASTURE_LOG_COST = 8;
const int PASTURE_VINE_COST = 20;
const int STABLE_LOG_COST = 10;
const int STABLE_STONE_COST = 15;
const int STABLE_VINE_COST = 10;
const int ALTAR_STONE_COST = 9;
const int ALTAR_STICK_COST = 3;
// Bandit settings
const int BANDIT_HEALTH = 4;
const int BANDIT_MAX_COUNT = 3;
@@ -61,3 +83,17 @@ const int BANDIT_FOOTSTEP_MAX_DISTANCE = 7;
const float BANDIT_SOUND_VOLUME_STEP = 3.0;
const int BANDIT_ATTACK_MAX_HEIGHT = 6;
const int INVASION_DURATION_HOURS = 1;
const int BANDIT_DETECTION_RADIUS = 5;
const int BANDIT_WANDER_DIRECTION_CHANGE_MIN = 3000;
const int BANDIT_WANDER_DIRECTION_CHANGE_MAX = 8000;
// Stream audio
const int STREAM_SOUND_RANGE = 5;
const float STREAM_SOUND_VOLUME_STEP = 0.6;
const int QUEST_MAX_ACTIVE = 4;
const int QUEST_CHANCE_PER_FAVOR = 10;
const int QUEST_MIN_CHANCE = 5;
const double QUEST_FAVOR_PER_POINT = 0.05;
const int QUEST_STONE_SCORE = 6;
const int QUEST_LOG_SCORE = 10;
const int QUEST_SKIN_SCORE = 14;