File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
objects/items/devices/radio
modules/projectiles/projectile Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ var/list/camera_names=list()
20
20
var /c_tag_order = 999
21
21
var /status = 1.0
22
22
anchored = 1.0
23
+ fanshot_unanchors = 0
23
24
var /invuln = null
24
25
var /bugged = 0
25
26
var /failure_chance = 10
Original file line number Diff line number Diff line change 25
25
*/
26
26
27
27
anchored = 1.0
28
+ fanshot_unanchors = 0
28
29
use_power = MACHINE_POWER_USE_IDLE
29
30
idle_power_usage = 2
30
31
active_power_usage = 4
31
32
32
33
ghost_read= 0
33
34
ghost_write= 0
34
35
35
- machine_flags = EMAGGABLE | MULTITOOL_MENU
36
+ machine_flags = EMAGGABLE | MULTITOOL_MENU | FIXED2WORK
36
37
37
38
/ obj / machinery/ door_control/ attack_ai( mob / user as mob)
38
39
if (wires & 2 )
Original file line number Diff line number Diff line change 3
3
desc = " Talk through this."
4
4
icon_state = " intercom"
5
5
anchored = 1
6
+ fanshot_unanchors = 0
6
7
w_class = W_CLASS_LARGE
7
8
canhear_range = 2
8
9
var /number = 0
Original file line number Diff line number Diff line change 90
90
var /multiplier = (7 / (dist > 0 && dist <= 7 ? dist : 7 )) * powermult
91
91
if (arcanetampered)
92
92
multiplier *= 5
93
- if (unanchors || arcanetampered)
94
- if (AM . anchored && AM . fanshot_unanchors && get_dist(starting, AM ) < 4 )
93
+ if (( unanchors || arcanetampered) && get_dist(starting, AM ) < 4 )
94
+ if (AM . anchored && AM . fanshot_unanchors)
95
95
AM . anchored = 0
96
+ AM . pixel_x = clamp(AM . pixel_x,- 16 ,16 )
97
+ AM . pixel_y = clamp(AM . pixel_y,- 16 ,16 )
96
98
if (istype(AM ,/ obj / machinery))
97
99
var /obj /machinery/M = AM
98
100
M. state = 0
You can’t perform that action at this time.
0 commit comments