|
100 | 100 | desc = "This is the hottest new synth around! With new sounds!"
|
101 | 101 | icon = 'icons/obj/musician.dmi'
|
102 | 102 | icon_state = "nusynth"
|
103 |
| - anchored = 1 |
| 103 | + anchored = 0 |
104 | 104 | density = 1
|
105 | 105 | var/list/instruments = list()
|
106 | 106 |
|
|
120 | 120 | if (!anchored )//&& !isinspace())
|
121 | 121 | playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
122 | 122 | 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 |
129 | 128 | else if(anchored)
|
130 | 129 | playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
|
131 | 130 | 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 |
138 | 136 | else
|
139 | 137 | ..()
|
140 | 138 |
|
|
0 commit comments