code_language.lua:
quest fruit_of_life begin
state start begin
when 40002.use begin
local a = select("Chivalrous", "Noble", "Good", "Friendly", "Neutral", "Aggressive", "Deceitful", "Vicious", "Cruel")
local p = {20000, 8000, 4000, 1000, 0, -3000, -7000, -11000, -20000}
local r = pc . get_real_alignment ()
pc . change_alignment ( p [ a ] - r )
chat ( "Your rank has been increased to" .. p [ a ] .. "Ranking points increased." ) end end end