annotate light8/ConfigDummy.py @ 58:a4d000f759b4

new event handling utils
author drewp
date Tue, 09 Jul 2002 07:35:57 +0000
parents 3011c1028eb7
children 871da71fc254
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
1 from random import randrange
45b12307c695 Initial revision
drewp
parents:
diff changeset
2 from time import time
45b12307c695 Initial revision
drewp
parents:
diff changeset
3 from __future__ import generators,division
45b12307c695 Initial revision
drewp
parents:
diff changeset
4 from Subs import *
51
71489bb71528 - Meet Fader. He is going to grow up and be a crossfader some day
dmcc
parents: 40
diff changeset
5 from Cue import *
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
6
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
7 f1 = Fade('col blue', 0, 2, 1)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
8 f2 = Fade('col gree', 1, 3, .50)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
9 f3 = Fade('col oran', 0, 4, 0)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
10 f4 = Fade('col red', 0, 8, .75)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
11
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
12 g1 = Fade('col blue', 1, 2, .20)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
13 g2 = Fade('col gree', 0, 4, .10)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
14 g3 = Fade('cyc', 1, 5, .20)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
15 g4 = Fade('god', 0, 4, .15)
51
71489bb71528 - Meet Fader. He is going to grow up and be a crossfader some day
dmcc
parents: 40
diff changeset
16
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
17 r1 = Fade('col blue', 0, 2, 0)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
18 r2 = Fade('col gree', 1, 3, .10)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
19 r3 = Fade('col oran', 0, 4, .6)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
20 r4 = Fade('col red', 0, 8, .15)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
21 r5 = Fade('cyc', 1, 5, .90)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
22 r6 = Fade('god', 0, 8, .75)
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
23
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
24 cues = [
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
25 Cue("This", 0, 10, f1, f2, f3, f4),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
26 Cue("That", 0, 5, g1, g2, g3, g4),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
27 Cue("The other", 1, 7, f1, g2, g3, f4),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
28 Cue("Reset", 1, 9, r1, r2, r3, r4, r5, r6),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
29 ]
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
30
45b12307c695 Initial revision
drewp
parents:
diff changeset
31 patch = {
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
32
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
33 ('side l','sidepost1') : 45, # posts
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
34 ('side r','sidepost2') : 46,
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
35
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
36 'sidefill1' : 13,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
37 'sidefill2' : 14,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
38
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
39 ('patio1','main 1',) : 1,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
40 ('main 2',) : 2,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
41 ('main 3',) : 3,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
42 ('main 4',) : 4,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
43 ('main 5',) : 5,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
44 ('god','main 6') : 6,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
45 ('main 7',) : 7,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
46 ('main 8',) : 8,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
47 ('main 9',) : 9,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
48 ('main 10',) : 10,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
49 ('main 11',):11,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
50 ('patio2','main 12',):12,
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
51 'hotback':19,
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
52
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
53 'cycleft' : 43,
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
54 'cycright' : 42,
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
55
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
56 'house':68,
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
57 ('desk1' ,'b11'):54, # left bank over house
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
58 ('marry1' ,'b12'):53,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
59 ('b13',):52,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
60 ('hotbox1' ,'b14'):51,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
61 ('edge' ,'b15'):50,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
62 ('phone','b16'):49,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
63 ('cuba1' ,'b21'):55, # mid bank
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
64 ('b22',):56,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
65 ('b23',):57,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
66 ('b24'):58,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
67 ('b25'):59,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
68 ('desk2' ,'b26'):60,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
69 ('rock','b31'):61, # right bank
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
70 ('b32',):62,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
71 ('hotbox2' ,'b33'):63,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
72 ('b34',):64,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
73 ('marry2' ,'b35'):65,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
74 ('cuba2' ,'b36'):66,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
75 'oran1':21, 'oran2':25, 'oran3':29, 'oran4':33,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
76 'gree1':22, 'gree2':26, 'gree3':30, 'gree4':34,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
77 'blue1':23, 'blue2':27, 'blue3':31, 'blue4':35,
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
78 'red1' :24, 'red2' :28, 'red3' :32, 'red4' :36,
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
79 'upfill1' : 40,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
80 'upfill2' : 38,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
81 'upfill3' : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
82 'upfill4' : 39,
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
83 }
45b12307c695 Initial revision
drewp
parents:
diff changeset
84
45b12307c695 Initial revision
drewp
parents:
diff changeset
85 from util import maxes,scaledict
45b12307c695 Initial revision
drewp
parents:
diff changeset
86 FL=100
45b12307c695 Initial revision
drewp
parents:
diff changeset
87 def fulls(chans):
45b12307c695 Initial revision
drewp
parents:
diff changeset
88 # pass a list or multiple args
45b12307c695 Initial revision
drewp
parents:
diff changeset
89 return dict([(c,FL) for c in chans])
45b12307c695 Initial revision
drewp
parents:
diff changeset
90 def levs(chans,levs):
45b12307c695 Initial revision
drewp
parents:
diff changeset
91 return dict([(c,v) for c,v in zip(chans,levs)])
45b12307c695 Initial revision
drewp
parents:
diff changeset
92
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
93 def strobe(params, slideradjuster):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
94 patterns = {
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
95 'blue' : fulls((23,27,31,35,'b0 4 b','b2 3 b')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
96 'cyc' : {42:FL,43:FL},
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
97 'scp all' : fulls((13,16,18,19,39)),
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
98 '1-5' : fulls(range(1, 6)),
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
99 }
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
100 params.add_param('offtime',SliderParam(range=(0.1,0.3), res=0.001,
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
101 initial=0.11, length=100))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
102 params.add_param('ontime',SliderParam(range=(0.0,0.8), res=0.001,
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
103 length=100))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
104 params.add_param('pattern',ListParam(patterns.keys()))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
105 params.add_param('current',LabelParam('none'))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
106 params.add_param('count',SliderParam(range=(0, 10), res=1, initial=0))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
107 lastchanged = time()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
108 state = 0
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
109 blinkcounter = 0
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
110 my_pattern = None
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
111
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
112 while 1:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
113 if params['count'] and blinkcounter > params['count']:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
114 blinkcounter = 0
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
115 slideradjuster.set(0)
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
116
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
117 if params['pattern'] != None:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
118 params['current'] = params['pattern']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
119 my_pattern = params['pattern']
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
120
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
121 if state == 0:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
122 delay = params['offtime']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
123 else:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
124 delay = params['ontime']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
125
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
126 if time() > (lastchanged + delay):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
127 # ready for change
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
128 state = not state
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
129 lastchanged = time()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
130 blinkcounter += 0.5
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
131
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
132 try: # protect against keyerrors (and possibly everything else)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
133 if state:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
134 yield patterns[my_pattern]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
135 else:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
136 yield scaledict(patterns[my_pattern], .1)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
137 except:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
138 yield {}
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
139
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
140 def chase(params, slideradjuster):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
141 patterns = {
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
142 'all': ( fulls(('b01','b21')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
143 fulls(('b02','b22')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
144 fulls(('b03','b23')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
145 fulls(('b04','b24')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
146 fulls(('b05','b25')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
147 fulls(('b06','b26')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
148 ),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
149 'red':( fulls(('b0 1 r','b2 2 r')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
150 fulls(('b0 5 r','b2 6 r'))),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
151 'randcol':([fulls((x,)) for x
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
152 in ("b21 b23 b25 b03 b06 b24 b22 "+
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
153 "b24 b03 b23 b01 b04 b05 b22 "+
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
154 "b02 b02 b26 b21 b06 b25 b26 "+
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
155 "b01 b04 b05").split()]),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
156 'ctrpong':[fulls((x,)) for x in (
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
157 "b11 b12 b13 b14 b15 b16 b15 b14 b13 b12".split())],
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
158 'l-r': ( fulls(('b01','b11','b21')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
159 fulls(('b02','b12','b22')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
160 fulls(('b03','b13','b23')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
161 fulls(('b04','b14','b24')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
162 fulls(('b05','b15','b25')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
163 fulls(('b06','b16','b26'))),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
164 'flutter':(
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
165 fulls(('main 6','b15')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
166 fulls(('main 1','b12')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
167 fulls(('main 2','b11')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
168 fulls(('b12', 'main 3')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
169 fulls(('b15', 'main 9')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
170 fulls(('b16', 'main 4')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
171 fulls(('main 4','b13')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
172 fulls(('main 3','b11')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
173 fulls(('main 8','b15')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
174 fulls(('main 9','b12')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
175 fulls(('b11', 'main 1')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
176 fulls(('main 5','b15')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
177 fulls(('b13', 'main 6')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
178 fulls(('b14', 'main 2')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
179 fulls(('main 7','b16')),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
180 ),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
181 'randstage':([fulls((x,)) for x
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
182 in ("""
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
183 b22 27 b04 26 b26 21 28 b25 23 b02 31 b05 32 34 b03 24 b01 25
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
184 b23 29 22 35 30 b24 33 36 """).split()]),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
185
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
186 }
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
187
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
188 params.add_param('steptime',SliderParam(range=(.1,3),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
189 initial=.4,length=150))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
190 params.add_param('overlap',SliderParam(range=(0,8),initial=1.5))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
191 params.add_param('pattern',ListParam(options=patterns.keys(),
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
192 initial='all'))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
193 params.add_param('current',LabelParam('none'))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
194
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
195 steps=()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
196
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
197 def fn(x):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
198 warm=.1
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
199 # the _/\_ wave for each step. input 0..1, output 0..1
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
200 if x<0 or x>1:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
201 return warm
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
202 if x<.5:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
203 return warm+(1.0-warm)*(x*2)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
204 else:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
205 return warm+(1.0-warm)*(2-(x*2))
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
206
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
207 def stepbrightness(stepnum,numsteps,overlap,pos):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
208 startpos = stepnum/numsteps
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
209 p=( (pos-startpos)*(1.0+overlap) )%1.0
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
210 ret=fn( p )
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
211 #print "step %(stepnum)i/%(numsteps)i pos %(pos)f ,p=%(p)f is %(ret)f" % locals()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
212 return ret
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
213
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
214 queued=[] # list of steps, each step is starttime,stepcue
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
215 lastaddtime=time()-100
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
216 currentpattern='all'
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
217 steps=patterns[currentpattern]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
218 stepsiter=iter(())
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
219 while 1:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
220 params['current'] = params['pattern']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
221
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
222 # changed pattern?
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
223 if params['pattern']!=currentpattern and params['pattern'] in patterns:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
224 currentpattern=params['pattern']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
225 steps=patterns[currentpattern]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
226 stepsiter=iter(steps) # restart iterator
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
227
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
228 # time to put a new step in the queue?
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
229 if time()>lastaddtime+params['steptime']:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
230 lastaddtime=time()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
231 try:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
232 nextstep = stepsiter.next()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
233 except StopIteration:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
234 stepsiter=iter(steps)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
235 nextstep=stepsiter.next()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
236 queued.append( (time(),nextstep) )
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
237
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
238 # loop over queue, putting still-active (scaled) steps in shiftedsteps
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
239 keepers=[]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
240 shiftedsteps=[]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
241 for started,s in queued:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
242 steptime = time()-started
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
243 finish = started+(1.0+params['overlap'])*params['steptime']
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
244 pos = (time()-started)/(finish-started)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
245 if time()<finish:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
246 keepers.append((started,s))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
247 shiftedsteps.append( scaledict(s,fn(pos)) )
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
248
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
249 if len(keepers)>30:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
250 print "too many steps in chase - dumping some"
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
251 queued=keepers[:20]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
252 else:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
253 queued=keepers
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
254
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
255
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
256 # pos=(time()%params['steptime'])/params['steptime'] # 0..1 animated variable
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
257 # shiftedsteps=[]
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
258 # for i,s in zip(range(0,len(steps)),steps):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
259 # shiftedsteps.append( scaledict(s, stepbrightness(i,len(steps),params['overlap'],pos)) )
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
260 yield maxes(shiftedsteps)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
261
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
262
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
263 def randomdimmer(params, slideradjuster):
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
264 params.add_param('magic', CheckboxParam())
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
265 params.add_param('cheese', TextParam())
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
266 params.add_param('stuff', ListParam(('a', 'b', 'c')))
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
267
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
268 curtime = time()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
269 dim = 1
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
270 while 4:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
271 if time() - curtime > 1:
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
272 dim = randrange(1, 64)
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
273 curtime = time()
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
274 yield {dim : 100, 20 : params.get_param_value('magic')}
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
275
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
276
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
277 subs = {
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
278 ('house', 'black') : { 68:100 },
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
279 ('col oran', '#EEEE99'):fulls('oran1 oran2 oran3 oran4'.split()),
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
280 ('col red', 'red'):fulls('red1 red2 red3 red4'.split()),
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
281 ('col blue', 'blue'):fulls('blue1 blue2 blue3 blue4'.split()),
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
282 ('col gree', 'green'):fulls('gree1 gree2 gree3 gree4'.split()),
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
283 'sidepost':fulls((45,46)),
40
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
284 'bank1ctr':fulls(('b22','b23','b24','b25')),
f3d65ae17a8f these are mostly replaced with guys&dolls material (effects were not touched)
drewp
parents: 4
diff changeset
285 'god' : fulls((6,)),
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
286 # ('strobe', 'grey'):strobe,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
287 # 'chase' : chase,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
288 # 'chase2' : chase,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
289 'cyc' : fulls(('cycleft','cycright')),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
290 'sidefill' : fulls(('sidefill1','sidefill2')),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
291 'patio left' : { 'patio1':FL },
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
292 'patio right' : { 'patio2':FL },
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
293 'upfill sides' : fulls(('upfill1','upfill4')),
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
294 '*broadway open':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
295 '*int mission':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
296 '*phone booth':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
297 '*off broadway':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
298 '*cuba left':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
299 '*cuba right':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
300 '*cuba dance':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
301 '*cuba sky':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
302 '*cuba love':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
303 '*ext mission':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
304 '*hotbox dance':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
305 '*hotbox table':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
306 '*sewer':{},
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
307 '*marry':{},
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
308
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
309
4
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
310 }
f974a462133f added light8 from the posted light8-1.0.tgz
drewp
parents: 0
diff changeset
311
54
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
312 subs["*marry"] = { "hotbox1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
313 subs["*phone booth"] = { "phone" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
314 subs["*broadway open"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
315 "main 11" : 100, "main 10" : 100, "b34" : 100, "b25" : 100, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
316 "b22" : 100, "desk2" : 78, "phone" : 46, "upfill3" : 69, "upfill2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
317 "main 3" : 68, "main 2" : 100, "main 5" : 100, "main 4" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
318 "main 7" : 100, "main 9" : 100, "main 8" : 100, "edge" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
319 "sidepost1" : 100, "sidepost2" : 100, "marry2" : 100, "marry1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
320 subs["*int mission"] = { "sidefill1" : 100, "main 4" : 100, "main 9" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
321 "main 8" : 100, "b24" : 100, "b23" : 100, "desk1" : 100, "desk2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
322 "b22" : 100, "rock" : 100, "marry1" : 100, "cuba1" : 25, "cuba2" : 51,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
323 "main 10" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
324 subs["*broadway open"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
325 "main 11" : 100, "main 10" : 100, "b34" : 100, "b25" : 100, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
326 "b22" : 100, "desk2" : 78, "phone" : 46, "hotbox1" : 100, "upfill3" : 69,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
327 "upfill2" : 100, "main 3" : 68, "main 2" : 100, "main 5" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
328 "main 4" : 100, "main 7" : 100, "hotbox2" : 100, "main 9" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
329 "main 8" : 100, "edge" : 46, "sidepost1" : 100, "sidepost2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
330 "marry2" : 100, "marry1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
331 subs["*broadway open"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
332 "cycright" : 41, "upfill3" : 69, "upfill2" : 100, "upfill1" : 56,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
333 "side l" : 100, "b25" : 100, "cycleft" : 41, "b22" : 100, "desk2" : 78,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
334 "phone" : 46, "hotbox1" : 100, "upfill4" : 56, "b24" : 100, "side r" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
335 "main 11" : 100, "main 10" : 100, "main 3" : 68, "main 2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
336 "main 5" : 100, "main 4" : 100, "main 7" : 100, "hotbox2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
337 "main 9" : 100, "main 8" : 100, "b34" : 100, "edge" : 46, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
338 "marry2" : 100, "marry1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
339 subs["*broadway open"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
340 "cycright" : 41, "upfill3" : 69, "upfill2" : 100, "upfill1" : 56,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
341 "b34" : 100, "b25" : 100, "side l" : 100, "b22" : 100, "desk2" : 78,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
342 "phone" : 80, "hotbox1" : 100, "upfill4" : 56, "b24" : 100, "side r" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
343 "main 11" : 100, "main 10" : 100, "main 3" : 100, "main 2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
344 "main 5" : 100, "main 4" : 100, "main 7" : 100, "hotbox2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
345 "main 9" : 100, "main 8" : 100, "cycleft" : 41, "edge" : 80,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
346 "god" : 100, "marry2" : 100, "marry1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
347 subs["*int mission"] = { "sidefill2" : 51, "sidefill1" : 0, "upfill4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
348 "main 11" : 100, "main 10" : 100, "b34" : 0, "b25" : 0, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
349 "b23" : 100, "desk1" : 53, "desk2" : 100, "b22" : 100, "hotbox2" : 85,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
350 "hotbox1" : 25, "b32" : 62, "upfill3" : 37, "upfill2" : 66, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
351 "main 5" : 70, "main 4" : 100, "main 7" : 100, "main 9" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
352 "main 8" : 100, "rock" : 52, "marry2" : 100, "marry1" : 61, "cuba1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
353 "cuba2" : 78,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
354 subs["*int mission"] = { "sidefill2" : 51, "sidefill1" : 0, "upfill4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
355 "main 11" : 100, "main 10" : 100, "b34" : 0, "b25" : 0, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
356 "b23" : 100, "desk1" : 53, "desk2" : 100, "b22" : 100, "hotbox2" : 85,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
357 "hotbox1" : 25, "cycright" : 66, "b32" : 62, "upfill3" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
358 "upfill2" : 66, "main 3" : 57, "main 2" : 0, "main 5" : 70, "main 4" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
359 "main 7" : 100, "main 9" : 100, "main 8" : 100, "rock" : 52,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
360 "marry2" : 100, "marry1" : 61, "cuba1" : 0, "cuba2" : 78,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
361 subs["*hotbox dance"] = { "red3" : 100, "sidefill2" : 46, "red1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
362 "cycright" : 19, "upfill3" : 32, "upfill2" : 46, "upfill1" : 26,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
363 "red2" : 100, "side l" : 46, "b25" : 46, "cycleft" : 19, "sidefill1" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
364 "desk2" : 36, "b22" : 46, "phone" : 37, "hotbox1" : 46, "upfill4" : 26,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
365 "b24" : 46, "side r" : 46, "main 11" : 46, "main 10" : 46, "main 3" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
366 "main 2" : 46, "main 5" : 46, "main 4" : 46, "main 7" : 46, "hotbox2" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
367 "main 9" : 46, "main 8" : 46, "red4" : 100, "b34" : 46, "edge" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
368 "god" : 100, "marry2" : 46, "marry1" : 46,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
369 subs["*hotbox dance"] = { "cycright" : 19, "upfill3" : 32, "upfill2" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
370 "upfill1" : 26, "sidefill2" : 0, "b25" : 0, "side l" : 46, "b23" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
371 "desk1" : 0, "desk2" : 0, "upfill4" : 26, "side r" : 46, "main 11" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
372 "main 10" : 46, "god" : 100, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
373 "marry2" : 0, "marry1" : 0, "cuba1" : 0, "cuba2" : 0, "b13" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
374 "red3" : 100, "red2" : 100, "sidefill1" : 0, "b24" : 0, "red4" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
375 "b34" : 30, "cycleft" : 19, "b32" : 43, "b22" : 0, "phone" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
376 "hotbox1" : 42, "main 3" : 46, "main 2" : 46, "main 5" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
377 "main 4" : 46, "main 7" : 100, "hotbox2" : 78, "main 9" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
378 "main 8" : 46, "hotback" : 100, "rock" : 0, "red1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
379 subs["*hotbox dance"] = { "cycright" : 19, "upfill3" : 32, "upfill2" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
380 "upfill1" : 26, "sidefill2" : 0, "b25" : 0, "side l" : 46, "b23" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
381 "desk1" : 0, "desk2" : 24, "upfill4" : 26, "side r" : 46, "main 11" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
382 "main 10" : 100, "god" : 100, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
383 "marry2" : 0, "marry1" : 0, "cuba1" : 0, "cuba2" : 0, "b13" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
384 "red3" : 100, "red2" : 100, "sidefill1" : 0, "b24" : 0, "red4" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
385 "b34" : 30, "cycleft" : 19, "b32" : 43, "b22" : 0, "phone" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
386 "hotbox1" : 42, "main 3" : 46, "main 2" : 46, "main 5" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
387 "main 4" : 46, "main 7" : 100, "hotbox2" : 78, "main 9" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
388 "main 8" : 46, "hotback" : 100, "rock" : 0, "red1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
389 subs["*hotbox table"] = { "sidefill2" : 0, "main 3" : 80, "main 2" : 62,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
390 "main 11" : 0, "main 4" : 29, "main 7" : 10, "main 9" : 64, "main 8" : 10,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
391 "b25" : 0, "b22" : 100, "phone" : 0, "edge" : 0, "b13" : 0, "marry2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
392 "main 5" : 34, "marry1" : 0, "hotback" : 0, "cuba1" : 22, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
393 subs["*hotbox table"] = { "sidefill2" : 0, "main 11" : 0, "b25" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
394 "b22" : 100, "desk2" : 58, "phone" : 0, "main 3" : 80, "main 2" : 62,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
395 "main 5" : 34, "main 4" : 100, "main 7" : 10, "hotbox2" : 46,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
396 "main 9" : 64, "main 8" : 10, "edge" : 0, "b13" : 0, "rock" : 22,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
397 "marry2" : 0, "marry1" : 0, "hotback" : 0, "cuba1" : 22, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
398 subs["*hotbox small table"] = { "red3" : 100, "red2" : 100, "main 3" : 80,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
399 "main 2" : 62, "main 5" : 34, "main 4" : 100, "main 7" : 10,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
400 "red4" : 100, "main 9" : 64, "main 8" : 10, "rock" : 22, "red1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
401 "desk2" : 58, "b22" : 100, "hotbox2" : 46, "upfill4" : 62, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
402 "upfill1" : 62, "cuba1" : 22,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
403 subs["*hotbox small table"] = { "red3" : 100, "red2" : 100, "red1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
404 "upfill4" : 62, "main 11" : 0, "main 10" : 0, "upfill1" : 62,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
405 "red4" : 100, "b25" : 5, "b22" : 100, "desk2" : 58, "desk1" : 52,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
406 "hotbox2" : 0, "sidefill2" : 0, "main 3" : 47, "main 2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
407 "main 5" : 0, "main 4" : 0, "main 7" : 0, "phone" : 0, "main 9" : 11,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
408 "main 8" : 0, "god" : 100, "edge" : 0, "rock" : 0, "marry2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
409 "marry1" : 0, "hotback" : 0, "cuba1" : 0, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
410 subs["*ext mission"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
411 "cycright" : 41, "upfill3" : 69, "upfill2" : 100, "upfill1" : 56,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
412 "side l" : 100, "b25" : 100, "cycleft" : 41, "b22" : 100, "desk2" : 78,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
413 "phone" : 80, "hotbox1" : 100, "upfill4" : 56, "b24" : 100, "side r" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
414 "main 11" : 100, "main 10" : 100, "main 3" : 100, "main 2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
415 "main 5" : 100, "main 4" : 100, "main 7" : 100, "hotbox2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
416 "main 9" : 100, "main 8" : 100, "b34" : 100, "edge" : 80, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
417 "marry2" : 100, "marry1" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
418 subs["*ext mission"] = { "sidefill2" : 100, "sidefill1" : 59,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
419 "cycright" : 53, "upfill3" : 0, "upfill2" : 0, "upfill1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
420 "b34" : 100, "b25" : 100, "side l" : 100, "b23" : 100, "b22" : 49,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
421 "b32" : 80, "phone" : 0, "hotbox1" : 0, "upfill4" : 0, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
422 "desk2" : 78, "main 11" : 100, "main 10" : 100, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
423 "main 2" : 100, "main 5" : 100, "main 4" : 0, "main 7" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
424 "hotbox2" : 100, "main 9" : 100, "main 8" : 100, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
425 "cycleft" : 0, "edge" : 0, "b13" : 0, "rock" : 60, "marry2" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
426 "marry1" : 0, "side r" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
427 subs["*broadway night 1-7"] = { "sidefill2" : 37, "sidefill1" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
428 "cycright" : 15, "upfill3" : 25, "upfill2" : 37, "upfill1" : 20,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
429 "side l" : 37, "b25" : 37, "cycleft" : 15, "b22" : 37, "desk2" : 28,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
430 "phone" : 29, "hotbox1" : 37, "upfill4" : 20, "b24" : 37, "side r" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
431 "main 11" : 37, "main 10" : 37, "main 3" : 37, "main 2" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
432 "main 5" : 37, "main 4" : 37, "main 7" : 37, "hotbox2" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
433 "main 9" : 37, "main 8" : 37, "b34" : 37, "edge" : 29, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
434 "marry2" : 37, "marry1" : 37,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
435 subs["*broadway night 1-7"] = { "sidefill2" : 37, "sidefill1" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
436 "upfill3" : 11, "upfill2" : 23, "b34" : 37, "b25" : 37, "b24" : 94,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
437 "b23" : 100, "b22" : 61, "desk2" : 28, "hotbox2" : 37, "hotbox1" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
438 "blue1" : 93, "main 11" : 37, "blue3" : 93, "blue2" : 93, "blue4" : 93,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
439 "main 10" : 37, "main 3" : 25, "main 2" : 37, "main 5" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
440 "main 4" : 37, "main 7" : 37, "main 9" : 37, "main 8" : 37, "edge" : 12,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
441 "god" : 100, "marry2" : 37, "marry1" : 37,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
442 subs["*broadway night 1-7"] = { "sidefill2" : 37, "sidefill1" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
443 "upfill3" : 11, "upfill2" : 23, "b34" : 37, "b25" : 37, "b24" : 94,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
444 "b23" : 100, "b22" : 61, "desk2" : 0, "desk1" : 0, "hotbox2" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
445 "hotbox1" : 0, "blue1" : 93, "main 11" : 37, "blue3" : 93, "blue2" : 93,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
446 "blue4" : 93, "main 10" : 37, "main 3" : 25, "main 2" : 37, "main 5" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
447 "main 4" : 37, "main 7" : 37, "main 9" : 37, "main 8" : 37, "edge" : 12,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
448 "god" : 100, "marry2" : 37, "marry1" : 37,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
449 subs["*broadway night 1-7"] = { "sidefill2" : 37, "sidefill1" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
450 "upfill3" : 11, "upfill2" : 23, "b34" : 28, "b25" : 37, "b24" : 94,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
451 "b23" : 100, "b22" : 82, "desk2" : 0, "desk1" : 0, "hotbox2" : 11,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
452 "hotbox1" : 0, "blue1" : 93, "main 11" : 37, "blue3" : 93, "blue2" : 93,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
453 "blue4" : 93, "main 10" : 37, "main 3" : 25, "main 2" : 37, "main 5" : 37,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
454 "main 4" : 37, "main 7" : 37, "main 9" : 37, "main 8" : 37, "edge" : 12,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
455 "god" : 100, "marry2" : 0, "marry1" : 37,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
456 subs["*cuba right"] = { "main 3" : 31, "main 2" : 0, "main 10" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
457 "b34" : 100, "b22" : 31, "desk2" : 85, "desk1" : 39, "edge" : 31,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
458 "sidefill1" : 7, "cuba1" : 100, "cuba2" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
459 subs["*cuba dance"] = { "sidefill2" : 100, "sidefill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
460 "upfill4" : 100, "upfill3" : 81, "upfill2" : 100, "upfill1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
461 "b34" : 100, "b25" : 100, "b24" : 100, "b23" : 100, "desk1" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
462 "desk2" : 100, "b22" : 100, "phone" : 100, "main 11" : 100, "main 10" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
463 "main 3" : 100, "main 2" : 100, "main 5" : 100, "main 4" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
464 "main 7" : 100, "main 9" : 100, "main 8" : 100, "edge" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
465 "god" : 100, "marry2" : 100, "marry1" : 100, "hotback" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
466 "cuba1" : 100, "cuba2" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
467 subs["*cuba love"] = { "sidefill2" : 0, "sidefill1" : 0, "upfill4" : 61,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
468 "main 11" : 100, "main 10" : 100, "upfill1" : 61, "b25" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
469 "b24" : 100, "b23" : 100, "b22" : 100, "desk2" : 0, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
470 "phone" : 0, "hotbox1" : 0, "upfill3" : 61, "upfill2" : 61, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
471 "main 2" : 100, "main 5" : 100, "main 4" : 100, "main 7" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
472 "main 9" : 73, "main 8" : 100, "edge" : 0, "hotback" : 0, "marry2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
473 "marry1" : 0, "cuba1" : 0, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
474 subs["*cuba love"] = { "sidefill2" : 0, "sidefill1" : 0, "upfill4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
475 "main 11" : 28, "main 10" : 28, "upfill1" : 0, "b34" : 9, "b25" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
476 "b24" : 59, "b23" : 59, "b22" : 100, "desk2" : 0, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
477 "phone" : 0, "hotbox1" : 0, "upfill3" : 43, "upfill2" : 43, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
478 "main 2" : 100, "main 5" : 16, "main 4" : 16, "main 7" : 0, "main 9" : 73,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
479 "main 8" : 100, "edge" : 0, "marry2" : 9, "marry1" : 0, "hotback" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
480 "cuba1" : 0, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
481 subs["*cuba love"] = { "sidefill2" : 0, "sidefill1" : 0, "upfill4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
482 "main 11" : 28, "main 10" : 28, "upfill1" : 0, "b34" : 9, "b25" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
483 "b24" : 59, "b23" : 59, "b22" : 100, "desk2" : 0, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
484 "phone" : 0, "hotbox1" : 0, "upfill3" : 43, "upfill2" : 43, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
485 "main 2" : 100, "main 5" : 16, "main 4" : 16, "main 7" : 0, "main 9" : 65,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
486 "main 8" : 74, "edge" : 0, "marry2" : 9, "marry1" : 0, "hotback" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
487 "cuba1" : 0, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
488 subs["*cuba love"] = { "sidefill2" : 0, "sidefill1" : 0, "upfill4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
489 "main 11" : 28, "main 10" : 28, "upfill1" : 0, "b34" : 9, "b25" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
490 "b24" : 59, "b23" : 59, "b22" : 100, "desk2" : 16, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
491 "phone" : 0, "hotbox1" : 0, "upfill3" : 43, "upfill2" : 43, "main 3" : 28,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
492 "main 2" : 100, "main 5" : 16, "main 4" : 16, "main 7" : 0, "main 9" : 65,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
493 "main 8" : 74, "edge" : 0, "marry2" : 9, "marry1" : 0, "hotback" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
494 "cuba1" : 0, "cuba2" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
495 subs["*ext mission night"] = { "sidefill2" : 39, "sidefill1" : 23,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
496 "cycright" : 20, "main 11" : 29, "main 10" : 29, "upfill1" : 8,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
497 "b34" : 39, "b25" : 39, "side l" : 39, "b23" : 39, "b22" : 19,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
498 "b32" : 31, "upfill4" : 8, "b24" : 39, "side r" : 39, "desk2" : 18,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
499 "main 2" : 39, "main 5" : 39, "main 9" : 39, "main 8" : 39, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
500 "marry2" : 39,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
501 subs["*ext mission night"] = { "sidefill2" : 39, "sidefill1" : 23,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
502 "cycright" : 20, "main 11" : 29, "main 10" : 29, "upfill1" : 8,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
503 "b34" : 39, "b25" : 39, "side l" : 39, "b23" : 39, "b22" : 19,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
504 "b32" : 31, "upfill4" : 8, "b24" : 39, "side r" : 39, "desk2" : 18,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
505 "main 2" : 39, "main 5" : 39, "main 9" : 39, "main 8" : 39, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
506 "marry2" : 39,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
507 subs["*ext mission night"] = { "cycright" : 6, "main 11" : 15,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
508 "main 10" : 15, "upfill1" : 0, "b25" : 25, "side l" : 39, "b23" : 25,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
509 "b22" : 5, "desk2" : 4, "upfill4" : 0, "side r" : 39, "upfill3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
510 "upfill2" : 0, "patio1" : 0, "god" : 86, "edge" : 0, "b13" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
511 "sidepost2" : 0, "marry2" : 25, "marry1" : 0, "cuba1" : 5, "cuba2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
512 "sidepost1" : 0, "sidefill2" : 25, "sidefill1" : 9, "b24" : 25,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
513 "b34" : 25, "cycleft" : 0, "b32" : 17, "desk1" : 0, "hotbox2" : 25,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
514 "hotbox1" : 0, "main 3" : 0, "main 2" : 25, "main 5" : 25, "main 4" : 25,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
515 "main 7" : 25, "phone" : 0, "main 9" : 25, "main 8" : 25, "patio2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
516 "hotback" : 0, "rock" : 17,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
517 subs["*ext mission night"] = { "b32" : 27, "sidefill2" : 34, "sidefill1" : 20,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
518 "cycright" : 18, "main 11" : 34, "main 10" : 34, "upfill1" : 8,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
519 "b34" : 34, "b25" : 34, "side l" : 34, "b23" : 34, "b22" : 16,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
520 "desk2" : 26, "hotbox2" : 34, "upfill4" : 8, "b24" : 34, "side r" : 34,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
521 "main 2" : 34, "main 5" : 34, "main 4" : 25, "main 7" : 34, "main 9" : 34,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
522 "main 8" : 34, "rock" : 20, "god" : 100, "marry2" : 34, "cuba1" : 5,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
523 subs["*2-2"] = { "b32" : 27, "sidefill2" : 34, "sidefill1" : 20,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
524 "cycright" : 18, "main 11" : 34, "main 10" : 34, "upfill1" : 70,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
525 "b34" : 34, "b25" : 34, "side l" : 34, "b23" : 34, "b22" : 16,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
526 "desk2" : 26, "hotbox2" : 34, "upfill4" : 70, "b24" : 34, "side r" : 34,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
527 "main 2" : 34, "main 5" : 34, "main 4" : 25, "main 7" : 34, "main 9" : 34,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
528 "main 8" : 34, "rock" : 20, "god" : 100, "marry2" : 34, "cuba1" : 5,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
529 subs["*2-2"] = { "sidefill2" : 0, "sidefill1" : 0, "cycright" : 18,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
530 "main 11" : 5, "main 10" : 5, "upfill1" : 70, "b34" : 34, "b25" : 71,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
531 "side l" : 34, "b23" : 67, "b22" : 50, "b32" : 57, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
532 "hotbox2" : 59, "upfill4" : 70, "b24" : 67, "desk2" : 26, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
533 "main 2" : 5, "main 5" : 5, "main 4" : 0, "main 7" : 5, "main 9" : 5,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
534 "main 8" : 5, "rock" : 20, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
535 "god" : 100, "marry2" : 50, "cuba1" : 0, "side r" : 34,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
536 subs["*sewer"] = { "main 10" : 71, "upfill4" : 100, "main 11" : 66,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
537 "main 4" : 71, "upfill1" : 88, "main 8" : 71, "main 7" : 71,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
538 "main 5" : 100, "hotbox1" : 88, "hotback" : 66, "marry2" : 66,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
539 "upfill3" : 88, "marry1" : 66, "upfill2" : 100,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
540 subs["*2-2"] = { "sidefill2" : 0, "sidefill1" : 0, "cycright" : 18,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
541 "main 11" : 5, "main 10" : 5, "upfill1" : 70, "b34" : 34, "b25" : 71,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
542 "side l" : 34, "b23" : 67, "b22" : 50, "b32" : 57, "desk1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
543 "hotbox2" : 59, "upfill4" : 70, "b24" : 67, "desk2" : 26, "main 3" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
544 "main 2" : 5, "main 5" : 56, "main 4" : 0, "main 7" : 5, "main 9" : 5,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
545 "main 8" : 5, "rock" : 20, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
546 "god" : 100, "marry2" : 50, "cuba1" : 0, "side r" : 34,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
547 subs["*sewer"] = { "sidefill2" : 33, "sidefill1" : 33, "upfill4" : 10,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
548 "upfill3" : 22, "main 10" : 48, "upfill1" : 14, "b25" : 16, "b24" : 19,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
549 "b23" : 46, "b22" : 50, "hotbox1" : 0, "main 11" : 40, "upfill2" : 61,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
550 "main 2" : 54, "main 5" : 20, "main 4" : 45, "main 7" : 0, "main 9" : 84,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
551 "main 8" : 45, "hotback" : 40, "marry2" : 0, "marry1" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
552 subs["*sewer"] = { "sidefill2" : 33, "sidefill1" : 33, "upfill4" : 10,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
553 "upfill3" : 22, "main 10" : 48, "upfill1" : 14, "b25" : 16, "b24" : 19,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
554 "b23" : 64, "b22" : 50, "hotbox1" : 0, "main 11" : 40, "upfill2" : 61,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
555 "main 2" : 54, "main 5" : 20, "main 4" : 45, "main 7" : 0, "main 9" : 84,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
556 "main 8" : 45, "hotback" : 40, "sidepost1" : 31, "sidepost2" : 31,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
557 "marry2" : 0, "marry1" : 0,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
558 subs["*sewer"] = { "sidefill2" : 33, "sidefill1" : 33, "upfill4" : 10,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
559 "upfill3" : 22, "main 10" : 48, "upfill1" : 14, "b25" : 16, "b24" : 19,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
560 "b23" : 64, "b22" : 50, "hotbox1" : 0, "main 11" : 40, "upfill2" : 61,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
561 "main 2" : 54, "main 5" : 20, "main 4" : 45, "main 7" : 0, "main 9" : 84,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
562 "main 8" : 45, "hotback" : 40, "sidepost1" : 31, "sidepost2" : 31,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
563 "marry2" : 0, "marry1" : 0, "cuba1" : 59,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
564 subs["*marry"] = { "b32" : 23, "sidefill2" : 30, "sidefill1" : 17,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
565 "cycright" : 15, "main 11" : 30, "main 10" : 30, "upfill1" : 48,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
566 "b34" : 30, "b25" : 30, "side l" : 30, "b23" : 30, "b22" : 14,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
567 "desk2" : 23, "hotbox2" : 30, "upfill4" : 48, "b24" : 30, "side r" : 30,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
568 "main 3" : 30, "main 2" : 30, "main 5" : 30, "main 4" : 22, "main 7" : 30,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
569 "main 9" : 30, "main 8" : 30, "rock" : 17, "edge" : 15, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
570 "marry2" : 30, "cuba1" : 4,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
571 subs["*marry"] = { "sidefill2" : 0, "sidefill1" : 0, "cycright" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
572 "main 11" : 55, "main 10" : 55, "upfill1" : 48, "b34" : 30, "b25" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
573 "side l" : 30, "b23" : 100, "b22" : 14, "b32" : 23, "main 4" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
574 "hotbox2" : 43, "hotbox1" : 49, "upfill4" : 48, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
575 "desk2" : 23, "patio2" : 0, "main 3" : 0, "main 2" : 30, "main 5" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
576 "patio1" : 0, "main 7" : 30, "phone" : 0, "main 9" : 30, "main 8" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
577 "rock" : 17, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
578 "marry2" : 34, "marry1" : 69, "cuba1" : 0, "cuba2" : 0, "side r" : 30,}
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
579 subs["*marry"] = { "sidefill2" : 0, "sidefill1" : 0, "cycright" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
580 "main 11" : 55, "main 10" : 55, "upfill1" : 48, "b34" : 30, "patio1" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
581 "b25" : 0, "side l" : 30, "b23" : 100, "b22" : 14, "b32" : 23,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
582 "hotbox2" : 43, "hotbox1" : 49, "upfill4" : 48, "b24" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
583 "desk2" : 23, "patio2" : 0, "main 3" : 0, "main 2" : 30, "main 5" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
584 "main 4" : 0, "main 7" : 30, "phone" : 0, "main 9" : 30, "main 8" : 0,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
585 "rock" : 17, "edge" : 0, "sidepost1" : 0, "sidepost2" : 0, "god" : 100,
3011c1028eb7 Cue math error fixed.
dmcc
parents: 53
diff changeset
586 "marry2" : 34, "marry1" : 69, "cuba1" : 0, "cuba2" : 0, "side r" : 30,}