summaryrefslogtreecommitdiff
path: root/demo.lua
blob: bbf02abc11944976f0d3b958d72abf401ae9779f (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 = {
	title = '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))