Make title prologue more image led
This commit is contained in:
@@ -92,12 +92,15 @@ func _check_title_menu_start_load_and_settings(failures: Array[String]) -> void:
|
||||
failures.append("title screen should feature a large generated opening story panel")
|
||||
else:
|
||||
var feature_image := title_story_feature.find_child("TitleStoryFeatureImage", true, false) as TextureRect
|
||||
var feature_caption := title_story_feature.find_child("TitleStoryFeatureCaption", true, false) as PanelContainer
|
||||
var feature_title := title_story_feature.find_child("TitleStoryFeatureTitle", true, false) as Label
|
||||
var feature_body := title_story_feature.find_child("TitleStoryFeatureBody", true, false) as Label
|
||||
if feature_image == null or feature_image.texture == null:
|
||||
failures.append("title story feature should load generated opening artwork")
|
||||
elif feature_image.custom_minimum_size.x < 430.0 or feature_image.custom_minimum_size.y < 160.0:
|
||||
failures.append("title story feature should lead with a larger generated artwork frame: %s" % str(feature_image.custom_minimum_size))
|
||||
elif feature_image.custom_minimum_size.x < 600.0 or feature_image.custom_minimum_size.y < 160.0:
|
||||
failures.append("title story feature should lead with a wide generated artwork frame: %s" % str(feature_image.custom_minimum_size))
|
||||
if feature_caption == null or not bool(feature_caption.get_meta("generated_panel_texture", false)):
|
||||
failures.append("title story feature should use a generated caption command plate")
|
||||
if feature_title == null or feature_title.text != "황건의 난":
|
||||
failures.append("title story feature should name the first opening beat")
|
||||
if feature_body == null or not feature_body.text.contains("조조") or not feature_body.text.contains("황건의 난"):
|
||||
|
||||
Reference in New Issue
Block a user