urbit/base/dog/helm/begin.hoon

46 lines
870 B
Plaintext
Raw Normal View History

2015-03-25 03:34:27 +03:00
::
:::: /hook/gate/begin/helm/gun
::
/? 314
2015-04-01 23:56:43 +03:00
/- *sole
2015-03-25 03:34:27 +03:00
::
::::
!:
=> |%
++ begs ,[his=@p tic=@p yen=@t ges=gens]
2015-03-25 03:34:27 +03:00
--
|= $: [now=@da eny=@uvI bec=beak]
2015-03-25 03:34:27 +03:00
[~ ~]
==
2015-04-01 23:56:43 +03:00
^- (sole-result (cask begs))
%+ sole-lo
2015-03-25 03:34:27 +03:00
[%& %helm-begin "your ship: ~"]
2015-04-01 23:56:43 +03:00
%+ sole-go fed:ag
2015-03-25 03:34:27 +03:00
|= his=@p
2015-04-01 23:56:43 +03:00
%+ sole-lo
2015-03-25 03:34:27 +03:00
[%& %helm-ticket "your ticket: ~"]
2015-04-01 23:56:43 +03:00
%+ sole-go fed:ag
2015-03-25 03:34:27 +03:00
|= tic=@p
2015-04-01 23:56:43 +03:00
%+ sole-lo
2015-03-25 03:34:27 +03:00
[%& %helm-entropy "some entropy: "]
2015-04-01 23:56:43 +03:00
%+ sole-go (boss 256 (more gon qit))
|= yen=@t
2015-04-08 02:15:25 +03:00
=+ ney=(shax yen)
%+ sole-yo `tank`[%leaf "entropy check: {(scow %p `@p`(mug ney))}"]
2015-04-01 23:56:43 +03:00
%+ sole-so %helm-begin
2015-03-25 03:34:27 +03:00
:* his
tic
2015-04-08 02:15:25 +03:00
ney
2015-03-25 03:34:27 +03:00
::
^- 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))]
2015-03-25 03:34:27 +03:00
%pawn [%pawn ~]
==
==