If any member of the family is having the habit of drinking or smoking, the children may not feel that it is wrong to drink or smoke. If all the family members spend money lavishly and never care for the money, the child also may get the same traits. If the mother cooks soft food the child will accustom to that and he will like that food only.
If the family members are soft going and the children will also learn the same.
Hence the behaviour pattern of a child would depend upon several factors being practiced in the family.