Skip to content

Create predefined sample NPCs for the Algorithm generation #562

Description

@navila-luna

Consists of making a room with descriptions of a character when entering a room and distinguishing a hostile vs non-hostile character. Created three kinds of NPCs: Generic, Hostile, and Friendly. Made three NPCs per each NPC type and called them into the default_rooms.c. Included the npc_t struct within the spec_rooms struct and modified functions (in default_rooms.c, genstruct.h, and test_defaults.h) that utilize this spec_rooms. These NPCs are mocks and are hard coded, so test functions are not necessary. The purpose for these NPCs is to give OpenWorld an idea about how NPCs will look like when generating multiple rooms. This will be particularly more necessary for the next sprint when there's more focus on creating the sample_generation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

x/rpg-openworldRPG feature random world/room generation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions