+__________________________________________________________________________+| + || Backgrounds + Influences || Allies : 0 + || Contacts : 0 + || Herd : 3 + || Mentor : 0 + || Resources : 1 + || Retainers : 0 + || + || + |+————————————————————————–+
grid = create_grid(75); row = create_row(grid); cell = row_append_cell(row, 35, "\tGBackgrounds\tn\n\r"); i = 0; for(num=0;background_table[num].name;num++) { if(background_table[num].settable) { if(num < MAX_BACKGROUND) { cell_append_contents(cell, "%-11s:%3d\n\r", background_table[num].name, ch->backgrounds[num]); i++; } } } row_append_cell(row, 40, "Influences"); grid_to_char (grid, user, TRUE );
The lines for allies, contacts, etc… all seem to be not pushing the border out far enough, causing table alignment issues. Any thoughts on what I'm doing wrong? Thanks in advance
Here is the code: