Blade Runners (Prototype)

action hunting-replicants:
    gloss: "hunts renegade replicants"
    report: "{@runner}, a Blade Runner, is hunting for renegade replicants."
    roles:
        runner: initiator
    associations:
        runner: productive, dangerous
        hearer: interesting
    preconditions:
        @runner.job?.profession == "Blade Runner"
        @runner fits onTheJob

This unreleased prototype from award-winning indie studio Hexagram proposed a licensed game built around a living city of thousands of simulated NPCs, acting and reacting to complex stimuli. I led the creation of an action library for NPCs: atomic units capable of combining into emergent stories of cause and effect. (Post art courtesy the official Blade Runner roleplaying game.)

The excerpt here shows action code written in Viv, a domain-specific language for action definitions created by James Ryan.