aboutsummaryrefslogtreecommitdiff
path: root/plugins/bumblebee/bumblebee.c
blob: 5bbca4b3e3982f6459041f91e48a774b97713a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../game/game.h"

static void set_bumblebee()
{
	player.texture = "🐝";
}

__attribute__ ((constructor)) static void init()
{
	register_input_handler('b', (struct input_handler) {
		.run_if_dead = false,
		.callback = &set_bumblebee,
	});
}