// actor would be the current actor object
async function npc_action_1000(actor) {
Deno.core.print("Started script for player " + actor + "\n");
let action = await Deno.core.ops.op_wait_action(actor);
if(action === "0") {
Deno.core.print("First selection\n");
} else {
Deno.core.print("Other selection\n");
}
}
globalThis.npc_action_1000 = npc_action_1000;
// actor would be the current actor object
async function npc_action_1000(actor) {
Deno.core.print("Started script for player " + actor + "\n");
let action = await Deno.core.ops.op_wait_action(actor);
if(action === "0") {
Deno.core.print("First selection\n");
} else {
Deno.core.print("Other selection\n");
}
}
globalThis.npc_action_1000 = npc_action_1000;