This commit is contained in:
Ghommie
2020-05-12 20:06:59 +02:00
557 changed files with 283936 additions and 4436 deletions
+16 -2
View File
@@ -91,6 +91,21 @@ By design, d1 is the smallest direction and d2 is the highest
d1 = _d1
d2 = _d2
if(dir != SOUTH)
var/angle_to_turn = dir2angle(dir)
if(angle_to_turn == 0 || angle_to_turn == 180)
angle_to_turn += 180
// direct dir set instead of setDir intentional
dir = SOUTH
if(d1)
d1 = turn(d1, angle_to_turn)
if(d2)
d2 = turn(d2, angle_to_turn)
if(d1 > d2)
var/temp = d2
d2 = d1
d1 = temp
var/turf/T = get_turf(src) // hide if turf is not intact
if(level==1)
hide(T.intact)
@@ -496,6 +511,7 @@ By design, d1 is the smallest direction and d2 is the highest
full_w_class = WEIGHT_CLASS_SMALL
grind_results = list(/datum/reagent/copper = 2) //2 copper per cable in the coil
usesound = 'sound/items/deconstruct.ogg'
used_skills = list(/datum/skill/level/job/wiring)
/obj/item/stack/cable_coil/cyborg
is_cyborg = 1
@@ -577,8 +593,6 @@ By design, d1 is the smallest direction and d2 is the highest
amount += extra
update_icon()
///////////////////////////////////////////////
// Cable laying procedures
//////////////////////////////////////////////