Cotton code
20 lines · 918 B · SwiftRaw
import CottonKitimport Foundation/// The few words an act's card and the tray say that are not the record's own.enum CardWords {    // The tray.    static var pullUp: String { ShellLines.line("cards", "field.every_act") }    static var putDown: String { ShellLines.line("cards", "field.put_the_tray_down") }    /// A held act's card: what it wants, in the act's own verb.    static func holdTo(_ verb: String) -> String { ShellLines.line("cards", "field.hold_to", ["verb": "\(verb.lowercased())"]) }    /// Under a held act: what holding does, in the act's own verb.    static func keepHolding(_ verb: String) -> String {        ShellLines.line("cards", "field.keep_holding_to_let", ["verb": "\(verb.lowercased())"])    }    static let keep = "Keep"    /// What a reader hears on an act that sighted hands hold.    static var holdHint: String { ShellLines.line("cards", "field.cannot_be_undone") }}