Skip to content

Commit 289ea2a

Browse files
authored
Synth fixes (#37471)
* instrument fixes 1 * instrument dmi fixes * anchored
1 parent d6b4fb6 commit 289ea2a

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

code/modules/bayinstruments/real_instrumentssynthesized/synthesizer.dm

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
desc = "This is the hottest new synth around! With new sounds!"
101101
icon = 'icons/obj/musician.dmi'
102102
icon_state = "nusynth"
103-
anchored = 1
103+
anchored = 0
104104
density = 1
105105
var/list/instruments = list()
106106

@@ -120,21 +120,19 @@
120120
if (!anchored )//&& !isinspace())
121121
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
122122
to_chat(usr, "<span class='notice'> You begin to tighten \the [src] to the floor...</span>")
123-
if (do_after(user,src , 20))
124-
user.visible_message( \
125-
"[user] tightens \the [src]'s casters.", \
126-
"<span class='notice'> You tighten \the [src]'s casters. Now it can be played again.</span>", \
127-
"<span class='italics'>You hear ratchet.</span>")
128-
anchored = 1
123+
user.visible_message( \
124+
"[user] tightens \the [src]'s casters.", \
125+
"<span class='notice'> You tighten \the [src]'s casters. Now it can be played again.</span>", \
126+
"<span class='italics'>You hear ratchet.</span>")
127+
anchored = 1
129128
else if(anchored)
130129
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
131130
to_chat(usr, "<span class='notice'> You begin to loosen \the [src]'s casters...</span>")
132-
if (do_after(user, src, 40))
133-
user.visible_message( \
134-
"[user] loosens \the [src]'s casters.", \
135-
"<span class='notice'> You loosen \the [src]. Now it can be pulled somewhere else.</span>", \
136-
"<span class='italics'>You hear ratchet.</span>")
137-
anchored = 0
131+
user.visible_message( \
132+
"[user] loosens \the [src]'s casters.", \
133+
"<span class='notice'> You loosen \the [src]. Now it can be pulled somewhere else.</span>", \
134+
"<span class='italics'>You hear ratchet.</span>")
135+
anchored = 0
138136
else
139137
..()
140138

code/modules/bayinstruments/song.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@
201201
current_line++
202202
if (autorepeat)
203203
.()
204+
else
205+
STOP_PLAY_LINES
204206

205207

206208
#undef CP

icons/obj/musician.dmi

179 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)