Table of Contents

Class ActionLogSettings

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

Settings that define what and how the build log UI displays gameplay messaging content

class ActionLogSettings extends GBResource
ActionLogSettings

Properties

on_ready_message

If set, will show this when the build log starts

@export_multiline var on_ready_message: String = ""

bullet_style

List bullet style

@export var bullet_style: String = "•"

failed_color

@export var failed_color: Color = Color.LIGHT_CORAL

success_color

@export var success_color: Color = Color.LIGHT_BLUE

show_validation_message

Show the base messages from ValidationResults

@export var show_validation_message: bool = false

print_failed_reasons

Show the reasons for a build failing

@export var print_failed_reasons: bool = true

print_on_drag_build

Should printing still happen for drag build. Warning: This may generate a lot of messages

@export var print_on_drag_build: bool = false

print_success_reasons

When a build validations succeeds, print all of the success reason messages to the log

@export var print_success_reasons: bool = false

show_demolish

Print message on successful demolish

@export var show_demolish: bool = true

show_move_started

Print message when move starts (pickup)

@export var show_move_started: bool = false

show_move_finished

Print message when move finishes (placement/cancel)

@export var show_move_finished: bool = true

show_mode_changes

Print message when mode changes

@export var show_mode_changes: bool = true

mode_change_message

Message format for mode changes (use %s for mode name)

@export var mode_change_message: String = "Mode changed to: %s"

built_message

Message on successful build

@export var built_message: String = "Built %s."

fail_build_message

Message on failed build

@export var fail_build_message: String = "Unable to build a %s."

manipulation_message

Message format for manipulation operations

@export var manipulation_message: String = "Manipulation: %s"

max_failure_reasons

Maximum number of failure reasons to display before truncation

@export var max_failure_reasons: int = 5

issue_bullet_prefix

Bullet prefix for issue lists (already exists as bullet_style but this is more specific)

@export var issue_bullet_prefix: String = "- "

issues

var issues: Array[String] = []

issues

var issues: Array[String] = []

Methods

get_editor_issues

func get_editor_issues() -> Array[String]:

Returns

get_runtime_issues

func get_runtime_issues() -> Array[String]:

Returns