Major improvements, see desc

- Fixed selling same vehicle multiple times
- Fixed selling <no> vehicle
- Major security improvements
- Removed buying vehicle for society
- Code cleanup
- Fixed depopping vehicle not working (not respecting network owner)
This commit is contained in:
ElPumpo
2020-02-08 12:36:18 +01:00
parent 5e6cd29ca8
commit 14fbc69357
11 changed files with 371 additions and 523 deletions
+1 -4
View File
@@ -5,9 +5,6 @@ Locales['fi'] = {
['vehicle_belongs'] = 'ajoneuvo kilvellä ~y~%s~s~ on nyt ~b~sinun~s~ omistuksessasi',
['broke_company'] = 'sinulla ei ole tarpeeksi rahaa yrityksen tilillä',
['license_missing'] = 'you don\'t have a driver\'s license!',
['purchase_type'] = 'osto tyyppi',
['society_type'] = 'firma',
['staff_type'] = 'henkilökunta',
['buy_vehicle_shop'] = 'haluatko ostaa ajoneuvon %s hintaan $%s?',
['buy_vehicle'] = 'osta ajoneuvo',
['car_dealer'] = 'autokauppa',
@@ -18,6 +15,7 @@ Locales['fi'] = {
['depop_vehicle'] = 'palauta ajoneuvo',
['return_provider'] = 'return vehicle to provider',
['get_rented_vehicles'] = 'vuokrattavat ajoneuvot',
['no_current_vehicle'] = 'you do not currently have an vehicle displayed',
['invalid_amount'] = 'virheellinen summa',
['invoice_amount'] = 'laskun summa',
['no'] = 'ei',
@@ -34,7 +32,6 @@ Locales['fi'] = {
['sell_menu'] = 'paina ~INPUT_CONTEXT~ myydäksesi ~y~%s~s~ hintaan: ~g~$%s~s~',
['set_vehicle_owner_rent'] = 'määritä ajoneuvon [Vuokra]',
['set_vehicle_owner_sell'] = 'myy ajoneuvo',
['set_vehicle_owner_sell_society'] = 'määritä ajoneuvon [Hinta] [Firma]',
['shop_menu'] = 'paina ~INPUT_CONTEXT~ avataksesi menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'ajonevuo - Autokauppa',