shrub/gen/hood/begin.hoon

53 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-05-12 03:31:37 +03:00
::
2015-06-05 03:27:01 +03:00
:::: /hoon/begin/hood/gun
2015-05-12 03:31:37 +03:00
::
/? 314
/- sole
2015-05-12 03:31:37 +03:00
::
::::
!:
=> |%
++ begs ,[his=@p tic=@p yen=@t ges=gens]
2015-07-14 22:34:59 +03:00
++ scug |*([a=@ b=(pole)] ?~(b ~ ?~(a ~ [-.b $(b +.b, a (dec a))])))
2015-05-12 03:31:37 +03:00
--
[sole .]
2015-09-12 00:15:25 +03:00
:- %dog
2015-05-12 03:31:37 +03:00
|= $: [now=@da eny=@uvI bec=beak]
[arg=_(scug *@ ~[his=*@p tic=*@p]) ~]
2015-05-12 03:31:37 +03:00
==
^- (sole-result (cask begs))
2015-07-14 03:46:37 +03:00
=- ?~ arg -
=+ (fun.q.q his.arg)
?~ +.arg -
(fun.q.q tic.arg)
2015-05-12 03:31:37 +03:00
%+ sole-lo
2015-06-24 21:01:25 +03:00
[%& %helm-begin "your ship: ~"]
2015-05-12 03:31:37 +03:00
%+ sole-go fed:ag
|= his=@p
%+ sole-lo
2015-06-24 21:01:25 +03:00
[%& %helm-ticket "your ticket: ~"]
2015-05-12 03:31:37 +03:00
%+ sole-go fed:ag
|= tic=@p
%+ sole-lo
2015-06-24 21:01:25 +03:00
[%& %helm-entropy "some entropy: "]
2015-05-12 03:31:37 +03:00
%+ sole-go (boss 256 (more gon qit))
|= yen=@t
=+ ney=(shax yen)
%+ sole-yo `tank`[%leaf "entropy check: {(scow %p `@p`(mug ney))}"]
2015-06-24 21:01:25 +03:00
%+ sole-so %helm-begin
2015-05-12 03:31:37 +03:00
:* his
tic
ney
::
^- gens
:- %en
=+ can=(clan his)
?- can
%czar [%czar ~]
%duke [%duke %anon ~]
%earl [%earl (scot %p his)]
%king [%king ?:(=(~doznec his) 'Urban Republic' (scot %p his))]
%pawn [%pawn ~]
==
==