mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
14 lines
415 B
Plaintext
14 lines
415 B
Plaintext
:: Browse random claimable ships
|
|
::
|
|
:::: /hoon/shop/womb/gen
|
|
::
|
|
/? 310
|
|
:- %say
|
|
|= $: {now/@da eny/@uvJ bec/beak}
|
|
arg/$@($~ {typ/?($stars $planets $galaxies) $~})
|
|
who/(unit @p)
|
|
==
|
|
?~ arg $(arg ~[typ=%planets])
|
|
=- [%ships .^((list ship) %gx /[him]/hood/[cas]/womb/shop/[typ.arg]/[nth]/ships)]
|
|
[him=(scot %p ?^(who u.who p.bec)) cas=(scot %da now) nth=(scot %ud %.(10 ~(rad og eny)))]
|