Beispiel #1
0
        protected static ListenerAction OrderedBarFood(Event e)
        {
            //Push the drunk interaction on the Sim
            Sim sim = e.Actor as Sim;

            if (sim != null)
            {
                DrunkInteractions.PayAndConsequencs(sim, BarFoodPrice, false, false);
            }
            return(ListenerAction.Keep);
        }
Beispiel #2
0
        protected static ListenerAction HadNectar(Event e)
        {
            //Push the drunk interaction on the Sim
            Sim sim = e.Actor as Sim;

            if (sim != null)
            {
                DrunkInteractions.PayAndConsequencs(sim, DrinkPrice, true, true);
            }

            return(ListenerAction.Keep);
        }