Example #1
0
        protected override bool PrivateAllow(SimDescription me)
        {
            if (me.Partner == null)
            {
                return(false);
            }

            if (me.CreatedSim == null)
            {
                return(false);
            }

            string reason = null;

            if (!Pollinate.Allow(me.CreatedSim, ref reason))
            {
                Common.DebugNotify("Reason: " + reason);
                return(false);
            }

            return(base.PrivateAllow(me));
        }
Example #2
0
 protected override bool Run(SimDescription me, bool singleSelection)
 {
     return(Pollinate.Perform(me, me.Partner, ApplyAll));
 }