summaryrefslogtreecommitdiff
path: root/src/include/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/world.h')
-rw-r--r--src/include/world.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/world.h b/src/include/world.h
index 11ac92e..a719e57 100644
--- a/src/include/world.h
+++ b/src/include/world.h
@@ -29,6 +29,8 @@
typedef struct t_world_location world_location;
typedef struct t_employee employee;
+
+
#define WORK_HOUR_START 0
#define WORK_HOUR_END 24
#define TIME_SLOTS_PER_HOUR 4
@@ -39,7 +41,8 @@ typedef struct t_employee employee;
#define MAX_EMPLOYEE_COUNT (TIME_SLOTS_PER_WEEK)
#define MAX_TRUCK_COUNT (TIME_SLOTS_PER_WEEK)
-#define MISSED_DELIVERY_TRUST_PENALTY (0.5f)
+#define JOB_STARTING_TRUST 0.8f
+#define MISSED_DELIVERY_TRUST_PENALTY (0.1f)
#define MAX_EFFECTIVE_EXPERIENCE 25.0f // anything past 25 years of experience has no extra positives.
#define SHIPTIME_DURATION_MULTIPLIER_MAX 1.0f
#define SHIPTIME_DURATION_MULTIPLIER_MIN 1.15f
@@ -145,7 +148,7 @@ typedef struct t_employee
struct tm hire_date;
u8 experience;
float salary;
- float happiness;
+ float happiness; // 0-1
s16 days_below_happiness_treshold;
u32 current_location_id;
u32 original_location_id;
@@ -242,6 +245,7 @@ typedef struct t_world_location
schedule schedule;
u16 purchase_year;
array insights;
+ float score; // 0-1
// Dynamic
array connections;