mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
gall: support %z scry
This commit is contained in:
parent
6524e85d0c
commit
8f4a8e597f
@ -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