mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
co-authored by
TiviPlus <TiviPlus>
Couls
parent
cb49d3301b
commit
ca366c3ea1
@@ -9,7 +9,7 @@
|
||||
density = FALSE
|
||||
layer = LOW_ITEM_LAYER //same as the built tube
|
||||
anchored = FALSE
|
||||
var/flipped = 0
|
||||
var/flipped = FALSE
|
||||
var/build_type = /obj/structure/transit_tube
|
||||
var/flipped_build_type
|
||||
var/base_icon
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
/obj/structure/c_transit_tube/station/flipped
|
||||
icon_state = "closed_station1"
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
build_type = /obj/structure/transit_tube/station/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/station
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
/obj/structure/c_transit_tube/station/reverse/flipped
|
||||
icon_state = "closed_terminus1"
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
build_type = /obj/structure/transit_tube/station/reverse/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/station/reverse
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
/obj/structure/c_transit_tube/station/dispenser/flipped
|
||||
icon_state = "closed_station1"
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
build_type = /obj/structure/transit_tube/station/dispenser/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/station/dispenser
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
/obj/structure/c_transit_tube/station/dispenser/reverse/flipped
|
||||
icon_state = "closed_terminus1"
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
build_type = /obj/structure/transit_tube/station/dispenser/reverse/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/station/dispenser/reverse
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
icon_state = "curved1"
|
||||
build_type = /obj/structure/transit_tube/curved/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/curved
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
|
||||
|
||||
/obj/structure/c_transit_tube/junction
|
||||
@@ -148,7 +148,7 @@
|
||||
|
||||
/obj/structure/c_transit_tube/junction/flipped
|
||||
icon_state = "junction1"
|
||||
flipped = 1
|
||||
flipped = TRUE
|
||||
build_type = /obj/structure/transit_tube/junction/flipped
|
||||
flipped_build_type = /obj/structure/transit_tube/junction
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/structure/transit_tube_pod/proc/follow_tube()
|
||||
set waitfor = 0
|
||||
set waitfor = FALSE
|
||||
if(moving)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user