Skip to content
Snippets Groups Projects
descriptors.lua 963 B
Newer Older
dg's avatar
dg committed
newBirthDescriptor{
	type = "base",
	name = "base",
	desc = {
	},
	talents = {},
	experience = 1.0,
dg's avatar
dg committed
	body = { INVEN = 1000, MAINHAND=1, OFFHAND=1, BODY=1, QUIVER=1 },
dg's avatar
dg committed

	copy = {
dg's avatar
dg committed
		money = 10,
dg's avatar
dg committed
		resolvers.equip{ id=true,
dg's avatar
dg committed
			{type="lite", subtype="lite", name="brass lantern"},
		},
dg's avatar
dg committed
		resolvers.inventory{ id=true,
dg's avatar
dg committed
			{type="potion", subtype="potion", name="potion of lesser healing"},
			{type="potion", subtype="potion", name="potion of lesser healing"},
			{type="potion", subtype="potion", name="potion of lesser healing"},
		},
dg's avatar
dg committed
		resolvers.generic(function(e)
			e.hotkey[9] = {"inventory", "potion of lesser healing"}
		end),
dg's avatar
dg committed
	},
dg's avatar
dg committed
}

dg's avatar
dg committed
-- Races
dg's avatar
dg committed
load("/data/birth/races/human.lua")
load("/data/birth/races/elf.lua")
load("/data/birth/races/hobbit.lua")
load("/data/birth/races/dwarf.lua")
dg's avatar
dg committed

-- Sexes
dg's avatar
dg committed
load("/data/birth/sexes.lua")
dg's avatar
dg committed

-- Classes
load("/data/birth/warrior.lua")
load("/data/birth/rogue.lua")
dg's avatar
dg committed
load("/data/birth/archer.lua")
dg's avatar
dg committed
load("/data/birth/mage.lua")