Script execution

This commit is contained in:
gac-S_Changer
2017-07-07 16:15:23 +02:00
parent ee9edda09f
commit 08ec1d9f87

View File

@@ -59,6 +59,12 @@ for p in(puck_layout):
if puck.block not in (_block_ids):
_block_ids.append(puck.block)
def get_puck(number):
for p in _puck_list:
if number==p.number:
return p
return None
def get_pucks(block = None):
ret = []
for p in _puck_list: