Nachbesserungen aus der Gesamtprüfung von M1d
Das Lebensmoos bekommt links und rechts Platz für seinen Umriss, der bei zwei von drei Formen abgeschnitten war; die Bilder der Vitrine sind neu aufgenommen. Die Pausenanzeige kehrt zurück, wenn eine Meldung während der Pause abläuft. Ein Test prüft die Splitter fremder Schläge, und der Test ohne Bilderordner hängt nicht mehr davon ab, was in res://art liegt. Der Fragebogen nennt die Felsproben und sagt, was sofort kommt und was erst mit der Antwort des Hosts. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -479,3 +479,17 @@ func test_the_command_line_chooses_the_style() -> void:
|
||||
_started.append(main)
|
||||
check_eq(main.art.style.key(), PastelStyle.KEY, "the style of the command line")
|
||||
_clean_up([directory])
|
||||
|
||||
|
||||
func test_hits_of_other_players_show_their_bursts() -> void:
|
||||
var directory := TestFiles.temporary_dir("other-hits")
|
||||
var main := _start_main(directory)
|
||||
main.play(false)
|
||||
var rock: Vector2i = main.session.spawn_point() + Vector2i(7, -2)
|
||||
var reports: Array[Dictionary] = [
|
||||
{"type": "tile_hit", "player": main.session.local_player() + 1, "x": rock.x, "y": rock.y},
|
||||
{"type": "tile_changed", "x": rock.x, "y": rock.y},
|
||||
]
|
||||
main._apply(reports)
|
||||
check_eq(main.map_view.burst_count(), 2, "a hit and a breaking blow of another player")
|
||||
_clean_up([directory])
|
||||
|
||||
Reference in New Issue
Block a user