#YAMLINA description file for PacMan #Unit Operations file #Collect pills player_collect_pill: trigger: type: collision coll_class_1: player coll_class_2: pill event_remove_pill: type: kill_entity target: 2 event_increase_Score: type: change_guivar varname: score change: 10 #Ghosts kill you ghost_kill_player: trigger: type: collision coll_class_1: player coll_class_2: ghost event_gameover: type: lose_instance #OM NOM NOM player_eat_ghost: trigger: type: collision coll_class_1: player coll_class_2: blue_ghost event_kill_ghost: type: kill_entity target: 2 event_increase_score: type: change_guivar varname: score change: 100 event_respawn: type: spawn spawner: ghostspawner #more sleight of hand spawn_pos: on_spawner object_to_spawn: ghost