public function new_profile() { $profile = new Profile(); $profile->tower_path = UI::choose('tower', $this->towers())->path; $profile->warrior_name = UI::request(__('Enter a name for your warrior: ')); return $profile; }