mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Grep for space indentation (#54850)
#54604 atomizing Since a lot of the space indents are in lists ill atomize those later
This commit is contained in:
@@ -48,12 +48,12 @@
|
||||
update_icon()
|
||||
|
||||
/**
|
||||
* top_off is used to refill the magazine to max, in case you want to increase the size of a magazine with VV then refill it at once
|
||||
*
|
||||
* Arguments:
|
||||
* * load_type - if you want to specify a specific ammo casing type to load, enter the path here, otherwise it'll use the basic [/obj/item/ammo_box/var/ammo_type]. Must be a compatible round
|
||||
* * starting - Relevant for revolver cylinders, if FALSE then we mind the nulls that represent the empty cylinders (since those nulls don't exist yet if we haven't initialized when this is TRUE)
|
||||
*/
|
||||
* top_off is used to refill the magazine to max, in case you want to increase the size of a magazine with VV then refill it at once
|
||||
*
|
||||
* Arguments:
|
||||
* * load_type - if you want to specify a specific ammo casing type to load, enter the path here, otherwise it'll use the basic [/obj/item/ammo_box/var/ammo_type]. Must be a compatible round
|
||||
* * starting - Relevant for revolver cylinders, if FALSE then we mind the nulls that represent the empty cylinders (since those nulls don't exist yet if we haven't initialized when this is TRUE)
|
||||
*/
|
||||
/obj/item/ammo_box/proc/top_off(load_type, starting=FALSE)
|
||||
if(!load_type) //this check comes first so not defining an argument means we just go with default ammo
|
||||
load_type = ammo_type
|
||||
|
||||
Reference in New Issue
Block a user