to go
8 f i: ?4 X& r6 I) C, o prices
I( X1 a8 v! E* _4 v; v9 W5 e enlarge-market9 [0 x# g5 b3 z$ q! o' O
supervision
3 ^" Y* U6 B% V0 J" e2 v move-turtles
% [" Q- }* j u- Y' W/ R. | V! y new-producer* d9 Y& j; q0 u( S9 Y7 _
check-death5 w8 L7 p+ @% m* V7 `0 D- `
tick
7 w( e1 K) G3 K% d do-plots
/ g4 h8 ~- V; v7 Gend% C8 R7 X3 p) ~" N
to move-turtles2 }) q, B# n; {, D% F
pcs[
, h3 a2 H/ N4 W: ^: x5 K+ B ifelse counter > 0
. M) I, R. }7 Q, T7 p( r1 T( X: ~ [ set counter counter - 1
' Z2 B. {) F$ M set money money - cost1]
' L! E9 v9 D! G& S7 Z [ right random 360
2 ?' y4 J# i1 x1 y0 ? repeat 1 [rt random 360
/ _, S/ p, l o, L3 V) n! Z forward 1 ]5 P' ?& R) ]: e; F3 W" S
if pcolor = grey [6 L' A0 b0 D2 e ~
set pcolor yellow - 2
' m9 }; o& j2 j& N set quantity(quantity + 1)]]
( y$ F+ Z* ^# s5 w% e7 V1 v set money(1 - exposure-rate / 100)*(money + jiage * quantity)4 ?( t% x& U$ }; o" `8 q* Y
set money money - cost1]$ B6 T/ T' U+ S2 {$ D, m# G
]
; T' y+ m6 @( t$ s ask pes
# O$ G6 B$ `; O/ l4 j7 f [right random 360
7 j! k. i @8 ]; c2 `3 E" O" W forward 1
6 g2 F1 y7 I. q2 v set money money + jiage * quantity9 K# o) U4 g8 W6 r) N8 `* _- i
set money money - cost2]
2 _$ L( s# u7 s6 d( Q N0 a5 }end |