View Issue Details

IDCategoryLast Update
0001966Bug Report2020-05-04 01:32
Reporterebinfo 
SeverityfeatureReproducibilityalways
Status resolvedResolutionfixed
Summary0001966: wrong vehicule choice for pizza delivery
DescriptionI progressed through Diane's story where she is building the barn. At this point i did not talk to Tony yet about delivering pizzas, so i went to the car dealership and got a small car. then when doing the quest for the pizzas it gives me choises to take the scooter or the bike, despite the fact that i never bought those vehicules.
Platform/OSWindows
Version0.19.5

Activities

ebinfo

ebinfo

2019-06-08 15:30

reporter   ~0002731

it does not give out an error when trying the unbought vehicules thou, so no game crash.
Casiope

Casiope

2019-06-08 19:02

updater   ~0002742

That's because the vehicles are not items but unlock a variable called "player.transport_level" which goes from level 0 to level 4 (0= no bicycle, 4 = sport car). So if you buy the last car, you also unlock all the previous transport level for the pizza delivery minigame. This is poorly done because vehicles are by definition items; a check should be made to see what item the main character owns before displaying a button to buy the next vehicle at the car dealership. The purchase of vehicles is only worthwhile if it is done gradually.
Casiope

Casiope

2019-06-08 19:17

updater   ~0002745

Some corrections:
• In characters\josephine\button_dealership, line 11:
"Scooter. (1500$)" if player.transport_level < 2:
-->
"Scooter. ($1,500)" if player.transport_level = 1:

• In characters\josephine\button_dealership, line 19:
"Small Car. (3000$)" if player.transport_level < 3:
-->
"Small Car. ($3,000)" if player.transport_level = 2:

• In characters\josephine\button_dealership, line 27:
"Sports Car. (10,000$)" if player.transport_level < 4:
-->
"Sports Car. ($10,000)" if player.transport_level = 3:
Casiope

Casiope

2019-06-08 19:20

updater   ~0002746

Also add a dialogue when the player click on the button "Buy a vehicle." but if he doesn't have a bicycle (if player.transport_level = 0), the message should explain he has to buy the bike first.

And finally the cancel button is still missing, see bug report 0001466.
ebinfo

ebinfo

2019-06-10 00:44

reporter   ~0002755

to not rewrite too much stuff you could use bitwize operators
0 == no vehicle
1 == bicycle
2 == scooter
3 == small cart
4 == sport car

so if user has nothing, value is zero. if user has bicycle value 1, if user has bicycle and scooter, value is 3, then 6, then 10 that way it can be incremental and still use a variable rather than an item.
Casiope

Casiope

2020-04-13 18:25

updater   ~0004577

Last edited: 2020-04-13 18:25

View 2 revisions

Version updated to 0.19.5.

This issue should be fixed in the next release (0.20). It will be impossible to buy the next vehicule at the dealership without having delivered pizza with the previous one.

Casiope

Casiope

2020-05-04 01:32

updater   ~0004666

The issue has been fixed in version 0.20.0. Please update the game to the last version. The report is now closed.

Issue History

Date Modified Username Field Change
2019-06-08 15:27 ebinfo New Issue
2019-06-08 15:30 ebinfo Note Added: 0002731
2019-06-08 19:02 Casiope Note Added: 0002742
2019-06-08 19:17 Casiope Note Added: 0002745
2019-06-08 19:20 Casiope Note Added: 0002746
2019-06-10 00:44 ebinfo Note Added: 0002755
2020-04-13 18:25 Casiope Status new => confirmed
2020-04-13 18:25 Casiope Version 0.18.6 => 0.19.5
2020-04-13 18:25 Casiope Note Added: 0004577
2020-04-13 18:25 Casiope Note Edited: 0004577 View Revisions
2020-05-04 01:32 Casiope Status confirmed => resolved
2020-05-04 01:32 Casiope Resolution open => fixed
2020-05-04 01:32 Casiope Note Added: 0004666