summaryrefslogtreecommitdiff
path: root/demo.lua
blob: 246329022d5a5e27825a300ad9aff1f5b831347c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env lua5.1

local d = require 'draw'

local stats = {
	name = 'Azer',
	alignment = "lawful neutral",
	size = "medium",
	type = "elemental",

	ac = '17 (natural armor, shield)',
	hp = '39 (6d8 + 12)',
	speed = '30 ft.',

	str = 17,
	dex = 12,
	con = 15,
	int = 12,
	wis = 13,
	cha = 10,
}


print(d.draw(stats))