All pending tasks and bugs related to the website.

FS#5073 - GameScripts can't depend on gs libraries on BaNaNaS. (and more dependency issues)

Attached to Project: Website
Opened by Leif Linse (Zuu) - Saturday, 18 February 2012, 16:39 GMT
Type Bug
Category BaNaNaS
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Could you make it so that GameScripts can depend on GameScript libraries and scenarios. It would also be nice if scenarios can depend on game scripts. Hopefully OpenTTD don't get mad at cyclic dependencies :-)

I would like to do this:

Make Tutorial GS depend on:
- SuperLib for NoGo
- TileLabels
- Beginner Tutorial scenario

Make Tutorial scenario depend on:
- Beginner Tutorial GS

The effect will be that if a user selects either the game script or the scenario for download, they get everything needed to play the tutorial.

If cyclic is not possible, then I could resort to not making the GS depend on the scenario. The scenario is after all what the user would play. He/she doesn't need to know that the GS is doing most of the work.
This task depends upon

Comment by Leif Linse (Zuu) - Saturday, 18 February 2012, 16:42 GMT
I feel stupid. Of course I was looking at my scenario and not the gamescript. Bananas does allow GS to depend on GS libraries. So that part of this bug report is invalid.

However, the other part about scenario <-> GS dependency still remains.