Exemplo n.º 1
0
        public override void GetBlockInfo(IPlayer forPlayer, StringBuilder dsc)
        {
            bool isRotten = MealMeshCache.ContentsRotten(inv);

            if (isRotten)
            {
                dsc.Append(Lang.Get("Rotten"));
            }
            else
            {
                dsc.Append(BlockEntityShelf.PerishableInfoCompact(Api, inv[0], 0, false));
            }
        }
Exemplo n.º 2
0
 public override void GetBlockInfo(IPlayer forPlayer, StringBuilder dsc)
 {
     dsc.Append(BlockEntityShelf.PerishableInfoCompact(Api, inv[0], 0));
 }