Skip to content

Feature - table for all body parts that can fly off #186

@Synival

Description

@Synival

We should have a table for each body part that can fly off when a char is killed. This would replace the switch() statement in death_cry().

Implementation details:

  1. Create a random lookup in a table called part_table[] that contains one row for each PART_* bit.
  2. Each row would have:
    1. The PART bit
    2. A vnum to the body part
    3. A message to the room when it flies off
  3. Add a reference to the table in master_table[].
  4. Add a JSON exporter in json_tblw.c
  5. Add a JSON importer in json_tblr.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    minor featureA built-in feature that doesn't change much of the game's implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions