Bools and returns super-pr (#53221)

Replaces like 70-80% of 0 and such, as a side effect cleaned up a bunch of returns
Edit: Most left out ones are in mecha which should be done in mecha refactor already
Oh my look how clean it is

Co-authored-by: TiviPlus <TiviPlus>
Co-authored-by: Couls <coul422@gmail.com>
This commit is contained in:
TiviPlus
2020-08-28 14:26:37 -07:00
committed by GitHub
co-authored by TiviPlus <TiviPlus> Couls
parent cb49d3301b
commit ca366c3ea1
355 changed files with 1549 additions and 1591 deletions
+4 -4
View File
@@ -213,8 +213,8 @@
set_light_on(FALSE)
switched_on(user)
update_icon()
return 0
return 1
return FALSE
return TRUE
//Switches the welder on
/obj/item/weldingtool/proc/switched_on(mob/user)
@@ -336,7 +336,7 @@
max_fuel = 10
w_class = WEIGHT_CLASS_TINY
custom_materials = list(/datum/material/iron=30, /datum/material/glass=10)
change_icons = 0
change_icons = FALSE
/obj/item/weldingtool/mini/flamethrower_screwdriver()
return
@@ -349,7 +349,7 @@
toolspeed = 0.1
light_system = NO_LIGHT_SUPPORT
light_range = 0
change_icons = 0
change_icons = FALSE
/obj/item/weldingtool/abductor/process()
if(get_fuel() <= max_fuel)