Bots Home
|
Create an App
ed1
Author:
qdev
Description
Source Code
Launch Bot
Current Users
Created by:
Qdev
/* || Edge Game || || Start game at goal (xx) || Game Speed || || */ //------------------------------------- //-- Set Enums var GameStates = { "Welcome": 1, "GoalReached":2, "Stroking" :3, "Waiting":4, "CumDenial": 5, "ChanceToCum": 6, "Speedup": 7 } Object.freeze(GameStates); var GameSpeeds = { "VSlow": 1.6, "Slow":1.25, "Normal":1.0, "Fast": 0.7, "VFast": 0.5 } Object.freeze(GameSpeeds); var Strokes = { "Stroke it" : 20, "Jerk it like you mean it": 10, "Slow and steady": 30, "Just the tip" : 14, "Use your off hand": 20, "Double Time (stroke-stroke-pause)": 20, "Polish it (pull foreskin back as far as comfortable) and rub the tip": 10, "Overhand": 20, "Off hand and Overhand": 20, "Don't forget the balls": 10 } var Waits = { "Hands Off": 10, "No touching!": 10, "Put your hands in the air (and away from the fun bits)": 10, "Quick break": 5, "Think of England": 10, "Count on your fingers": 10 } //------------------------------------- //-- Set parameters cb.settings_choices = [ { name: 'goalamount', label: 'Goal Amount', type: 'int', minValue: 0, defaultValue: 100 } ]; //------------------------------------- //-- Initial Setup const interval_nag = 120; var goalamount = parseInt(cb.settings.goalamount) var gameloop = looper(); function looper() { let timer=0; let nexttime=0; let tipcounter=0; let gamestate = GameStates.Welcome; let gamespeed = GameSpeeds.Normal; function init() { GameState = GameStates.Welcome; GamesSpeed = GameSpeeds.Normal; timer = 0; nexttime = timer + interval_nag; tipcounter = 120; } function ticker() { //-- increment the timer timer++; //-- have we reached an interval yet? if (timer >= nexttime) { //-- if so, do something switch(GameState) { case GameStates.Welcome: ShowWelcome(); break; /*case GameStates.GoalReached: GoalReached(); break; case GameStates.Waiting: Waiting(); break; case GameStates.Stroking: Stroking(); break; case GameStates.Speedup: Speedup(); break;*/ } } } function ShowWelcome() { cb.SendNotice("Play along edging - hit goal to start"); cb.SendNotice(tipcounter + " out of target " + goalamount); nexttime+=interval_nag; } init(); }
© Copyright Chaturbate 2011- 2024. All Rights Reserved.