Exemplo n.º 1
0
        public override void PrintCantVerbThat(IArtifact artifact)
        {
            Debug.Assert(artifact != null);

            var ac = artifact.GetCategories(0);

            Debug.Assert(ac != null);

            Globals.Buf.Clear();

            switch (ac.Field4)
            {
            case -1:

                Globals.Buf.SetPrint("{0} {1} affixed to the wall.", artifact.GetTheName(true, buf: Globals.Buf01), artifact.EvalPlural("is", "are"));

                break;

            case -2:

                Globals.Buf.SetPrint("{0} {1} carved into the wall.", artifact.GetTheName(true, buf: Globals.Buf01), artifact.EvalPlural("is", "are"));

                break;

            case -3:

                Globals.Buf.SetPrint("{0} {1} bolted down, and can't be removed.", artifact.GetTheName(true, buf: Globals.Buf01), artifact.EvalPlural("is", "are"));

                break;

            case -4:

                Globals.Buf.SetPrint("You can't get near enough to {0} to grab {1}.", artifact.GetTheName(buf: Globals.Buf01), artifact.EvalPlural("it", "them"));

                break;
            }

            if (Globals.Buf.Length > 0)
            {
                gOut.Write("{0}", Globals.Buf);
            }
            else
            {
                base.PrintCantVerbThat(artifact);
            }
        }