Car
Функции
car_gas_amount
funcX
int car_gas_amount()
Returns the current amount of fuel in player’s car (between 0 and 80000). To change fuel amount, use vanilla function: metarule(METARULE_GIVE_CAR_GAS, amount)
- amount
can be positive or negative.
set_car_current_town
void set_car_current_town(int town)
Changes the current town index for the player’s car.
set_car_intface_art
funcX
void set_car_intface_art(int artIndex)
- Changes the interface art (index in
intrface.lst
) for the car image on the world map interface - Should be called before going to the world map
- Vanilla art index is 433