deployable_turret
![code/game/objects/structures/manned_turret.dm 4](git.png)
DEPLOYABLE TURRET (FORMERLY MANNED TURRET)
Vars | |
can_be_undeployed | If using a wrench on the turret will start undeploying it |
---|---|
cooldown_duration | How long it takes for the gun to allow firing after a burst |
firesound | Sound to play when firing |
number_of_shots | Number of shots fired from one click |
overheatsound | Sound to play at the end of a burst |
projectile_type | The projectile that the turret fires |
rate_of_fire | Delay between shots in a burst |
spawned_on_undeploy | What gets spawned if the object is undeployed |
undeploy_time | How long it takes for a wrench user to undeploy the object |
Procs | |
wrench_act | Undeploying, for when you want to move your big dakka around |
Var Details
can_be_undeployed
![code/game/objects/structures/manned_turret.dm 34](git.png)
If using a wrench on the turret will start undeploying it
cooldown_duration
![code/game/objects/structures/manned_turret.dm 24](git.png)
How long it takes for the gun to allow firing after a burst
firesound
![code/game/objects/structures/manned_turret.dm 32](git.png)
Sound to play when firing
number_of_shots
![code/game/objects/structures/manned_turret.dm 22](git.png)
Number of shots fired from one click
overheatsound
![code/game/objects/structures/manned_turret.dm 30](git.png)
Sound to play at the end of a burst
projectile_type
![code/game/objects/structures/manned_turret.dm 18](git.png)
The projectile that the turret fires
rate_of_fire
![code/game/objects/structures/manned_turret.dm 20](git.png)
Delay between shots in a burst
spawned_on_undeploy
![code/game/objects/structures/manned_turret.dm 36](git.png)
What gets spawned if the object is undeployed
undeploy_time
![code/game/objects/structures/manned_turret.dm 38](git.png)
How long it takes for a wrench user to undeploy the object
Proc Details
wrench_act
Undeploying, for when you want to move your big dakka around