Example #1
0
        private void PutCubi(MapTile t)
        {
            Cubi myHeldCubi = Harem.GetId(heldCubiId);

            myHeldCubi.loc          = t.loc;
            myHeldCubi.beingCarried = false;
            heldCubiId = 0;
            Refs.mf.Announce("You're free to go... if you can.", myAlign, myColor);
        }
Example #2
0
        private void GrabCubi(MapTile t)
        {
            Cubi caughtCubi = Refs.m.CubiAt(t.loc);

            caughtCubi.loc          = this.loc;
            caughtCubi.beingCarried = true;
            heldCubiId = caughtCubi.myIdNo;
            Refs.mf.Announce("Gotcha!", myAlign, myColor);
            Refs.mf.Announce("EEEK!!", caughtCubi.myAlign, caughtCubi.myColor);
        }
Example #3
0
        private void SwapCubi(MapTile t)
        {
            Cubi myHeldCubi = Harem.GetId(heldCubiId);
            Cubi caughtCubi = Refs.m.CubiAt(t.loc);

            myHeldCubi.loc          = t.loc;
            myHeldCubi.beingCarried = false;
            heldCubiId = 0;

            caughtCubi.loc          = this.loc;
            caughtCubi.beingCarried = true;
            heldCubiId = caughtCubi.myIdNo;

            Refs.mf.Announce("Hang on, let's grab you instead!", myAlign, myColor);
        }