#ifndef _FD_PREDICATE_
#define _FD_PREDICATE_

typedef struct Predicate Predicate;

typedef enum PredicateType {
  PREDICATE_TRUE,
  PREDICATE_IN_ROOM,
  // PREDICATE_HAS_ITEM,
  PREDICATE_FLAG_ENABLED,
} PredicateType;

#include "game.h"

struct Predicate {
  PredicateType type;
  char *argument;
};

bool predicate_fulfilled(Game *g, Predicate *p);

#endif