Page 1 of 1

long-format-date action 2 variable

Posted: 02 Jun 2007 05:50
by PikkaBird
There isn't one. There needs to be one. :lol:

Also, long format introduction dates for town buildings would be good. :)

Posted: 04 Jun 2007 00:25
by belugas
Taken into consideration :) I guess it would not be too hard...

:idea:
BY the way, what about introduction date for industries, like in houses?
Would it be interesting?

Posted: 04 Jun 2007 00:50
by OzTrans
belugas wrote: ... what about introduction date for industries, like in houses? ...
Yes, it would make things complete; for stations as well. ATM, we cannot introduce anything new, except vehicles, at a particular time before 1920; i.e. if a game starts prior to 1920, then e.g. any new houses/industries/stations would be available from start of game and not when we want them.

Posted: 04 Jun 2007 04:00
by PikkaBird
belugas wrote::idea:
BY the way, what about introduction date for industries, like in houses?
Would it be interesting?
There is already introduction date control for industries; Callback 28 (Industry location permissibility) used in conjunction with a date-checking var 2. :)

Posted: 04 Jun 2007 16:26
by belugas
Right...
I forgot that callback as been a possibility...
I was more thinking along a new property of the action 00.
Which reminds me : PikkaBird i was working on callback 28 this weekend, but it didn't seemed to be triggered in any of your industry sets (old and new). Is it just me or is it something that you do not us?

Posted: 04 Jun 2007 17:18
by PikkaBird
belugas wrote:Is it just me or is it something that you do not us?
It's just you. All the secondary industries and a few primary industries (diamond mine, water supply and plantations in tropic; forest in arctic) in PBI use callback 28. I don't think I used it in the old UKRSI though.

Also, per discussion with peter1138 in irc: age-based variables and properties will need to be updated to make sure they work with pre-1920 intro dates. This includes vehicle var C0 (age in days), house var 41 (age in years), and house prop 1F (minimum life span). Variables which contain a date, such as vehicle var C4 (year built) and industry var B0 (date built) will need new long-format equivalents. :)

Posted: 04 Jun 2007 17:27
by belugas
PikkaBird wrote:All the secondary industries and a few primary industries (diamond mine, water supply and plantations in tropic; forest in arctic) in PBI use callback 28. I don't think I used it in the old UKRSI though.
Pre-Alpha bug :)
Although, i've only tested the UKRSI extensively, and just once the PBI ;)
PikkaBird wrote: Per discussion with peter1138 in irc: long-date-format variables for 1) vehicle age in years 2) house age in days 3) industry age in days would also be useful. :)
Yeah! Up the sleeves and coding time !

Posted: 04 Jun 2007 17:31
by PikkaBird
belugas wrote:Yeah! Up the sleeves and coding time !
Hehe, you caught me mid-edit, I've expanded a little. :) But for me, bedtime, so good luck. :P

Re: long-format-date action 2 variable

Posted: 27 May 2008 19:47
by PikkaBird
It has been almost a year. I think I am justfied a bump. ;)

Call it variable 21, has a nice ring to it. Cached var 49 for train year built, perhaps?

Pretty please?

Re: long-format-date action 2 variable

Posted: 27 May 2008 20:25
by belugas
:oops:
Totally, absolutely, completely forgot about it...

Very very sorry...
I'll try to catch up