Commit Graph

49 Commits

Author SHA1 Message Date
Alberth
5e6c171e7d Add: Setting for the number of goals of a company. 2015-01-01 20:25:13 +01:00
Alberth
bdfe3acb66 Fix: Use end-user concepts of time for display of remaining time. 2015-01-01 19:02:21 +01:00
Alberth
5234a754ed Codechange: Rename variables to make them more consistent in meaning. 2015-01-01 14:24:53 +01:00
Alberth
b64b314103 Add: Cargo instances. 2015-01-01 13:54:15 +01:00
Andy
3598257da7 Fix: get the correct cargo id for use in goals text 2015-01-01 08:13:08 +00:00
Alberth
524b958782 Change: Monitor company new/merge/delete, and industry closure events,
re-organized handling of creating/updating/removal of goals.
2014-12-31 18:02:06 +01:00
Alberth
4e661c91ce Fix: Sharing goals between companies is a bad idea. Closes #7367 2014-12-31 12:58:27 +01:00
Alberth
c5c7e3a939 Add: Timeout counter for the goals. Addresses #7371 2014-12-30 19:29:55 +01:00
Alberth
3c9f2c8314 Fix: Don't create more than 2 goals for the same cargo type. 2014-12-30 18:10:13 +01:00
Alberth
588502838c Fix: Don't continue looking hard for new challenges when they are not findable. 2014-12-30 17:59:56 +01:00
Alberth
8ed36c044e Fix: Don't set goals for cargo that's not available at the map. Closes #7368 2014-12-30 17:54:00 +01:00
Alberth
eec0265eeb Change: Output less empty lines, rename main class. 2014-12-30 13:28:22 +01:00
Alberth
ed373f7609 Add: Progress reporting. 2014-12-30 11:49:16 +01:00
Alberth
fd0469ad9b Change: Move GSGoal creation and removal to the CompanyGoal. 2014-12-30 11:01:30 +01:00
Alberth
78aa73dd2c Add: Goal 'done' detection, and removal. 2014-12-29 16:34:12 +01:00
Alberth
28d71ad2df Add: Cargo delivery monitoring and updating. 2014-12-29 12:22:27 +01:00
Alberth
6771ba0cc1 Add: CompanyGoal class. 2014-12-29 09:26:40 +01:00
Andy
4201c8f4e7 Codechange: move a logging line so other code flow is easier to read 2014-12-28 22:11:10 +00:00
Andy
b5fbd5e905 Change: log the GoalID, we'll probably want to store it later though 2014-12-28 22:10:24 +00:00
Andy
934d6e8c7b Fix: no need to show cargo name twice in goal text 2014-12-28 17:30:19 +00:00
Andy
7ce591d8b7 Change: pretty-print the cargo amounts for goals 2014-12-28 17:28:42 +00:00
Alberth
f01fca7072 Add: Clickable goals. 2014-12-28 17:54:52 +01:00
Andy
7f991c3ad0 Codechange: tidy some dead code, correct a comment typo 2014-12-28 16:46:38 +00:00
Alberth
2e13920e38 Fix: Prevent duplicate cargo/resource combinations for a company. 2014-12-28 17:22:54 +01:00
Andy
744419dd92 Change: use GSText to handle prettified goal display 2014-12-28 16:18:48 +00:00
Andy
7d16de450f Change: prettify the display of goals a bit with destination name 2014-12-28 14:53:21 +00:00
Andy
672cf68352 Change: CreateChallenge() now creates goals as well as logging them 2014-12-28 14:31:29 +00:00
Alberth
92a346e929 Add: Companies with goals. 2014-12-28 15:15:09 +01:00
Alberth
32bdd042e0 Add: Handling of town cargoes in challenge creation. 2014-12-28 13:39:03 +01:00
Andy
39177ba8a5 Change: proof of assigning goals to companies 2014-12-28 11:37:52 +00:00
Alberth
a0478b7439 Add: Find a challenge for industry cargoes. 2014-12-28 11:17:47 +01:00
Alberth
b3a420a823 Add: Global storage of cargo types and effects. 2014-12-28 10:16:05 +01:00
Andy
34cebd204c Codechange: formatting 2014-12-27 21:46:48 +00:00
Andy
72f5fd593f Change: comment out lake logging, provide logging of industries accepting and producing each cargo 2014-12-27 20:54:59 +00:00
Andy
6129574803 Change: comment out the proof-of-concept news and question modals, they're annoying 2014-12-27 20:02:58 +00:00
Andy
ce9f3598cc Change: log some stuff about industries accepting cargos (broken) 2014-12-27 20:02:03 +00:00
Andy
6bd059c712 Change: proof of concept for Goal Question (annoying) 2014-12-27 15:22:09 +00:00
Andy
222bd24ea9 Change: proof of concept lang file with string parameter 2014-12-27 15:12:21 +00:00
Andy
b0ab20f62b Change: proof of concept news messages 2014-12-27 14:51:59 +00:00
Alberth
008c634c4b Add: Examine available cargoes. 2014-12-27 11:59:46 +01:00
Alberth
5d309a9cdb Merged info.nut changes 2014-12-27 11:54:30 +01:00
Alberth
448993181b A little random functionality for the GS 2014-12-27 11:52:49 +01:00
Andy
732f535426 Codechange: remove references to NoCarGoal in GPL text 2014-12-27 10:01:39 +00:00
Andy
97390e38cc Change: set API version to 1.5 2014-12-27 10:00:28 +00:00
Alberth
4b286f6f6f Minor fixes (name in license text, nae of the class). 2014-12-27 10:56:48 +01:00
Andy
357c15e157 Codechange: spaces not tabs 2014-12-27 09:53:58 +00:00
Andy
c5abee1943 Change: basic info.nut compiles and shows up in OTTD 2014-12-27 09:45:52 +00:00
Andy
be0b545c50 Add: empty main.nut and info.nut files 2014-12-27 09:35:33 +00:00
Andy
d8cecd26a7 Add: empty readme 2014-12-27 09:34:00 +00:00