Migrating Code to use Proper Byond Move() Code (#8667)

* Initial Commit

All CanPass replaced with cross, all CheckExit replaced with uncross

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc

* Commit #3

All move code has now been unhacked, all of it is functional except for border objects which still retain none of their original functionality

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc

* Commit #2

Cross() argment turf/target now has a standard value of src.loc, the basis for this is the fact that Cross() should technically only be called with a default value by Move() code when moving to a new turf thus everything on it the target turf should be the src.loc (reverted from commit fdee8c8b687a4d1f305bdc5f5e1a59ebeacb4702)

* Fuck me

* Okay Redo

* Hello, I am finished
This commit is contained in:
clusterfack
2016-05-02 10:34:42 -05:00
committed by sood
parent 79975eb490
commit fe2a1a3a08
74 changed files with 204 additions and 275 deletions

View File

@@ -361,7 +361,7 @@
new /obj/item/clothing/suit/radiation(src)
new /obj/item/clothing/head/radiation(src)
/obj/structure/closet/CanPass(atom/movable/mover, turf/target, height=1.5, air_group = 0)
/obj/structure/closet/Cross(atom/movable/mover, turf/target, height=1.5, air_group = 0)
if(air_group || (height==0 || wall_mounted)) return 1
if(istype(mover, /obj/structure/closet/crate)) return 0
return (!density)