Remove subway whistle
This commit is contained in:
@@ -36,12 +36,6 @@ function stopEntry() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function takeoff() {
|
function takeoff() {
|
||||||
const PacketCreator = Java.type('tools.PacketCreator');
|
|
||||||
|
|
||||||
//sound src: https://www.soundjay.com/transportation/metro-door-close-01.mp3
|
|
||||||
KC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
|
||||||
NLC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
|
||||||
|
|
||||||
em.setProperty("docked", "false");
|
em.setProperty("docked", "false");
|
||||||
KC_Waiting.warpEveryone(Subway_to_NLC.getId());
|
KC_Waiting.warpEveryone(Subway_to_NLC.getId());
|
||||||
NLC_Waiting.warpEveryone(Subway_to_KC.getId());
|
NLC_Waiting.warpEveryone(Subway_to_KC.getId());
|
||||||
@@ -52,10 +46,6 @@ function arrived() {
|
|||||||
Subway_to_KC.warpEveryone(KC_docked.getId(), 0);
|
Subway_to_KC.warpEveryone(KC_docked.getId(), 0);
|
||||||
Subway_to_NLC.warpEveryone(NLC_docked.getId(), 0);
|
Subway_to_NLC.warpEveryone(NLC_docked.getId(), 0);
|
||||||
scheduleNew();
|
scheduleNew();
|
||||||
|
|
||||||
const PacketCreator = Java.type('tools.PacketCreator');
|
|
||||||
KC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
|
||||||
NLC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function cancelSchedule() {}
|
function cancelSchedule() {}
|
||||||
|
|||||||
@@ -79,7 +79,4 @@
|
|||||||
<imgdir name="quest2293">
|
<imgdir name="quest2293">
|
||||||
<sound name="Die"/>
|
<sound name="Die"/>
|
||||||
</imgdir>
|
</imgdir>
|
||||||
<imgdir name="subway">
|
|
||||||
<sound name="whistle"/>
|
|
||||||
</imgdir>
|
|
||||||
</imgdir>
|
</imgdir>
|
||||||
|
|||||||
Reference in New Issue
Block a user