Ejemplo n.º 1
0
        public override string strval()
        {
            String str = "-=ZooForm=-\r\n";

            str += items.log() + Environment.NewLine;
            if (items.value() > 0)
            {
                str += zoodate.log() + Environment.NewLine + donorcnt.log() + Environment.NewLine;
                for (int i = 0; i < (int)donorcnt.value(); i++)
                {
                    str += "don" + i.ToString() + "=" + donors[i].log() + Environment.NewLine;
                }
                str += zoocnt.log() + Environment.NewLine;
                for (int i = 0; i < (int)zoocnt.value(); i++)
                {
                    str += "zoo" + i.ToString() + "=" + zoojobs[i].log() + Environment.NewLine;
                }
                str += strcount.log() + Environment.NewLine;
                for (int i = 0; i < strcount.value(); i++)
                {
                    str += "str" + i.ToString() + "=" + strings[i].value() + Environment.NewLine;
                }
            }
            return(str + "-=ZooForm_End=-");
        }
Ejemplo n.º 2
0
        public String log()
        {
            String str = "  -=donor=-  " + Environment.NewLine + unique.log() + Environment.NewLine + acccnt.log() + Environment.NewLine;

            for (int i = 0; i < (int)acccnt.value(); i++)
            {
                str += "acc" + i.ToString() + "=" + acc[i].log() + Environment.NewLine;
            }
            str += surplus.log() + Environment.NewLine + immediate.log() + Environment.NewLine;
            return(str + "-=donor_end=-");
        }
Ejemplo n.º 3
0
        public override String strval()
        {
            String str = "-=RABNAMELIST=-\r\n" + count.log() + Environment.NewLine;

            for (int i = 0; i < (int)count.value(); i++)
            {
                str += Rabnames[i].log() + Environment.NewLine;
            }
            str += "-=RABNAMELIST_END=-";
            return(str);
        }
Ejemplo n.º 4
0
        public override String strval()
        {
            String str = "-=WeightList=-" + Environment.NewLine + count.log() + Environment.NewLine;

            for (int i = 0; i < (int)count.value(); i++)
            {
                str += "wgt" + i.ToString() + "=" + weighters[i].log() + Environment.NewLine;
            }
            str += laston.log() + Environment.NewLine + lastpos.log() + Environment.NewLine;
            return(str += "-=WeightList_End=-");
        }
Ejemplo n.º 5
0
        public override String strval()
        {
            String str = "-=RABBITS=-\r\n" + count.log() + Environment.NewLine;

            for (int i = 0; i < (int)count.value(); i++)
            {
                str += rabbits[i].log() + Environment.NewLine;
            }
            str += "-=RABBITS_END=-";
            return(str);
        }
Ejemplo n.º 6
0
        public override String strval()
        {
            String str = "-=BUILDINGS=-\r\n";

            str += Count.log() + Environment.NewLine;
            for (int i = 0; i < (int)Count.value(); i++)
            {
                str += Minifarms[i].log() + Environment.NewLine;
            }
            str += "-=BUILDINGS_END=-";
            return(str);
        }
Ejemplo n.º 7
0
        public override string strval()
        {
            String str = "-=String_list=-\r\n";

            str += count.log() + "\r\n";
            for (int i = 0; i < (int)count.value(); i++)
            {
                str += String.Format("s{0:d}{1:s}\r\n", i, strings[i].log());
            }
            str += "-=string_list_end=-";
            return(str);
        }
Ejemplo n.º 8
0
        public String log()
        {
            String str = "-=f****r=-\r\n" + live.log() + Environment.NewLine;

            if (live.value() != 0)
            {
                str += name_key.log() + Environment.NewLine;
            }
            else
            {
                str += "genesis(" + gecnt.value().ToString() + ")=";
                for (int i = 0; i < (int)gecnt.value(); i++)
                {
                    str += String.Format("{0:d} ", genesis[i]);
                }
                str += Environment.NewLine + name.log() + Environment.NewLine;
            }
            str += breed.log() + Environment.NewLine + f***s.log() + Environment.NewLine + children.log() + Environment.NewLine + my_fuck_is_last.log() + Environment.NewLine;
            return(str + "-=fucker_end=-");
        }
Ejemplo n.º 9
0
 public void read(BinaryReader br, float ver)
 {
     child_count.read(br, ver);
     DBG.dbg2(child_count.log(), br);
     borns.read(br, ver);
     DBG.dbg2(borns.log(), br);
     ev_date.read(br, ver);
     DBG.dbg2(ev_date.log(), br);
     last_okrol.read(br, ver);
     DBG.dbg2(last_okrol.log(), br);
     ev_type.read(br, ver);
     DBG.dbg2(ev_type.log(), br);
     if (ver > 3.1)
     {
         lost_babies.read(br, ver);
     }
     DBG.dbg2(lost_babies.log(), br);
     if (ver > 5.1)
     {
         overall_babies.read(br, ver);
     }
     DBG.dbg2(overall_babies.log(), br);
     suckers.read(br, ver);
     DBG.dbg2(suckers.log(), br);
     fuckers_count.read(br, ver);
     DBG.dbg2(fuckers_count.log(), br);
     for (int i = 0; i < (int)fuckers_count.value(); i++)
     {
         fuckers.Add(new F****r(br, ver));
         DBG.dbg2(fuckers[i].log(), br);
     }
     if (ver > 5.1)
     {
         worker.read(br, ver);
         DBG.dbg2(worker.log(), br);
         no_kuk.read(br, ver);
         DBG.dbg2(no_kuk.log(), br);
         no_lact.read(br, ver);
         DBG.dbg2(no_lact.log(), br);
     }
 }
Ejemplo n.º 10
0
 public String log()
 {
     return(unique.log() + " " + lack.log() + " " + hybrid.log() + " " + newgroup.log() + " " +
            gendiff.log() + " " + distance.log() + " " + donor_best.log() + " " + acceptor_best.log());
 }
Ejemplo n.º 11
0
        public override String strval()
        {
            String str = "-=FilterForm=-" + Environment.NewLine + Lookat.log() + Environment.NewLine + Max.log() + Environment.NewLine;

            for (int i = 0; i < (int)Max.value(); i++)
            {
                str += "f" + i.ToString() + "=" + Filters[i].log() + Environment.NewLine;
            }
            str += Combo.log() + Environment.NewLine;
            return(str + "-=FilterForm_End=-");
        }
Ejemplo n.º 12
0
 public String log()
 {
     return(" " + Key.log() + " " + Surkey.log() + " " + Name.log() + " " + Surname.log());
 }
Ejemplo n.º 13
0
 public String log()
 {
     return(on.log() + " " + start.log() + " " + interval.log());
 }