Exemplo n.º 1
0
            public override InteractionInstance CreateInstance(ref InteractionInstanceParameters parameters)
            {
                InteractionInstance na = new AttendShowEx();

                na.Init(ref parameters);
                return(na);
            }
Exemplo n.º 2
0
 public override string GetInteractionName(Sim a, ShowVenue target, InteractionObjectPair interaction)
 {
     if (Name != string.Empty)
     {
         return(Name);
     }
     return(AttendShowEx.GetInteractionNameBase(a, target));
 }
Exemplo n.º 3
0
 public override void AddInteractions(InteractionObjectPair iop, Sim actor, ShowVenue target, List <InteractionObjectPair> results)
 {
     ShowVenue.SetUpRandomNames();
     if (target.ShowType == ShowVenue.ShowTypes.kMovie)
     {
         string interactionNameBase = AttendShowEx.GetInteractionNameBase(actor, target);
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kActionMovieNames[ShowVenue.sRandomActionMovie], new object[0]), ShowVenue.MovieGenres.Action), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kThrillerMovieNames[ShowVenue.sRandomThrillerMovie], new object[0]), ShowVenue.MovieGenres.Thriller), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kSciencefictionMovieNames[ShowVenue.sRandomSciencefictionMovie], new object[0]), ShowVenue.MovieGenres.Sciencefiction), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kBromanceMovieNames[ShowVenue.sRandomBromanceMovie], new object[0]), ShowVenue.MovieGenres.Bromance), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kChickflickMovieNames[ShowVenue.sRandomChickflickMovie], new object[0]), ShowVenue.MovieGenres.Chickflick), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kComedyMovieNames[ShowVenue.sRandomComedyMovie], new object[0]), ShowVenue.MovieGenres.Comedy), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kForeignMovieNames[ShowVenue.sRandomForeignMovie], new object[0]), ShowVenue.MovieGenres.Foreign), iop.Target));
         results.Add(new InteractionObjectPair(new Definition(interactionNameBase, ShowVenue.AttendShow.LocalizeString(actor.IsFemale, ShowVenue.kIndieMovieNames[ShowVenue.sRandomIndieMovie], new object[0]), ShowVenue.MovieGenres.Indie), iop.Target));
     }
     else
     {
         base.AddInteractions(iop, actor, target, results);
     }
 }
Exemplo n.º 4
0
 public override InteractionInstance CreateInstance(ref InteractionInstanceParameters parameters)
 {
     InteractionInstance na = new AttendShowEx();
     na.Init(ref parameters);
     return na;
 }