In step tutorial scenario C is required to route a bus to go four stations.
I'm using "is_work_allowed_here" to prevent what the stops is selected two or more times, the problem is that when you drag the cursor stops are not selected but "is_work_allowed_here" if it detects the cursor and no longer allows you to select more to the stop. This is a problem because if the four stops are not selected the step is not completed.
Attaching here the scenario and savegame for test you.
Scenario: Tutorial.zip (http://www.mediafire.com/file/vm1agkx3v4sarmm/Tutorial.zip)
Savegame: Tutorial2.sve (http://www.mediafire.com/file/nahpjovabhjcvdh/Tutorial2.sve)
(https://www.mediafire.com/convkey/bcfe/6maf0p8391im8b46g.jpg)
Mod note: fixed season to station as it's the same word in Spanish
~An_dz
You should modify the conditions on the schedule. I could not complete this step.
Dragging the tool (insert into schedule) has not effect, but the routine is_work_allowed_here is called. The tool will be called after releasing the mouse button. You can check this behavior with the remover tool, for instance.
Quote from: Dwachs on October 08, 2016, 08:43:51 AM
You should modify the conditions on the schedule. I could not complete this step.
Simply to place the first station at 10%. I forgot to correct that, but I did it for the Spanish. :o
Edit. Try again with this: Tutorial-test3.zip (http://www.mediafire.com/file/czf2iy3s8iwsae6/Tutorial-test3.zip)
Quote from: Dwachs on October 08, 2016, 08:43:51 AM
Dragging the tool (insert into schedule) has not effect, but the routine is_work_allowed_here is called. The tool will be called after releasing the mouse button. You can check this behavior with the remover tool, for instance.
Maybe allow drag and drop to this ?.
This should be fixed with r7897 as well: the method will only be called at places, where the tool indeed will place a new stop into the schedule.
Works fine now, thanks. ;D