[MIRROR] Cleanup up all instances of using var/ definitions in proc parameters. (#240)

* Cleanup up all instances of using var/ definitions in proc parameters. (#52728)

* var/list cleanup

* The rest of the owl

* plushvar bad

* Can't follow my own advice.

* Cleanup up all instances of using var/ definitions in proc parameters.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2020-08-07 18:26:21 +01:00
committed by GitHub
co-authored by Timberpoes
parent 2156012137
commit ee324ab3c2
179 changed files with 359 additions and 359 deletions
+1 -1
View File
@@ -511,7 +511,7 @@
* If the seed's instability is >= 20, the seed donates one of it's reagents to that nearby plant.
* * Range - The Oview range of trays to which to look for plants to donate reagents.
*/
/obj/machinery/hydroponics/proc/pollinate(var/range = 1)
/obj/machinery/hydroponics/proc/pollinate(range = 1)
for(var/obj/machinery/hydroponics/T in oview(src, range))
//Here is where we check for window blocking.
if(!Adjacent(T) && range <= 1)
+1 -1
View File
@@ -35,7 +35,7 @@
/datum/plant_gene/core/proc/apply_stat(obj/item/seeds/S)
return
/datum/plant_gene/core/New(var/i = null)
/datum/plant_gene/core/New(i = null)
..()
if(!isnull(i))
value = i
+1 -1
View File
@@ -252,7 +252,7 @@
* Individually, the formula for individual amounts of chemicals is Potency * the chemical production %, rounded to the fullest 1.
* Specific chem handling is also handled here, like bloodtype, food taste within nutriment, and the auto-distilling trait.
*/
/obj/item/seeds/proc/prepare_result(var/obj/item/T)
/obj/item/seeds/proc/prepare_result(obj/item/T)
if(!T.reagents)
CRASH("[T] has no reagents.")
var/reagent_max = 0