vehicle_mounted_weapon

This component allows gun mounting on vehicle types
Vars | |
mounted_gun | The gun mounted on a vehicle |
---|---|
Procs | |
on_attack_hand | Behaviour on attack hand. Puts the gun in the user's hands if they're riding the vehicle and don't have the gun in their hands. |
on_attackby | Behaviour on attackby. When a user clicks the wheelchair with an ammo magazine they reload the mounted weapon. |
on_buckle | Behaviour on buckle. Puts the gun in the buckled mob's hands. |
on_examine | Adds stuff to the examine of the vehicle. |
on_mousedrop | Behaviour on mouse drop. If the user has clickdragged the chair to themselves they will unload it. |
on_unbuckle | Behaviour on unbuckle. Force drops the gun from the unbuckled mob's hands. |
on_weapon_drop | Handles the weapon being dropped. The only way this should happen is if they unbuckle, and this makes sure they can't just take the gun and run off with it. |
Var Details
mounted_gun

The gun mounted on a vehicle
Proc Details
on_attack_hand
Behaviour on attack hand. Puts the gun in the user's hands if they're riding the vehicle and don't have the gun in their hands.
on_attackby
Behaviour on attackby. When a user clicks the wheelchair with an ammo magazine they reload the mounted weapon.
on_buckle
Behaviour on buckle. Puts the gun in the buckled mob's hands.
on_examine
Adds stuff to the examine of the vehicle.
on_mousedrop
Behaviour on mouse drop. If the user has clickdragged the chair to themselves they will unload it.
on_unbuckle
Behaviour on unbuckle. Force drops the gun from the unbuckled mob's hands.
on_weapon_drop
Handles the weapon being dropped. The only way this should happen is if they unbuckle, and this makes sure they can't just take the gun and run off with it.