mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
goals were toooo smalls
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
id: 'assignmentRoulette',
|
||||
name: 'Rover Reassignment',
|
||||
goal: 70,
|
||||
goal: 500,
|
||||
async run(ctx) {
|
||||
const moved = ctx.rerollAssignments();
|
||||
ctx.sendAlert({
|
||||
|
||||
@@ -4,7 +4,7 @@ const STEPS = 10;
|
||||
module.exports = {
|
||||
id: 'cameraWhiplash',
|
||||
name: 'Camera Wiggle',
|
||||
goal: 35,
|
||||
goal: 160,
|
||||
async run(ctx) {
|
||||
const rovers = ctx
|
||||
.listOnlineRovers()
|
||||
|
||||
@@ -7,7 +7,7 @@ function randLetter() {
|
||||
module.exports = {
|
||||
id: 'chatSpam',
|
||||
name: 'Chat Spam',
|
||||
goal: 100,
|
||||
goal: 320,
|
||||
async run(ctx) {
|
||||
const nickname = randLetter();
|
||||
const messageCount = 100;
|
||||
|
||||
@@ -54,7 +54,7 @@ function startDarkness(ctx, effect) {
|
||||
module.exports = {
|
||||
id: 'darkness',
|
||||
name: 'Darkness',
|
||||
goal: 65,
|
||||
goal: 650,
|
||||
async run(ctx) {
|
||||
const entities = ctx.getHomeAssistantEntities();
|
||||
const prevLights = entities.map((entity) => ({ id: entity.id, state: entity.state === 'on' ? 'on' : 'off' }));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
id: 'discordStalkerPing',
|
||||
name: 'Stalker Ping',
|
||||
goal: 150,
|
||||
goal: 900,
|
||||
async run(ctx) {
|
||||
ctx.publishEvent({
|
||||
source: 'buttonBoxReward',
|
||||
|
||||
@@ -3,7 +3,7 @@ const DOCK_COMMAND_BASE64 = Buffer.from([143]).toString('base64');
|
||||
module.exports = {
|
||||
id: 'dockPanic',
|
||||
name: 'All Dock',
|
||||
goal: 30,
|
||||
goal: 180,
|
||||
async run(ctx) {
|
||||
const rovers = ctx.listOnlineRovers();
|
||||
rovers.forEach((rover) => {
|
||||
|
||||
@@ -5,7 +5,7 @@ const TICK_MS = 180;
|
||||
module.exports = {
|
||||
id: 'ghostTypingSpam',
|
||||
name: 'Typing Spam',
|
||||
goal: 40,
|
||||
goal: 220,
|
||||
async run(ctx) {
|
||||
let tick = 0;
|
||||
const active = new Set();
|
||||
|
||||
@@ -42,7 +42,7 @@ function startStrobe(ctx, effect = {}) {
|
||||
module.exports = {
|
||||
id: 'lightStrobe',
|
||||
name: 'Light Strobe',
|
||||
goal: 55,
|
||||
goal: 360,
|
||||
async run(ctx) {
|
||||
startStrobe(ctx, { endsAt: Date.now() + STROBE_MS, on: false });
|
||||
ctx.sendAlert({ color: '#ffc107', title: 'Light Strobe', message: 'Room light strobe started.' });
|
||||
|
||||
@@ -50,7 +50,7 @@ function scheduleRestore(ctx, effect = {}) {
|
||||
module.exports = {
|
||||
id: 'modeJam',
|
||||
name: 'Admin Mode',
|
||||
goal: 200,
|
||||
goal: 1200,
|
||||
async run(ctx) {
|
||||
const prevMode = ctx.getMode();
|
||||
const prevReason = ctx.getAdminReasonText();
|
||||
|
||||
@@ -4,7 +4,7 @@ const TITLES = ['RARARARARARARARARE', 'CHIRPET CHIRPET CHIRPET', 'meowmowmoowmom
|
||||
module.exports = {
|
||||
id: 'rogueEventSpam',
|
||||
name: 'Event Flood',
|
||||
goal: 45,
|
||||
goal: 260,
|
||||
async run(ctx) {
|
||||
for (let i = 0; i < 500; i += 1) {
|
||||
const color = COLORS[Math.floor(Math.random() * COLORS.length)];
|
||||
|
||||
Reference in New Issue
Block a user