ttttt
This commit is contained in:
parent
ad0aa01052
commit
3116435878
1 changed files with 8 additions and 7 deletions
15
pattern.py
15
pattern.py
|
@ -89,13 +89,14 @@ def pat(index, tick, previous_values):
|
||||||
this.values['index'] = index
|
this.values['index'] = index
|
||||||
if this.pattern != None:
|
if this.pattern != None:
|
||||||
for i in range(len(this.pattern)):
|
for i in range(len(this.pattern)):
|
||||||
name = this.pattern[i]['instruction']['name']
|
if i < len(this.pattern):
|
||||||
targets = this.pattern[i]['instruction']['targets']
|
name = this.pattern[i]['instruction']['name']
|
||||||
args = []
|
targets = this.pattern[i]['instruction']['targets']
|
||||||
if 'args' in this.pattern[i]['instruction']:
|
args = []
|
||||||
args = this.pattern[i]['instruction']['args']
|
if 'args' in this.pattern[i]['instruction']:
|
||||||
if this.instructions[name] != None:
|
args = this.pattern[i]['instruction']['args']
|
||||||
apply(targets, args, this.instructions[name])
|
if this.instructions[name] != None:
|
||||||
|
apply(targets, args, this.instructions[name])
|
||||||
r = this.values["r"]
|
r = this.values["r"]
|
||||||
g = this.values["g"]
|
g = this.values["g"]
|
||||||
b = this.values["b"]
|
b = this.values["b"]
|
||||||
|
|
Loading…
Reference in a new issue