urbit/main/gun/helm/begin/gate.hook

44 lines
808 B
Plaintext
Raw Normal View History

2015-03-25 03:34:27 +03:00
::
:::: /hook/gate/begin/helm/gun
::
/? 314
/- *console
::
::::
!:
=> |%
++ 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
[~ ~]
==
^- (console-result (cask begs))
%+ console-lo
[%& %helm-begin "your ship: ~"]
%+ console-go fed:ag
|= his=@p
%+ console-lo
[%& %helm-ticket "your ticket: ~"]
%+ console-go fed:ag
|= tic=@p
%+ console-lo
[%& %helm-entropy "some entropy: "]
%+ console-go (boss 256 (more gon qit))
|= yen=@t
2015-03-25 03:34:27 +03:00
%+ console-so %helm-begin
:* his
tic
yen
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 ~]
==
==