extends "res://scripts/core/smoke_test.gd"

func _check(condition: bool, message: String) -> void:
	if message.contains("La récompense choisie"):
		var rewards := []
		for modifier: Dictionary in GameState.active_modifiers:
			if str(modifier.get("source", "")).begins_with("run:reward_"):
				rewards.append(modifier)
		print("BILLET102_REWARD_DIAG: ", condition, " ", JSON.stringify(rewards))
	super._check(condition, message)
