mirror of
https://github.com/APercy/automobiles_pck
synced 2025-02-16 12:12:48 +01:00
biofuel is optional
This commit is contained in:
parent
cbccd7ad78
commit
837dc8e3c7
@ -2,4 +2,4 @@ name=automobiles_buggy
|
||||
title=Buggy
|
||||
description=A buggy
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_catrelle
|
||||
title=Catrelle
|
||||
description=Une 4L pour mes amis français
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_coupe
|
||||
title=Coupe
|
||||
description=A coupe
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_delorean
|
||||
title=Delorean
|
||||
description=A Delorean
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -4,7 +4,8 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
||||
automobiles_lib = {}
|
||||
|
||||
automobiles_lib.fuel = {['biofuel:biofuel'] = 1,['biofuel:bottle_fuel'] = 1,
|
||||
['biofuel:phial_fuel'] = 0.25, ['biofuel:fuel_can'] = 10}
|
||||
['biofuel:phial_fuel'] = 0.25, ['biofuel:fuel_can'] = 10,
|
||||
['airutils:biofuel'] = 1,}
|
||||
|
||||
automobiles_lib.gravity = 9.8
|
||||
automobiles_lib.is_creative = minetest.settings:get_bool("creative_mode", false)
|
||||
|
@ -1,3 +1,3 @@
|
||||
name = automobiles_lib
|
||||
depends=biofuel,player_api
|
||||
optional_depends=emote
|
||||
depends=player_api
|
||||
optional_depends=emote, biofuel
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_motorcycle
|
||||
title=Motorcycle
|
||||
description=A motorcycle
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_roadster
|
||||
title=Roadster
|
||||
description=A roadster automobile
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_trans_am
|
||||
title=Trans Am
|
||||
description=A Trans AM car to escape from the Smokey Bear
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
@ -2,4 +2,4 @@ name=automobiles_vespa
|
||||
title=Vespa
|
||||
description=A Vespa motorcycle
|
||||
author=apercy
|
||||
depends=biofuel,automobiles_lib
|
||||
depends=automobiles_lib
|
||||
|
Loading…
Reference in New Issue
Block a user