def _kickout_single_sim(self): sim_info = services.sim_info_manager().get(self._host_sim_id) household = sim_info.household if sim_info is not None else None if household is None: return zone_id = self._university_housing_destination_zone_id household.set_household_lot_ownership(zone_id=zone_id) if zone_id == 0: trigger_move_in_move_out(is_in_game_evict=True) else: travel_sim_to_zone(sim_info.id, zone_id)
def travel(_connection=None): client = services.client_manager().get_first_client() zone = services.current_zone() travel_sim_to_zone(client.active_sim.id, zone.id)
def _start_travel(): return travel_sim_to_zone(sim_info.id, target_zone_id)