starlit  Artifact [539da653d2]

Artifact 539da653d2ae91e59d211201c295f5fbf2cb7f2b0e77a6fb9371fa660ad04c93:


local lib = starlit.mod.lib

starlit.interface.install(starlit.type.ui {
	id = 'starlit_psionics:cultivate';
	pages = {
		index = {
			setupState = function(state, user) end;
			handle = function(state, user, act) end;
		};
	};
})

starlit.world.psi.meld {
	cultivate = {
		name = 'Cultivate';
		desc = 'Invest numina to develop new powers';
		powerKind = 'direct';
		cost = {}; -- cultivate costs are applied in the interface

		 -- all psions start with this power
		learnCost = 0, rarity = 0;
		ui = 'starlit_psionics:cultivate';
	};
}

starlit.world.psi.meld {
	cultivate = {
		name = 'Mend';
		desc = 'Burn numina to rapidly heal yourself';
		powerKind = 'passive';
		cost = { stat = {numina = 10} }; -- ψ/s

		learnCost = 1000, rarity = 5;
		bgProc = function(ctx) end;
	};
}