Complete the rood

This commit is contained in:
Pyrex 2024-02-11 21:53:19 -08:00
parent 4747e297b4
commit 2085ba5a63
4 changed files with 80 additions and 8 deletions

View File

@ -1,10 +1,16 @@
liturgy={ liturgy={
holy_book=gsv[[rood 1`1,2 holy_book=gsv[[rood 1`1,2
rood 2`3,4,5,6 rood 2`3,4,5,6
rood 3`7,8,9,10]], rood 3`7,8,9
rood 4`10,11,12
rood 5`13,14,15,16
rood 6`17,18,19
rood 7`20,21,22
rood 8`23,24,25
rood 9`26]],
sacred_text_lines=gsv sacred_text_lines=gsv
[[1`come into this thicket. [[1`come into this thicket.
1`i, o man, have a bright wreath. 1`i have a bright wreath.
1`my laurel is vibrant. 1`my laurel is vibrant.
2`the hollow of a stone. 2`the hollow of a stone.
2`this, too, opens to the key. 2`this, too, opens to the key.
@ -35,8 +41,69 @@ rood 3`7,8,9,10]],
9`catching a leaf, ride it. 9`catching a leaf, ride it.
9`suture its veins. 9`suture its veins.
9`scatter glass in the vineyard. 9`scatter glass in the vineyard.
10`one day, the seas will boil. 10`lanias came in silver.
10`no one will be born again.]] 10`silver pants. silver armor.
10`he broke a seed with his beak.
11`he milled the wheat and barley.
11`he took oranges from the trees.
11`apes scattered in the ferns.
11`he raised his bow and screamed.
12`the bolt became the wind.
12`the silver sails lashed.
12`the silver ospreys swarmed.
12`the silver shadow wailed.
13`burning oil from bay to sky.
13`scampering keas!
13`no one left. quiet.
13`lanias came and went in silver.
14`where were you? a small bird.
14`divine. you were in the fences.
14`you were seedling, little one.
14`the gorgeous lily blooms.
15`ravens are an old people.
15`but the mandate is new.
15`the spry one turns in the egg.
16`it doesn't hatch.
16`for a house in heaven, one
16`buys it on earth.
16`where does it go?
17`do not hate beauty.
17`what ages, molts.
17`do not envy sores and rashes.
18`do not despise vanity.
18`who is this written for?
18`the vain will not have it
19`you are a blossom in a blossom.
19`nobody will rip out your eyes.
19`you are waiting in the leaves.
20`you have your room.
20`i have mine.
20`let's dig a river,
20`and build a bridge.
21`let's burn herbs and
21`feed your grandparents
21`there's your soul!
21`where? inside your body.
22`let's dig a trap.
22`let's line it with spikes.
22`let's cover it with a sheet,
22`and bury it in soil.
23`is this what you want?
23`let me tell you.
23`you won't like how
23`this ends.
24`old men suffer and die
24`for nothing. listen:
24`when you grow up: you won't
24`understand it.
25`night is here.
25`you're asleep.
25`you leave this body.
25`you won't want to come back.
26`this rood is not for apes.
26`those we killed have been
26`planted how it says. like this
26`city, it will not be destroyed.]]
} }
function liturgy:init() function liturgy:init()
@ -56,7 +123,7 @@ function liturgy:init()
local lines=verse_lines[verse] local lines=verse_lines[verse]
annotated_verse_name..=":"..ix.."-" annotated_verse_name..=":"..ix.."-"
ix+=#lines ix+=#lines
annotated_verse_name..=ix annotated_verse_name..=ix-1
local annotated_verse="" local annotated_verse=""
for l in all(lines) do for l in all(lines) do
if (annotated_verse!="") annotated_verse..="\n" if (annotated_verse!="") annotated_verse..="\n"

View File

@ -5,7 +5,13 @@ function main:init()
extcmd("rec") extcmd("rec")
self.state_manager=state_manager:new() -- instantiate one global self.state_manager=state_manager:new() -- instantiate one global
self.state_manager:push(state_menu:new()) self.state_manager:push(state_menu:new())
-- TODO: Push menu here
--[[
local b=board:new(watcher:new(progression[#progression],1,{}))
b.last_card=75
self.state_manager:push(state_wonround:new(b))
]]
if (completion_tracker:should_show_tutorial()) self.state_manager:push(state_ironman:new(tutorial)) if (completion_tracker:should_show_tutorial()) self.state_manager:push(state_ironman:new(tutorial))
end end

View File

@ -35,7 +35,7 @@ end
function state_menu:update() function state_menu:update()
self.frame+=1 self.frame+=1
self.frame%=1024 self.frame%=1024
if (btnp(1) or btnp(4)) sounds:menu() self.options[self.selection]:cb() if (btnp(1) or btnp(4)) sounds:menu() self.options[self.selection]:cb() return
local vel=0 local vel=0
if (btnp(2)) vel-=1 if (btnp(2)) vel-=1

View File

@ -20,7 +20,6 @@ function state_wonround:exit(new_top) end
function state_wonround:reenter() end function state_wonround:reenter() end
function state_wonround:suspend() end function state_wonround:suspend() end
function state_wonround:update() function state_wonround:update()
self.frame=min(self.frame+1,self.frames) self.frame=min(self.frame+1,self.frames)
self.progress=self.frame/self.frames self.progress=self.frame/self.frames