78 |
"mover": [ ("id", "Personaje"), ("sala_destino", "Sala") ], |
"mover": [ ("id", "Personaje"), ("sala_destino", "Sala") ], |
79 |
"seguir": [ ("id", "Personaje"), ("lider", "Personaje") ], |
"seguir": [ ("id", "Personaje"), ("lider", "Personaje") ], |
80 |
"no_seguir": [ ("id", "Personaje") ], |
"no_seguir": [ ("id", "Personaje") ], |
81 |
"hablar": [ ("id", "Personaje"), ("mensaje", "string"), ("idioma", "Idioma") ], |
"hablar": [ ("id", "Personaje"), ("texto", "string"), ("idioma", "Idioma", "oestron") ], |
82 |
"susurrar": [ ("id", "Personaje"), ("oyente", "Personaje"), ("mensaje", "string"), ("idioma", "Idioma") ], |
"susurrar": [ ("id", "Personaje"), ("oyente", "Personaje"), ("texto", "string"), ("idioma", "Idioma") ], |
83 |
"gritar": [ ("id", "Personaje"), ("mensaje", "string"), ("idioma", "Idioma") ], |
"gritar": [ ("id", "Personaje"), ("texto", "string"), ("idioma", "Idioma") ], |
84 |
"actuar": [ ("id", "Personaje"), ("texto", "string") ], |
"actuar": [ ("id", "Personaje"), ("texto", "string") ], |
85 |
"actuar_individual": [ ("id", "Personaje"), ("espectador", "Personaje"), ("texto", "string") ], |
"actuar_individual": [ ("id", "Personaje"), ("espectador", "Personaje"), ("texto", "string") ], |
86 |
"actuar_uno_mismo": [ ("id", "Personaje"), ("texto", "string") ], |
"actuar_uno_mismo": [ ("id", "Personaje"), ("texto", "string") ], |
381 |
parametros_resueltos[parametro["nombre"]] = valor |
parametros_resueltos[parametro["nombre"]] = valor |
382 |
|
|
383 |
# Obtener la función sobre el objeto base, y llamarla. |
# Obtener la función sobre el objeto base, y llamarla. |
384 |
|
escribir("Ejecutando accion: " + repr(self.nombre) + " sobre el objeto: " + repr(objeto_base) ) |
385 |
funcion = getattr(objeto_base, self.nombre, None) |
funcion = getattr(objeto_base, self.nombre, None) |
386 |
if funcion != None: |
if funcion != None: |
387 |
apply(funcion, (), parametros_resueltos) |
apply(funcion, (), parametros_resueltos) |