mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
1 line
8.9 KiB
HTML
1 line
8.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/obj/item/ammo_casing - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="obj/item/ammo_casing.html#var">Var Details</a></header><main><h1>ammo_casing <aside>/<a href="obj.html">obj</a>/<a href="obj/item.html">item</a>/<a href="obj/item/ammo_casing.html">ammo_casing</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L1"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="obj/item/ammo_casing.html#var/BB">BB</a></th><td>The loaded bullet.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/caliber">caliber</a></th><td>Which kind of guns it can be loaded into.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/casing_drop_sound">casing_drop_sound</a></th><td>What sound should play when this ammo hits the ground.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/click_cooldown_override">click_cooldown_override</a></th><td>Override this to make your gun have a faster fire rate, in tenths of a second. 4 is the default gun cooldown.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/delay">delay</a></th><td>Delay for energy weapons.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/fire_sound">fire_sound</a></th><td>What sound should play when this ammo is fired.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/harmful">harmful</a></th><td>Pacifism check for boolet, set to FALSE if bullet is non-lethal.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/muzzle_flash_color">muzzle_flash_color</a></th><td>What color the flash has. If null then the flash won't cause lighting</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/muzzle_flash_effect">muzzle_flash_effect</a></th><td>What type of muzzle flash effect will be shown. If null then no effect and flash of light will be shown</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/muzzle_flash_range">muzzle_flash_range</a></th><td>What range the muzzle flash has</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/muzzle_flash_strength">muzzle_flash_strength</a></th><td>How strong the flash is</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/pellets">pellets</a></th><td>Pellets for spreadshot.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/projectile_type">projectile_type</a></th><td>The bullet type to create when New() is called.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/randomspread">randomspread</a></th><td>Random spread for automatics.</td></tr><tr><th><a href="obj/item/ammo_casing.html#var/variance">variance</a></th><td>Variance for inaccuracy fundamental to the casing.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/BB"><aside class="declaration">var </aside>BB <aside>– /<a href="obj.html">obj</a>/<a href="obj/projectile.html">projectile</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L19"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 19"></a></h3><p>The loaded bullet.</p><h3 id="var/caliber"><aside class="declaration">var </aside>caliber <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L15"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 15"></a></h3><p>Which kind of guns it can be loaded into.</p><h3 id="var/casing_drop_sound"><aside class="declaration">var </aside>casing_drop_sound <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L13"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 13"></a></h3><p>What sound should play when this ammo hits the ground.</p><h3 id="var/click_cooldown_override"><aside class="declaration">var </aside>click_cooldown_override <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L29"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 29"></a></h3><p>Override this to make your gun have a faster fire rate, in tenths of a second. 4 is the default gun cooldown.</p><h3 id="var/delay"><aside class="declaration">var </aside>delay <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L25"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 25"></a></h3><p>Delay for energy weapons.</p><h3 id="var/fire_sound"><aside class="declaration">var </aside>fire_sound <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L11"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 11"></a></h3><p>What sound should play when this ammo is fired.</p><h3 id="var/harmful"><aside class="declaration">var </aside>harmful <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L31"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 31"></a></h3><p>Pacifism check for boolet, set to FALSE if bullet is non-lethal.</p><h3 id="var/muzzle_flash_color"><aside class="declaration">var </aside>muzzle_flash_color <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L36"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 36"></a></h3><p>What color the flash has. If null then the flash won't cause lighting</p><h3 id="var/muzzle_flash_effect"><aside class="declaration">var </aside>muzzle_flash_effect <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L34"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 34"></a></h3><p>What type of muzzle flash effect will be shown. If null then no effect and flash of light will be shown</p><h3 id="var/muzzle_flash_range"><aside class="declaration">var </aside>muzzle_flash_range <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L38"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 38"></a></h3><p>What range the muzzle flash has</p><h3 id="var/muzzle_flash_strength"><aside class="declaration">var </aside>muzzle_flash_strength <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L40"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 40"></a></h3><p>How strong the flash is</p><h3 id="var/pellets"><aside class="declaration">var </aside>pellets <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L21"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 21"></a></h3><p>Pellets for spreadshot.</p><h3 id="var/projectile_type"><aside class="declaration">var </aside>projectile_type <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L17"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 17"></a></h3><p>The bullet type to create when New() is called.</p><h3 id="var/randomspread"><aside class="declaration">var </aside>randomspread <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L27"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 27"></a></h3><p>Random spread for automatics.</p><h3 id="var/variance"><aside class="declaration">var </aside>variance <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/modules/projectiles/ammunition.dm#L23"><img src="git.png" width="16" height="16" title="code/modules/projectiles/ammunition.dm 23"></a></h3><p>Variance for inaccuracy fundamental to the casing.</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |