Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Blu Aardvark

#1
I'm designing a text-based (non-graphical) game, and found the above "quicky" script quite helpful (with a few modifications, of course).

My problem: I've discovered that I'm currently limited to displaying only 16 lines at a time, meaning only 15 inventory items would be visible, unless I changed the font or otherwise did something undesirable.

Is there a relatively simple way to space the list into two separate columns?

Here's what I'm looking at:

Code: ags
function show_inventory () {
	String inventoryListing = "You are carrying:";
	int i = 0;
	int inventoryCount = 0;
	while(i<Game.InventoryItemCount) {
		i++;
		if(player.InventoryQuantity[i]>0) {
			inventoryListing = inventoryListing.Append(String.Format("[ - %s",inventory[i].Name));
			inventoryCount++;
		}
	}
	if(inventoryCount>0) {
	  roomText.Text = inventoryListing;
	} else {
		roomText.Text = Game.GlobalMessages[996];
	}
}
#2
It seems that the download link in the first post is no longer working.  Of course, I didn't bump this thread just to say that...

For the benefit of anyone else who happens to be searching the forums for a text parser module and stumbles upon this thread, I found another copy of this template (version 2.0, yes). You can download it here
SMF spam blocked by CleanTalk