// Function from file: revolution.dm public bool check_rev_victory( ) { Mind rev_mind = null; Objective_Mutiny objective = null; foreach (dynamic _b in Lang13.Enumerate(this.head_revolutionaries, typeof(Mind))) { rev_mind = _b; foreach (dynamic _a in Lang13.Enumerate(rev_mind.objectives, typeof(Objective_Mutiny))) { objective = _a; if (!(objective.check_completion() != 0)) { return(false); } } return(true); } return(false); }
// Function from file: revolution.dm public void mark_for_death(Mind rev_mind = null, Mind head_mind = null) { Objective_Mutiny rev_obj = null; rev_obj = new Objective_Mutiny(); rev_obj.owner = rev_mind; rev_obj.target = head_mind; rev_obj.explanation_text = "Assassinate " + head_mind.name + ", the " + head_mind.assigned_role + "."; rev_mind.objectives.Add(rev_obj); this.heads_to_kill.Add(head_mind); return; }