|
$$本例为多个体着色" i/ F& d$ ]1 a" `* l5 p) _: x- x
$ o' e1 R; V4 J$ M
entity/box(1000)
! H: ^: Y2 _4 [; ?% a* P& d' ~number/num(20)
7 ~' Z8 k+ t, c4 }data/num,180,186,78,6,110,36,108,31,103,125,183,124,82,53,90,65,93,86,186,165
8 f m5 j. R( |+ t+ v: ^& k; N ^$ W) Q; _6 {9 e3 d* i1 y% n# b1 P7 _
L10:
2 z& h/ @8 I; G7 G0 F" @% O# e ident/'框选需要改变颜色的实体',box,cnt,n,resp
. s+ u* D6 f4 T jump/L10:,end:,,,resp1 M3 K- h, S* X+ T; J+ t
L20:
% A+ T b' N+ V4 v$ ~ A &color(box(n))=num-1
6 l" c2 z5 {3 b0 b n=n-1
! v f1 o3 T" \3 S if/n==0,jump/L10: $$循环部位
R; a: F) B9 ^8 L) H$ V jump/L20: # j) T; n; p9 Z+ `/ ?! h
end:+ n/ o/ U8 y; X2 n
halt
8 T: r7 x8 A( D5 ~. @5 ], y* s4 a$ ]. c! J) l, h5 Z) [
|
|