mirror of
https://github.com/urbit/shrub.git
synced 2024-12-05 22:15:52 +03:00
19 lines
355 B
Plaintext
19 lines
355 B
Plaintext
:: Womb: add planets/stars to balance
|
|
::
|
|
:::: /hoon/bonus/hood/gen
|
|
::
|
|
/? 310
|
|
/+ old-zuse
|
|
=, old-zuse
|
|
::
|
|
::::
|
|
::
|
|
:- %say
|
|
|= $: {now/@da eny/@uvJ bec/beak}
|
|
{{pas/@uvG opt/$@(~ {planets/@u $@(~ {stars/@u ~})})} ~}
|
|
==
|
|
?~ opt $(opt [planets=1]~)
|
|
?~ +.opt $(+.opt [stars=0]~)
|
|
:- %womb-bonus
|
|
[(scot %uv pas) planets.opt stars.opt]
|