Add non-regression test states and Bluetooth diagnostic script

- Introduced a new JSON file containing non-regression test states with detailed unit information, including positions, ages, and movement directions across multiple frames.
- Added a shell script for Bluetooth diagnostics that checks system information, Bluetooth binaries, running processes, D-Bus status, Bluetooth controller details, and audio stack status, providing a comprehensive overview for troubleshooting.
This commit is contained in:
2026-05-17 23:36:24 +02:00
parent dd82ccc087
commit 486cd6b7c5
31 changed files with 2244 additions and 698 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ class Mine(Unit):
)
for victim_id in victim_ids:
rat_unit = self.game.get_unit_by_id(victim_id)
rat_unit = self.game.unit_manager.get_unit_by_id(victim_id)
if rat_unit and hasattr(rat_unit, 'sex'): # Check if it's a rat
# Mine explodes and kills the rat
self.explode(rat_unit)
@@ -49,7 +49,7 @@ class Mine(Unit):
return
# Use mine asset
image = self.game.assets["BMP_POISON"]
image = self.game.graphics.assets["BMP_POISON"]
image_size = self.game.render_engine.get_image_size(image)
# Center the mine in the cell