Save work: Update game engine, maps, and add vision/pathing utilities. (Tests failing: vision raycast)

This commit is contained in:
Antigravity
2026-02-01 00:48:32 -05:00
parent 071906df59
commit be371e887a
18 changed files with 3270 additions and 303 deletions
+19 -6
View File
@@ -1,14 +1,27 @@
{
"_comment": "Complete Among Us lobby settings",
"map_name": "skeld",
"num_impostors": 2,
"player_speed": 100.0,
"crewmate_vision": 1.0,
"impostor_vision": 1.5,
"kill_cooldown": 25.0,
"vision_range": 10.0,
"impostor_vision_multiplier": 1.5,
"light_sabotage_vision_multiplier": 0.25,
"kill_distance": "medium",
"emergencies_per_player": 1,
"emergency_cooldown": 15.0,
"discussion_time": 30.0,
"voting_time": 120.0,
"confirm_ejects": true,
"player_speed": 2.0,
"task_duration": 3.0,
"anonymous_votes": false,
"visual_tasks": true,
"taskbar_updates": "always",
"common_tasks": 2,
"long_tasks": 1,
"short_tasks": 2,
"sabotage_cooldown": 30.0,
"reactor_timer": 45.0,
"o2_timer": 45.0,
"reactor_timer": 45.0
"lights_vision_multiplier": 0.25,
"max_discussion_rounds": 20,
"convergence_threshold": 2
}
+26 -26
View File
@@ -1,40 +1,40 @@
# Game Settings Configuration
# Edit this file to customize game rules
# The Glass Box League — Complete Among Us Settings
# All values match the in-game lobby settings panel
game:
map: "skeld"
min_players: 4
max_players: 10
map_name: skeld
num_impostors: 2
player:
speed: 1.5 # meters per second
vision_range: 10.0 # meters
player_speed: 100.0 # pixels/second (1.0x = 100px/s)
crewmate_vision: 1.0 # multiplier (1.0x = 300px radius)
impostor_vision: 1.5 # multiplier (not affected by lights)
impostor:
kill_cooldown: 25.0 # seconds
kill_range: 2.0 # meters
crewmate:
tasks_short: 2
tasks_long: 1
tasks_common: 2
kill_cooldown: 25.0 # seconds
kill_distance: medium # short (50px), medium (100px), long (150px)
meeting:
emergency_cooldown: 15.0 # seconds
emergencies_per_player: 1
discussion_time: 30.0 # seconds (for human mode)
voting_time: 60.0 # seconds (for human mode)
confirm_ejects: true
emergency_cooldown: 15.0 # seconds
discussion_time: 30.0 # seconds
voting_time: 120.0 # seconds
confirm_ejects: true # "Red was The Impostor" vs "Red was ejected"
anonymous_votes: false # hide who voted for whom
tasks:
visual_tasks: true # can see others doing visual tasks
taskbar_updates: always # always, meetings, never
common_tasks: 2
long_tasks: 1
short_tasks: 2
sabotage:
o2_timer: 30.0 # seconds until death
reactor_timer: 30.0 # seconds until meltdown
lights_vision_multiplier: 0.25
comms_disables_tasks: true
sabotage_cooldown: 30.0 # seconds between sabotages
reactor_timer: 45.0 # seconds to fix reactor
o2_timer: 45.0 # seconds to fix O2
lights_vision_multiplier: 0.25 # crewmate vision during lights sabotage
# LLM-specific settings
llm:
max_discussion_rounds: 20
min_convergence_rounds: 2
convergence_threshold: 2 # desire_to_speak <= this = silence
convergence_threshold: 2