translationtext
This commit is contained in:
@@ -103,6 +103,7 @@ system.runInterval(async () => {
|
||||
|
||||
case 5:
|
||||
transitionTrail1.spawnNext();
|
||||
Pupeteer.setActionBarTimed("%message.trail.follow", 2.5);
|
||||
setNPCDialog("chanel1", "chanel_beforelevel_2_1");
|
||||
Pupeteer.setActionBar("%message.talkto.chanel");
|
||||
break;
|
||||
@@ -142,7 +143,7 @@ system.runInterval(async () => {
|
||||
break;
|
||||
|
||||
case 12:
|
||||
Pupeteer.setActionBar("Follow the trail to the next level.");
|
||||
Pupeteer.setActionBar("%message.trail.follow");
|
||||
transitionTrail5.spawnNext();
|
||||
break;
|
||||
|
||||
@@ -207,7 +208,10 @@ let PlayGateOpenAnimation = async () => {
|
||||
playAnimation(gateFrames, frameDuration, false, gateRoot);
|
||||
};
|
||||
|
||||
let ResetGate = () => SetFrame(gateFrames[0], gateRoot);
|
||||
let ResetGate = () => {
|
||||
gateState = GateState.closed;
|
||||
SetFrame(gateFrames[0], gateRoot);
|
||||
};
|
||||
|
||||
async function SetFrame(frame: ClonePos, destination: Vector3) {
|
||||
await world
|
||||
@@ -227,7 +231,7 @@ async function playAnimation(
|
||||
force: boolean = false
|
||||
) {
|
||||
if (animationPlaying && !force) {
|
||||
world.sendMessage("Animation already playing");
|
||||
// world.sendMessage("Animation already playing");
|
||||
return;
|
||||
}
|
||||
let frameCount = frames.length;
|
||||
@@ -333,7 +337,7 @@ world.afterEvents.chatSend.subscribe(async (event: ChatSendAfterEvent) => {
|
||||
triggerManager.OnChat(event);
|
||||
|
||||
if (command === "!reset") {
|
||||
mindKeeper.set(CURRENT_LEVEL, 0);
|
||||
mindKeeper.set(CURRENT_LEVEL, 12);
|
||||
world.sendMessage("currentlevel = " + mindKeeper.get(CURRENT_LEVEL));
|
||||
world.sendMessage("Resetting");
|
||||
level1.reset();
|
||||
|
||||
Reference in New Issue
Block a user