Beispiel #1
0
 def get_instructions(self, variables={}):
   script_buffer = self.script.get('script', {})
   return [
     text_set_fields(instruction, variables)
     for instruction in script_buffer.get(get_language(), script_buffer).get('instructions', '')
   ]
Beispiel #2
0
 def get_instructions(self, variables = {}):
   return [text_set_fields(instruction, variables) for instruction in self.script.get('script', {}).get('instructions', [])]
Beispiel #3
0
 def get_description(self, variables={}):
   script_buffer = self.script.get('script', {})
   return text_set_fields(
     script_buffer.get(get_language(), script_buffer).get('description', ''),
     variables
   )
Beispiel #4
0
 def get_description(self, variables = {}):
   return text_set_fields(self.script.get('script', {}).get('description', ''), variables)