Esempio n. 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);
        }
Esempio n. 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);
        }