Condense the events in one line...

Out-of-character discussion forum for players of Cantr II to discuss new ideas for the development of the Cantr II game.

Moderators: Public Relations Department, Players Department, Game Mechanics (RD), Programming Department

User avatar
Pilot
Administrator Emeritus
Posts: 7603
Joined: Thu Sep 21, 2006 3:32 pm

Condense the events in one line...

Postby Pilot » Sun Oct 23, 2011 3:37 am

* When adding in automatic multiple resources to a project.

* When hunting different types of animals at the same time.
User avatar
madfish
Posts: 171
Joined: Mon May 09, 2011 7:09 pm

Re: Condense the events in one line...

Postby madfish » Sun Oct 23, 2011 3:17 pm

What is the problem you want to solve? Are you looking to save clutter on the events page? or reduce database lookups?

The former could also be solved with sorting tabs like on the notes page (see all, Se talking, see giving etc.)

The latter I can't imagine is that much of a problem and you would actually still be making the same amount of references to the database.
West is the new North!
User avatar
Armulus Satchula
Posts: 1244
Joined: Wed Oct 29, 2003 3:57 am

Re: Condense the events in one line...

Postby Armulus Satchula » Sun Oct 23, 2011 10:46 pm

You could just install Cantr Enhanced and disable the resource messages.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: Condense the events in one line...

Postby Greek » Sat Oct 29, 2011 10:17 pm

It sounds good, so I added it for Cantr Enhanced.
Now it works only for Polish, but after translation (could be very difficult because some keywords are on the other position in the regexp) it should be possible to work also for English.

There is a screenshot with an example:
Image
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: Condense the events in one line...

Postby Greek » Sun Oct 30, 2011 3:52 pm

Bump. Everything should work.
Now script does merge events of the same type, when there are no other events between them and there is time difference not larger than 2 minutes.

Example:
"xxxx-xx.xx: You see some meat, meat, cod, cod, rice, rice, onions, onions being pulled to ..., coming from ..."


More info there:

http://forum.cantr.org/viewtopic.php?f=1&t=18625&start=45

I know that's not as good as improvement of the game code itself, but I hope it could help.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
User avatar
Pilot
Administrator Emeritus
Posts: 7603
Joined: Thu Sep 21, 2006 3:32 pm

Re: Condense the events in one line...

Postby Pilot » Sun Oct 30, 2011 4:56 pm

Thanks Greek! :)

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest