mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
gall: support %z scry
This commit is contained in:
parent
e8ae1ae86f
commit
8544c571bf
@ -2064,11 +2064,26 @@
|
||||
==
|
||||
?. ?=([~ %& *] res) ~
|
||||
``[%noun %noun p.u.res]
|
||||
:: TODO new care to ask for hash of a sky binding
|
||||
::
|
||||
?. ?=(%.y -.shop)
|
||||
~
|
||||
=/ =ship p.shop
|
||||
?: ?& =(%z care)
|
||||
=(our ship)
|
||||
==
|
||||
=/ yok (~(get by yokes.state) q.bem)
|
||||
?. ?=([~ %live *] yok) ~
|
||||
?~ ski=(~(get by sky.u.yok) s.bem) ~
|
||||
=/ res=(unit (each noun @uvI))
|
||||
?+ -.r.bem ~
|
||||
%ud (get:on-path fan.u.ski p.r.bem)
|
||||
%da ?.(=(p.r.bem now) ~ (bind (ram:on-path fan.u.ski) tail))
|
||||
==
|
||||
?+ res ~
|
||||
[~ %| *] ``noun/!>(p.u.res)
|
||||
[~ %& *] ``noun/!>(`@uvI`(shax (jam p.u.res)))
|
||||
==
|
||||
::
|
||||
?: &(=(care %$) =(path /whey))
|
||||
=/ blocked
|
||||
=/ queued (~(run by blocked.state) |=((qeu blocked-move) [%.y +<]))
|
||||
|
Loading…
Reference in New Issue
Block a user