dP
5e14a20b3b
Feature: [GS] Scriptable league tables ( #10001 )
2022-11-26 18:03:03 +01:00
SamuXarick
8d0d45c431
Add: ScriptCargo::GetWeight to get cargo weights
2022-10-16 18:28:28 +02:00
SamuXarick
3dda8c9bad
Fix: ScriptRoad::HasRoadType really check for RoadType
...
Script::HasRoadType was only checking if the tile had the same RoadTramType as that of the RoadType provided.
Now it really checks RoadType against RoadType.
2022-10-16 18:27:23 +02:00
Andy
b8a8891a86
Add: [Script] IndustryType::ResolveNewGRFID to resolve industry id from grfid and grf_local_id
2022-01-22 18:15:12 +01:00
Andy
26ac0c48f0
Add: [Script] ObjectType::ResolveNewGRFID to resolve object id from grfid and grf_local_id
2022-01-22 13:12:10 +01:00
Patric Stout
394c749b6b
Change: Heading for 13 now ( #9573 )
2021-09-25 13:48:03 +02:00
dP
39662aabef
Add: allow gamescripts to build neutral objects ( #9568 )
2021-09-25 13:39:40 +02:00
SamuXarick
37de878129
Feature: [AI/GS] Missing water related functions and objects ( #8390 )
2021-09-14 22:06:55 +02:00
Patric Stout
eca73a810c
Change: rebrand 1.12.0 to 12.0
...
One question that keeps popping up: "when do we release 2.0?".
NewGRF will force that at least 1.16 will be 2.0, but to not wait
for this, let's drop the "1." and be for ever done with that
conversation.
We are following in the footstep of giants here.
2021-08-15 12:28:51 +02:00
Michael Lutz
8706dcd9c1
Add: [Script] Basic information about loaded NewGRFs for scripts. ( #9464 )
...
Currently, scripts use various heuristics to detect loaded NewGRFs that are inherently unreliable.
The list of loaded NewGRFs is easily accessible to a human player, and thus giving
scripts the same information is consistent with the current approach to not give scripts
more information than a human player.
2021-08-09 23:34:50 +02:00
Patric Stout
9bfa7198fd
Change: Heading for 1.12 now ( #8862 )
2021-03-14 20:47:31 +01:00
dP
91cc414588
Feature: [GS] Allow non-question type windows to have no buttons
2021-02-14 23:21:43 +01:00
dP
bab7de6cf2
Feature: Allow GameScripts to add additional text to Industry view window
2021-01-22 09:50:53 +00:00
Pavel Stupnikov
4b42ecb0f6
Feature: Add tile parameter for GSCompany.ChangeBankBalance to show text effect if needed ( #8573 )
2021-01-22 10:28:26 +01:00
Patric Stout
218f40eea2
Add: [Script] ScriptCargo::GetName, to get the human readable name of a cargo ( #8544 )
...
Of course this translates into AICargo.GetName() for AIs and
GSCargo.GetName() for GameScripts.
2021-01-09 15:15:14 +01:00
Pavel Stupnikov
9a45a0f535
Feature: Set exclusive access to industry from GS ( #8115 )
2020-12-22 14:29:48 +01:00
Niels Martin Hansen
b7751c483e
Feature: Influence industry production changes from GS ( #7912 )
2020-12-22 14:21:31 +01:00
Michael Lutz
1c0ba07c3c
Add: [Script] Native priority queue; useful e.g. for pathfinders.
2020-06-01 21:35:13 +02:00
Niels Martin Hansen
800ade7702
Feature: Push-buttons on storybook pages ( #7896 )
...
Allow more direct player-initiated interaction for Game Scripts, by letting the GS put push-buttons on storybook pages. These buttons can either trigger an immediate event, or require the player to first select a tile on the map, or a vehicle.
Additionally this reworks how the storybook pages are layouted and rendered, to allow for slightly more complex layouts, and maybe speeding drawing up a bit.
2020-05-22 22:22:55 +02:00
glx
2f264f2c92
Change: Heading for 1.11 now
2020-02-08 23:38:49 +01:00
Pavel Stupnikov
d7a928a08b
Feature: GS method to control engine availability for a specific company ( #7791 )
...
* Feature: GS method to allow company to use an engine before its introduction date
* Feature: GS method to retire an engine early for a specific company
2020-01-15 18:46:26 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
glx
d0e8060182
Fix 6fc60d8c4f: forgot to update API changelog
2019-03-31 03:33:03 +02:00
frosch
a67ee02529
Change: Heading for 1.10 now ( #7319 )
2019-03-03 20:51:57 +01:00
SamuXarick
1e5a6765d9
Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle type ( #6988 )
2019-01-31 23:08:03 +00:00
Samu
1e68b9b3e6
Add: AI/GS GetMonthlyMaintenanceCost ( #6897 )
...
API addition which allows AI/GS scripts to retrieve the monthly maintenance cost of an airport type.
2018-11-01 18:06:08 +01:00
Pavel Stupnikov
913119487f
Feature: Add GS method to question a single client ( #6748 )
2018-04-28 17:37:59 +02:00
Pavel Stupnikov
8e4bce58ea
Feature: GS methods to scroll viewport for players ( #6745 )
2018-04-24 19:19:00 +02:00
Pavel Stupnikov
6ff81b908e
Feature #6459 : API for querying network clients from GS ( #6736 )
2018-04-22 15:42:29 +02:00
frosch
09d4735679
(svn r27993) -Change: Heading for 1.9 now
2018-03-14 19:36:41 +00:00
frosch
b69c0acca2
(svn r27950) -Merge: Documentation updates from 1.7 branch
2017-12-24 12:18:36 +00:00
frosch
afcef7faa6
(svn r27780) -Update: Numbers
2017-03-11 20:50:26 +00:00
frosch
9fa6e3d83a
(svn r27776) -Merge: Documentation updates from 1.6 branch
2017-03-11 13:34:01 +00:00
frosch
0c7c0ada78
(svn r27518) -Update: Numbers
2016-03-01 20:00:22 +00:00
frosch
ae1d96cc2f
(svn r27463) -Merge: Documentation updates from 1.5 branch
2015-12-01 19:49:49 +00:00
frosch
6477356dd2
(svn r27192) -Change: heading for 1.6 now
2015-03-17 20:33:44 +00:00
alberth
0143f486f2
(svn r27164) -Add: [NoGo] Game scripts can point to a location, station, industry, or town when publishing news.
2015-02-22 17:25:29 +00:00
rubidium
e3791822b2
(svn r27032) -Merge: documentation updates from 1.4 branch
2014-10-23 09:47:15 +00:00
fonsinchen
1a5b2f0e17
(svn r26894) -Feature: Swap method for script lists
2014-09-21 16:25:15 +00:00
fonsinchen
2128f1e929
(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via
2014-09-21 16:20:48 +00:00
fonsinchen
73d273ffd6
(svn r26892) -Feature: Script API for retrieving planned flow
2014-09-21 16:20:14 +00:00
frosch
669d593fad
(svn r26748) -Merge: documentation updates from 1.4 branch
2014-08-17 16:13:23 +00:00
alberth
8fe8765aaa
(svn r26685) -Fix: Tighten parameter bound checks on GSCargoMonitor functions, and return -1 on out-of-bound parameters.
2014-07-12 17:04:14 +00:00
fonsinchen
bb269661d4
(svn r26557) -Fix: clean up, test (somewhat), and complete the API for waiting cargo
2014-05-04 13:57:48 +00:00
frosch
083e02afe1
(svn r26529) -Merge: documentation updates from 1.4 branch
2014-04-27 15:45:53 +00:00
frosch
db96a109ff
(svn r26406) -Change: heading for 1.5 now
2014-03-17 20:02:30 +00:00
zuu
ae23f519f7
(svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other station
2014-03-10 22:18:53 +00:00
zuu
9603014102
(svn r26307) -Add: [nogo] Allow GS to hide story page date
2014-02-06 19:50:34 +00:00
zuu
57a88c9de2
(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page
2014-02-06 19:41:56 +00:00