Skip to content

Vampiric bite demo: varied consequences #2

@calummackervoy

Description

@calummackervoy

The Vampiric Bite action describes an action which turns a character into a vampire. It includes basic information about the description and depiction of the action, and indicates that it can be played as a card via the property-value implementsSpecification: playableCard. Via playTarget it indicates it should only be played on characters, and via the patchesOnComplete it describes to the game how to change the world state so that the change is made (making the character a vampire)

One of the next steps is to separate the consequences of the action from the action itself so that it can have different effects depending on the context

If a vampire drinks the blood of the dead or dying, then the vampire itself dies, but if it performs Vampiric Bite on the living, it should turn them into a vampire

This is best achieved via an endpoint which returns the consequences of performing an action given the context. The endpoint can be indicated using mudlogic:actAt, and the parameters expected as context can be represented using mudlogic:parameterConstraintsShape. The key to the work to extract from the game the context described in the shape, and then to effect the changes described by the endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions