-
BAROLLET Theo authoredBAROLLET Theo authored
events_player.h 341 B
#pragma once
#include "common.h"
#include "map.h"
#include "items.h"
// Trigger function: returns 1 if the player is standing on an item, 0 otherwise
int walks_on_item();
// Resolution function: picks the item the player is walking on and adds it to their inventory
void pick_item(int trig);
int death_imminent();
void death(int trig);