mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-26 09:03:37 +00:00
* Remove hideous inline tab indentation, and bans it in contributing guidelines * a Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
22 lines
807 B
Plaintext
22 lines
807 B
Plaintext
//Vehicle control flags
|
|
|
|
#define VEHICLE_CONTROL_PERMISSION 1
|
|
#define VEHICLE_CONTROL_DRIVE 2
|
|
#define VEHICLE_CONTROL_KIDNAPPED 4 //Can't leave vehicle voluntarily, has to resist.
|
|
|
|
//Ridden vehicle flags
|
|
|
|
/// Does our vehicle require arms to operate? Also used for piggybacking on humans to reserve arms on the rider
|
|
#define RIDER_NEEDS_ARMS (1<<0)
|
|
// As above but only used for riding cyborgs, and only reserves 1 arm instead of 2
|
|
#define RIDER_NEEDS_ARM (1<<1)
|
|
/// Do we need legs to ride this (checks against TRAIT_FLOORED)
|
|
#define RIDER_NEEDS_LEGS (1<<2)
|
|
/// If the rider is disabled or loses their needed limbs, do they fall off?
|
|
#define UNBUCKLE_DISABLED_RIDER (1<<3)
|
|
// For fireman carries, the carrying human needs an arm
|
|
#define CARRIER_NEEDS_ARM (1<<4)
|
|
|
|
//Car trait flags
|
|
#define CAN_KIDNAP 1
|