-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Goal is to modify the sample_npc modules to fit accordingly to the changes made in the default_rooms and autogenerate module. These changes consist of reconsidering the design of returning the npcs in a linked list. Moreover, it requires discussing the implementation of a function that will randomize the npcs within a room. The purpose of this sprint is to adapt the mock-npcs so that they can be later used in the autogeneration module to randomly produce a max of two npcs in a room.
OLD (initial issue): Purpose is to fix the errors in autogenerate_test.c caused by the addition of npc_t * possible_npcs within the *room_spec struct. This and the modification of the roomspec_room led to persistent errors within autogenerate_test.c. Apart from this, there were a couple of errors in the test_structs due to a missing argument (not of type NPC) that was forgotten.